Qbasicnews.com

Full Version: C/C++ ??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9
Quote:I think its C rather than C++.
Nope. The quakes used to use a C renderer for speed, but as of doom 3, plain c code isnt even used anymore so :p

But in case you really want a point, many of the coders are old c coders, so there style is c, but they do use privates, inheritance etc and other c++ features.

Admitadely some games are still written in C, but its a not a large portion of games made today.(i cant give you an exact number, im sure you can find estimates,i do know c++ is used more through)

Quote:I stand corrected...but don't you need OOP for Windows programming? And C isn't OOP.
Since when? Ive written c windows code and it works fine, the ONLY time youll use c++ for windows code is when using mfc, and even that, underneath is all c code that accesses win32.

And since when could c code not be used in 32 windows either?(a language is in bit, thats like saying you cant use basic in windows becuase its 16bit)

hmm, i mustve been writing my latest game in some mystical language :p


Also all major libraries are accessed by a c api, meaning windows, ogl, dx, and sdl.

and for zack, pure c code:

[Image: app_four.gif]
!!!
Tutorials, Pleeeeease!
thats what google for, the best link pops up on search for win32 api

http://www.winprog.org/tutorial/

The whole tutorial is c only

And the best book is petzolds.

Buy it, dont download it.support the authors!(hides his 20 ebooks)
Those are nice tutorials...I will read them carefully
As will I...but I gotta learn plain C first. :wink:
A good choice =). BTW why dont you grab some C books as well. Some of them come with a CD/Floppy with a bunch of examples which are very well explained =).
I'm used to lending books from a library, and about 75% of CDs that come with them...are missing. :roll:
Beg, borrow, steal do anything! Books are a great resource.
Yup. Whenever I seriously want to learn a language, I get a book...if you're ever going to try assembly, get the college textbook Assembly for Intel-Based Computers, 4th edition, by Kip R. Irvine...it's amazing.
Thanks for the info.
Pages: 1 2 3 4 5 6 7 8 9