I'm using Code::Blocks on Ubuntu 10.10 (Maverick Meerkat). I have connected a Mac keyboard and set the keyboard settings to "Swiss German Mac". Now wheneve
I was told to use a disassembler. Does gcc have anything built in? What is the easiest way to do this?
I've set up a webserver running on ESP8266 thats currently hosting 7 sites. The sites is written in plain HTML in each diffrent tab in the arduino ide. I have i
After going to their github page and seeing some pdf manual form their kde docs site, I am still confused. Suppose there are these two lines in a test code: do
I often hear that when compiling C and C++ programs I should "always enable compiler warnings". Why is this necessary? How do I do that? Sometimes I also hear
Seeing Alexandre C's reply in the other topic, I'm curious to know that if there is any performance difference with the built-in types: char vs short vs int vs
I am using the PST File Format SDK to try and extract some appointment item data from an Outlook PST export: int main() { pst myfile(L"export.pst"); fo
Sometimes I have structs such as this -- struct aggregate1 { std::string name; std::vector<ValueT> options; size_t foobar; // ... }; -- where (
I don't want to use QOpenGLWidget, because of the old version of OpenGL inside. I don't understand what is the difference between getting QOpengGLFunctions from
First of all, I should point out that I've never used linux before. I have a clean install of 64bit ubuntu, I downloaded Qt 5.1.1 for linux 64 bit from http://
I have a class with a unique_ptr member. class Foo { private: std::unique_ptr<Bar> bar; ... }; The Bar is a third party class that has a create
I am new to C++. I am trying to store the current date and time as a string variable. At this question, I found an answer, and installed the date.h library. How
I am debugging a new thread library, in which I set the stack register rsp manually (to switch to a user-managed stack), and then invoke a function which never
I'm reading STL source code and I have no idea what && address operator is supposed to do. Here is a code example from stl_vector.h: vector& operat
I am looking for some function or a way that would return HMAC SHA256 hash in C++ using secret key. I have seen documentation of Crypto++ and OpenSSL but it doe
Note: The answers were given in a specific order, but since many users sort answers according to votes, rather than the time they were given, here's an index of
I have perused a lot of code on this topic, but most of them produce the numbers that are prime all the way up to the input number. However, I need code which
I am a newcomer to zeromq. Recently I did some tests on pub/sub of zeromq, and I don't konw how to implement Pub-Sub Network with a Proxy by using XPUB and XSUB
Im trying to get my FPS to display in the window title but my program is just not having it. my FPS code void showFPS() { // Measure speed doubl
After updating Embarcadero C++ Builder to a new version, our project suddenly fails to build. This happens just with one of our projects. For the most of the te