@stahta01 : Thanks a lot for your kind help.I am afraid that I wont be able to resinstall it because it requires a lot of permissions from Admin since I am accessing VS 2008 at my workplace
@dmh2000 : Thanks a lot for the help. I found kernel32.lib at C:\Program Files\Microsoft SDKs\Windows\v5.0\Lib\IA64 and added its at the pathtools->options->projects and solutions->vc++ directories in Library Files .
But now when i press F5 a new error crops up :
1>1_hello_world.obj : error LNK2019: unresolved external symbol __imp__printf referenced in function _main
1>1_hello_world.obj : error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in function _main
1>1_hello_world.obj : error LNK2001: unresolved external symbol __RTC_Shutdown
1>1_hello_world.obj : error LNK2001: unresolved external symbol __RTC_InitBase
1>LINK : error LNK2001: unresolved external symbol _mainCRTStartup
1>C:\Documents and Settings\jrohit\My Documents\Visual Studio 2008\Projects\hello_world\Debug\hello_world.exe : fatal error LNK1120: 5 unresolved externals
My program looks like this :
Code:
#include <stdio.h>
int main()
{
printf("hello, world \n");
return 0;
}
What can be the reason for such an error? I hope with these starting glitches cleared I would be able to sail smoothly with much complex programs...But till then please bear with my stupid doubts...
Thanks