Questions tagged as 'c++'

1
answer

How did a structure go to a function, C ++?

They ask me to do a program that reads, name , code , and 3 notes , everything is 10 students; in a structured vector called vec_est , my problem is when sending the structure to the function. include stdio.h include stdlib.h include strin...
asked by 26.06.2018 / 22:43
0
answers

How to read a private key with passphrase in C ++?

I have been occupying Openssl for a signed and verified project of private and public keys in C ++ , so far I have had no problem when signing and verifying with keys without a security phrase. the commands I use are these: openssl req -...
asked by 25.06.2018 / 19:42
0
answers

How to connect MySQL Workbench with C ++ code in Codeblock?

Install MySQL installer community with all its features, what I need to know is how to connect this database with the code in c ++?. I do not know if I need to download a library or if it already comes with the MySQL Connector C / C ++. Thank yo...
asked by 25.06.2018 / 00:26
1
answer

C ++ / SDL keyboard inputs

I have a question regarding the handling of events in SDL. I still do not know exactly how the SDL event pool works and I am having problems with the code that I will show next. Basically I'm trying to make the character move and can shoot at th...
asked by 25.06.2018 / 16:07
0
answers

Qt - QGraphicsItem linux - It gets slow and degrades over time

I continue with bad performance with my QGraphicsItem in linux on a RaspberryPI3B. I understand that the problem may come here, in this paint, that when I receive a new point to draw on the path (tracker), it recreates ALL the QPainterPath again...
asked by 13.06.2018 / 23:09
0
answers

Connection tls 12 between visual c ++ and server

In the company where I work, we have a program for charging cards in visual c ++ that consumes a web service. As we already know, banks will only implement secure protocols (tls 12) and insecure ones will be disabled. Now my question is: H...
asked by 24.06.2018 / 19:45
0
answers

Qt - PainterPath.intersected very slow

I have a QPainterPath that contains several consecutive polygons of a path. Given a new polygon, I need to know if this intersects or not with the QPainterPath and in case of intersecting, keep that intersection in a QList. The code I got is the...
asked by 18.06.2018 / 21:36
0
answers

Pixel distances depending on contour

I have a binary image in opencv where the outline of an object is shown. My boss told me that there is a function in OpenCV that measures the minimum distance between all the pixels of the image and the outline, could someone tell me what that f...
asked by 12.06.2018 / 15:47
1
answer

Can cc compile a .cpp file?

I am new to using a Linux environment to compile and run my programs in c and c ++. As such I have realized that to compile files.c in terminal I occupy cc or gcc , otherwise with .cpp files that occupy g ++ My doubt was that if there wa...
asked by 12.06.2018 / 21:39
1
answer

Sento function error in UDP protocol

Good I put you a little in situation to see if someone can help me. I'm trying to communicate two computers using a UDP protocol. One computer has a Windows operating system and the other is a Raspberry Pi with Raspbian. The Raspbeery Pi works a...
asked by 10.06.2018 / 15:11