ontrace();
offtrace():
To create the project in Microsoft Visual C++, do the following:
1. Go to File menu > New... > Projects Tab
choose Windows Console Application
2. It asks "What kind of console application do you want to make?"
choose "empty project"
This creates a workspace.
3. Then go to Project menu > Add To Project > Files >
for C: add os.c and sos.obj (lastest version from my Website)
for C++: add os.cpp and soscpp.obj (latest version from my Website)
4. To build the project, go to Build menu and select
Build projecname.exe (you supply the name)
This creates an executable (either in the same directory as the project's directory, or in the debug directory inside the project's directory).
5. Finally, to run the program, run the .exe file from the DOS prompt (you must open the prompt to a full screen window to use redirection)
and redirect the output to an output file:
projectname > sos.out