RFI - C++ information or "Where do I begin?" for the new programmer.
I get questions in my PM box and email a lot asking me where people can start for C++, what books are good to buy, etc... You've all seen the posts.
I honestly don't even know where to begin with this sort of question half the time.
I'd like to compile a list of books that people think are helpful, from FIRST HAND EXPERIENCE. Both for reference and for learning.
If any of you say the Deitel and Deitel UML w/ C++ book, I'm going to strangle you. Those of you who've read it, know what I'm talking about. Those of you who haven't, be thankful.
I can say, though, and if anyone has anything to add -> if you are just starting out and know nothing about C++, go to your local community college.
Take a beginning programming course, any language.
After that, your class progression, IMHO, should look something like this:
Basic C++ course (200 level)
OOP with C++ (230 level)
C++ Data Structures (250 level)
GUI programming with C++ (300 level)
After you have those 4 "required" courses, you can start diverging into the specific area you are interested in. You'll probably have reached the limit of what your local community college has to offer in that area, and will have to go to a 4 year or specialty school for further classes, but it will give you a solid foundation to either continue your formal education, or possibly strike out on your own and learn what you want to learn by yourself.
Re: Automatic F for stdio
Quote:
Originally posted by mxedisn
I had a prof like that.
I still can't figure out how to implement a "press any key to continue" functionality without appeal to getchar()
There just doesn't seem to be anyway to do it from iostreams
(Unless the any key is return)
Best I could do without cstdio, although I don't think he'd care for windows.h much more...
Code:
DWORD numRead;
HANDLE hStdin;
INPUT_RECORD buffer[1];
hStdin = GetStdHandle(STD_INPUT_HANDLE);
while (true)
{
ReadConsoleInput(hStdin, buffer, 1, &numRead);
if (numRead && buffer[0].EventType == KEY_EVENT)
break;
}
Re: RFI - C++ information or "Where do I begin?" for the new programmer.
I'm a n00blette when it comes to C or C++, I however took a VB course, a COBOL course, and a SQL/access course. VB has it downfall to...well...it can make for bad habits and that was very apparent when I hit cobol, I dont' know what C or C++ is like, but I found COBOL unforgiving when it came to errors. So anyone coming into the programming scene I would urge to follow the advice given here and probably skip VB and concentrate on something that gives you a better understanding of code and what it does exactly. I read an earlier post about once you learn one language, it is easy to learn another, this statement holds alot of weight. Since my formal training in cobol and crap, I have taught myself the basics of XML, HTML and a couple other various less known languages. I have alot of respect for the guys here that are able to keep SEQ going strong month after month, I do not know enough to do it and i'm glad they do:)
Re: RFI - C++ information or "Where do I begin?" for the new programmer.
This is abit off topic as well but would you guys recommend an IDE for teaching a beginner or a generic text editor and the command line? Being a Java programmer I use netbeans but am curious if / at what point in teaching someone I should start them with an IDE and which IDEs would be best for a beinner (Eclipse has been recommended to me). My plan was to have them do a single hello world app using the command line to learn the basics of how the language works and then get them started with an IDE. Suggestions?
The first language I learned was Java. I would highly recommended it for a learning language (the syntax and semantics are nice IMO) except for some obvious pitfalls such as: you don't learn memory management or the usage of pointers. I do recommend Java however if you want to learn the OOP conecepts.
When I got to high school they had a few programming courses offered in VB but coming from a language like Java I really didn't feel it was a very good learning language.
My university starts its computer science majors off with a course in C. Personally I think a new programmer should learn a language that handles memory management for them first so they can get the basics down before they start with C.
Re: RFI - C++ information or "Where do I begin?" for the new programmer.
I'm mostly self taught (aside from some online tutorials -- and also just do this as a hobby) but I've always used Microsoft's Visual Studio for Windows and KDevelop in Linux when I'm working on SEQ.
I know some people that code for a living that absolutely despise IDEs :p
Re: RFI - C++ information or "Where do I begin?" for the new programmer.
I'm one of them :) In my job, I use C and use command-line "vi" to do the work.
I've just never found a good IDE that I like. Now that I'm in school again to learn more languages, I'll be forced to use one or two new ones. I hope I find one that I like :) lol
Re: RFI - C++ information or "Where do I begin?" for the new programmer.
Heh I havent touched C since the 80s when I used to use it for writing code for WWIV bulletin board.
I am better at assembly since I used to use it to "debug" software so it would work on my pc or for giving me better stats in the games I used to play. :D Anyone remember what int 13h was used for in OLD software? :D
Re: RFI - C++ information or "Where do I begin?" for the new programmer.
LOL! You were one of the people writing WWIV!? I've played with that a little in trying to get my own system up and running in the early 90s. I eventually used Telegard and Regegade. That's funny!
Re: RFI - C++ information or "Where do I begin?" for the new programmer.
I used wwiv since the pascal days, when it went from v3 to v4 it migrated over to C.
Wayne Bell wrote it, I just did substantial modifications. If you were a registered owner, you could get to their mod section. I had about 50 mods appoved by Wayne and on his site. His C programming left a lot to be desired but it worked.
Teleguard was a direct rip off of wwiv. It was wwiv source modded, compiled and re-released as teleguard. There was an exploit that was found on WWIV, which a patch came out for. Since Teleguard was taken from wwiv, the flaw also existed on teleguard. A new version of Teleguard didn't come out for a while so the boards kept getting hacked. Most of the people running that ended up moving to a different bbs type.
WWIV is still around. It is open source now. http://wwiv.sourceforge.net/