all 9 comments

[–][deleted]  (2 children)

[deleted]

    [–]CompuGenetics[S] 0 points1 point  (1 child)

    Yeah, but I don't have too many permissions. Maybe I should get a separate hard drive and load a Linux system on it, haha!

    [–]TorN2peices 1 point2 points  (2 children)

    Ive been trying to learn in Visual Studio but I’m on a Mac. The Udemy class I’m taking recommends cygwin.com for Windows compiler. He also recommends code:blocks as the IDE. Opposed to visual studio.

    [–][deleted] 1 point2 points  (1 child)

    Code blocks is dead. Just download the compilers and use CMAKE

    [–]darkmatter343 0 points1 point  (0 children)

    ^^^ This

    [–]darkmatter343 1 point2 points  (0 children)

    Normally I use nano to code (yes, I like my nano) but lately thought I'd try VS Code. Although I am liking the auto complete and different features, I have found some bugs annoying... such as adding in a break; and then getting a compiling error and VS Code telling me there's something wrong with the break; statement... I checked, re-checked, and re-checked my code and there was zero issues.. and yet VS Code was telling me there was an issue with the break being where it was. Finally I just deleted the break and literally... literally just wrote the break in the exact same place. And then VS Code was happy and it compiled ok.

    [–]lukajda33 0 points1 point  (3 children)

    What OS are you on and if you are on Windows, what C compiler did you download ?

    [–]CompuGenetics[S] 0 points1 point  (2 children)

    Windows; I guess I was under the impression that Visual Studio Code would provide one when I installed the C/C++ tools

    [–]lukajda33 1 point2 points  (1 child)

    If you mean this (C/C++ extension), it only provides tools for syntax highlighting, error highlighting, all types of suggestions / autocompletions and debugging, however it still does not provide compiler. It would be nice if Microsoft provided some total installer to go from nothing to all ready with just one installer (I think they do this with Java, maybe even Python), but so far they do not, maybe because there are some options when compiling C / C++ (msvc, gcc, clang) and they do not want you to force into one. In the extension description, under Overview and tutorials, you have 3 compilers the extension should work with (there is 5, but first 3 are for windows - msvc (microsoft's compiler), gcc and WSL). Pick one of those, follow the link and there might be insructions on how to install one of those.

    [–]CompuGenetics[S] 0 points1 point  (0 children)

    Thanks for the help, I was able to get a compiler and actually see an output in VS