Don't do that |
|
Don't do that |
|
(\_ _/)
(='.'=)
(")_(")
It does that for you |
|
Last edited by ninja9578; 01-13-2010 at 03:23 AM.
"C++ will let you shoot your foot without warning you. In fact, it will even load the gun for you." |
|
Can you see me now?
Ynot. I'll give you an example. If the program asks you to input something, you would put it in. You would get an instant response, and then the terminal window would instantly shut the moment after the new text is displayed. This is not what you want. |
|
-- 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
There are a lot of things you need system calls for, though, like GUI and scanning directories and such. So Firefox must be using preprocessor directives, or libraries which uses them. |
|
April Ryan is my friend,
Every sorrow she can mend.
When i visit her dark realm,
Does it simply overwhelm.
I said little preprocessor. I've looked at the Firefox code because I reverse engineered a chunk of it. All of this stuff uses a NPWindow object, almost all of the preprocessor is in there. |
|
I can't wait till I get to GUIs. That will be kick ass. |
|
-- 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
C++ is a nightmare with GUIs because the language isn't designed for it. I just spent 3 full workdays creating a frame, a dynamic set of menus, a status bar, and a web preferences pane. |
|
Haha, wow. |
|
-- 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
Ah, okai. |
|
April Ryan is my friend,
Every sorrow she can mend.
When i visit her dark realm,
Does it simply overwhelm.
Good Java Programmer != Good C++ Programmer, very different designs. |
|
Last edited by ninja9578; 01-13-2010 at 07:06 PM.
April Ryan is my friend,
Every sorrow she can mend.
When i visit her dark realm,
Does it simply overwhelm.
If you have Ubuntu, I'll show you how to create a simple GUI program if you want. I can do it on Windows too, but I like using the wxWidgets library for that, and that's impossible to compile on Windows, I've tried and failed at that many times. I'm not looking forward to the next major release because I'm planning on recompiling it as a dynamic library. |
|
April Ryan is my friend,
Every sorrow she can mend.
When i visit her dark realm,
Does it simply overwhelm.
wxWidgets works perfectly fine on Windows Vista... Code::Blocks with wxSmith does a lot of the work, but it's perfectly possible to code everything by hand with a wx Template. |
|
Then you're lucky. wxWidgets is a very complex build, and it requires a lot of external libraries which do not come with the source. It's really annoying to build. |
|
If I'm not mistaken all I had to do was download the source [I think there is a windows version or something...?] and then tell code::blocks where it was and it compiled it for me. Now all I have to do it fire up a template or use wxSmith ^_____ |
|
Here's a list of things to learn before tackling GUIs |
|
Last edited by ninja9578; 01-14-2010 at 10:40 PM.
the other 99.99% is divided evenly between exceptions and trying to understand the Boost libraries..... |
|
(\_ _/)
(='.'=)
(")_(")
And STL |
|
I think Soros was asking me specifically |
|
Last edited by ninja9578; 01-15-2010 at 02:40 PM.
I was just wondering. How would you make it so that you just press a key and it would do something. For example: |
|
-- 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