yes, i can
Sweet Flame
Posts
-
Writing Data to Files -
Writing Data to Filesyes, my "day" is an int
-
Writing Data to Filesyes, hours is an ofstream.
-
Writing Data to FilesI changed it so that it reads: hours<
-
Writing Data to FilesI am trying to write data to a file so that I can open it later. I am trying to save the values of variable to the file. After the file has been opened, I input: "hours << day << endl;" "hours" is the outfile and "day" is a variable that I am trying to write into it. If I remove the "<
-
Header FileI am attempting to get my program to run another program. I looked on the FAQ and it said that one of the best ways to do this was using the WinExec command. I am trying to use this like so: WinExec ("C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE", SW_SHOWNORMAL); I believe this is the correct format, but my compiler says that WinExec is an undeclared indentifier. I'm assuming this means that I need the correct header file. If this is the case, where can I get this header file from?