Thread: what is right for, ?

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    4

    Smile what is right for, ?

    Hi

    i was searching google for c vs. c++ for finding good answers for this question and found here
    i searched and viewd last topics aboat this, but i didnt find my answer ...

    i'm a php programer and program web application for two years, i know ruby and rails too ( but not good as php)
    i want to start a rich ( i will explain what is rich for me ) programin language in other hand side ( not web, client based ).
    i know some Vb, and C# , but this are commersial language ! they are not fed me ! i want freely !

    i think a rich language is a language that i can do everything i want, what i want ? i want all of thing ...

    Linux & Windows Programing, for example ( my dream ) write grahical user interface for linux like gnome, working with audio and video codecs, 3d games, write php extension, or hmm write browsers ! write image editing programs and ... !

    look ! i dont want write this programs now ! but i want to do it, when i need, i want learn c or c++ for do this things, if c can fed me, i will learn c, or c++ is good ( with OO Suppot ) i will learn cpp, i dont want to for example learn cpp and when i need to write a porgram ( for example a web server ) i cant do it

    please help me friends .... c or cpp , which one is better ?

    thanx alot ...
    Last edited by Venize; 04-13-2007 at 03:26 PM.

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    C++ definitely has its advantages over C with OOP, and its standard library is quite rich. In addition, you can usually steal some features from C with C++ (although depending how far you go it may be frowned upon) if you feel you have to.

    With that said, perhaps it's because I've been used to C for so long, but I like C a lot, and I usually write applications in C as opposed to C++. In addition, I actually prefer some of its ways over the C++ ones.

  3. #3
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Comming from PHP *eww* you'll probably pick C++ up easier than C (due to PHP's OOP approach).

    C & C++ also gives you the opportunity to drop PHP and move on to CGI.

  4. #4
    Registered User OnionKnight's Avatar
    Join Date
    Jan 2005
    Posts
    555
    Since you know C# you might feel better at home with C++. Also, any language can do "what you want", just in different ways.

  5. #5
    Registered User
    Join Date
    Apr 2007
    Posts
    4
    Thanx for your anwers ...

    yes , i familar with C# and Php .

    /

    i have a question, why all of great projects wrote with c ? not cpp ?

    gnome, php, apache, lighttpd, mysql and others ...

    is there any special thing in c that make c diffrent with c ++ ?

    thanx everybody ...

  6. #6
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    I love C due to its simplicty over C++, the Linux kernel is also written in C.

  7. #7
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Quote Originally Posted by Venize View Post
    i have a question, why all of great projects wrote with c ? not cpp ?
    It might have something to do with the fact that, oh, I don't know, C was created before C++ was.
    Quote Originally Posted by Venize View Post
    is there any special thing in c that make c diffrent with c ++ ?
    One is the originator. Da utha, yo, he be da imitator. Ble-dat.


    Quzah.
    Hope is the first step on the road to disappointment.

  8. #8
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    ha, took me 5 minutes to decipher quzah's gangster talk...

  9. #9
    Registered User
    Join Date
    Apr 2007
    Posts
    4
    thanx for replay

    Quote Originally Posted by quzah View Post
    One is the originator. Da utha, yo, he be da imitator. Ble-dat.
    i dont understand this part can you explain it more ? ( my english language is not good )

  10. #10
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Technically its not English

    This is how I interpreted it...

    One is the originator.
    > One is a very stupid person.

    Da utha, yo, he be da imitator.
    > The author is the imitator.

    Ble-dat.
    > Believe that.

    Makes sense... *cough*

  11. #11
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    originator
    imitator

    One is the originator; the other is the imitator. Believe that.


    Quzah.
    Hope is the first step on the road to disappointment.

  12. #12
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    I was way off because of urban translations -> http://urbandictionary.com

    quzah may I ask why you wrote it like that ?

  13. #13
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Quote Originally Posted by zacs7 View Post
    I was way off because of urban translations -> http://urbandictionary.com

    quzah may I ask why you wrote it like that ?
    You just did. Ask that is.


    Quzah.
    Hope is the first step on the road to disappointment.

  14. #14
    Registered User OnionKnight's Avatar
    Join Date
    Jan 2005
    Posts
    555
    It's english, just with some sort of ghetto spelling.
    "One is the originator. The other one is an imitator."

  15. #15
    Registered User
    Join Date
    Apr 2007
    Posts
    4
    hmm.

    i think c is better for me, i love no limition, since c++ imitat from c, i think, c++ may not have the c freedom and have some limiton in front of c.
    its true ? or wrong ?

Popular pages Recent additions subscribe to a feed