1
General discussions / Re: The Steam Direct fee is $100
« on: July 11, 2017, 05:42:37 pm »
I hope this stops asset flippers long-term. Unless they have thousands of dollar in bank.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Did you create a new project to test my code?Yes, I created a new project with the same project settings to test the code.
I recommend you check your project settings, to make sure you're not mixing debug and release modes.
You should also print cilents.size() (maybe the address you push to the array is not at position 0 for some reason).It prints out a size of "1" right after the push-back
And it's client, not cilent
Does this example work for you?#include <SFML/Network.hpp>
#include <vector>
#include <iostream>
int main()
{
std::vector<sf::IpAddress> clients;
sf::IpAddress test(10, 0, 0, 1);
std::cout << test << "\n";
clients.push_back(test);
std::cout << clients.back() << "\n";
}
It seems to run fine on my end.