Hi,I Have windows 7 64bit os.Every time that I want to run program that I Wrote I in Visual C++, I see this error :
the system cannot find specified
why is that? can I solve this problem?tnx
Not much information there to work. My wild guess: You are missing the C++ runtime libraries? Google up and download Dependency Walker or use the OS tool SxSTrace to analyze the executable and find out if you are missing any dependencies.
thanks for replying..
madoran there is no exe file. I cann't see that.
my code is :
------------------------------------
//number one
#include "stdafx.h"
#include <iostream>
int _tmain(int argc, _TCHAR* argv[])
{
cout << "a=";
return 0;
}
---------------------------------------------
// or number two
#include <iostream>
using namespace std;
int main()
{
int a;
int b;
int c;
a = 2;
b = 3;
c = a + b;
std::cout << "a=" << a << std::endl;
std::cout << "b=" << b << std::endl;
std::cout << "a+b=" << c << std::endl;
thanks for helping i find out the sulotion from build log...
correct codes:
#2:
#include "stdafx.h"
#include <iostream>
int main()
{
int a;
int b;
int c;
a = 2;
b = 3;
c = a + b;
std::cout << "a=" << a << std::endl;
std::cout << "b=" << b << std::endl;
std::cout << "a+b=" << c << std::endl;
system("pause");
return 0;
}