+ 3
C language : Objects and variable variables?
The C language is known as a mid-level language. But i took a look at it, and it has lots of features that we have in other high-level languages.. such as Structures(almost identical to objects) pointers (Same as $ in PHP) Getting the actual date and the actual time opening and closing files(sameway as PHP) Dynamic memory allocation. it's possible making GUI applications (Through GTK+ for exemple).. and much more the C language is much more of what people are used to know.
3 ответов
+ 5
C is a great language and many years ago I read an excellent paper on "OOC" as in using C in an OO manner. However function pointers get messy and structs don't outright support "methods"(functions) as members (aside from aforementioned pointer hackery).
As fun as it is to OO in C, the language is mainly, though not completely, procedural and any serious project should use the language in its correct paradigm or you may as well use C++.
+ 1
C is a good language it is useful, especially to make C++ more effective.
+ 1
yes @Manual. or when you don't need a too fancy application, C is lighter too. I read part of a book about C and i'm even more intrested on it now