tagged [g++]

boost::asio::ip::tcp::resolver::resolve() blocks forever

boost::asio::ip::tcp::resolver::resolve() blocks forever I'm trying to create something similar as [this code](http://www.boost.org/doc/libs/1_38_0/doc/html/boost_asio/example/echo/blocking_tcp_echo_c...

24 Mar at 00:17

Problem Linking "static" Methods in C++

Problem Linking "static" Methods in C++ I want to call a few "static" methods of a CPP class defined in a different file but I'm having linking problems. I created a test-case that recreates my proble...

22 Sep at 18:48

error: invalid declarator before ‘&’ token

error: invalid declarator before ‘&’ token I was trying to write a TextQuery program that allow user: 1. 2. 3. and . I created a class called with 3 member functions: 1. to read the file and return...

Error: free(): invalid next size (fast):

Error: free(): invalid next size (fast): What is this strange error I'm getting? I'm compiling C++ using g++ on Ubuntu 10.10. It pops up randomly when I run the executable (maybe 2 times in 8 hours, w...

5 Sep at 11:34