Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C or C++?

Name: Anonymous 2009-08-07 15:09

Sup, /prog/. I currently trying to decide if I should learn C or C++. Both have their pros and cons. On one hand, C is lightweight and compiles fast, making it useful should I decide to develop on the Nintendo DS. On the other hand, trying to use strings in C is retarded. Which does /prog/ think is more useful?

Name: Anonymous 2009-08-07 15:10

Oh god.

Oh god.

You're fucked now.

RUN FOR YOUR LIFE

Name: Anonymous 2009-08-07 15:15

Either one is fine.

Name: Anonymous 2009-08-07 15:17

>>2

What do you mean, /prog/rammer?

Name: Anonymous 2009-08-07 15:20

>>4

What do you mean, assrammer?

Name: Anonymous 2009-08-07 15:23

>>4-5

i mena haskell :(

Name: Anonymous 2009-08-07 15:28

>>1
C++ strings are shit also

Name: Anonymous 2009-08-07 15:29

>>6
U MENA HASKAL?

Name: Anonymous 2009-08-07 15:34

>>7

What has good strings, then?

Name: Anonymous 2009-08-07 15:50

>>9
Basically every language that is higher level than those two

Name: Anonymous 2009-08-07 16:51

>>1
In these days I'm developing some stuff in C++. I never used it seriously before: I'm a C programmer.

My advice is: first of all learn C, than you may learn C++ and realize how complex it may be. ...and what you should avoid!

C++ allows you to develop proects in a more structured way, but remember that it also gives you rope enough to shoot in your own feets.

Name: Anonymous 2009-08-07 16:54

msg@>>11 you cant shoot yourself with rope

Name: Anonymous 2009-08-07 17:42

>>12
You're not trying hard enough

Name: Anonymous 2009-08-07 18:31

>>12
You can in C++....

Name: Anonymous 2009-08-07 19:31

C

Name: Anonymous 2009-08-07 22:55

C++ is C with more cocks!!!!

Name: test !Ep8pui8Vw2 2009-08-07 23:33

test

Name: Anonymous 2009-08-08 4:59

>>1
Im not sure if the differences in speed are that great, atleast not unless you plan on making huge and complex applications.

You could make a translation library to use string methods in c, but im not sure you would gain much from it, since you will still have to deal with strings the c-way inside your program.

Since you are choosing between c and c++ i would say start with c.
In both languages understanding how pointers work are paramount and handeling text in c really helped me to understand them.

Name: ​​​​​​​​​​ 2010-09-09 15:17

Name: Anonymous 2011-02-04 13:10

Name: Anonymous 2011-02-04 14:45

Name: Anonymous 2011-02-18 14:06

<-- that's cool and all, but check 'em

Name: Anonymous 2013-09-01 14:33


I remember reading and watching a documentary about Project Orion a few years ago, and it really amazed me how close they came to launching a manned rocket to Saturn. If anyone doesn't know what Orion is, see: http://en.wikipedia.org/wiki/Project_Orion_%28nuclear_propulsion%29

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List