I got a new professor here that requires us all to email to him our code in an executable file. He won't tell us how. Just says, " If you don't know by now, you better figure it out fast."
Im using Microsft Visual C++.
Thanks....
I got a new professor here that requires us all to email to him our code in an executable file. He won't tell us how. Just says, " If you don't know by now, you better figure it out fast."
Im using Microsft Visual C++.
Thanks....
Create a new console app project (File->New).
Add the source files...(project->add to project->files)
Create the program(Build->Build)
"Build" in VC++ is the process of compiling and linking the project into an executable. You will find the exe in the projects subdirectory, either WinDebug or WinRelease depending on what version you are building.
Edit: just recognizing that Fordy beat me to it.
Hey guys,
thanks for the help.... gotta go build some 'classes' now.
Why would your professor want the exe? You could
be programming in pascal and he wouldn't know the difference.
Yeah. I'm guessing he also wants the .cpp, just so he doesn't have to compile it himself. Why would he need to though?