SFML community forums
Help => General => Topic started by: SpaceInJourney on September 16, 2016, 06:43:34 pm
Title:
I know it's not related to sfml but...
Post by:
SpaceInJourney
on
September 16, 2016, 06:43:34 pm
Im learning C++ and OOP, and I have a problem
here is the code:
#include <iostream>
#include <string>
int
main
(
)
{
string nickname
;
}
The all problem is string.
It does not work for me.
Btw, im using visual studio 2015 community.
Title:
Re: I know it's not related to sfml but...
Post by:
SpaceInJourney
on
September 16, 2016, 07:27:57 pm
Please help, I can't continue learning because of this issue.
Title:
Re: I know it's not related to sfml but...
Post by:
shadowmouse
on
September 16, 2016, 07:40:05 pm
String is part of the std namespace, so it should be std::string nickname.
Title:
Re: I know it's not related to sfml but...
Post by:
SpaceInJourney
on
September 16, 2016, 07:42:10 pm
Quote from: shadowmouse on September 16, 2016, 07:40:05 pm
String is part of the std namespace, so it should be std::string nickname.
THANK YOU!