Skip to content

Instantly share code, notes, and snippets.

@kdmkdmkdm
kdmkdmkdm / Help with my simple C++ program? (might be obvious...)2
Created April 18, 2012 21:25
Help with my simple C++ program? (might be obvious...)2
#include <iostream>
#include <string>
int main()
{
std::string firstName = "";
std::cout << "Enter your first name and press ENTER: ";
std::cin >> firstName;
@kdmkdmkdm
kdmkdmkdm / output
Created April 18, 2012 21:21
output
1>------ Build started: Project: project one, Configuration: Debug Win32 ------
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
1>C:\Users\Kurt3\Desktop\Video Game Programming\Gameinstitute.com - Game Engine Development Course\Projects\project one\Debug\project one.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
@kdmkdmkdm
kdmkdmkdm / Help with my simple C++ program? (might be obvious...)
Created April 18, 2012 21:06
Help with my simple C++ program? (might be obvious...)
#include <iostream>
#include <string>
int main ()
{
std::string firstName = "";
std::cout << "Enter your first name and press ENTER: ";
std::cin >> firstName;