[try Beta version]
Not logged in

Beginners - January 2019 (Page 10)

Perfect Number Finder
 
I'm trying to write a program that finds all Perfect numbers. Perfect numbers are numbers that when ...
Jan 16, 2019 at 3:36am
[3 replies] Last: :-) ...! (by Eristato)
std::copy a int vector but withing subtraction
 
I start with a int vector `row` and would like copy it to a address `ptr`. But now I want to use a ...
Jan 16, 2019 at 3:00am
[13 replies] Last: But if you were specified to use std::min then you will need at least ... (by Grime)
Code stuck in infinite loop
 
Hello! I'm having an issue where I'm designing a palindrome checker. I have no problem with single w...
Jan 16, 2019 at 2:10am
[1 reply] : Hi, std::cin only reads up to the first white space, that is one word... (by TheIdeasMan)
Help!!! not printing an array
 
My code is supposed make an array of 20 random numbers, print it, and then re-print the same array w...
Jan 16, 2019 at 1:07am
[2 replies] Last: Thanks! (by Eristato)
Creating a certain program
 
Hello everyone, I hope this is the correct plattform to present my problem. Currently, I have no ...
Jan 15, 2019 at 11:45pm
[3 replies] Last: Can you do it in c++, well yes. But from what I read, have you looked... (by Grunalin)
by Tduck
Values not sticking around after function call sets them
 
I've been making an RPG program, and I'm at a roadblock once again. Thanks to the people here I've ...
Jan 15, 2019 at 8:44pm
[no replies]
Can someone tell me if this is incorrect?
 
I've been at this issue for a bit: Trying to make a endless loop that outputs pseudo-random number...
Jan 15, 2019 at 7:08pm
[18 replies] Last: Thank you, all! The help is much appreciated, and I now have a random ... (by CodeDragon25)
by yat89
Generating two numbers randomly for each row
 
Hi everyone, I got a task which need to randomly choose two numbers for each row . The random chosen...
Jan 15, 2019 at 5:15pm
[11 replies] Last: Hi dutch.. Yes, you're right. I need to choose two values randomly be... (by yat89)
Meaning of Thread and sleep_for()
 
Goodmorning everyone. I'm a beginner in using C++. I have enclosed a code found on web that comput...
Jan 15, 2019 at 2:44pm
[5 replies] Last: > a thread is a process that is executing on your machine. > Specific... (by JLBorges)
Passing functions between classes
 
Hi I am wanting to create a class which has a container of function pointers from varying classes a...
Jan 15, 2019 at 2:30pm
[8 replies] Last: Assuming that all the functions to be called would accept an argument,... (by JLBorges)
Help with my (very basic) code
 
Hello, I am completely new to C++ (used to Python) and needed some advice on my code. I want to t...
Jan 15, 2019 at 2:19pm
[5 replies] Last: some little things to help you along. None of this is 'wrong' div--... (by jonnin)
Build a function that removes the last element of the list.
 
Hello everybody. I have build a code which creates and displays list of cylinders which contains 10 ...
Jan 15, 2019 at 2:10pm
[6 replies] Last: [quote=Grunalin]nullptr is checking if next is not set You cannot saf... (by Peter87)
Writing output into a .txt file from reading input from a .txt file
 
I want to store the output into a .txt file by taking input from an another.txt file where the inp...
Jan 15, 2019 at 9:21am
[3 replies] Last: By the way where did you get this question? (by Grime)
A Pizza Slice (1,2)
 
ChefX showed ChefY his new pizza slice design. The design is a planar figure that can be drawn in th...
Jan 15, 2019 at 8:53am
[29 replies] Last: No I didn't try that also :( It would be great if someone gives hints ... (by LordRiddle)
Int Main explanation please
 
So my question is I am running a main function of my problem is a bool which is asking the playe...
Jan 15, 2019 at 8:32am
[10 replies] Last: const int N = 5; or to be pedantic, constexpr int N = 5 ; Se... (by JLBorges)
Changing min value of array
 
Question link- https://www.hackerearth.com/practice/data-structures/trees/heapspriority-queues/pra...
Jan 15, 2019 at 7:26am
[no replies]
by jb03
Can anyone tell me why this is wrong?
 
I am writing a program that prompts the user of his DNA, prompts the user for the DNA of his relativ...
Jan 15, 2019 at 6:50am
[6 replies] Last: YOU ARE A LIFE SAVER!!! It works! Thank you so much! I did not see tha... (by jb03)
Else If statement help
 
Write your question here. So I understand that we are taking the length of our hidden word and cr...
Jan 15, 2019 at 5:53am
[6 replies] Last: thanks i think i understand this snippet of code (by johanparada)
HELP!!! Confusing Vector Problem
 
Hi yall! I've been working on a problem that takes all the numbers that have been entered into a ve...
Jan 15, 2019 at 5:43am
[6 replies] Last: Solved! Thanks, Grime for the quick fix! Just needed a nudge and now I... (by Eristato)
by Bopaki
This class is written exactly as it is in the textbook
 
Write your question here. #include "person.h" #include "dateType.h" class personalInfo { ...
Jan 15, 2019 at 5:43am
[3 replies] Last: Thank you all!!! I changed personalInfo to personalInfoType and the er... (by Bopaki)
January 2019 Pages: 1... 89101112... 17
  Archived months: [dec2018] [feb2019]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.