+ 3
Changing to Visual Studio
I switched from CodeBlocks to Visual Studio today, but some things were weird. I tried to do something really simple; I made a class with a constructor, requiring a name. And then I told it to print the name of the object, but even though I had no errors, when I ran the code, the name didnât get printed out. I put in a code from codeblocks, that I know is correct, because it works on codeblocks, that didnât work either. So, long story short: does the code slightly change when you change IDE? Thanks for any help :)
2 Answers
+ 2
The code will not change. Do you use multiple files? If so, maybe you donât have them all in the same project?
0
I fixed it. I just made a silly mistake in the code... I canât believe I didnât see it until now... And the code I copied from codeblocks works on Visual Studio today, but it didnât work yesterday for some reason...