Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 20th, 2005, 3:18 PM   #21
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
You don't need a compelling reason to USE them in order to learn them The compelling reason to LEARN them is that you don't know C/C++ until you have. Let me repeat Riddle's suggestion: check out the link in my sig.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Sep 21st, 2005, 12:36 AM   #22
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5 bl00dninja is on a distinguished road
oh, here's another reason...managing data on the "heap"

when you make variables and arrays and crap on the stack they have pretty local scope. if you want to create and manage objects and variables on stuff that are fairly permanent (at least while the program is running) you have to instantiate them differently (see "new" and "delete") and access them a little differently, but they're THERE. they don't pop in and out of existence with function calls and such. for example a local variable if set to an initial value and then changed in some function, when called on again later outside the function (after the function has returned) will STILL HAVE that initial value because of the way you declared it...the compiler was like alright, here we go, and pulls out a "fresh" set of variables and such every time. if you want to manage "permanent" data you have to declare them on the heap and access them with pointers and such.

or i may be kinda off-base, but not much ( i haven't messed with the damn things in a while).
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

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

Posting 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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:30 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC