getting this error LNK2019: unresolved external symbol

what did i do wrong?.

1
2
3
4
5
6
7
8
  #include "stdafx.h"
#include <iostream>

 int main()
{
	std::cout << "Hello world!" << std::endl;
	return 0;
}
closed account (48T7M4Gy)
#include "stdafx.h"

Try commenting out this line, should fix it. The error arises because the linker can't find this file on your system.
Last edited on
Topic archived. No new replies allowed.