The path of next topics of learning....??

This is a discussion on The path of next topics of learning....?? within the C Programming forums, part of the General Programming Boards category; Hello , I need advanced c tutorials which should include hardware functions. To be honest , I do not know ...

  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    151

    Arrow The path of next topics of learning....??

    Hello ,
    I need advanced c tutorials which should include hardware functions. To be honest , I do not know what to learn next. I passed data structure , wrote some programs , for instance I am going to write a compiler (simple for a simple language ) . But next?? There is c preprocessor , what else ..? Ermm .. I can overwhelm witm my confusions which is what I am going to do usually.And then I can start c++. But I do not want to do that before I learn C like more than an amateur . So I would be glad , if you showed me the path about this issue. Thank you for every response .....

    Regards

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Find a reasonable size project, and build it.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Jan 2007
    Location
    Euless, TX
    Posts
    144
    If your thinking about the hardware side of C, then get a book (probably an old one now) about C Assembly language. That's what most hardware that is programmed in C uses.

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,047
    "C Assembly language"? C and assembly are two separate languages. You might as well have said, "C C++ language".

    I'm guessing you mean, learn how to program in assembly, and then learn how to use assembly from C. Well, that's certainly one thing you could do, but probably not something that would be very useful in this day and age.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  5. #5
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    I agree with DWKS. If anyone thinks that most drivers are written in assembler, they would be a fair bit wrong. Almost no driver is written in assembler - there may be some tiny bit of assembler because the compiler can't do what you want, but that would be very, very small amounts.

    Low level functions in drivers use pointers, bit-fiddling (the binary operators &, |, ^, <<, >> and unary ~), and usually function pointers because although the driver is written in C, it's using some sort of object-oriented virtual method of generically calling a driver to do "write" or "read" for example.

    Of course, it's useful to understand how assembler works, and what actually happens "behind the scenes" when a line of C is executed. But drivers are not written in assembler as a rule.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 09:13 AM
  2. Good learning path?
    By Litz in forum Game Programming
    Replies: 4
    Last Post: 06-02-2009, 03:32 PM
  3. clipping path
    By stanlvw in forum Windows Programming
    Replies: 0
    Last Post: 07-23-2008, 11:47 PM
  4. Path Finding Using Adjacency List.
    By DeepBlackMagic in forum C++ Programming
    Replies: 7
    Last Post: 05-16-2005, 02:34 PM
  5. linked list recursive function spaghetti
    By ... in forum C++ Programming
    Replies: 4
    Last Post: 09-02-2003, 02:53 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21