View Full Version : C/C++ Resources
sans-hubris
04-02-2002, 06:35 PM
Use this thread to post links to the various sites on the internet for C/C++. Also, post books that you think would be for a good read or just a generally good reference for C/C++.
Internet:
Dinkum C++ Library (http://www.dinkumware.com/htm_cpl/index.html)
Dinkum C99 Library (http://www.dinkumware.com/htm_cl/index.html)
CCAE (http://www.codeexamples.org) (this is covers more than just C/C++ programming guides and examples, but it has a large number of C/C++ examples)
Dictionary of Algorithms and Data Structures (http://www.nist.gov/dads/) (not specific to C/C++, but a good resource no less)
*C++ String Class (this is just the google cache, the original seems non-existant)
POSIX Thread Programming (http://www.llnl.gov/computing/tutorials/workshops/workshop/pthreads/MAIN.html)
*This address is too long:
http://www.google.com/search?q=cache:BbWEYrsJpzcC:www.eas.asu.edu/~cse200/outline/C%2B%2B/string_class.html+c%2B%2B+string+class&hl=en&lr=lang_en
Books:
Dietel & Dietel's C++ How to Program 3rd Edition - publisher Prentice Hall (not great, but pretty good)
Ivor Horton's Beginning C++ The Complete Language - a WROX publishing
Gregory L. Heileman's Data Structures, Algorithms, and Object-Oriented Programming - published by McGraw-Hill (very detailed on, well, data structures and algorithms)
I posted these in another thread, but it'll be good to have them here in this "sticky" thread.
I consider these two sites essential for MFC programming. Any kind of windows GUI or API needs can be serviced here; with many tutorials and lots and lots of fulls source you can use. Really; if you're making any useful MFC applications, you're going to want to know about these sites.
www.codeguru.com
www.codeproject.com
sans-hubris
04-04-2002, 01:40 PM
Missed this one:
Beej's Guide to Network Programming (http://www.ecst.csuchico.edu/~beej/guide/net/)
xilica
05-22-2002, 11:18 PM
you can check out microsoft msdn for visual c++ code and tutorials.
sans-hubris
05-23-2002, 01:01 AM
Ask Slashdot in the Developer's section had a slew of responses to the question about well-commented code, many actually helpful and insightful.
What is Well-Commented Code? (http://developers.slashdot.org/comments.pl?sid=32873&cid=0&pid=0&startat=&threshold=1&mode=thread&commentsort=3&savechanges=on&op=Change)
Originally posted by sans-hubris
Ask Slashdot in the Developer's section had a slew of responses to the question about well-commented code, many actually helpful and insightful.
I'm loathe to delve into that pit; I'm sure there are some diamonds amongs all the coal; but with so much coal, the only likely result is a whole lot of flamage.
Okay, I'm not sure what I just said. I think the whole paragraph is semi-metaphorical, but you get my point. :)
LonelyKing
06-21-2002, 09:47 PM
You can try www.bloodshed.net/devcpp.html for a very good and very free compiler (Dev-C++)
Strike
06-21-2002, 11:15 PM
Originally posted by LonelyKing
You can try www.bloodshed.net/devcpp.html for a very good and very free compiler (Dev-C++)
Or you can go to www.gnu.org and get the best totally free compiler, gcc :D
sans-hubris
06-22-2002, 04:14 AM
There are a couple of ports of GCC to Windows:
MinGW (http://www.mingw.org)
Cygwin (http://www.cygwin.com) (warning, this is more than just GCC, this is an entire POSIX emulation for Windows.)
Originally posted by Strike
Or you can go to www.gnu.org and get the best totally free compiler, gcc :D
You know, you can sort responses according to their score. Of course, that means that you can trust the moderators. The moderators don't actually do too bad of a job.
Strike
06-22-2002, 11:36 AM
er... sans-hubris, I'm thinking you meant to quote kmj there ...
lol. I want to moderate gcc!!!
sans-hubris: I know, but the problem is that people start responding to high score posts with garbage. There's also a threshold, too. Maybe my previous post was a bit harsh, but I still don't read the forums at slashdot much anymore.
ThurberMingus
06-25-2002, 04:59 PM
Originally posted by LonelyKing
You can try www.bloodshed.net/devcpp.html for a very good and very free compiler (Dev-C++)
Well, this is not exactly true. To qoute from their website:
"Bloodshed Dev-C++ is a full-featured Integrated Development Environment (IDE) for the C/C++ programming language. It uses Mingw port of GCC (GNU Compiler Collection) as it's compiler. Dev-C++ can also be used in combination with Cygwin or any other GCC based compiler."
There is a difference between an IDE and a compiler.
My favourite C resource
http://www.cs.cf.ac.uk/Dave/C/CE.html
http://www.cplusplus.com/doc/tutorial/ is a good tutorial for beginners. At least that's what I think. I learned c++ there.
And here (http://pw1.netcom.com/~tjensen/ptr/pointers.htm)'s a good tutorial on pointers.
some handy win32 c++ stuff that stuka linked me to: www.naughter.com
jamessan
10-22-2002, 04:18 PM
I'm surprised no one has mentioned Kernighan & Ritchie's "The C Programming Language." I'd consider that to be the C Bible. It has helped me out many times.
inkedmn
04-22-2003, 08:24 PM
*bump*
ok, so i'm getting into C++ a bit and i'm wondering if anybody could give me a yay or nay on these two books (i plan on acquiring them at some point in the near future):
The C++ Programming Language (http://www.bookpool.com/.x/mzx84kdo56/sm/0201889544)
The C++ Standard Library (http://www.bookpool.com/.x/mzx84khuo4/sm/0201379260)
(and maybe Thinking in C++ (http://www.bookpool.com/.x/mzx84k7zb8/ss/1?qs=Thinking+in+C%2B%2B) if i have some extra cash)
anybody have any cheers/jeers for any of these volumes?
(or any other recommendations not mentioned in this thread would be cool too :))
stuka
04-24-2003, 11:29 AM
inkedmn: I gotta say that it's hard to downplay a book by the language creator. I've heard that it's not for beginners though, as it's fairly tough. Don't know about the STL book, but I DO know that in order to program well in C++, you NEED to know how to use the STL. It's something I know a tiny bit about, and even that little bit is an ENORMOUS help. Also, once you've learned a bit about C++ syntax and programming, a journey over to boost.org (http://www.boost.org) will clue you in to some really cool libraries, many of which are being considered for the next version of the C++ standard.
AtreideS
08-11-2003, 06:36 AM
This thread looks to be a wonderful help. I was planning on posting a thread asking for some good websites. But it looks like this thread has answered all my needs. :) Thanks.
Solean
10-02-2003, 12:39 AM
For a good book, consider Practical C Programming....
Whiteknight
02-20-2004, 10:28 AM
I was looking to make the switch from C to C++, so i bought the book "SAMS: teach yourself C++ in 24 hours," and I have to say that I was completely disappointed with it.
it is very very basic, starting with a chapter about what a variable is, and then a second chapter on basic arithmetic functions.
The book goes in depth about pointers, but hardly touches on some important subjects, like file I/O, which i really was looking for.
in short, its a good book if you dont know what a computer is, and need everything explained to you. It is a bad book if you have any programming experiance, and are looking to become a good C++ programmer.
stuka
02-20-2004, 10:35 AM
I'm going to add a plug for a book I picked up which is PRICELESS if you really want to write good C++ code: Effective C++ (http://www.amazon.com/exec/obidos/ASIN/0201924889/qid=1077287910/sr=2-1/ref=sr_2_1/104-5175868-5479967)
Whiteknight
06-26-2004, 04:08 PM
I want to get into windows programming, as a way to better understand all the workings of the operating system, and I am looking for a solid resource to learn win32 C/C++ coding. does anybody here know a good (read: not beginner) book that will help me with this?
stuka
06-27-2004, 07:58 PM
Charles Petzold's Programming Windows is the definitive intro to the win32 API. It doesn't cover every possible scenario, but after you read it and learn it, you'll be able to handle most anything. I've heard that Programming Windows with MFC (I THINK that's the title) is pretty good for attacking Windows from that angle.
Whiteknight
02-10-2005, 02:07 PM
I got the book "Programming Windows" by Charles Petzold, and it is bar-none the best windows programming book out there. However, there are a few topics that Petzold does not cover (or does not cover well) that some people might be interested in. For these other topics, I got the book "Win32 System Programming" by Johnson Hart. This book has all sorts of low-level stuff about the winAPI.
sicarius
02-10-2005, 05:08 PM
"Programming Windows with MFC" by Prosise is also a solid read. There is plenty of meat in it.
jack12
09-10-2008, 12:50 PM
This thread provides a wonderful help to me . I was planning on posting a thread asking for some good websites. But it gives answered all my question. Thanks.
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.