Could anyone recommend a good site to learn C programming? The HowStuffWorks tutorial seems really in depth, are there any better tutorials?
[url]http://computer.howstuffworks.com/c.htm[/url]
EDIT:
Actually to elaborate, would it be better learning C first, then C++?
If you really want to learn C++ later then you could just begin with C++. And C++ seems to have more online tutorials as well.
[QUOTE=Cookieeater;25714869]Actually to elaborate, would it be better learning C first, then C++?[/QUOTE]
If you want to learn C++, you might as well do it first. There's some things that you can and probably even should do differently in C++ than in C, and I have heard of people who've learned C, then C++, and then used C++ [url=http://stackoverflow.com/questions/560845/what-are-the-often-misunderstood-concepts-in-c]like it's C with classes[/url]. (That page has lots of other interesting stuff, too!)
[url]http://www.cplusplus.com/doc/tutorial/[/url]
[QUOTE=esalaka;25717868]...and then used C++ [url=http://stackoverflow.com/questions/560845/what-are-the-often-misunderstood-concepts-in-c]like it's C with classes[/url].[/QUOTE]
Ironically, "C with Classes" was actually the name of the language for awhile, before it was renamed to "C++" in 1983.
[QUOTE=Wyzard;25721336]Ironically, "C with Classes" was actually the name of the language for awhile, before it was renamed to "C++" in 1983.[/QUOTE]
It's not ironical, really, since I was also referring to the language, which was, well, C with classes.
That aside, that very sentence is often seen when someone, usually a beginner, uses C++ like C.
I would agree with the others on learning C++ first, it is not as bad as most people are lead to believe. Also pointers are a godsend once you get your head around them which is not too bad. Just need a decent explanation of them.
Also quite a few people know C++ so it is far easier to get help on when you are starting out than C.
[QUOTE=Random112358;25730274]
Also quite a few people know C++ so it is far easier to get help on when you are starting out than C.[/QUOTE]
Yeah, it's not like C is years older and most certainly has a huge userbase, too. :v:
[url]http://www.youtube.com/user/thenewboston[/url]
This guy's tutorials are awesome, he taught me Python way back, and currently I am learning Java from there. He has C and C++ tutorials too, but since you want to learn C++ you should just start with C++
[QUOTE=Laserbeams;25741031][url]http://www.youtube.com/user/thenewboston[/url]
This guy's tutorials are awesome, he taught me Python way back, and currently I am learning Java from there. He has C and C++ tutorials too, but since you want to learn C++ you should just start with C++[/QUOTE]
Thanks! I decided to learn C++ now, got a copy of Accelerated C++.
[QUOTE=esalaka;25730319]Yeah, it's not like C is years older and most certainly has a huge userbase, too. :v:[/QUOTE]
I have met far more people that know C++ than C though, although saying that most people that know one can do a decent job at the other. When I was taught C (at University) the first 6 hours of lectures were spent going over stuff I already knew from learning C++.
[QUOTE=Random112358;25756375]I have met far more people that know C++ than C though, although saying that most people that know one can do a decent job at the other. When I was taught C (at University) the first 6 hours of lectures were spent going over stuff I already knew from learning C++.[/QUOTE]
Yeah, well, that's probably because both are basically based on the C syntax, which yoou had to learn when learning C++ anyway.
Regardless, I doubt you learned to use the C standard library (much) or to write your own linked lists using structs and pointers when learning C++.
[editline]31st October 2010[/editline]
And my point was mostly based on the fact that C is about as old as UNIX, (IIRC) whereas C++ is relatively new.
[QUOTE=esalaka;25758705]And my point was mostly based on the fact that C is about as old as UNIX, (IIRC) whereas C++ is relatively new.[/QUOTE]
C++ isn't new at all, it's old. I think the difference between the two is only like 7-10 years.
Does anybody learns D here? I'd might start it but it sucks because there is no way to write in D for any hardware.
[QUOTE=HeatPipe;25761218]Does anybody learns D here? I'd might start it but it sucks because there is no way to write in D for any hardware.[/QUOTE]
It works for at least the hardware supported by GCC 3.4 and GCC 4.[0..4].
I wanted to learn D2, but never quite got around to it.
Got gdc, dmd and dsss installed though.
holy fuck GCC?? damn this is what i am using now
Yeah, there's a frontend for D called [url=http://bitbucket.org/goshawk/gdc/wiki/Home]gdc[/url].
yeah i saw that. will try to install it after i finish my project
[QUOTE=HeatPipe;25761218]Does anybody learns D here? I'd might start it but it sucks because there is no way to write in D for any hardware.[/QUOTE]
jA_cOp is the resident D maestro here, best ask him.
Sorry, you need to Log In to post a reply to this thread.