Mori Ranmaru Report post Posted March 8, 2005 Ok, I know absolutly nothing on the C/C++ Programming Languange, except that it is used to program, and it is very confusing . I would like some help (i.e. Websites, Tutorials, ect.) on how to get started on learning C. TYVM ALL!!!!!! -Mori Share this post Link to post Share on other sites
goatsgomoo Report post Posted March 8, 2005 Well, I have *no* experience whatsoever with C or C++, but I can honestly say that Java is a very good starter language. Very easy to learn, especially when you know a programmer in real life to debug your code and point out what's wrong with it when it won't compile. Also, Emagination Computer Camps offer courses in programming and are very enjoyable. I went for 2 weeks last year, and I'm going again this year for 4. But anyway...try google. Share this post Link to post Share on other sites
crusadingknight Report post Posted March 8, 2005 (edited) Well, I have *no* experience whatsoever with C or C++, but I can honestly say that Java is a very good starter language. Very easy to learn, especially when you know a programmer in real life to debug your code and point out what's wrong with it when it won't compile.Also, Emagination Computer Camps offer courses in programming and are very enjoyable. I went for 2 weeks last year, and I'm going again this year for 4. But anyway...try google. Java syntax is basically a superset of C. BTW, tried searching for documentation? I'll find some then. Here: The definitive...erm, definition... of the C Language. http://freebooks.by.ru/view/CProgrammingLanguage/kandr.html Edited March 8, 2005 by crusadingknight Share this post Link to post Share on other sites
Rebel Report post Posted March 8, 2005 well now i take courses on c and c++ but there is c and c++ for dummies books and they are fairly helpful and come with a CD. Share this post Link to post Share on other sites
Wolf_Lord Report post Posted March 8, 2005 http://www.eternal-lands.com/forum/index.php?showtopic=12248 Here's my post on C++, from what I've learned it's better to start with C++, becasue in the process you'll learn C anyway and then you will better understand the diffrences. I got the C++ for dummies book and it is a wonderful guide to learn from. I also would recomend the site that I posted in my original post linked above, the two of them should help you learn quite easily and quickly, provided your willing to put a little effort into it of course. I wish you the best of LUCK and best wishes. NeoSeS Share this post Link to post Share on other sites
Mori Ranmaru Report post Posted March 8, 2005 Ok, tyvm all, I'm checking out these sites (and the C++ for Dummies Book) as I'm typing this. Still, if you know any more, please post here. -Mori Share this post Link to post Share on other sites
Leeloo Report post Posted March 9, 2005 http://www.eternal-lands.com/forum/index.php?showtopic=12248 Here's my post on C++, from what I've learned it's better to start with C++, becasue in the process you'll learn C anyway and then you will better understand the diffrences. The point is not that that you'll learn C anyway, but that C++ compilers accept C code, so if you start with C you will never learn C++ for real. Why use std::string when you are used to char *? And why use vector<int> when you are used to malloc(BUFSIZE*sizeof(int))? The C++ ones are easier to use, but if you already know C, the other ones are familiar, you know exactly how they work. And then there is pointers. An important part of programming, but not something for beginners. In C, you can't to much without pointers, with a good C++ book, pointers should be reserved for the last two chapters. Even Java isn't this newbie friendly, because although Sun claims they got rid of pointers, they really just renamed them to references - which can be confusing to a C++ programmer, because C++ has something different called references - and you can't do much in Java either without pointers references. Share this post Link to post Share on other sites
immerentis Report post Posted March 9, 2005 (edited) The point is not that that you'll learn C anyway, but that C++ compilers accept C code, so if you start with C you will never learn C++ for real. you mean all those poor coders that learned C before c++ existed will never be able to put up with time? i "learned" both, (depends of what one call learning, im able to program in both and to evolve on my own when i get a new library/api ) first C, (ok gcc has some levels of leniency) then C++ I do not even see why it should be difficultfor someone to learn both (except the learning how to think in sequencial form and oo form, which are common problems on people learning 80% of other languages ) i mean, if one passes from C to python (or ruby , or perl ,or cobol....) , he has to give up on all the habits of his you said anyway its all a matter of dicipline. is not because you CAN do something that you SHOULD do it then again I did start it by learning algo, and learning to do my programs first on paper .... so... i give you that Edited March 9, 2005 by immerentis Share this post Link to post Share on other sites
chatterbug89 Report post Posted March 9, 2005 Umm...just thought I would mention that I have heard nothing good about the C for dummies book (and C++). I woudlent get them. Also you may want to check out http://www.cprogramming.com/ because that is where i'm learning. C++ books can sometimes be a little outdated in terms of what you should be using (synax and most functions are still the same, but some little habits you can get are anoying.) Oh yeah, don't borrow precaluclus/calculus C++ books :-P THEY BAD...especialy if you don't know what your doing...they were fine for me it's jsut that they were teaching some old unsupported things. Share this post Link to post Share on other sites
Malaclypse Report post Posted March 9, 2005 I still can recommend Stroustrup's standard C++ book (The C++ Programming Language), even it is quite theoretical (it covers the complete syntax and semantics of c++) it also has lots of examples useful for learning. I too can't recommend any of the dummy book series. From my experience they tend to confuse more, than they help in learning. Share this post Link to post Share on other sites
Leeloo Report post Posted March 9, 2005 The point is not that that you'll learn C anyway, but that C++ compilers accept C code, so if you start with C you will never learn C++ for real. you mean all those poor coders that learned C before c++ existed will never be able to put up with time? I had a C++ teacher who mixed the two languages. Classes, char *, iostream for screen output, stdio for files. The result: I never liked C++, I ended up teaching myself C just to get away from that. Another thing I've found out, (at least among the people I know) people who love Java and hate C++ have learned the same terrible mix of C and C++. When I had an argument with a friend who loves Java, I ended up showing her a C++ program written with std::* and everything, and she thought it looked like a Java program. Share this post Link to post Share on other sites
Mori Ranmaru Report post Posted March 10, 2005 Also, I ran a google on free compilers...and have no idea what is good, what is not, and what will totally screw up my comp....Any suggestions? Share this post Link to post Share on other sites
Malaclypse Report post Posted March 10, 2005 (edited) The GNU Compiler Collection (gcc: http://www.gnu.org/software/gcc) is one of the most commonly used free compilers. It has frontends for several different languages (C/C++, Fortran, Java and optionally others) and backends for nearly any hardware platform currently available. Edited March 10, 2005 by Malaclypse Share this post Link to post Share on other sites
crusadingknight Report post Posted March 10, 2005 (edited) Since you're new, and I assume you have windows (or should have gcc installed already if you're on Linux ) I'd just download Blood Shed Dev-C++. http://www.bloodshed.net If you're quite familiar with the command line, you can also download gcc for windows, from the MinGW32 project. Dev-C++ comes with this anyway. (Well, the old version 3.2 anyway... current is 3.4) http://MinGW.sourceforge.net Borland also has a free set of command line tools, but they'd be better if they stuck with delphi. Edited March 10, 2005 by crusadingknight Share this post Link to post Share on other sites