-
May 13th, 2003, 10:29 PM
#1
Member
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
Jonesy
-
May 14th, 2003, 02:27 AM
#2
.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
#3
Senior Member
Here is a link Bruce Eckel’s book “Thinking in C++.” You can download it to your system.
http://carti.ss.pub.ro/eckel/
-
May 14th, 2003, 05:29 AM
#4
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
#5
Senior Member
Sorry about that (posting for C++). Here are a couple of links for C programming sites.
http://cplus.about.com/library/weekly/aa010602a.htm
This one is on pointers and arrays
http://pw1.netcom.com/~tjensen/ptr/pointers.htm
-
May 15th, 2003, 02:59 PM
#6
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
#7
Member
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.\"
Albert Einstein
-
May 15th, 2003, 10:01 PM
#8
Senior Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|