Questions tagged as 'c++'

1
answer

Search an object with a string or an int

I have a list with templates based on an array and what I try to do is to find the position of what I entered, either an integer or a string, but whenever I try, the program tells me that it can not convert an integer or a string to my object, o...
asked by 24.02.2018 / 07:36
1
answer

libwinpthread-1.dll, libgcc_s_seh-1.dll and error 0xc000007b

I use the IDE CLION to program in C ++, and it took very little time. I'm doing a mini-game on the console where I need to generate random numbers. Use rand () with the standard library and time (), but the environment recommends me to use a di...
asked by 18.01.2018 / 21:00
1
answer

Structure matrix c ++

Good, first to put them in contexts the function of the code is to add X products of a store and then if the client wants to add another store with And products the problem occurs when it is going to print because the rows can have diffe...
asked by 29.10.2017 / 20:30
0
answers

Problems with CV :: Rectangle OpenCV

I have a problem when drawing a rectangle in a cv :: mat. I am making a communication between Unity and C ++ to generate an Android application. I use the unity Webcamtexture camera and I send the information to C ++ using the PInvoke method....
asked by 18.10.2017 / 10:24
1
answer

Implement constructor manually

I have to modify the following program in order to compile it with GCC 4.9.2. The problem is because GCC can not implement some noexcept move constructors like "= default". I have to implement the constructor manually (on foot) and I do not k...
asked by 01.11.2017 / 06:46
1
answer

Problems in #include C ++ [closed]

then when I want to compile the program I get an error in both #include iostream and #include sstream, (I put it here because in the code that I paste it does not show it) it gives me the error of 'In file from'. #include <iostream> #inc...
asked by 24.09.2017 / 21:46
0
answers

Android application in unity based on native OpenCV

I have a little doubt that I hope you can solve it. I want to create an android application in unity. The application consists of activating the camera of the device and seeing it on the screen. For this I want to base on a c ++ native code b...
asked by 25.09.2017 / 15:47
2
answers

Initialize fixes of objects in C ++

I would like to do a C ++ fix of Point type, but I do not know how to do it. This is my code: #include <windows.h> #ifdef __APPLE__ #include <GLUT/glut.h> #else #include <GL/glut.h> #endif #include <stdlib.h> #includ...
asked by 18.09.2017 / 00:38
1
answer

How to convert a MaybeLocal String type to a std string?

I'm doing a addon for nodejs in c++ , I'm new mu% in c++ by the way, what I try to do is a function in javascript that receives an object and this convert it to a std::string in c++ , until now after rese...
asked by 13.09.2017 / 19:58
1
answer

Error data structure "[error] request for member 'nom' in 'emp1? which is of non class type employer [3]

I'm doing a code in which I use data structure to enter the data of three different users (name identification and salary) but when I tried the code only with one user I get the error that I put in the title What do I do? #include <iostream...
asked by 02.09.2017 / 17:09