by admin
Welcome -- read before posting!
Welcome to the beginner's forum in! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duthomhas)
I'm having issues with subtracting a value and iterating during a loop.
I'm trying to create a loop that calculates interest, subtracts it from the balance, and continues u...
[1 reply] : > double calcfuturebalance(double &interestRate, double &balance, doub... (by salem c)
deleting new operator memory
Hi, I have a zybooks online assignment and I'm having trouble doing what it's asking me to do. It w...
[2 replies] Last: Good grief. I am certain that I read 'not all compilers require the br... (by jjordan33)
String to vector
The goal is to take a string like: "a -1 4 -1 -1 -1 -1 -1 8 -1" and turn in into a vector that ho...
[2 replies] Last: > Can letters appear in the middle of the string? If yes, using the ... (by JLBorges)
Unable to add watch on a class variable
I have a string array data declared as a private variable in my class header file and being used in...
[6 replies] Last: The fact that your program even compiles is concerning though Why i... (by nicholasjb1996)
playlist wp
how can i create a playlist player sample under site ?
[no replies]
How to pass a dynamic 2d array as a parameter in C++
I am trying to implement a binary tree as a 2d array. Now I want to the user to enter the required h...
[3 replies] Last: How to pass a dynamic 2d array as a parameter I know I am going to h... (by FurryGuy)
Abstract Class
I am confused, I hope somebody can clarify this for me - Thank You in advance. ABSTRACT CLASS : ...
[2 replies] Last: Your latter hunch is right, it is making two variables. +-----------... (by Ganado)
by kyoo
rock paper scissors shoot
ALSO, if the user were to input a char instead of int, it just loops the ERROR-2A... thanks in adva...
[4 replies] Last: Hello kyoo, Do not edit and remove anything from your original post. ... (by Handy Andy)
"Segmentation fault (core dumped)" Error
-------------------------------------------- Please check the most recent comments for the latest...
[16 replies] Last: Line 127 sorts player 's . So the name "dave" becomes "adev". The loo... (by PiggiesGoSqueal)
by Vetzo
allocating memory vs creation
Hello Forum, As I understand it (please correct me if I am wrong), there is a difference between ...
[4 replies] Last: There are no cases I can think of where it allocates memory that isnt... (by keskiverto)
Fruitful use of reference
Still new to C++ I try to get used to the kind of reference of this site, for example for unordered...
[17 replies] Last: bogus personal data So did I. And I wondered what funny date of birt... (by MikeStgt)
Rolando Flores You are the one who likes to delete after someone helps you, right? See the link be...
[1 reply] : I saw the code before he bugged out, he clearly had no idea how to use... (by FurryGuy)
Lines 8 and 9 are in the wrong order. #include <iostream> void print_reversed_lc_letters( const c...
[3 replies] Last: Maybe he finally did get the memo, he closed his account. (by FurryGuy)
vector<> and erase, insert
Want to use erase(), insert() instead of *iterator = value: It hangs the pc ;) void replace(v...
[2 replies] Last: thanks a million lot!! to you peter, great knowledge (by olefredrik)
by Cairus
int/char stack issue
I am getting an error stating 'error: cannot convert 'char*' to 'int*' in assignment s...
[1 reply] : You have declared stackArray as an int* int *stackArray; but then ... (by Peter87)
Sorting arrays
Hey there, I've just started learning about arrays and I by the help of internet created a code that...
[2 replies] Last: It sorts the elements from lowest to highest by default but you can ch... (by Peter87)
greatest common factor assignment
I need help with my lab. The point of it is to make a program that finds the greatest common factor ...
[2 replies] Last: replaced repeated subtraction by reminder #include <iostream> int ... (by MikeStgt)
How to use the output of a text file
Dear all, I would like to use a fonction to read the value (int) within a text file. The text fi...
[2 replies] Last: if it is always just a zero or one, you can use that to make the code ... (by jonnin)
Pages: 123... 40
  Archived months: [jan2019]