error: use of deleted function?
I've been working on some C++ code that a friend has written and I get the following error that I have never seen be...
C++ DirectX Multi-Colored Line?
I know a tiny bit of C++ and I want to make my own little game. I have figured out on how to draw a line, this is ho...
How to convert a TCHAR array to std::string??
How do I convert a TCHAR array to std::string (not to std::basic_string)? ...
mycout automatic endl?
I'd like implement class MyCout, which can provide possibility of automatic endl, i.e. this code MyCout mycout; myc...
What is the correct answer for cout << a++ << a;??
Recently in an interview there was a following objective type question. int a = 0; cout << a++ << a; ...
Compiling error with C++?
This is the error and program. I gives me this error, and I cant find any mispelling in main.cpp ERROR main.cpp: I...
fatal error: libxml/xmlmemory.h: No such file or directory?
Can anyone explain to me that error and what should I do to solve it !?: In file included from /home/jros/catkin_ws...
C++ Error: no match for call to ‘(std::string {aka std::basic_string<char>}) (std::string&)’?
I'm new to C++. I search many times, but still can't get the answer. I'm writing a class named Course to describe th...
CMake Gcov c++ creating wrong .gcno files?
I have a CMakeLists.txt file in which I added: set(CMAKE_CXX_FLAGS "-fprofile-arcs -ftest-coverage -pthread -std=c+...
How to display text in main window??
I'm new to Qt and I'm having a hard time finding a simple example illustrating how to display some text on the main ...
What is the scope of a 'while' and 'for' loop??
What is the scope of a while and for loop? For example, if I declared an object within the loop, what is its behavi...
Vector Iterators Incompatible?
I have a class with a std::vector data member e.g. class foo{ public: const std::vector<int> getVec(){return...