cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
What is wrong with this line of code?
What is wrong with this line of code?
Nov 16, 2014 at 11:48am UTC
cybermonkeyso
(20)
I have this code that crashes my program (found it via a combination of breakpoints):
sf::Http::Request request(
"/servers/master/go.php"
, sf::Http::Request::Post);
I am using the SFML library for HTTP GET requests (basically a headless browser) for s server application in order to register a machine.
I am following this tutorial:
http://sfml-dev.org/tutorials/2.0/network-http.php
The specific crash the debugger catches is this:
http://puu.sh/cSZ7O/7318afe386.png
I have
#pragma comment
ed sfml-system.lib` and `sfml-network.lib`.
What is causing the error, and how can I fix it?
Topic archived. No new replies allowed.