all you c programmers...
Results 1 to 8 of 8

Thread: all you c programmers...

  1. #1
    Member
    Join Date
    Feb 2002
    Posts
    99

    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

  2. #2
    Senior Member
    Join Date
    Mar 2003
    Posts
    117
    google: +"C++ in 21 days" +ebook

    Nr 4 seems cool... http://www.abedi.net/ebook/INDEX.HTM -> http://www.abedi.net/ebook/0-672-31070-8/index.htm
    or try another one at abedi.
    .sig - There never was a .sig?
    I own a Schneider EuroPC with MS-Dos 3.3 and it works.

  3. #3
    Senior Member
    Join Date
    Apr 2003
    Posts
    103
    Here is a link Bruce Eckelís book ďThinking in C++.Ē You can download it to your system.

    http://carti.ss.pub.ro/eckel/

  4. #4
    er0k
    Guest
    just in case you all didnt notice, he asked for advice in the area of C programming, not C++




    edit >> grammar

  5. #5
    Senior Member
    Join Date
    Apr 2003
    Posts
    103
    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

  6. #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?

  7. #7
    Member
    Join Date
    Mar 2003
    Posts
    90
    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

  8. #8
    Senior Member
    Join Date
    Apr 2003
    Posts
    103
    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
  •