Thread: What is C good for?

  1. #1
    Unregistered
    Guest

    Question What is C good for?

    Really.
    Granted, I am very much the Newbie and have yet to progress beyond the most simplistic programs, yet I don't know what one really uses C for.
    It does math functions I see. Prints stuff to your screen in a command window (I am using m$)...ummm. After that I don't know.
    I suppose I would like to know what kind of programs are built using C and what other lovely things it does/can do.


    Anyone?

    Much thanks.

  2. #2
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    C is for foundation to help you learn other stuff.

  3. #3
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    lemmie see Windows, um Linux, uh BSD, OS-X, virtuall every OS, also every piece of software and every game commercially available... are or can be written in C.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  4. #4
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    maybe not the GUI part.

  5. #5
    Unregistered
    Guest
    Oh.

    Thank you kindly, Nutshell and No One.

  6. #6
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    the Windows GUI is written entirly in C++...
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  7. #7
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    with the help of some 3d engine or what? Entirely? Even the GUI of winxp ?

  8. #8
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    not 3d engine necessary its all 2D im not exactly sure on the methods but it maybe just GDI or something. whatever it is it custom.

    though i mean the ovelying GUI, the direct hardware interfacing is probably in C or ASM(most likly ASM).

    Even the GUI of winxp ?

    yep.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  9. #9
    Registered User
    Join Date
    Sep 2001
    Posts
    752
    In theory... you can do just about anything in C.

    And in practice.... again, you can do just about anything. I mean, in addition to reams and reams of sorting and searching, you can pretty much do anything that you can figure out how to do...

    Translate between two languages.
    Edit datafiles for a game.
    An OS, or compiler.
    Crash someone's machine.
    Callou collei we'll code the way
    Of prime numbers and pings!

  10. #10
    Registered User wavering's Avatar
    Join Date
    Dec 2001
    Posts
    26
    The reason most widely quoted is: "If you learn C you can get a good job as a programer"

    To me this is the worst reason to do anything. I love C because it has enormous flexibility and you can get right down to machine level ( via inline asm - my obsession )

    BUT If you just need to write a quick program to do something simple and have no interest in the machinery then use Basic. The problem with C for the beginner is that it seems very complicated and counterintuitive ( "how can a string be an array and what the hell are pointers for?" ) For the moderately experienced programmer it is just wonderful ...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. In a game Engine...
    By Shamino in forum Game Programming
    Replies: 28
    Last Post: 02-19-2006, 11:30 AM
  2. Good books for learning WIN32 API
    By Junior89 in forum Windows Programming
    Replies: 6
    Last Post: 01-05-2006, 05:38 PM
  3. Good resources for maths and electronics
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 12-22-2004, 04:23 PM
  4. what is good for gaphics in dos
    By datainjector in forum Game Programming
    Replies: 2
    Last Post: 07-15-2002, 03:48 PM
  5. i need links to good windows tuts...
    By Jackmar in forum Windows Programming
    Replies: 3
    Last Post: 05-18-2002, 11:16 PM