Questions tagged as 'c++'

0
answers

How to run Thread with Function overload?

In the code below I have a problem trying to run a thread using function overload. It's like std::thread does not understand overhead. Noinstanceoftheconstructor"std :: thread :: thread" matches the list of arguments. Does anyone k...
asked by 04.08.2018 / 04:55
0
answers

OpenCV - C ++ - Raspberry Pi

I want the function to check all the time if there is a fingerprint. If there is, I want it to start the sequential capture scheme (the for nested), but the function I created is not working that way ... void Leitor::iniciarLeitura() {...
asked by 16.07.2018 / 14:34
0
answers

Help - C ++ - OpenCV - VS2017 - Raspberry Pi

Can anyone help me with some problems with a project? The project consists of capturing fingerprint images and using OpenCV for future imaging. In this project, I have a Raspberry Pi 2, a camera module, 3 leds for communication with the us...
asked by 16.07.2018 / 04:31
0
answers

Return a vector without using input / output in C ++ subprograms

Hello, I'm doing an activity and c ++ that is complicating me ... in fact there are several that I spend hours trying to find something and I can not and most of them are not on the internet, I tried to search the same logic of this program in s...
asked by 17.07.2018 / 17:13
0
answers

Dynamic memory with pointers in c ++

Hello, I'm starting to use dynamic memory in C ++, but I came across a problem. When I do new CHAR_INFO[3] , say    can not convert 'CHAR_INFO * {aka _CHAR_INFO *}' to 'int *' in assignment and still gives error in this line of code...
asked by 12.07.2018 / 18:49
0
answers

Android NDK - How to compile this code? (Beginner..)

A developer has published their code on GitHub for anyone who wants to create their server for SAMP Android (a developing project that allows them to run GTA Android online). Link to code: link I want to know which program to use and t...
asked by 25.07.2018 / 05:16
1
answer

How to prevent '\ n' being written to the console

Hello, I have this code: #include <iostream> #include <windows.h> using namespace std; bool gotoxy(const WORD x, const WORD y) { COORD xy; xy.X = x; xy.Y = y; return SetConsoleCursorPosition(GetStdHandle(STD_OUTPU...
asked by 10.07.2018 / 21:29
1
answer

I am not able to use libcurl C ++

Well, I can not use libcurl! Can someone help me? Teach me how to compile this correctly! I'm following all the steps that come in a doc along with the project itself. >
asked by 08.07.2018 / 17:00
0
answers

is there any way to use jsoncpp.lib in codeblocks?

I need to use jsoncpp.lib in codeblocks, but when compiling I get the following compiler errors:    D: \ Users \ User \ Documents \ CodeBlocks \ demo \ main.cpp | 20 | undefined   reference to 'Json :: Value :: Value (Json :: ValueType)' |  ...
asked by 09.07.2018 / 23:01
0
answers

Define a custom icon on the console

Hello, I wanted to change the icon that appears on the console. For this, I created 3 files: resource.rc resource.h main.cpp The contents of each file are as follows:    resource.rc : #include "resource.h" IDI_MYICON ICON...
asked by 10.07.2018 / 16:02