I can't apply what I've learn't!

I struggle to create some programs that involve some stuff what I've just learn't; when I try to create something it always end up been nearly the same of what the example program was I was learning from.
Any advise/advice(I don't know)?
Consider tasks descibed in posts in this forum. Try to do them yourself and apply you knowledge.

For example, how to display the following image

1
2
3
4
5
6
7
8
9
Enter a positive number: 4

   *
  * *
 *   *
*     *
 *   *
  * *
   *
Try these:

http://www.cplusplus.com/forum/articles/12974/

Might help you get away from the 'example programs' and just use your knowledge of code and creativity to try on some new practical exercises.
Topic archived. No new replies allowed.