I am using Micosoft Visual Studios 2010 and reached a chapter in my book that asks for seperate compiliation.
Up until now I have been using Notepad++ to write my code into a .cpp file and then used Visual Studio Command Prompt with a 'cl' command to compile the code.
I don't understand how I would compile the code from a following examples:
1) A header file with .h format
2) A source file with .cpp format that specifies the functions from the header file
3) A source file with .cpp format with the actual code of the program.
Is there a way to do this with the same Visual Studio Command Prompt? Or should I switch over and use Microsoft Visual Studios to make my programs? If so can someone please shed some light for a good tutorial on how to use it? I attempted to and was completely lost......kept complaining about std not working.
Any help is appreciated :) I couldn't find much on Google.