+ 1

How to learn C++ with a different compiler/IDE???(SOLVED)

I am working on C plus plus course (intermediate) and so far I just used Sololearn's compiler and sometimes VisualStudio. But recently it started teaching the programming for the "CodeBlocks" compiler. I used it before therefore I know it's really uncomfortable to use... I want to know is there any way to learn same things but for Visual Studio 2022??? P.S.Before anybody asks I'm having problems specifically with creating new class files since the creation proccess works really differently.

30th Jun 2023, 6:23 PM
Illia Vo
Illia Vo - avatar
3 Answers
+ 9
CodeBlocks and VisualStudio are IDEs/ editors, not compilers. Creating classes and writing code is independent of the editor. When you create new files, they are just text files. Compare the 2 editors to understand where they put the files in the project and what template codes they insert.
30th Jun 2023, 6:28 PM
Lisa
Lisa - avatar
0
It has been pointed out that code block is not a compiler. I use Clion and sometimes VS2022 and the cross platform way of running your program is to work as a "cmake project" instead of letting codeblocks or VS to decide for you
1st Jul 2023, 10:02 AM
RuntimeTerror
RuntimeTerror - avatar
0
Thx a lot Lisa I will try that hope it worksđŸ˜‰đŸ€ž Runtime Terror I don’t quite get what you ment but thx for the help (I’ll do some research on that matter)!
1st Jul 2023, 4:32 PM
Illia Vo
Illia Vo - avatar