Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unfortunately, I've hit a bit of a 1

Status
Not open for further replies.

biot023

Programmer
Nov 8, 2001
403
GB
Unfortunately, I've hit a bit of a brick wall in coding & really need to learn a few fundamentals. I mean REALLY fundamental, like:
I learned C on a night course, but have cobbled together what I know of C++ myself. I write header files with all declarations & their actual code complete in there. Naturally, this means I have to be very careful of how I order things as I code. I can't help thinking that a class' implementation should go somewhere else (like a cpp file), but I don't know the conventions for this - where to write the includes, can the cpp file be brought in like a header file (or with the header file), etc.,etc.
Can anyone explain or point me to an FAQ that describes the whole header files & cpp files thign in C++ pretty thoroughly?
Also of use would be any detailed articles about hierarchy & general OO stuff.
I use it every day, but have gotten some terrible habits that I need to bust, and some gaping gaps in my 'knowledge'.

Thanks alot,
Douglas JL
Common sense is what tells you the world is flat.
 
Check out OppWeb. They have links to a lot of tutorials that will be helpful. Their C++ site is at James P. Cottingham

When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity.
[tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
 
Thanks, man.

Douglas JL Common sense is what tells you the world is flat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top