anyone?
Type: Posts; User: chrisx16x2008
anyone?
my new code which still does the same thing. also i heard the .flush lets u reopen the file? i have tested the file by pressing shift + A and the "a" regular and it always only prints the first...
oops i forgot to add that. My question is when i press the "a" key all it does it add one "a" to the text file. If i press a again it doent add one.
k i got another question im using this code to print the key a in my file if the a key is pressed...
File... akfunc.h
#include <windows.h>
#include <iostream>
#include <string>
#include...
ah thanks, i didnt know that
.open and .close to save files but i cant save any files that are not in my program directory. all i can type is ("test.txt") for it to work which saves it in the current directory. If i type...