Questions tagged as 'c++'

1
answer

How do I solve the error Id returned 1 exit status?

The program compiled more or less without problems but suddenly I got this error and I do not know how to solve it. The program is not completely finished, I still have to solve errors in the results of operations but that should not be the prob...
asked by 14.11.2018 / 21:18
1
answer

Why do not you show me the stats of the constructor?

package Stats; public class Players { private String name; private int RIT; private int TIR; private int PAS; private int REG; private int DEF; private int FIS; private int MED; public Players (String name, i...
asked by 10.11.2018 / 22:52
0
answers

Different result in output format using the same function

I have a program that when the report function is invoked prints with the name alignment correctly, but when the same function is called with a second file the alignment changes and justifies the column of names on the right: # include <ios...
asked by 08.11.2018 / 16:37
1
answer

error when searching by program name c ++

that such friends I am creating a program in c ++ with structures: 2. Store the names and ages of 10 people in an arrangement. Find the name corresponding to a certain age and the age corresponding to a person. Both options must be accessible th...
asked by 09.11.2018 / 06:15
0
answers

Make a function return an implemented object c ++

I have a class created and that works correctly, in this case it is a Queue, with its attributes and functions. Now I want to create and invoke a function that returns an object of this type but throws me an exception. I have: Cola trocear(cha...
asked by 04.11.2018 / 13:59
1
answer

How do I print lists with objects?

I am working with simple lists, we are inserting objects. But I have this code to show list that only prints values, I do not know how I do that I print objects. This is the .cpp of the class I want to print: /* * Takuilla.cpp * *...
asked by 06.11.2018 / 02:27
1
answer

Function that receives as parameter a C ++ template

I'm doing a project in C ++ and I have a class called DataContext where I will have vectors that store objects of another class as member data. I want to perform a function that resieves a vector of any type of class to be able to add, search, d...
asked by 11.06.2018 / 23:34
0
answers

how do I read any math function?

Hi, I've been doing a program for a subject that is numerical calculation and based on a topic called error analysis, that theme has very basic formulas and are developed by mathematical functions such as: cos (x) + x- 2, sin (x) -x ^ 2 + 1, tan...
asked by 04.11.2018 / 01:50
1
answer

How to access a class from another class with Arduino

I am trying to separate the display code i2c from another file as there are many lines in main.cpp I'm using PlatformIO , the class is inside a folder that you create called Class This is my main #include <A...
asked by 31.10.2018 / 05:28
0
answers

UnsatisfiedLinkError | conflict between C native libraries on Android

I am working to implement a fingerprint reader in my application, for this I use a native library in C and so far everything has worked well, I can get the image of the fingerprint and format it, etc. But I also need to evaluate the quality of...
asked by 31.10.2018 / 02:05