I'm currently coding with vim in ubuntu. When I copied my code out of linux and opened it with visual studio code, just to check, I noticed the indentations were different. "if" statements on the same indentation level as the "while" statement before...
To what extent will define change the input? Say i define Mon to 1. Will inputs translate Mon as 1? Will strings with Mon in it turn the Mon part into a 1?
Hello.
is there a way to use sets in c? I've tried google but most of the answers are flying over my head. I want to set a Set with names of the valid month and commands in estimates files to cross-check inputs.
Should I just use an array, and iterate ...
You know. q,w,e,r,t,y,u,o(found out how to start editing in vim),p, , , . The usual stuff.
Disabling auto indent fixed the indentation issue. It was enabled by default.
Other than changing Vim's Colourscheme. None. That said I did tap random buttons to see what they did in Vim.
I notice that Vim has automated indentation but every other coding program has that and it doesn't add extra indentations.
Since the forums are free I'll put this here for those who are too shy or quiet (Like me) to ask
How to replicate
open vim and paste square.c from labsheet 2 by copy then left clicking on vim
Effect
Anything below a double slash extends the double slas...
I've managed to install WSL and the first time I did it the linux command line opens up automatically. How would I open it again after I close it? what command do I have to type in powershell?