Hi Guys,<br>How do I execute <Ctrl> characters in C-program<br>e.g CTRL-E, or CTRL-D etc.....<br>What symbols would I send to exec or system command<br>for say CTRL-E<br>thanks<br>Anna<br><br>
Dear Anna,<br><br>Are you trying to simulate keyboard input? If so that might be OS dependent.<br><br>This is just a guess, for 'CTRL-E' you might try:<br><br>char ctrle[2] = {0x05, '\0'}; /* ASCII ^E == 0x05 */<br>exec( "myapp.exe", "<", ctrle);<br><br>Good luck<br>-pete
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.