• c++ - Normalizing histograms?

    up vote 0 down vote favorite What is normalizing histograms? When and why would I use it? What are its advantages? I don't understand the concept at all- when I try to apply it to my histogram, when I

  • C++ FTP Uploading

    up vote -2 down vote favorite 2 I am having trouble uploading a file as a test using wininet.h in C++. This is not my code but before I begin to learn off of it I would like to make sure it works. It

  • oop - Polymorphism c++

    up vote 6 down vote favorite 1 In some books there is written that class that declares or inherits a virtual function is called a polymorphic class. Class B doesn't have any virtual functions but pass

  • C++ Timer implementation

    up vote 1 down vote favorite I'm trying to implement a "timer" function in C++ for the program to do something after some seconds. However, I've got unexpected results. short e, sum; clock_t start; do

  • c++ - EnterCriticalSection Deadlock

    up vote 3 down vote favorite 1 Having what appears to be a dead-lock situation with a multi-threaded logging application. Little background: My main application has 4-6 threads running. The main threa

  • C++ casting idiom

    up vote 1 down vote favorite 1 This question already has an answer here: What is the difference between static_cast<> and C style casting? 6 answers What's the standard idiom for general casting in C+

  • c++ - '<<' & '>>' operators overloading

    up vote 1 down vote favorite I've been writing a complex numbers header from scratch for a school class but I'm stuck on the extraction and insertion operators overload, I've been reading a lot about

  • c++ - QThread confusion

    up vote 0 down vote favorite I'm using Qt 4.7.0 (32 bit) on Windows 7 Ultimate (32 bit) machine. I've been using Qt probably from version 4.0 or 4.2 and I've used almost all 4.x.y releases. Recently,

  • c++ - recursive typedef

    up vote 1 down vote favorite Is the following allowed? typedef Foo<Bar> Bar; My compiler complains that 'class Bar' has a previous declaration as 'class Bar'. c++ typedef recursion share | improve th

  • OpenCV C++ with Android

    up vote 1 down vote favorite 1 I have checked a lot of threads already but none of them seems to solve my problem. I'm working on a project regarding my study and want to use the OpenCV library with m