wow this really helped
wow this really helped
Last edited by lilhawk2892; 08-29-2006 at 08:04 PM.
I am glad we could help - remeber practise makes perfect.
Once you get to understand how to create and link your own header files, you can organise
large projects much better, and not have to bung all the code in the one file. This makes it much easier to maintain and organise, and of course, other people will be able to find functions. classes better.
also,
<stdio.h> and <iostream> are the c and c++ versions of console output. You probably only want to use one of those and not both.
Or at least use the C++ namespace version, <cstdio>. (That applies for all the standard C header files, like <time.h> -> <ctime>.)
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.