   hey guys, im back :)
  hey guys hows it going?i rejoined gamedev again since i just got my copy of C++i joined gamedev when i was 10 now im 16 xD went by the name soldier_of_stealthyou wont remember me hehe 6 years ago.when i was 10 tho i never had C++ just a dream to program.now that i finnaly got it... it isnt no walk in the part this is pretty hard to code.hope to ask alot of questions.i actually have one now, in C++ how would i be able to make it press a key, in a certain window, im reading tons of C++ books atm but cant find it.just introducing myself, since i dont know where else to hehe.   
  Welcome back.Your question is incredibly vague, but I assume your talking about using C++ to send a keypress event to a specific window?I suggest a more focused question over the the For Beginners forum. I'd move the thread over but the subject and content wouldn't garner a good response (to your question, I mean).   ;  Minor Nitpick: You cannot have a copy of C++ as C++ is a specification. You really mean that you have your own copy of a C++ compiler [smile]Not sure if this will shock you, but there exist free (free as in price and some also as in open-source) enterprise quality C++ compilers, so you could have had it already much, much sooner.   ;  Welcome back!!! We've missed you :DRegarding your question, I don't think there's a generic solution, as in a library function, that will work on all imaginable platforms. But in BASIC it's a piece of cake. Here's a C64 version to help you out:10 ?"PRESS A KEY> "20 A$=GET$:IF A$="" THEN GOTO 2030 ?"YOU TYPED ";A$;  6 years is a long time when you're only 16, but in the meantime, the world has stepped away from C++ and adopted QBASIC as the new industry standard.   ;Quote:Original post by Toolmaker6 years is a long time when you're only 16, but in the meantime, the world has stepped away from C++ and adopted QBASIC as the new industry standard.Actually, QBASIC is crap. COBOL is the new standard tool, even California's gouvernment uses it. Natural language processing is the future, because every person in the world can write programs in COBOL.   ;Quote:Original post by phresnelQuote:Original post by Toolmaker6 years is a long time when you're only 16, but in the meantime, the world has stepped away from C++ and adopted QBASIC as the new industry standard.Actually, QBASIC is crap. COBOL is the new standard tool, even California's gouvernment uses it. Natural language processing is the future, because every person in the world can write programs in COBOL.Just LOL   ;Quote:Original post by AndyEsserQuote:Original post by phresnelQuote:Original post by Toolmaker6 years is a long time when you're only 16, but in the meantime, the world has stepped away from C++ and adopted QBASIC as the new industry standard.Actually, QBASIC is crap. COBOL is the new standard tool, even California's gouvernment uses it. Natural language processing is the future, because every person in the world can write programs in COBOL.Just LOLNo, I think the heydays of the Laughing Out Language are over.I have heard good things about Managed LOL, but I must admit I've never used it myself.   ;  Brace yourself..   ;  Nobody's mentioned HTML with Variables yet?<variables><define keypress   <?> "PRESS A KEY>" </?>  <let <= a <get>>>  <if <equals a "">>    <true> <jmp keypress /> </true>    <false> <?><concat "You pressed " a></?></false></if></let></variables>[Edited by - Oberon_Command on June 16, 2009 1:50:01 PM]