Results 1 to 6 of 6

Thread: C and C++ waht is the defferent

  1. #1

    Thread Starter
    Registered User
    Join Date
    Oct 2002
    Posts
    41

    C and C++ waht is the defferent

    what is the difference between C and C++ ?
    best weshis

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    C is a primarily procedural language. C++ is derived from C, and is capable of being object oriented and generic as well.

    You might want to find a good book though
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3
    Fanatic Member
    Join Date
    Jun 1999
    Location
    California, USA
    Posts
    662
    Correct me if I'm wrong, but...

    C is to C++ as basic is to Visual Basic.

    C++ is an object-oriented language based on the C syntax and flow-control statements (i.e. 'if', 'while', 'for', etc). If you learn C++ without first learning C, you will have learned C by learning C++.

  4. #4
    Hyperactive Member made_of_asp's Avatar
    Join Date
    Jul 2001
    Location
    123 Fake Street
    Posts
    394
    C++ is an extension to C with STL, Clases(OOP Programming).

    C is slightly harder to use. There a few things in C that are not used as much in C++, e.g. C-Style Memory Allocation Functions (malloc, calloc, realloc, free) etc. Instead new/delete is used.
    VS.NET 2003

    Need to email me?

  5. #5
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Originally posted by made_of_asp
    C++ is an extension to C with STL, Clases(OOP Programming).

    C is slightly harder to use. There a few things in C that are not used as much in C++, e.g. C-Style Memory Allocation Functions (malloc, calloc, realloc, free) etc. Instead new/delete is used.
    C is a lot easier but less flexible than the complex C++ to use, C++ is a multiparadigm language, an object orienter programming language (OOPL), procedural language and supports generic programming as well while C is a procedural language.

    C is to C++ as basic is to Visual Basic.
    C++ can't be compared with VB
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  6. #6
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Originally posted by agent

    C is to C++ as basic is to Visual Basic.
    Burn on the stake!

    You are wrong. Correction offered by kedaman.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width