hey all,
how do i see the output from my code in mvs ??
greetings
hey all,
how do i see the output from my code in mvs ??
greetings
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...
well
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
#include <iostream>
using namespace std;
int main ()
{
int i;
cout << "Please enter an integer value: ";
cin >> i;
cout << "The value you entered is " << i;
cout << " and its double is " << i*2 << ".\n";
return 0;
}
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 ?
Bookmarks