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

C- As In Constipation

Name: Anonymous 2010-10-15 18:54

So i'm new to the C language and i have a few questions.

First of all some past experience with me:java, C++ and lua

Now I've started to learn C and i find it kinda weird..... 1)structs i assume are the 'classes'(minus the functions inside) of C, is that correct?
2)each new C file isn't a new class like in most OOP languages instead it's just a continuation of the main file to provide more functions in a neater manor via it's header file, is that correct?
3)Is C supposed to be harder or easier than an OOP language?

Name: Anonymous 2010-10-15 21:53

>>10
No they can't. They can have pointers to functions, but not functions. Abuse of language is fine when the reader already understands, but if you tell the OP that "structures can have functions", he's going to misunderstand. And the word "object" is going to be even more confusing since it has a different meaning in C.

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