Problem

This is a discussion on Problem within the C Programming forums, part of the General Programming Boards category; http://cboard.cprogramming.com/c-pro...cplusplus.html Regarding the thread, I dint even explain what i meant and the moderator closed it. However, i would like ...

  1. #1
    1337
    Join Date
    Jul 2008
    Posts
    135

    Problem

    C++

    Regarding the thread, I dint even explain what i meant and the moderator closed it. However, i would like to clarify something.

    I have heard that C is used for device drivers programming instead of C++. Why?

    In linux kernel, C is used instead of C++. Why?

    EDIT: http://advice.cio.com/esther_schindl...ds_why_c_sucks

    I would like to know about this too. Why he says that it sucks? What is the reason behind this.
    Last edited by valthyx; 11-12-2009 at 07:26 AM.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,986
    Quote Originally Posted by valthyx
    In linux kernel, C is used instead of C++. Why?
    why linux kernel written in c

    Quote Originally Posted by valthyx
    EDIT: http://advice.cio.com/esther_schindl...ds_why_c_sucks

    I would like to know about this too. Why he says that it sucks? What is the reason behind this.
    I would like to know why did you not click on the links provided. What is your reason? Why?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    1337
    Join Date
    Jul 2008
    Posts
    135
    MM. Basically, i just want some other opinions from you guys here.

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,986
    Sure, but if you want to know why the Linux kernel is mostly written in C, or why Linus Torvalds thinks C++ sucks, then the best source is the relevant FAQ and the actual quote from Linus Torvalds himself.

    As an analogy: would it make sense to ask us why a friend of yours sleeps at midnight everyday when you can ask him/her yourself?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    1337
    Join Date
    Jul 2008
    Posts
    135
    Kinda good analogy, but irrelevant a.k.a funny.

    OK, I have completed a C course/book. Now i would like to move on to programming device drivers and system programing for windows. Is there any tutorial from this site? I could not find it here.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 04:21 PM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 10:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM

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