It's not error

first line is that program is build but without debug information and debugger can work not correctly.
next two lines is that program is load but symbols from ntdll.dll and kernel32.dll wasn't loaded because it's not needful

In line fourth your program exit normal (without errors - code 0).
Running
If you want to run console program you must add:
system("pause");
at the end of your code (but before last
} ) and run, your program will be run and stand for press any key. Another method is run program on system console (cmd.exe). You can also debug program and preview varabiables in it.
DebuggingIf you want to debug your program you should build it with "Debug" (you can set it in "solution configuration" at the top bar). And next you must set breakpoints in line of code where you want that program stop and you can see variables. You can also set condition when your breakpoint will be break a program (Right-click on breakpoint and you can see options).
You can put breakpoint at return 0; and you can switch to your program console and see your program result

I wish you success in learn programming
