- Created Sunday, March 23rd 2014 @ 03:46:34
Can I use the BOOST library? (http://www.boost.org/)
Do I need to include header files with my upload? (iostream, string, stdio ect.)
what compiler is used server side?
should my upload be stripped of all files except the main and header files?
- Created Sunday, March 23rd 2014 @ 11:59:52
It's pretty simple to include the relevant headers (for the most part, you don't need anything beyond headers) in your upload, so while using boost isn't 100% straight forward, it should be simple enough.
I haven't tried it, but you shouldn't have to include the standard library headers.
I'd guess it's gcc.
- Created Sunday, March 23rd 2014 @ 12:02:45
thank you, I programmed a way around using boost because I got bored waiting for an answer :P
- Updated Sunday, March 23rd 2014 @ 12:21:58
Boost isn't as necessary as a couple of years ago, when I was actively using C++ (then, we needed it for more smart pointers and for proper random generation) but it should be as simple as dropping the header in your zip (for 95% of boost, which is header only) and using
#include "bla"instead of
#include <bla>(in some compilers both may work, but it's better to play around that). For the few libraries that are compiled, it's ever so slightly more complicated, but using the above as a starting point, it should be doable too.
- Created Wednesday, July 9th 2014 @ 21:13:30
Has anyone successfully included boost yet? I tried but I get errors because apparantly the paths get messed up ( /src/boost instead of /boost/ ) and I'm not sure if i want to change every single path in the headerfiles ;)