|
it's pretty common to get confused about that. what happened was that the program ran just fine and then closed itself.
since it goes so fast, you don't really see the 'hello world'
val added the line of code which makes the program wait for user input so it won't close before you can see it.
after you press a key, it hits 'return 0' and closes.
__________________
Mike
|