W
w84larisa
Has anybody downloaded the free Microsoft Visual C++ studio? If yes,
can some body tell me if it works?? I have a very short code (pasted
below) that compiles on my friend's computer but doesn't compile on
mine. I get the following errors:
Build started: Project: File Alpha, Configuration: Debug Win32 ------
Linking...
MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol
_main referenced in function ___tmainCRTStartup
C:\Documents and Settings\Lara\My Documents\Visual Studio
2005\Projects\Invest Alpha\Debug\Invest Alpha.exe : fatal error
LNK1120: 1 unresolved externals
Build log was saved at "file://c:\Documents and Settings\Lara\My
Documents\Visual Studio 2005\Projects\File Alpha\File
Alpha\Debug\BuildLog.htm"
File Alpha - 2 error(s), 0 warning(s)
Here is my code:
#include <iostream.h>;
/*Declaring a variable - matrix 4x10*/
float Start_Data[10][4] =
{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20};
/*declaring a function that substracts the third column from the second
column*/
int Get_Range (Range)
{
int Range [10];
for (int i =0; i <=10; i++)
Range = Raw_Data [3] - Raw_Data [2];
return Range;
};
WHAT AM I MISSING?!?!
can some body tell me if it works?? I have a very short code (pasted
below) that compiles on my friend's computer but doesn't compile on
mine. I get the following errors:
Build started: Project: File Alpha, Configuration: Debug Win32 ------
Linking...
MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol
_main referenced in function ___tmainCRTStartup
C:\Documents and Settings\Lara\My Documents\Visual Studio
2005\Projects\Invest Alpha\Debug\Invest Alpha.exe : fatal error
LNK1120: 1 unresolved externals
Build log was saved at "file://c:\Documents and Settings\Lara\My
Documents\Visual Studio 2005\Projects\File Alpha\File
Alpha\Debug\BuildLog.htm"
File Alpha - 2 error(s), 0 warning(s)
Here is my code:
#include <iostream.h>;
/*Declaring a variable - matrix 4x10*/
float Start_Data[10][4] =
{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20};
/*declaring a function that substracts the third column from the second
column*/
int Get_Range (Range)
{
int Range [10];
for (int i =0; i <=10; i++)
Range = Raw_Data [3] - Raw_Data [2];
return Range;
};
WHAT AM I MISSING?!?!