hi everyone,
Im new to C++ and i like it...
i am using microsoft visual C++ 2008 Express edition
i started writing my first program but im having a problem.. im writing:
#include <iostream>
using namespace std;
//A program to sum 2 integer values
int main()
{
int num1,num2,sum; //im declaring 2 values and the sum
cout<<"Please enter 2 integer values\n";
cin>>num1;
cin>>num2;
sum = num1 + num2;
cout<<"Their Sum Is:"
<<sum
<<endl;
return 0;
when i press ctrl + F5 i get this error
1>------ Build started: Project: pr2, Configuration: Debug Win32 ------
1>Embedding manifest...
1>.\Debug\pr2.exe.intermediate.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.
1>Build log was saved at "file://c:\Users\BAKO\Documents\Visual Studio 2008\Projects\pr2\pr2\Debug\BuildLog.htm"
1>pr2 - 1 error(s), 0 warning(s)
the same thing happens with microsoft visual C++ 2010
i think my problem is with
<iostream>
because when i use microsoft visual c++ 6.0
and write
#include <iostream.h>
instead of
#include <iostream>
using namespace std;
its working all fine..
what is the problem??
thank you for your help
well i start like that
file---> new ---> project ---> win32 console application ---> next ---> empty project---> finish
then
file---> new ---> file---> C++ file(.cpp)
i wrote a code as simple as that
#include <iostream>
using namespace std;
int main()
{
cout<<"HI";
return 0;
}
and i get the same error!
i just cant find what the problem is..
i downloaded and installed MICROSOFT VISUAL C++ 2010
and it didn't work either
It's a bit odd that you just installed the 2008 version. Why not get the latest?
Anyway, a successful (default) installation should create a new folder in Programs, called "Microsoft Visual Studio <version> Express". If it's not there, either you messed up the installation, or you changed the paths.
The actual files are located here by default (64bit Win7, VC++2010E):
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\VCExpress.exe"
I have installed 2008 express edition, as i am follwoing a tutorial using this version from Dark games studio edition Game design bundle.0 The suit where star wratith was born.
~I didn't change the install path, it installed directly without an option for browse path.