SaeedA4
شنبه 27 اردیبهشت 1393, 19:39 عصر
سلام من وقتی تو محیط ویژوال برنامه می نویسم خطاهایی واسه ویندوز میگیره البته برنامه اجرا میشه این یه مثال ساده ::
#include "stdafx.h"
#include <iostream>
using namespace std;
int main()
{
int x, y;
cout << "Enter two numbers : ";
cin >> x >> y;
cout << "x = " << x << endl;
cout << "y = " << y << "\n";
cout << "sum of x and y = " << x + y;
cin.ignore();
cin.get();
}
'test.exe' (Win32): Loaded 'E:\Documents\Saeed\project\project C C++\visual\test\Debug\test.exe'. Symbols loaded.
'test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp120d.dll'. Cannot find or open the PDB file.
'test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120d.dll'. Cannot find or open the PDB file.
The program '[240] test.exe' has exited with code 0 (0x0).
اگه مسیر هارو ایراد بگیرید اونارو هم تست کردم ...
#include "stdafx.h"
#include <iostream>
using namespace std;
int main()
{
int x, y;
cout << "Enter two numbers : ";
cin >> x >> y;
cout << "x = " << x << endl;
cout << "y = " << y << "\n";
cout << "sum of x and y = " << x + y;
cin.ignore();
cin.get();
}
'test.exe' (Win32): Loaded 'E:\Documents\Saeed\project\project C C++\visual\test\Debug\test.exe'. Symbols loaded.
'test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp120d.dll'. Cannot find or open the PDB file.
'test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120d.dll'. Cannot find or open the PDB file.
The program '[240] test.exe' has exited with code 0 (0x0).
اگه مسیر هارو ایراد بگیرید اونارو هم تست کردم ...