| View previous topic :: View next topic |
| Author |
Message |
zengrz Cheater
Reputation: 0
Joined: 19 Mar 2009 Posts: 33 Location: ca
|
Posted: Wed Dec 30, 2009 6:42 am Post subject: Error checking plug in for Visual Studio (C++)? |
|
|
I have been learning C++ and Java for quite some time now. After some experimentation with both languages, I find C++ is a much cooler language than Java, so i stick with it.
However, I find Java complier (Eclipse) has some freaking amazing error checking mechanism that is very handy for newbies like me. However, Microsoft Visual Studio (the one i am using now) lacks this cool feature and I am very upset.
I am looking for some plug-in (preferable), or ever other complier, that offers some cool error check features, probably similar to that of eclipse for Java. I have tried googleing for it but no luck. Any suggestion would be amazing.
|
|
| Back to top |
|
 |
Jani Grandmaster Cheater
Reputation: 2
Joined: 29 Dec 2006 Posts: 804
|
Posted: Wed Dec 30, 2009 7:43 am Post subject: |
|
|
What do you mean with error checking? Turn on all the warnings and the compiler should nag you about everything. Also, if you're looking for a debugger, there's one, just run it thru VS.
Errors like "if(i == 5)" where it should be if(i == 6)" are impossible for the compiler to tell that there's error. The compiler does what you tell it to do. You can find this kind of errors while debugging.
Or do you mean exceptions? Yes, they are there, but I'd advise you to avoid them.
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Wed Dec 30, 2009 8:19 am Post subject: |
|
|
I know what you mean. On eclipse it does something like constantly parsing your source file so it can give you real time errors.
Visual Assist X is a nice plugin that I used for some time. I don't know if it has that particular feature though.
Btw you can code C++ on eclipse too.
|
|
| Back to top |
|
 |
tombana Master Cheater
Reputation: 2
Joined: 14 Jun 2007 Posts: 456 Location: The Netherlands
|
Posted: Wed Dec 30, 2009 9:13 am Post subject: |
|
|
| If you debug in VC++ you can step through your code and it will show you the values of the variables and such. You have to compile in Debug mode for this, not Release mode.
|
|
| Back to top |
|
 |
zengrz Cheater
Reputation: 0
Joined: 19 Mar 2009 Posts: 33 Location: ca
|
Posted: Wed Dec 30, 2009 8:15 pm Post subject: |
|
|
| Slugsnack wrote: | | Btw you can code C++ on eclipse too. |
Just realised Eclipse Galileo is made for this purpose. Maybe i should just stick with it before i ve learn how to use the debugger. Btw thx slug! u have been helping me a lot.
thx goes all who ve replied 2. gd day
|
|
| Back to top |
|
 |
|