Questions tagged as 'c++'

2
answers

OpenCV in C ++ CodBloks

Someone can help me, I installed the opencv library, and I set it up in codeblocks, but even so, when I'm going to compile the project, dis     
asked by 28.11.2018 / 03:24
1
answer

How can I find the name of the gpu and cpu in qt c ++

Any of these solutions work for me, first I tried a system management code to try to find the name of the gpu and cpu, but of that error for me in visual studio, the compiler does not seem to accept the clr, and I'm using qt in the project with...
asked by 05.12.2018 / 17:17
0
answers

How do I insert a number in an arbitrary position, in a position I want?

Hello, how are you? I have this code and I need to know how I can enter a value in an arbitrary position, tried some ways, but I could not. Here is the code: #ifndef LIST_H #define LIST_H template<typename T> class List { public: List()...
asked by 25.11.2018 / 20:59
0
answers

MakeFile in C ++ - Geany

Good afternoon, I'm new to programming in C ++ using Geany. And I'm having trouble with creating a class with main, ie when creating a class, for example message.h and message.cpp, access the methods of the message class itself in main.cpp. I...
asked by 21.11.2018 / 17:33
0
answers

C ++ Position on the screen looks strange when I try to convert from GetCursorPos to SendInputs

I used the GetCursorPos function to get some positions on the screen that I would like the mouse to be able to click to perform a task for me and automate the service. I tried to select these positions with SetCursorPos and it w...
asked by 21.11.2018 / 03:00
1
answer

doubts in array

My program needs to get two vectors, A and B. This defines the set    A pikachu B as the set formed by the elements that appear in A or B. It also has the set    A chikorita B As the set consisting of the elements that appe...
asked by 12.11.2018 / 19:38
0
answers

Use Spreadsheet API with ESP8266 or AJAX

Good evening everyone! I'm working on a project with an ESP8266. I want to exchange information between ESP8266 and google spreadsheets. I can read the spreadsheet information with this very simple and efficient code: if (client.connect("sheet...
asked by 19.11.2018 / 21:25
3
answers

Incorrect reading of floating point

I have a file that stores products, each product has three information: its name (char *), quantity in stock (int) and its price (float). The information generated in my program I am saving to a file and leaving the file in the following format:...
asked by 31.10.2018 / 18:48
0
answers

Structure with another structure inside it in python ctypes

I'm developing a ratchet control software, it uses a dll called xpcomlib, and has examples made in C. I'm developing in Python and for using the DLL I'm using Ctypes, I've been able to make DLL functions work almost all but one, it needs one poi...
asked by 25.10.2018 / 19:45
0
answers

Compare data from two different files and write C ++ result

I'm having trouble executing the following algorithm: Based on the information in the '/ etc / passwd' file, pick up each user's group code and search for it in the '/ etc / group' file. The result should be written to the file '/tmp/resultad...
asked by 02.11.2018 / 19:45