Questions tagged as 'c++'

2
answers

Remove white space from a string

I want to remove all the blanks from a string , but I do not know how to do it already tried to use replace but did not work.     
asked by 04.10.2015 / 19:40
1
answer

Repeat commands to restrict a valid value

I need a code that reads a number greater than 1, and if a number less than or equal to zero is entered, another number is requested, and can therefore be tested if true. I would like help completing my code. #include <stdio.h> int m...
asked by 06.09.2015 / 05:05
1
answer

Which command to delete partial in c ++?

Well as you know, system("cls") erases everything, I would like to delete it partially.     
asked by 09.07.2015 / 15:44
1
answer

Function with unnamed parameter

What is the reason for declaring a function with this signature? void funcao1(Pessoa&); void funcao2(Pessoa&,void*); void XN_CALLBACK_TYPE UserCalibration_CalibrationComplete(xn::SkeletonCapability& /*capability*/, XnUserID nId, X...
asked by 11.07.2015 / 01:58
1
answer

What is the difference between the qApp quit and exit methods?

I'm testing the example Getting Started Programming with Qt Widgets and found a call from a method to exit application: void Notepad::on_quitButton_clicked() { qApp->quit(); } I took a look at the other methods and found one that a...
asked by 03.06.2015 / 17:45
1
answer

Pointer can not be reset to NULL within function

Hello everyone! I was studying binary trees and needed to create a function that would remove any nodes and their children. However, when I did this function with return / 1 / the node was not removed. Copying the return of another function fr...
asked by 26.12.2015 / 03:40
1
answer

C ++ vector calculus

I need to implement some vector and matrix operations, such as internal product, vector, other operations with matrices (inverse calculation, transposed, conjugated, determinant, etc.) and solving certain problems of linear algebra and analytic...
asked by 23.12.2015 / 18:42
1
answer

Is it possible to reverse engineer software developed in C ++?

Is it possible to get code from an executable developed in C ++? Between Win32 Application and Windows Form Application, which of them can be decompiled?     
asked by 24.04.2015 / 03:41
1
answer

QCustomPlot how to resize chart?

I'm trying to do a repeating histogram of 255 events, I do not know how many times this event can occur! I have an array of 255 elements, already with the amount of repetitions of the events and I want to show this in the graph using Q...
asked by 25.05.2015 / 20:23
1
answer

How to call a Python script in a C ++ code in Qt creator?

How do I call a Python script in a C ++ code in Qt creator?     
asked by 11.02.2015 / 18:18