I am trying to run a BOOST server using C::B IDE. The code is getting compiled and run properly using g++ in terminal, but while running in C::B, it is giving an error...
In __cxa_throw () (/usr/lib/x86_64-linux-gnu/libstdc++.so.6)
#2 0x0000000000413ffe in __gnu_cxx::new_allocator<s11n_example::stock>::allocate (this=0x7fffffffe2b8, __n=268435456) at /usr/include/c++/4.8/ext/new_allocator.h:104
/usr/include/c++/4.8/ext/new_allocator.h:104:3233:beg:0x413ffe
At /usr/include/c++/4.8/ext/new_allocator.h:104
The code is attached here..