Questions tagged as 'c++'

2
answers

Problem when printing a factorial series [closed]

I want to print this factorial series: 2, 3, 8, 30 in C ++. I put this line to take the series and it does not work: return factorial (número) + factorial (numero-1); This is to get the values of the series based on the terms from 1 to 10....
asked by 06.04.2018 / 20:14
0
answers

Click on chrome window with c ++

Currently I want to click to close a tab with this command, but they tell me that I should find in the window handle, how can I do it, a suggestion was with "FindWindow" but I do not know how to use it ... the code is the following ... SetC...
asked by 01.04.2018 / 19:02
0
answers

LU factorization using Gaussian deletion in C ++

Very good day! I am trying to implement the LU factorization using Gaussian elimination (my previous post was using the Doolitle method) but I do not know what I am doing wrong. On paper, everything works but the code is not working, it throws i...
asked by 30.03.2018 / 09:51
0
answers

Why is not the binary file modified?

I have to create a program that modifies the age of a binary file, in addition to other sections but I can not understand why this age is not modified, here I attach the code, in the last printf of opc1, I get it perfect but at re-listing the fi...
asked by 16.03.2018 / 18:38
1
answer

Modulate a program that contains a class?

The fact is that I have to make a program. This contains 2 simple functions and one class GeneradorAleatorioEnteros. The problem is that I have to divide the .cpp of the program in a .cpp for the main, and another for the functions and the class...
asked by 16.03.2018 / 13:19
1
answer

When trying to make an arrangement of objects, I get the error array must be initialized

When trying to make an arrangement of Students objects to create a file in C ++, I get the following error: ../Expediente.h:18:36: error: array must be initialized with a brace-enclosed initializer This is the code I have: class Expedien...
asked by 17.03.2018 / 17:24
1
answer

Problem with visual studio 2017

I'm a beginner in visual studio, I just installed it this morning and I do not understand how I can solve this problem, I downloaded the c ++ package and every time I compile, this appears:    Error MSB8036 The version of the Windows 8.1 SDK...
asked by 17.03.2018 / 01:23
1
answer

Pass variable by arduino library

I'm creating a new sketch in Arduino, but I have a problem, although everything compiles well without errors, it does not work, I do not know if it's a library or the sketch, to debug I would like to pass a variable that changes its value when g...
asked by 21.03.2018 / 17:56
1
answer

How to redistribute a C ++ application developed in VS015 in Windows 8.1

I have developed an application in C ++ using the VS2015 and with W8.1. When running the application on other PCs with W8.1 it gives me an error with ucrtbase.dll. However, in PC with W10 the application runs without problems. I have tried insta...
asked by 19.03.2018 / 16:34
1
answer

Capture keyboard arrows in Qt

I have been doing a school project in which they asked me to create the 2048 game, I created it on the console line as a base, and then I did the graphic design, but when I wanted to implement it I found the problem that checked at the time of s...
asked by 12.03.2018 / 20:29