- Joined
- Apr 22, 2005
- Sythe Gold
- 23
- Messages
- 7,825
Make sure you do not waste too much time for C because it is quite obsolete nowadays.
I hope you're joking.
Make sure you do not waste too much time for C because it is quite obsolete nowadays.
I hope you're joking.
Most operating systems including Windows NT and the Linux kernel are still written entirely in C, with some higher-level components written in C++.
Ever since Visual Studio .NET, the only way to write native Windows applications in Visual Studio is through C and C++. C is marginally faster than C++ (objects have an overhead), so unless you're using something like MFC, there is no reason to not use C.
I used to use the MFC AppWizard for my autos, but ever since discovering how much nicer plain-old Windows API is, I now use C instead.
Ah, but, when dealing with the Windows API, the only difference between C and C++ code is one that has to do with the language itself, not the API:
The latter language can have variable declarations anywhere, whereas the former must have all variables declared at the beginning of the block indicating their scope. Everything to do with Windows programming; the message loop, the API functions, resources, etc. are just as easily accessible through either language.
Unless you're using or creating an object, is there really any reason to not use C over C++?
I do use other languages
I just like C more![]()
I also like C, remember Turbo C or Borland C in the old day. It was so fast and so simple.When I was forced to learn other languages simply because other people started to leave C, I was so disappointed.
What languages do you use these days?![]()
Nope I am not joking. C is surpassed by most other languages nowadays mainly because of lower productivity.