Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > The Zelaron Nexus > Science and Art > Tech Help

 
 
Thread Tools Display Modes

 
Just a question...
Reply
Posted 2002-04-08, 05:58 PM
I am curious of all the C++ programmers out there. How many of you use Microsoft Visual C++ to do your programming? Because personally I found that C++ using a compiler other than Microsofts is a helluva lot easier and hey one less Microsoft product in use is good for everyone
Old
Profile PM WWW Search
spa is neither ape nor machine; has so far settled for the in-betweenspa is neither ape nor machine; has so far settled for the in-between
 
spa
 



 
Reply
Posted 2002-04-08, 08:31 PM in reply to spa's post "Just a question..."
I prefer Visual C++, because it's got lots of useful features, and a nice debugger.
I think I'm lost.
Old
Profile PM WWW Search
Badass Gandhi is neither ape nor machine; has so far settled for the in-betweenBadass Gandhi is neither ape nor machine; has so far settled for the in-between
 
Badass Gandhi
 



 
Reply
Posted 2002-04-09, 12:21 PM in reply to spa's post "Just a question..."
Visual C++ kicks Borland C++'s butt. Eventually, you'll start writing Windows programs, and that's when you'll realize how great VC is. I started writing Windows programs with Borland OWL, but moved to MS MFC; the transition was hard, but it payed off with increased ease of writing programs. Also, Visual Studio is the best IDE I've ever used (and I've used plenty) hands down. As far as lack of bugs, features, and customizability, none compare. I even use Visual Studio for my non-x86, non-MS platform projects (though obviously not the VC compilers).

As for differences between compilers, I don't see what your problem is, except maybe that you have to make a project file or a makefile in VC, but in Borland C++ you don't. As for the compiler proper, it's very ANSI compliant, and the deviations are all well documented.

Visual Studio rules
--WetWired
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 



 
Reply
Posted 2002-04-10, 08:31 PM in reply to spa's post "Just a question..."
whats the difference between C & C++
Sovereign's REAL sig
Old
Profile PM WWW Search
GameCube is neither ape nor machine; has so far settled for the in-betweenGameCube is neither ape nor machine; has so far settled for the in-between
 
 
GameCube
 



 
Reply
Posted 2002-04-10, 09:35 PM in reply to spa's post "Just a question..."
a ton of features and commands? =o
Old
Profile PM WWW Search
Penguin is neither ape nor machine; has so far settled for the in-betweenPenguin is neither ape nor machine; has so far settled for the in-between
 
 
Penguin
 



 
Reply
Posted 2002-04-10, 09:42 PM in reply to spa's post "Just a question..."
C++ is more object-oriented than C, which is great for handling large, complex chunks of data. Although I haven't seen much C, the object-oriented thing seems to make the code much sleeker and easier to write.

Ah well, WetWired could probably explain it better than I could...

And he'd probably make me look like a novice, too. So to get back at him, I'm gonna copy his style!
--Badass Gandhi
I think I'm lost.
Old
Profile PM WWW Search
Badass Gandhi is neither ape nor machine; has so far settled for the in-betweenBadass Gandhi is neither ape nor machine; has so far settled for the in-between
 
Badass Gandhi
 



 
Reply
Posted 2002-04-11, 07:37 AM in reply to spa's post "Just a question..."
Well yes, the most obvious difference is the OOP. In addition, C++ often requires an explicit cast (especially for pointers) where C does not. C++ allows you to declare variables anywhere in a function, whereas C requires all declarations to be at the top of the function. C++ has dynamic memory allocation with new and delete, which take object size and initialization into account, whereas in C, you have to use malloc and free, in which you have to specify a size in bytes, then cast it to the type you need. C++ allows function overloading, which allows you to replace pre-existing functions, and define several functions by the same name with different parameters or parameter types (so you could write an "int makeint(char*)" and an "int makeint(float)", and the compiler decides which one is best for your use of it), whereas C has none of this. C++ allows you to define operators, while C does not. There are a few other nit-picky things, such as use of constant variables in array size declarations, which I tend to forget, and are not terribly important.

So there you have it, an overview of the differences between C and C++
--WetWired
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 



 
Reply
Posted 2002-04-11, 05:02 PM in reply to spa's post "Just a question..."
thanx
Sovereign's REAL sig
Old
Profile PM WWW Search
GameCube is neither ape nor machine; has so far settled for the in-betweenGameCube is neither ape nor machine; has so far settled for the in-between
 
 
GameCube
 



 
Reply
Posted 2002-04-12, 07:17 AM in reply to spa's post "Just a question..."
Also, I forgot; C++ has references, which are like pointers, but you use them like normal variables. The only time I use these are in function parameters to pass stuff by reference, which is more convenient than dereferencing a pointer every time you want to use what is pointed to.

And you're welcome
--WetWired
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 



 
Reply
Posted 2002-04-12, 09:43 AM in reply to spa's post "Just a question..."
didnt understand anything about C++
or i dumb or something?
Old
Profile PM WWW Search
Mr.Lee is neither ape nor machine; has so far settled for the in-betweenMr.Lee is neither ape nor machine; has so far settled for the in-between
 
 
Mr.Lee
 



 
Reply
Posted 2002-04-13, 11:12 AM in reply to spa's post "Just a question..."
i dont know. or you?
Sovereign's REAL sig
Old
Profile PM WWW Search
GameCube is neither ape nor machine; has so far settled for the in-betweenGameCube is neither ape nor machine; has so far settled for the in-between
 
 
GameCube
 



 
Reply
Posted 2002-04-13, 11:13 AM in reply to spa's post "Just a question..."
Quote:
Originally posted by GameCube
i dont know. or you?
Old
Profile PM WWW Search
Mr.Lee is neither ape nor machine; has so far settled for the in-betweenMr.Lee is neither ape nor machine; has so far settled for the in-between
 
 
Mr.Lee
 



 
Reply
Posted 2002-04-17, 05:29 PM in reply to spa's post "Just a question..."
lol
Sovereign's REAL sig
Old
Profile PM WWW Search
GameCube is neither ape nor machine; has so far settled for the in-betweenGameCube is neither ape nor machine; has so far settled for the in-between
 
 
GameCube
 
 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 05:25 PM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.