Questions tagged as 'c++'

1
answer

How to print fraction in floating-point format?

How can I print fraction in floating format in C ++? I researched how this format would look, but I did not find anything. E.g: 5 __ 3     
asked by 21.04.2018 / 19:14
0
answers

How to use a friend function inside a class

My program is structured as follows: Classe.cpp // Implementing class methods Classe.hpp // Class prototypes Main.cpp // Main file In my file Classe.hpp I have the prototype a friend function:...
asked by 21.04.2018 / 20:53
0
answers

C ++, create a list of "ids"

This is the code if (otherpages == 2) { ImGui::Columns(2, nullptr, false); ImGui::Checkbox("Enable Medal Changer", &Settings::MedalChanger::enabled); static int medal_id = 0; ImGui::InputInt("Medal ID", &medal_id);...
asked by 17.04.2018 / 20:39
1
answer

can not open source file "d3dx9.h

I'm having this error while compiling    Severity Code Description Project File Line Suppression State   Error (active) E1696 Can not open source file "d3dx9.h"   INDIGO   c: \ Users \ spirit \ Documents \ C ++ \ SOUTHERN \ INDIGO \ INDIGO \...
asked by 09.04.2018 / 22:19
0
answers

Problem compiling a source

I'm trying to compile a project, but this error is showing up: Gravidade Código Descrição Projeto Arquivo Linha Estado de Supressão Erro MSB8036 The Windows SDK version 10.0.15063.0 was not found. Install the required version of Wind...
asked by 08.04.2018 / 05:59
0
answers

"Undefined reference" error in g ++

When compiling the algorithm with g ++, I got the following problem:    CMakeFiles / libTest.dir / source / mainDaMalha.cpp.o: in function    CriteriosDeParada::test_method()': mainDaMalha.cpp:(.text+0x1840f): referência indefinida para...
asked by 05.04.2018 / 16:24
0
answers

call function from .dll with standard input in c ++

I have this function in the header of my .dll: void calculo(vector<double> A, vector<int> B, double &Ans1, double jj); in .cpp it is defined as follows void calculo(vector<double> A, vector<int> B, double &...
asked by 05.04.2018 / 19:33
1
answer

List with 3 elements c ++

I'm using list in c ++, and in what I think the structure of the inner one should contain:    Content   pointer to next element Is it possible to put one more variable within this structure, as the example below?    Content   variabl...
asked by 05.04.2018 / 19:04
1
answer

passing a struct using extern C in a .dll c ++

I have a function that comes from a .lib that returns me a struct tabela GSTV(vector<double> inpA, vector<double> inpB); This struct is defined as follows: struct tabela { vector<int> Z; vector<double> F;...
asked by 03.04.2018 / 02:57
0
answers

Is there any function for OpenCV native Plot?

I want to plot a vector that contains error values extracted from a neural network to analyze the curve.     
asked by 01.04.2018 / 02:24