mhabat
سه شنبه 02 مهر 1392, 23:53 عصر
سلام.
من برنامه Visual stedio 2012 اجرا و نیو پروژکت مربوط به win32 console رو انتخاب می کنم
و برای مثال از کد ساده ی زیر استفاده می کنم :
// ConsoleApplication1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
printf "hello";
return 0;
}
ولی موقعه اجرا این ارور رو میده:
Unable to start program 'c:\users\hamid\documents\visual stdio2012\project\......'
The ststem cannot find the file specified.
به جای دستورات c++ از دستوراتc استفاده کنم مشکلی ک نداره؟....!
من برنامه Visual stedio 2012 اجرا و نیو پروژکت مربوط به win32 console رو انتخاب می کنم
و برای مثال از کد ساده ی زیر استفاده می کنم :
// ConsoleApplication1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
printf "hello";
return 0;
}
ولی موقعه اجرا این ارور رو میده:
Unable to start program 'c:\users\hamid\documents\visual stdio2012\project\......'
The ststem cannot find the file specified.
به جای دستورات c++ از دستوراتc استفاده کنم مشکلی ک نداره؟....!