yeah that what i was thinking i was just following the tutorial. @star i debugged it , i am a beginner at C++.
this is error log
'SDL_TUTORIAL.exe': Loaded 'D:\Users\revix2k10\Documents\Visual Studio 2010\Projects\SDL_TUTORIAL\Debug\SDL_TUTORIAL.exe', Symbols loaded.
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'D:\Users\revix2k10\Documents\Visual Studio 2010\Projects\SDL_TUTORIAL\Debug\SDL.dll', Binary was not built with debug information.
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'D:\Users\revix2k10\Documents\Visual Studio 2010\Projects\SDL_TUTORIAL\Debug\SDL_image.dll', Binary was not built with debug information.
'SDL_TUTORIAL.exe': Loaded 'D:\Users\revix2k10\Documents\Visual Studio 2010\Projects\SDL_TUTORIAL\Debug\SDL_ttf.dll', Binary was not built with debug information.
'SDL_TUTORIAL.exe': Loaded 'D:\Users\revix2k10\Documents\Visual Studio 2010\Projects\SDL_TUTORIAL\Debug\libfreetype-6.dll', Binary was not built with debug information.
'SDL_TUTORIAL.exe': Loaded 'D:\Users\revix2k10\Documents\Visual Studio 2010\Projects\SDL_TUTORIAL\Debug\zlib1.dll', Binary was not built with debug information.
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\msvcp100.dll', Symbols loaded.
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\msvcr100.dll', Symbols loaded.
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\ddraw.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\dciman32.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Unloaded 'C:\Windows\SysWOW64\ddraw.dll'
'SDL_TUTORIAL.exe': Unloaded 'C:\Windows\SysWOW64\dwmapi.dll'
'SDL_TUTORIAL.exe': Unloaded 'C:\Windows\SysWOW64\setupapi.dll'
'SDL_TUTORIAL.exe': Unloaded 'C:\Windows\SysWOW64\devobj.dll'
'SDL_TUTORIAL.exe': Unloaded 'C:\Windows\SysWOW64\oleaut32.dll'
'SDL_TUTORIAL.exe': Unloaded 'C:\Windows\SysWOW64\ole32.dll'
'SDL_TUTORIAL.exe': Unloaded 'C:\Windows\SysWOW64\cfgmgr32.dll'
'SDL_TUTORIAL.exe': Unloaded 'C:\Windows\SysWOW64\dciman32.dll'
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\KBDUS.DLL', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Unloaded 'C:\Windows\SysWOW64\KBDUS.DLL'
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\KBDUS.DLL', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Unloaded 'C:\Windows\SysWOW64\KBDUS.DLL'
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\dsound.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\powrprof.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\dinput.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\hid.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\wintrust.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\crypt32.dll', Cannot find or open the PDB file
'SDL_TUTORIAL.exe': Loaded 'C:\Windows\SysWOW64\msasn1.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x304) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0x1a14) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0x1814) has exited with code 1 (0x1).
The program '[5176] SDL_TUTORIAL.exe: Native' has exited with code 1 (0x1).