Questions tagged as 'c++'

2
answers

Help to create code in c ++

Can you help me to make this code in c ++ please?: Create a two-dimensional array or array that stores consecutive multiples of 7 (7, 14, 21, 28, ...). The number of rows and columns will be entered by keyboard. The sum of the numbers located...
asked by 13.07.2017 / 03:01
0
answers

Delay in Menu Pop-Up when I have the focus on DrawingArea

I have a Gtk :: ApplicationWindow class which is the main window and in a certain place I am painting a Gtk :: DrawingArea area. To handle the keyboard in the drawing area, I will pass the focus from the main window as follows: drawArea.grab_f...
asked by 27.11.2018 / 13:27
1
answer

SEE DIRECTORIES IN TURBO C ++ 3.2

I have a code that creates directories  but the problem is that I do not find the program to read it, any idea of how it would be?     
asked by 24.11.2018 / 22:28
0
answers

Error in game pong collisions

I'm doing a pong and I give graphics with a library. all collisions are fine except that when the ball bounces with the lower edge of the paddles it enters them, bounces and then continues its trajectory. #include "pch.h" #include "raylib.h"...
asked by 22.11.2018 / 19:10
0
answers

Returned id 1 exit status

I have this code in C ++ and I'm getting an error "Returned id 1 exit status", but I can not find the error inside the code, I've been looking for 2 days and I can not find the reason, it's my final project and I'm desperate, please, help! I am...
asked by 19.11.2018 / 22:45
0
answers

Version of file in the resource of an executable

I have an echo program with Qt4 whose version is 1.0.0.0, but I ported it to Qt5 and with small changes in functionality, I do not know which version number I should increase.     
asked by 25.11.2018 / 01:25
1
answer

Create and destroy threads with Qt

I'm doing tests with C ++ and Qt. I want to make a program that according to the data found in the database create X threads to make each of them a laaaargo process. This process must be repeated indefinitely while the user does not stop it....
asked by 19.11.2018 / 12:10
0
answers

Encrypt string data using AES in OpenSSL with C

I have this example of Encryption using the OpenSSL library and the AES encryption method: string encAES(char* Key, char* Msg, int size) { static char* Res; string output; AES_KEY enc_key; static const char* const lut = "01234...
asked by 15.11.2018 / 00:48
0
answers

Send data in a EventHandler of a graphic interface button c ++

Hello my question is if I can send data (objects) for an eventHandler for example: namespace AdministradorS { using namespace std; using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using names...
asked by 13.11.2018 / 10:10
0
answers

How to send an object to a namespace (a graphic interface type class) and set the object to be used by C ++ button actions

I am working on a project that has two administrators connected to a server through sockets and threads. Includes graphic interface. The problem arises when I want to send objects of type socketC to the interface so that each inter...
asked by 13.11.2018 / 09:30