Questions tagged as 'c++'

1
answer

getline problem in c ++

I have a problem with my code, what happens is that when I compile it does not send me any error, but in this part of my code, the gertLine I use to enter the values (USERNAME, MAIL, PASSWORD AND NAME) , the first Characters or numbers do...
asked by 02.09.2018 / 01:31
3
answers

Increase number and show it on screen in c ++

I'm starting to program in c ++ and I was trying to make a program that would raise all the whole numbers to the square from 1 to 10. The thing is that when I execute it I get results that nothing to see. Here is my program to see if you can hel...
asked by 08.09.2018 / 05:45
2
answers

Convert from String to Unsigned Char Array in C ++

I need to convert a string of string characters to an unsigned char array in this way: string str_texto = "Hola Mundo!"; unsigned char uchar_texto[80]; Exit: uchar_texto[0] = 0x68 //H uchar_texto[1] = 0x6F //o So far I have done this a...
asked by 25.08.2018 / 00:30
1
answer

How can I update a listT automatically?

That is to say that if I change an element of the list (of the STL list) outside of it, this change is reflected in the list (or lists that have the element inserted) without having to go through it and make the change " manually ". Could this b...
asked by 21.08.2018 / 02:26
1
answer

How to generate a list from a list vector by concatenating subsequences of positives and negatives

Implement a function void sign_join(vector< list<int> > &VL,list<int> &L) that, given a vector of lists VL generate a L list where they are First concatenated all the first non-negative subsequence of VL [0...
asked by 10.09.2018 / 17:09
2
answers

Doubt about Array with c ++ top

I am learning to program in C ++. In the last class we saw something that the teacher called " Array with cap ". I wanted to deepen this concept in a self-taught way I looked for it but I could not find anything similar. An example of the cod...
asked by 19.07.2018 / 00:43
1
answer

Problem with class template vector c ++ [duplicated]

Good evening I have a mess with a C ++ code use the Vector class template to enter the number of data dao by the user, what happens is that you use one function to enter the data and another to show data, the error or the exception I get when...
asked by 27.07.2018 / 02:52
1
answer

Error creating project in unreal: Windows SDK 8.1 must be installed [closed]

When I try to create a project in unreal engine I get the following error:    ERROR: UnrealBuildTool Exception: Windows SDK v8.1 must be installed   in order to build this target. Why is this happening and how can I solve it?     
asked by 07.07.2018 / 19:02
1
answer

Assign values to a 2d vector in c ++ [closed]

I'm trying to assign values to a 2d vector in c ++ This is how it is defined, where rows and columns are integers defined. vector < vector <int>> vec(filas , vector <int> (columnas)); what I want to assign to each space of...
asked by 07.07.2018 / 10:02
2
answers

Find the letter that only repeats once in a string of characters and show its position?

The objective is to enter the number of characters that the chain will have, and find the letter that only repeats once acum_menor , then show its position. I did it by comparing the string with another one that contains the letters of the...
asked by 09.07.2018 / 14:51