Hi!
I'm starting to learn program in c++, and i want to know if is better i use visual studio or codeblocks( i have the two of then here).
Thanks
(Sorry for the erros, because i don't know well english)
Hi!
I'm starting to learn program in c++, and i want to know if is better i use visual studio or codeblocks( i have the two of then here).
Thanks
(Sorry for the erros, because i don't know well english)
It's better if you use them both.
It's better if you enable lots of warnings (on both of them)
If your code compiles and works on both of them, with lots of warnings enabled (and you fix them), then you're in pretty good shape as far as knowing what C++ guarantees (rather than what a particular compiler will let you get away with).
Most people learning on one compiler find the step to another compiler pretty hard sometimes.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.