Posts by Joao Moreira • 47 points
4 posts
-
1
votes1
answer49
viewsQ: Create an algorithm that saves data in HD
I created a simple schedule to record a user’s contacts, but the teacher asked for the data to be saved in hard drive to preserve contacts even after shutting down the computer. I have to write all…
-
1
votes3
answers10296
viewsQ: How to read a string with C++ space inside a function
I’m in the second semester of H.I., and I’m sorry if it’s a trivial mistake. I need to read a name and surname, for an agenda, I am using function and already tried Getline, Cin.get(variable, size),…
-
1
votes1
answer1216
viewsQ: How to read a keyboard number without using "enter" in C++
I want to create a menu in which the user chooses the option 1 to 5, I would like the user to type the number and the program to enter the option without pressing Enter. Follow an example #include…
-
0
votes3
answers2499
viewsQ: How to check and print repeat values in a vector
I have the following problem to check the repeating vectors in a Vector: Given a sequence of n real numbers, determine the numbers that make up the sequence and the number of times each of them…