I'm trying to use wxWidgets to do a college project and I ended up trying to use the Makefile out of curiosity, below the makefile I'm using as an example for the project.
Makefile
CPP_FILES := $(wildcard src/*.cpp)
OBJ_FILES := $(addprefix...
How can I use the push_back function in a structure?
I have the Arc structure:
struct Arco {
int i, j;
Arco () {};
Arco (const Arco& obj): i(obj.i), j(obj.j) {};
Arco(int _i, int _j) : i(_i), j(_j) {}
};...
I'm developing software in c ++ that captures images from WebCam, before I used OpenCv but received an error from
Undefined symbols for architecture x86_64 Until I opened a topic here and no one knew how to answer the error. Give up using O...
I have a problem with my program in CodeBlocks.
When I compile and run the program, CodeBlocks creates an executable in the Debug folder that is inside the bin folder, located in the same folder where the project is. When trying to open the .exe...
I need to develop a program on WINDOWS platform where student information will be stored: age , < strong , shuffle and name tags.
The program should also contain a name search.
I would like suggestions.
I need to get the MAC and Serial HD volume (in the cmd is "vol C:"), I got the MAC by the code:
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
UCHAR MACData[6];
char cWork[20];
UUID uuid;...
The following error is occurring in compiling the code below:
.. \ src \ struct.cpp: 19: 19: error: elements of array 'main () :: gets v [3]' have incomplete type
.. \ src \ struct.cpp: 19: 19: error: storage size of 'v' is not known...
I have a program developed in c ++ in visual studio, which processes a huge amount of data! This program can either use float or double data, and this specification is done as follows:
typedef float/double real;
ie in the previous statement...
Hello. I am having doubts when implementing a header in folders with different paths. I'm putting my header in a folder named "include" and the implementations in a folder named "src" . To solve this problem, I'm doing the following...
I have a QtSDK timer, but when it starts time goes absurdly faster than normal . Here is the code below:
QTime time;
QTimer timer;
void PlanejamentoWidget::timeUpdate(){
QTime t = ui.timeEdit->time();
ui.timeEdit->setTime(t.add...