how do i see the output from my code in mvs ??
What do you mean??? How to output somethink in a consol application??
If it is that just do cout<<"Yourtext\n"<<; //\n for endline you could also do endl; at the end...
i try to run the project ( build and run key code cntrl+f5)
but it says unable to start program 'test'.
system cant find the program
:s:s:s ??? ??? ???
ok figured out i need to start a console application
but if i write this
// i/o example
using namespace std;
int main ()
cout << "Please enter an integer value: ";
cin >> i;
cout << "The value you entered is " << i;
cout << " and its double is " << i*2 << ".\n";
it gives a error with
fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
are you sure that you are compiling a console application ?
yep 100 %