(I know you want to, ninja) |
|
(\_ _/)
(='.'=)
(")_(")
int main() |
|
Should I learn C or C++ first? |
|
I'm learning C++ to learn how to make my own game engine. I don't really know anything about C. |
|
either, really |
|
(\_ _/)
(='.'=)
(")_(")
Well, it depends on what you want to do with it. C++ is better for large projects, while C is best if you're writing time-critical applications. C would also be the logical choice if you want to make other things than computer programs, like if you want to program other integrated chips. |
|
April Ryan is my friend,
Every sorrow she can mend.
When i visit her dark realm,
Does it simply overwhelm.
|
|
Last edited by ninja9578; 01-08-2010 at 01:00 AM.
I know they are the same |
|
(\_ _/)
(='.'=)
(")_(")
Oh, okay, you meant that in C++ you're supposed to use STL containers |
|
Actually I have a question... |
|
Last edited by slayer; 01-08-2010 at 01:41 AM.
increment and decrement |
|
(\_ _/)
(='.'=)
(")_(")
Almost correct. In for loops you want to do the latter because in order to return, then increment, it has to keep a copy of it. Not a problem with ints, but with objects it can. |
|
Err...you're using some things in there I haven't learned yet. So I think you just made it more confusing for me... |
|
Last edited by slayer; 01-08-2010 at 02:08 AM.
follow a tutorial on C++ |
|
(\_ _/)
(='.'=)
(")_(")
Lol no I'm not |
|
Well, we break it up. We break down the seemingly huge task of a full program and break it down into pieces which are more manageable. We then code each part, sometimes sticking the together in one executable, but more commonly, we create a complex set of dynamic libraries. |
|
Wow...quarter of a million... |
|
Well, Most of use consider lines of code as actually newline characters, including white space and comments. |
|
hangman is always a good first game |
|
(\_ _/)
(='.'=)
(")_(")
Just a simple text based game. Maybe something like, "You grab a gun. What do you do next? Respond: Shoot the enemy. The enemy dies." |
|
Oh oh oh, I'm doing that too. |
|
the way to plan out a programming project is to start with a large idea and break it down into lots of smaller segments |
|
(\_ _/)
(='.'=)
(")_(")
So far all I've learned how to do is this: |
|
Bookmarks