:( help

Pages: 12
Well its hard to tell if this is it or not because I'm being introduce to things in C++. My uncle is helping me out. He told me to learn the basics of C++ and move on to game programming.
IMO, learn the basics of programming. Logic, control flow, primitive data types and their pros/cons, data structures, some low level architecture (ie pointers and what exactly they do).

After this, learn the concepts behind object-oriented programming.

And THEN, start trying to mess around with some graphics libraries.
Your uncle sounds like a smart man. You can't just expect to jump into game development. But that isn't saying you can't do it either. Just start small. You need to learn the foundation and syntax of the language before you can attempt to make anything huge with it.

If you want somewhere to start, start with the tutorial, read forum threads here to get some simple programming ideas, learn what you can and continue to learn. We're always around to help out with any questions you might have regarding specifics to C++.

Look at game programming like you'd look at math. If you don't know your addition and subtraction, you can't multiply. If you can't multiply, you can't do algebra. If you can't do algebra, you can't do trigonometry. Same with programming. If you don't know data types, you will have an impossible time learning classes and functions. Without knowing them, you'll have a very hard time doing much anything else in the language. You don't need to be an expert on the language, but the more you know, the more you can debug your own code without needing help.
Well :( I'm just a teenager and my uncle is a software programmer I believe. I haven't took trigonometry yet, next year I will algebra 2/trigonometry. I hate geometry but I like algebra. Can you help me on learning the foundation and syntax of language? My uncle gave me this book called "Computing concepts with C++ essentials", a beginner book but it looks like its outdated by the look of the book. He (uncle) also told me to skim thro the book and type the codes (examples) down and understand the concept, if not I read the book of that code.
Last edited on
As long as it's written after 1998, it should suffice.

If you want to get into any serious game programming, you're gonna want to start enjoying math. It uses a lot of it.
Well I used to enjoy math till geometry ruined it but I'll see about algebra 2. And the book was published in 1999. One more thing, what resources I should use the book or the C++ website tutorial?
Last edited on
See how you get on with projecteuler.net

Don't be disheartened if they seem impossible; they're actually an excellent way to learn how to program - to do them, you need to learn to think about how to solve problems in a programmatical way.
Is projecteuler the excellent way to learn how to program? It looks like algebra 2 that I haven't taken a class course before till next year.
Last edited on
projecteuler is not a tutorial in any programming language. It is a series of programming problems.

Memorising C++ syntax takes a couple of weeks. Learning to actually program takes a lot longer.
Oh O.O I guess I have to work on memoryings the C++ syntax? Is there something that can help me memorying them?
No, project Euler is a bunch of math problems that would take a significant amount of time to do by hand. It test your programming skills, math skills, and logic skills. If you don't know much about programming, I wouldn't suggest starting with this. But it really challenges you later on.

As for reference material, either is. I personally prefer to be able to flip through books, but I also love to be able to google reference material. A lot of your questions on programming can be answered here.

As for learning the language, the sites tutorial is a little hard to follow with little to no knowledge, so maybe use the book. If you get caught up on something, check back here, maybe it'll explain it a little better or clearer.
"this" as in C++ O.O? Well I motivate myself to keep on going. And Alright. The project euler looks like algebra 2 sooo I'm not even there yet. :( I just finished geometry.
Lol no, I meant if you don't have much programming knowledge, I wouldn't start with project Euler. You'll get discouraged pretty quickly. Learning any language is easier if you have some kind of previously programming experience. But there is also a bunch of people who learn C++ as their first language.
Obviously C++ is going to be my first. lol
I'll guess I'll just skim thro the book and learn the basics. Then..... idk what would I do after the basic. I already made some 2D games but there's one that includes scripting like this "vspeed = 10". Idk if my book gives me the basic however it explains each part on "hello.cpp program". One question: what's syntax? lol I might have learned it the last past 2 days but this time i'll keep it on my computer.
I believe syntax is just like the grammar of the language. It's how you have to define/declare variables, functions, etc. How you have to do everything in the language. Syntax is more of the rules we must follow.

Edit: As for the "vspeed = 10" there is a lot of stuff like that in C++, it's called assignment or definition. As you learn more about variables, you'll see what I mean.

You'll be learning the basics for a while, but afterwards, there is a bunch of options Windows API, Open GL, Qt, etc. It's going to be about what appeals to you the most.
Last edited on
@ Volatile: oh. Is it those codes that I been countering lately? like #include <iostream>?
No, syntax isn't something that's "included". Syntax is just the entire rules of C++. All the header files are, specifically <iostream>, is an easy for us to use commonly needed things. iostream is simply the input and output to the console, I/O Stream.

Syntax is more like:
dataType variableName = value;
dataType FunctionName(dataType parameter);

You'll learn much more about syntax, but the italicized words are the actual syntax of how you would do something.
A dataType can be int, char, double, string, etc.
A variableName can be anything you can think of like apples, myName, asjhdfljh, etc.
A value is a value of the dataType that is being assigned to that variable, 1, 'c', 3.14, "Hello", etc.
A parameter is either a variable or a constant of type dataType. These can be either the value or variableName seen as above. As long as these values and variables are of the corresponding dataType, everything is fine.

Also, this is more things you'll learn in depth as you read.
ohhhhh ok, I kinda get it now.
Topic archived. No new replies allowed.
Pages: 12