Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Assassinbeast

Pages: 1 ... 3 4 [5]
61
General discussions / Re: SFML 2.0 Tutorials?
« on: October 08, 2012, 01:47:05 am »
So any tutorials for SFML 2? I don't know programming in version 1.6.

I just also started with 2.0 and i watch codingmadeeasy's 1.6 tutorials.
Its actually not that hard to follow when using 2.0.
Yes, there are some code u have to change, but its not that hard to follow and if u get some errors, then u can easily find what syntax you have to change.  some good links are here:

http://en.sfml-dev.org/forums/index.php?topic=5343.0
http://www.sfml-dev.org/download/2.0-rc/changelog.txt

62
General / A little confused in the "Getting started" Tutorial
« on: October 08, 2012, 01:21:29 am »
http://sfml-dev.org/tutorials/2.0/start-vc.php

At the buttom of the page, the little test, i got everything to work.

But im confused about the nested while-loop

it looks like to me that the nested-while-loop is like an if-statement, because it go in and do the thing 1 single time, and then jump out of the loop again. I know it because i tested it with the cout thing inside the first while-loop, and it looped around 24/7.

Why not just make it to an if-statement? That would seem less confusing because then you know for sure it will do the statement 1 single time and jump out.

i actually tried to replace "while" with "if" and it worked perfectly, but why make it to a while-loop and why does it jump out?

Pages: 1 ... 3 4 [5]
anything