programm in c++

Pages: 123
hi i am new in c++ and my dream is to create a good programm ,like game or something else!!!
i am 15 and i am learnign c++ about 15 days(1 hour per day),so i would like to know when i will be ready to create a good big programm?
and what i could create?


thanks!!!
That entirely depends on your definition of "good big program".
Just keep learning and stick to projects that you can "probably" manage with your current knowledge.
The "probably" makes sure that you'll keep encountering parts you don't know how to do yet and force you to expand your knowledge little by little.
Last edited on
closed account (zb0S216C)
skarla wrote:
i am 15

Age is a factor, but its influence is weak.

skarla wrote:
1 hour per day

Try to allocate more time, if you can.

skarla wrote:
i would like to know when i will be ready to create a good big programm?

That is something we cannot determine. Only you can determine when you're ready to tackle a big project.

skarla wrote:
and what i could create?

What interests you the most? Maths? User interface design? Artificial intelligence?

P.S: Welcome to the world of C++. It's going to be a........ memorable experience.

Wazzak
i am interest in maths(physic,and all with maths) and sports if it hepls to you!!
can now to make a small programm?
do you know anyone programm to recommend to me??

do you know anyone programm to recommend to me??


A program that outputs Hello World?

A bank account program that you deposit and withdraw money from?

It's tough to give you ideas without knowing your abilities.
think of a game idea and break it down to small ideas, that is how I started to learn programming years ago.
azagaros ,how much time it took to you to leaarn to make games?


also i have an idea in my mind!!!
i want to make a game like {mario}
where will jump and will fight with small things!!!
also he will pass levels and other many!!!
how i should start>>>??
You should learn the core and fundamentals of c++ first and then begin to create graphics and things. I made games in SDL and c++ (SDL is a library that you use with c++ to make graphics, add sounds, check for input etc.) before I knew alot about c++.

I have made some 2D games where the player moves and collects things, shoot and avoids enemies and such, but now i am going back to c++ console apps to learn the language of c++ fully.

Make sure that you efficiantly learn Object oriented programming in c++... make sure. Learn to use classes and make a small text-based rpg game which is quite fun to make and play. Make it so you can save the palyer's money and stats in a text file.

btw i have been programming for around a year, but on and off.
so i need one year to make my first programm?
no no no, that's not what i said. It is impossible to break it down into one
time period, your first program was probably hello world , or im sure you've at least compiled a simple program before. I am saying learn as much as you want and make programs along the way. You might learn a new thing and decide to make a game using that feature. You may not ever have one specific game you worked on and finished, however you might. You can make lots of programms and as you learn more, they will gradually get better.
now with 18 days of learning can i make a game like mario or something else(if yes ,can you hepl me?)?
definitely not
when i will be ready to make a programm (simple for example)?
Im not insulting you are anything like that, but did you read what i wrote about 3 lines up. About gradually getting better and such?
So far what do you know? just tell me everything you know and what you can do in c++ :)?
closed account (zb0S216C)
Game programming isn't easy; far from it. When learning C++, think years. Even the best of minds allocate years to study C++. C++ isn't an easy language, and can easily twist your interpretation of your code. For example:

 
const int &Integer(10);

When you first look at this code, what would you think? Less experienced programmers would probably say:
"Simple! It's a reference to the number 10." They'd be right, but there's more to it: It's actually a temporary int object with the value of 10. The compiler implicitly generated a int and gave it a value of 10. This gave Integer something to refer to, because a reference requires an L-Value to be assigned to it at the point of initialisation.

Why did I go into so much depth? Because I wanted to show you how even the simplest of things can be misleading, and to show you that the compiler doesn't always do what you expect. This can lead to bugs and stress.

Here's what I recommend to you:

1) Learn C++. As you progress, develop more complex programs based on what you're currently learning. For example, say you're learning about classes, build a program that utilises classes.

2) When you're comfortable with the advanced concepts of C++, shift your concentration towards the games programming field. Develop tiny games, such as Pac-Man, or Mario.

As you become more comfortable with developing small games, you'll begin to understand how games work internally. From there, you can advance your knowledge and develop more complex games.

Good luck. You're going to need it.

Wazzak
Last edited on
ok but,how i can make a programm wiith only classes?

SHUGGY i have learn by heart all the episodes from here:http://pliroforikiatschool.blogspot.com/2011/10/c-video-tutorials.html

see it to understand what i have learn!!!
so can i make a mario??


can you explain me it i have no idea if programm!!! thanks!!!
closed account (zb0S216C)
skarla wrote:
ok but,how i can make a programm wiith only classes?

What I said was an example. Though, OO (Object Oriented) games are easier to develop.

I tend to avoid YouTube videos, simple because all the information isn't given. Since YouTube videos have a 10 minute restriction, information is often truncated so that the video can be uploaded. Usually, it's vital information that's truncated.

skarla wrote:
see it to understand what i have learn!!!
so can i make a mario??

Start here: http://www.cplusplus.com/doc/tutorial/ Become comfortable with all the topics within the proceeding link. Only then can you begin to program games. Also, as shaggy has previously said, which parts of C++ have you learnt about?

skarla wrote:
can you explain me it i have no idea if programm!!!

Come again?

Wazzak
in general,
when i will be ready to create a game like mario???

can you sent me an example?
Check this out:
http://www.secretmaryo.org/

It's a mario-style game that is open source. Try playing it, see if you like it.

You can find the source code here:
https://github.com/FluXy/SMC/tree/master/smc/src

Once you understand most of the code in this tree and understand how it is all connected, you'll be ready.

How do you get to that point? Do a bunch of small programs. As you go, you'll try and think of things like "How would I do this..." and that's when your knowledge will expand.

How long will it take? If you dedicate 8 hours per day and know quite a bit already, it may take you as little as 6 months. It could take you up to 5 years before you think you know enough.
You seem to acting very naive and ignoring alot of what we are saying. And if you wanted to make a game like mario, you would need to learn another library to create the GUI, window, sounds and more. The libraries arent as hard as c++ its self, but still take time to learn. I learn SDL. But no, you will not be ready to create a game like mario for quite some time, just take it slowly. Why do you need to create a game like mario so desperately and quickly? And this time, please listen and comprehend everything i said. Also, is english your second language?
Last edited on
Pages: 123