Thread: Advantages of the C language

  1. #1
    Un Artiste Extraordinaire volk's Avatar
    Join Date
    Dec 2002
    Posts
    357

    Advantages of the C language

    What can be done much easier in C than in C++?

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Formatting output I find is much easier using printf than cout.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807
    But I can use in C++ printf, can't I?
    But still what can be done easier in C than in C++, it's up-to-you, somepeople,they're more familiar with C, then their job of course will be easier and faster, than working with C++, same thing to C++.
    Last edited by Vber; 06-07-2003 at 10:57 AM.

  4. #4
    Un Artiste Extraordinaire volk's Avatar
    Join Date
    Dec 2002
    Posts
    357
    Hmph, that's it? I guess C doesn't have any "real" advantages against C++. But how could it when there's that darn standard template library.

    Vber, I haven't seen you in long time, by the way.

  5. #5
    still a n00b Jaguar's Avatar
    Join Date
    Jun 2002
    Posts
    187
    I guess C doesn't have any "real" advantages against C++.
    What if you want to deal with POSIX?
    Or when you look closely to a specific compiler like gcc, nested functions granted by only gcc not g++.
    slackware 10.0; kernel 2.6.7
    gcc 3.4.0; glibc 2.3.2; vim editor
    migrating to freebsd 5.4

  6. #6
    Un Artiste Extraordinaire volk's Avatar
    Join Date
    Dec 2002
    Posts
    357
    Originally posted by Jaguar
    What if you want to deal with POSIX?
    Or when you look closely to a specific compiler like gcc, nested functions granted by only gcc not g++.
    Aren't you a little biased, though? POSIX is right above your avatar?

    And why do so many people use gcc and g++? What's so good about those compilers?

    *changes subject of thread*

  7. #7
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807
    /* Aren't you a little biased, though? POSIX is right above your avatar? */

    Far away from this, you look in the Linux board FAQ, a little bit about POSIX.

    /* And why do so many people use gcc and g++? */
    They are free, and they're pretty good compilers as a free option.

  8. #8
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    C code tends to run faster and compile smaller.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  9. #9
    Been here, done that.
    Join Date
    May 2003
    Posts
    1,164
    Originally posted by Vber
    /* And why do so many people use gcc and g++? */
    They are free, and they're pretty good compilers as a free option.
    I just found that Borland C++ 5.5 is now free. It does not come with an IDE, but who cares about that? Download at http://www.borland.com/products/down..._cbuilder.html
    Definition: Politics -- Latin, from
    poly meaning many and
    tics meaning blood sucking parasites
    -- Tom Smothers

  10. #10
    Un Artiste Extraordinaire volk's Avatar
    Join Date
    Dec 2002
    Posts
    357
    Aren't all compilers free on Kazaa? Ok, this thread is closed.

  11. #11
    Registered User Xei's Avatar
    Join Date
    May 2002
    Posts
    719
    Originally posted by volk
    Aren't all compilers free on Kazaa? Ok, this thread is closed.
    Nope, sometimes you have to use eMule, iMesh, or IRC

    Anyways, there are very good reasons to use C over C++, just like there are very good reasons to use Assembly when dealing with mathematical calculations over any other language - It all depends on what you want to do, how you want it to work, and how you want to accomplish it.
    "What are you after - the vague post of the week award?" - Salem
    IPv6 Ready.
    Travel the world, meet interesting people...kill them.
    Trying to fix or change something, only guaruntees and perpetuates its existence.
    I don't know about angels, but it is fear that gives men wings.
    The problem with wanting something is the fear of losing it, or never having it. The thought makes you weak.

    E-Mail Xei

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What language did they make Java in?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 07-03-2005, 04:18 PM
  2. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  3. assembly language...the best tool for game programming?
    By silk.odyssey in forum Game Programming
    Replies: 50
    Last Post: 06-22-2004, 01:11 PM
  4. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM
  5. Languages dying
    By Zewu in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 07-29-2003, 10:08 AM