Lolfail |
|
-- My Videos --
DILD Tutorial| |WILD Tutorial| |DEILD Tutorial| |Lucid Dreaming is The DEVIL?!
Reality Check! (new)| |Why you're not getting LUCID| |Why NOT to be Scared of SP
I understand why you want to get into GUI stuff, but trust me, at this stage it'd just confuse you |
|
(\_ _/)
(='.'=)
(")_(")
|
|
Alright. |
|
what is the std::--- for? |
|
Hmm... how to describe how namespaces work |
|
Last edited by ninja9578; 01-11-2010 at 02:08 AM.
Why isn't this working? It says I need } at the end, but I did... |
|
Those are methods. That's how you do things multiple times, you can keep calling that as many times as you want. Everything is done like this, even << in cout is kind of a method. |
|
Well, namspaces do use the same delimiting syntax as class methods, so I think an understanding is helpful |
|
(\_ _/)
(='.'=)
(")_(")
April Ryan is my friend,
Every sorrow she can mend.
When i visit her dark realm,
Does it simply overwhelm.
\n doesn't flush the stream |
|
(\_ _/)
(='.'=)
(")_(")
Ynot's right, \n does not flush the stream. |
|
Well, SOMETHING is flushing the stream, because when I run: |
|
Last edited by Replicon; 01-12-2010 at 07:32 AM.
\n isn't flushing the stream, in most compilers, the stdout streams aren't buffered because there is boatloads of memory and speed to burn. But you're not guaranteed to get that result all the time. Try it with file i/o and see what you get |
|
Last edited by ninja9578; 01-12-2010 at 02:33 PM.
I have a question. |
|
-- My Videos --
DILD Tutorial| |WILD Tutorial| |DEILD Tutorial| |Lucid Dreaming is The DEVIL?!
Reality Check! (new)| |Why you're not getting LUCID| |Why NOT to be Scared of SP
standard streams are whitespace delimited (unix convention) |
|
(\_ _/)
(='.'=)
(")_(")
Oohhhhhhhh... Thanks. |
|
-- My Videos --
DILD Tutorial| |WILD Tutorial| |DEILD Tutorial| |Lucid Dreaming is The DEVIL?!
Reality Check! (new)| |Why you're not getting LUCID| |Why NOT to be Scared of SP
Code::Blocks automatically pauses the execution at the end for you, you don't need that unless compiling or running outside of the IDE |
|
How to I package together my code into an exe or something both windows and macs can open? |
|
-- My Videos --
DILD Tutorial| |WILD Tutorial| |DEILD Tutorial| |Lucid Dreaming is The DEVIL?!
Reality Check! (new)| |Why you're not getting LUCID| |Why NOT to be Scared of SP
Bookmarks