سلام.
من کدنویسی به زبان سی پلاس پلاس رو تقریبا به تازگی شروع کرده ام اما با یه مشکلی مواجه شده ام که نمیتونم رفعش کنم.
من کد ساده ای به زبان ++c در ویژوال استودیو کدنویسی کردم منتها میخوام که این کد رو اجرا کنم خروجی نمایش داده نمیشه
(هیچ ایرادی هم در نصب برنامه نداره)
و فقط در کد های ساده ای که ورودی باید دریافت کنه نمایش داده میشه ولی بعد از اینکه یک ورودی رو بهش وارد میکنی صفحه بسته میشه و نمیتونم خروجی اش رو ببینم
و این پیغام رو میاره :
'Project1.exe' (Win32): Loaded 'C:\Users\hasti\Documents\Visual Studio 2017\Projects\Project1\x64\Debug\Project1.exe'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\apphelp.dll'. Cannot find or open the PDB file.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140d.dll'. Cannot find or open the PDB file.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'. Cannot find or open the PDB file.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'. Cannot find or open the PDB file.
'Project1.exe' (Win32): Unloaded 'C:\Windows\System32\vcruntime140d.dll'
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'. Cannot find or open the PDB file.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'. Cannot find or open the PDB file.
'Project1.exe' (Win32): Unloaded 'C:\Windows\System32\ucrtbased.dll'
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Cannot find or open the PDB file.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
The thread 0x22d8 has exited with code 0 (0x0).
The thread 0x22e0 has exited with code 0 (0x0).
The program '[3324] Project1.exe' has exited with code 0 (0x0).
این هم کد :
#include <iostream>
using namespace std;
void main()
{
int n;
cout << "enter a number: ";
cin >> n;
if ( n>=20 )
{
cout << "yes";
}
else
{
cout << "no";
}
}
این پست در تاریخ {{ dateString(new Date(post.deleteDate)) }} توسط {{ post.deletedByUser }} حذف شده است.
دلیل حذف: {{ post.deleteReason ?? 'نامشخص' }}