سلام من visual C++‎ نصب زدم که توربو با ویندوز ناسازگار هست.
حالا هر برنامه ای میزنم حتی کپی شده از سی دی باز هم ارور میده.

[QUOTE]#include <iostream>
#include <conio.h> // ketabkhane rishe baraye estefade az tabe system

using namespace std;

int main()
{
int counter = 0;
while(counter < 5)
{
cout << "Counter = " << counter << endl;
counter++;
}
system("pause"); // baraye didan natije kar az baste shodan panjere console jeloghiri mikone
return 0;
}[/QUOTE


]



1>------ Build started: Project: tttr, Configuration: Debug Win32 ------
1>Build started 5/10/2011 6:33:22 PM.
1>PrepareForBuild:
1> Creating directory "c:\documents and settings\hadi\my documents\visual studio 2010\Projects\tttr\Debug\".
1>InitializeBuildStatus:
1> Creating "Debug\tttr.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1> ttt.cpp
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
1>c:\documents and settings\hadi\my documents\visual studio 2010\Projects\tttr\Debug\tttr.exe : fatal error LNK1120: 1 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:04.04
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========