Thanks for the help, my professor, makes our class use programs that already work, and we use that to make changes, sort of like using a template.
So here's what I did, I created a new c++ project, then picked win32, called the file test.c (since I want it to be a c file)
I next right clicked source files, and I added an existing file called asterick.c file as seen above in screenshot. I then built the solution had no errors, linked the file no errors, however, when I went to execute the program, the command prompt flashes really quick, and Im back to visual studio, with the error saying the program [3392] test.c.exe, Native has exited with code 0 (0X0).
In theory the program should work, however, it's not executing, what am I doing wrong?
|