That'll only get input characters, though, like space and a, b, c, (...). The arrow keys and enter and all of those won't be registered, right? Also, pthreads doesn't work on windows. |
|
Well if you're using glut, you can register a callback for that. Otherwise, you have to have a loop that continually check for it. |
|
Last edited by ninja9578; 01-20-2010 at 12:12 AM.
That'll only get input characters, though, like space and a, b, c, (...). The arrow keys and enter and all of those won't be registered, right? Also, pthreads doesn't work on windows. |
|
April Ryan is my friend,
Every sorrow she can mend.
When i visit her dark realm,
Does it simply overwhelm.
pthreads works on windows |
|
Last edited by ninja9578; 01-20-2010 at 12:24 AM.
intercepting keystrokes is non-trivial |
|
(\_ _/)
(='.'=)
(")_(")
Jesus shitter, it sure is complicated for such a simple thing. |
|
-- 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
Well, intercepting keystrokes straight off the device isn't simple |
|
(\_ _/)
(='.'=)
(")_(")
Hooks are abstracted, Windows can change them and the APIs should still all work fine. Oh, abstraction is something that should be added to that list that I made. |
|
I have taken a bunch of different programing classes, and really the key is getting into the right frame of mind. Once you know one program its a lot easier to learn most others. Even entirely different programs use the same basic concepts. |
|
I find that's true only if it's in the same paradigm. Knowing a procedural language it hard to go into a OOP language, and an assembly language is really weird. |
|
That is probably true. The ones I have worked with is java and c++ which are very alike. And the oracle programing language which is used for databases and stuff, I forget what it is called but its a lot like them too. As is HTML, which is like an entirely different area making webpages and stuff, but interactive websites uses a very similiar method. |
|
April Ryan is my friend,
Every sorrow she can mend.
When i visit her dark realm,
Does it simply overwhelm.
Just js is a very very simple object oriented language. java and C++ are insanely complex and powerful. |
|
April Ryan is my friend,
Every sorrow she can mend.
When i visit her dark realm,
Does it simply overwhelm.
php has had a full object model since v5 (2004) |
|
(\_ _/)
(='.'=)
(")_(")
Gemini BASIC - A very simple calculator BASIC language for a GUI that I wrote for a Dev Engine |
|
But you can use php as a scripting language on your computer, though, like python or perl or whatever. It's actually surprisingly suited for it. |
|
April Ryan is my friend,
Every sorrow she can mend.
When i visit her dark realm,
Does it simply overwhelm.
Not really, the DOM is object based |
|
Does all this shit become more clear when taught by someone in university? |
|
-- 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
It depends on the teacher. Some of the teachers learned C++ 15 years ago and never bothered learning the new stuff. |
|
Oh cool. I certainly hope it will make more sense (if I get accepted), the course looks extremely good. (Includes other things too) |
|
-- 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
The more advanced a programming language is, the easy it is to program with it. Basically, the makers of the program already did a lot of the work for you. |
|
Not true. -s strips unused code, so unused parts of libraries are pulled out. |
|
Some of it is, but not all of it. Here's why. Libraries can be loaded dynamically, meaning outside programs and libraries might use functions within it, even if nothing does internally. These can't be stripped out. |
|
Bookmarks