Questions tagged as 'c++'

0
answers

Error Undefined reference to Symbol

Good morning I'm studying the Opencv library for computational view in Ubuntu 14.04 I'm using Eclipse Mars.2 programming in C ++. The following error appears:    ./ image.o: undefined reference to symbol   '_ZN2cv6imreadERKNS_6StringEi' M...
asked by 25.05.2016 / 15:39
1
answer

How to link boost library in codeblocks! (linux fedora)

Hello, I downloaded the boost.tar file, extracted it, compiled it, and installed it on my fedora 23! But I can not make the codeblocks link to these new libraries. How do I link?     
asked by 24.04.2016 / 00:53
1
answer

C ++ How to call another cpp file in the script [closed]

I have two cpp files. One is the main one, the other is a secondary one that will open windows programs. So I include both in the same folder. In the main file, I added: #include iapt2.cpp which is the second part of the script, but it...
asked by 28.05.2016 / 17:29
0
answers

Retracing float numbers from a string

I have the following string: 0 0 0 0 1 1 0 3.56 1.5 Only the last two numbers are integers or decimals, each of which may have several digits. How can I save only the last two numbers in 2 different strings?     
asked by 16.04.2016 / 20:09
1
answer

Conversion C to C ++

Well, does anyone know what this code means in C ++? #include <iostream> #define MAX_C (10) using namespace std; int compar(const void *x, const void *y) { int a = *((int *) x); int b = *((int *) y); return a - b; }     
asked by 02.04.2016 / 23:58
0
answers

Error in binutils when doing cross-compiler. lex: not found

I'm doing a cross-compiler for the i686-elf architecture with a Debian host 8 86_64 bits already uninstalled and installed the flex but the error continues! I'll leave the terminal output. checking for gcc... (cached) gcc checking whether the...
asked by 30.03.2016 / 21:34
0
answers

Capturing Bus Data

Good afternoon. How do I capture data from the bus when it comes to video or images? Any ideas? Example: When I want to capture bus input data I can use std :: cin, getline. But if you need to capture video data and images. Example: I am w...
asked by 10.03.2016 / 20:26
0
answers

Recover data from another process

I would like to know if there is any way in C ++ to get some data (value) from a process, but without using a pointer to memory, when I try to use the cheat engine until I find the dynamic address, but the debugger does not work to go after poin...
asked by 11.03.2016 / 22:33
1
answer

Circular Dependency! object creation

The Code is very simple! I have two classes student.h and diciplina.h and I need to maintain a circular dependency between them! When I'm in student.h I can create an attribute of class discipline use new, constructor, sets and gets. But when...
asked by 22.04.2016 / 02:53
0
answers

heap corruption compiling an opencv project

void trackFilteredObject(int &x, int &y, Mat threshold, Mat &cameraFeed) { Mat temp; threshold.copyTo(temp); //these two vectors needed for output of findContours vector< vector<Point> > contours; vector<Vec4i> hiera...
asked by 06.04.2016 / 03:50