How to make a game in C++?

I've been making console applications for quite sometime now... And I would LIKE to start making games. I know about directX and STL and stuff, but what about unity? Does that use C++? And what C++ files do I use? Do I use <iostream> , or cstdlib? Help please. ALso, should I learn java? Or should I program windows first?
You're going too nervous.
Relax and ask sensed questions.

Now about answering the questions you made:

I know about directX and STL and stuff, but what about unity? Does that use C++?


As of wikipedia, it uses:
C++
C#
JavaScript
Boo


And what C++ files do I use?

Depends on which engine you pick.
Every engine will make you download some files (Header/Library/DLL, or Header/Library, or Header/Source).
Then, you must look at dedicated tutorials or documentation.

Do I use <iostream> , or cstdlib?

You don't use either one.
You should stick to what your engine uses.
Eventually, you can still use iostream for std::string, etc.

ALso, should I learn java?

Makes no sense.
You are programming in C++, you only need to learn C++.

Or should I program windows first?

Makes no grammatical sense.
What did you mean?
closed account (N36fSL3A)
Makes no grammatical sense.
What did you mean?
I think he meant does he need to get familiar with WinAPI.

My answer is: No.

Your Game Engine should have windowing functionality.

If you're making your own game engine, libraries such as SDL and SFML are great for 2D games. If you want to go 3D (I recommend 2D first), you can use them with OpenGL.

Unity isn't C++.

Java has nothing to do with C++.
I think there's a C++ wrapper for Unity anyways.
But, yes, Unity is "natively" C#.
personally i don't recommend unity as it isn't primarily made for C/C++ and i would recommend starting with 2d libraries such as SFML and SDL
Topic archived. No new replies allowed.