Title: C++ Resources
Description: All your C++ needs
FHCandyman - August 8, 2003 07:54 AM (GMT)
Figured I might as well put up a thread of all the C++ resources I found. First of all a really big book online:
http://cma.zdnet.com/book/c++/All of these are excellent resources, with just about everything you could ever want with programming, C++ or not(though they all have C++ sections at least)
http://www.cprogramming.comhttp://www.programmersheaven.com/zone3/mh22.htmhttp://www.planet-source-code.com/http://www.codeproject.com/http://www.codeguru.com/http://www.thefreecountry.com/sourcecode/cpp.shtml3D Game Programming sites:
http://www.opengl.org/http://opende.sourceforge.net/Of course, nothing beats a good forum. If you can't figure something out, try asking on a forum like this, there's usually at least one person who is willing to help. I might add more sites if I come across a few more.
Sam Fisher vs Solid Snake - August 8, 2003 02:30 PM (GMT)
cprogramming is for text but these all look good
FHCandyman - August 8, 2003 09:46 PM (GMT)
i gotta be honest, i didnt fully read through all of em so i just kind of hoped they were good. what exactly do you mean by cprogramming is for text though?
Sam Fisher vs Solid Snake - August 8, 2003 09:49 PM (GMT)
www.cprogramming.com teaches text only i went through 10 tutorials and still nothing about games just cout and cin and pretty basic stuff
FHCandyman - August 8, 2003 10:17 PM (GMT)
ah thats what i thought. thats really a beginner beginner site, for those who have no experience with C++ before, and its good for that purpose.
Sam Fisher vs Solid Snake - August 8, 2003 10:19 PM (GMT)
true, but books go through a lot more and also explain games
FHCandyman - August 8, 2003 10:34 PM (GMT)
how could i forget? books! those are the holy grails of knowledge, but i know a lot of newbies might be very skeptical about going into 600 pages of something theyve never seen before. some of my friends like to understand some basic things before getting into the big books, but thats just them I guess :lol: also, books cost money, online cost nothing, so its the poor mans way too :D
Sam Fisher vs Solid Snake - August 8, 2003 10:36 PM (GMT)
i know, but books contain better info while all tutorial places i have been to are totallly basic so the hardcore programmer better and go get a book to find more stuff out
FHCandyman - August 8, 2003 11:03 PM (GMT)
ultimately, thats the truth, anybody serious into programming should spend a little money and get a good book, and maybe use online resources to help further understand C++. Bottom line people is...
BUY A BOOK! :D
believe me, i in no way argue that books arent as good as online material, because thats a damn lie :lol: I find that the 'program' books work the best, such as sams teach yourself. That really gets you on a schedule, and I find it works best.
Sam Fisher vs Solid Snake - August 8, 2003 11:05 PM (GMT)
yeh, i just spent 3 hours reading and i learned so dan gmuch, my brain itches jk but still the book compacts so much useful info
FHCandyman - August 8, 2003 11:16 PM (GMT)
any book that can make me understand
#include <iostream.h>
int main()
{
cout << "Hello World!\n";
return 0;
}
is great, and any book that can make me expand on that with cin, const, class, if, switch, while, go to, and *(pointer) is just amazing :lol: i mean, your looking at someone who didnt even think they could understand html two weeks ago <_<
Sam Fisher vs Solid Snake - August 8, 2003 11:24 PM (GMT)
i do cout/cin like this
std::cout <<"hello world!" << std::end1;
this is really clean code
ih8censorship - August 8, 2003 11:26 PM (GMT)
i use using namespace std; so you dont have to "use" everything.
ih8censorship - August 8, 2003 11:28 PM (GMT)
i use using namespace std; so you dont have to "use" everything.
FHCandyman - August 8, 2003 11:43 PM (GMT)
so std is like an alternative to using cout and cin in normal ways?
std::cout <<"hello world!" << std::end1;
now first off, what does :: do, i forget, need my memory refreshed. second, what does the std::endl; do?
Sam Fisher vs Solid Snake - August 8, 2003 11:47 PM (GMT)
std::end1 is the equivalent of ending a line so the code goes on to another line, so
std::cout<<HI<<std::end1 is the first line after line 1 std::cout<<"weirdo"<<end 1 would be on the next line
FHCandyman - August 8, 2003 11:55 PM (GMT)
so what exactly does std:: do for endl then? seems like it does the same thing. maybe i should just learn std when my book tells me it :lol:
Sam Fisher vs Solid Snake - August 9, 2003 04:17 PM (GMT)
end1 finishes one line of code, so say you wanted to write 2 separate lines of output text, end1 allows that so next time you use cout it will be on the next line
FHCandyman - August 9, 2003 04:54 PM (GMT)
i know that much, i just dont understand why you would precede it with std::
Sam Fisher vs Solid Snake - August 9, 2003 09:35 PM (GMT)
i think it is like a visual c++ standard meaning u have to use it in viisual c++ but not dev C++
FHCandyman - August 10, 2003 12:33 AM (GMT)
ah ok, then i guess i'll worry about that once i get to VC++
Sam Fisher vs Solid Snake - August 10, 2003 01:45 AM (GMT)
ih8censorship - August 10, 2003 01:58 AM (GMT)
if im not misteaken std:: means that your using the standard identifyer for a particular function for instance if you want to change the way you input files you can do
before any functions and you can use just fin instead of ifstream. so theoreticaly you could use cout print; to change the thing for cout, but i never tryed that so i duno. the :: is the scope.
Sam Fisher vs Solid Snake - August 10, 2003 02:01 AM (GMT)
ok, my book never told me that, about ::
FHCandyman - August 10, 2003 02:18 AM (GMT)
thanks that explains it a little better though im still pretty dumbfounded.
Sam Fisher vs Solid Snake - August 12, 2003 03:13 AM (GMT)
i did a little C++ before i got my book, so i was pretty dumbfounded too, but my book says to do it for visual c++, so maybe it is a requirement in Visual c++, or the author was taught this way.
punkisdead - August 15, 2003 01:36 AM (GMT)
I found
http://www.bruceeckel.com to be very useful. Two great books on C++ and free to boot.
FHCandyman - August 15, 2003 01:31 PM (GMT)
sweet, dude. thats pretty cool stuff.