Questions tagged as 'c++'

1
answer

DLL import in C #

I joined a recent project that uses a nearby printer to print tax coupons. The last one who worked on the project used a DLL (if I'm not mistaken in C ++) that managed the printer. In the project, this DLL is imported through the following...
asked by 23.12.2016 / 19:33
2
answers

Mergesort targeting failure

I tried to recreate the Mergesort algorithm in C ++, but when compiling, the error "targeting failure" appears. Here is the code below. What can I be doing wrong? #include <iostream> using namespace std; void merge (int *arr, int lo, int...
asked by 12.03.2017 / 04:11
1
answer

send rfid data to Mysql [closed]

How do I get the following information when the tag passes through the rfid reader: "Salvador", "Bahia"?     
asked by 16.03.2017 / 10:31
2
answers

How to tell if a process is running on windows using c # or .bat?

I'm trying to create an application that runs in the background and monitor some service to see if it's running or could someone give me a light?     
asked by 10.10.2016 / 03:15
2
answers

a function-definition is not allowed here before '{' what does this error mean?

I'm trying to compile my code, but the compilation returns the following error:    a function-definition is not allowed here before '{' token | I am a beginner and have looked at the code several times to understand what may be happening,...
asked by 12.10.2016 / 02:54
1
answer

Error when using inline methods in C ++ classes: undefined reference to

I'm optimizing part of my code where some methods that are looped are too often passing them to inline , but doing so I'm getting the following error messages: And I'm getting the following error: In file included from CycloTracker.hp...
asked by 11.10.2016 / 11:42
1
answer

How to overload the assignment operator in a class containing vector?

I would like to overload the assignment operator ( operator= ), I know I have to reserve memory, and copy data from one to the other, however I do not know how to copy one vector to the other without knowing the size of it . class Pe...
asked by 26.12.2016 / 21:40
1
answer

Problem reading file

I am writing a code in C ++ and need to read a distance file that was calculated in another algorithm done in C . This file looks something like this: 100 \ n (natural number) 0.0000 58.25646 7.1556 5.1564 0.0000 44.00000 ... - > an...
asked by 30.09.2016 / 03:14
2
answers

Code :: Blocks - error: stray '\ 240' [closed]

I am facing a simple problem, I believe. I save my file in .cpp in Code :: Blocks and then try to compile it. However, when compiling, some errors appear (Usage compiler minGW): Compilersettings: UseWindows8.1.Doesanyoneknowhowtosolve...
asked by 05.10.2016 / 17:59
1
answer

how to solve "SIGSEGV" error when using 'strcpy'

Hello, I'm experiencing a "SIGSEGV" error on the following line: strcpy(buffer_ReceiveAutomation, ls_buffer_PPouAUT);
asked by 22.07.2016 / 19:07