May 13th, 2003, 10:29 PM
all you c programmers...
Recently I have been trying to get my feet wet with some c programing. I havent really tried to write any code yet, I've just been reading up on it, trying to learn a little bit about it. Its really tough to me right now!
I think what may help me is if any of you have a link to somewhere that takes an example program, and breaks it down into what each line of code does for that particualr program. And no, this isnt for homework. I dont even go to school, yet.
Thanks in advance
May 14th, 2003, 02:27 AM
.sig - There never was a .sig?
I own a Schneider EuroPC with MS-Dos 3.3 and it works.
May 14th, 2003, 03:47 AM
Here is a link Bruce Eckelís book ďThinking in C++.Ē You can download it to your system.
May 14th, 2003, 05:29 AM
just in case you all didnt notice, he asked for advice in the area of C programming, not C++
edit >> grammar
May 15th, 2003, 01:44 AM
Sorry about that (posting for C++). Here are a couple of links for C programming sites.
This one is on pointers and arrays
May 15th, 2003, 02:59 PM
Whats the difference in C and C++? is it run time, or is it better for graphics or certain programs, or just .....a different language?
May 15th, 2003, 03:19 PM
C++ is basically just a better, more object-oriented, version of C. The one thing that I hate about C is the low-level programming you have to do in it.
\"Great spirits always encounter strong opposition from mediocre minds.\"
May 15th, 2003, 10:01 PM
C is basically a functional language and C++ is an object oriented language. You can write function based code in C++ also. You donít need to use all of C++ís features to write good programs. C++ can be used as an extended C. Some people consider C code faster, but according to what I have read you can write C++ code that is just as fast. Itís a trade off. If you use some of C++ís object-oriented features, such as virtual functions, it can cause your code to be a little slower. There are some books out there that teach you who to write more efficient code. Despite a small hit in execution speed, C++ allows for nice reusable class hierarchies that can speed your programming time greatly.
It seems that a lot of the lower level programming is done in C. I have heard a few different reasons, such as; C is simple and fast, widely known. Which language you learn is up to you. Most of C is a subset of C++, so in some respect by learning C++ you will understand most of C. Remember you can use C++ as an extended C.