Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Error checking plug in for Visual Studio (C++)?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
zengrz
Cheater
Reputation: 0

Joined: 19 Mar 2009
Posts: 33
Location: ca

PostPosted: Wed Dec 30, 2009 6:42 am    Post subject: Error checking plug in for Visual Studio (C++)? Reply with quote

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
View user's profile Send private message
Jani
Grandmaster Cheater
Reputation: 2

Joined: 29 Dec 2006
Posts: 804

PostPosted: Wed Dec 30, 2009 7:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Wed Dec 30, 2009 8:19 am    Post subject: Reply with quote

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
View user's profile Send private message
tombana
Master Cheater
Reputation: 2

Joined: 14 Jun 2007
Posts: 456
Location: The Netherlands

PostPosted: Wed Dec 30, 2009 9:13 am    Post subject: Reply with quote

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
View user's profile Send private message
zengrz
Cheater
Reputation: 0

Joined: 19 Mar 2009
Posts: 33
Location: ca

PostPosted: Wed Dec 30, 2009 8:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites