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)
by liayag
How to index vectors with data stored in a text file.
I have a text file that has information about different cars. 1 2019 Honda Civic Sedan 23000 2 2019 ...
[6 replies] Last: Part 2. The "setw()" allows for the numbers to line up to the right s... (by Handy Andy)
by sedi
use of deleted function
Hi, I have defined two constructors, one default and one with init parameters: Complex(); ...
[2 replies] Last: The ambiguity exists because you've added a copy constructor accepting... (by mbozzi)
c++ student automation
hi add students add classroom changing a student's class delete student delete class i am ...
[no replies]
Console returning wrong char (tic tac toe)
Good evening. I decided to learn coding for the first time a week ago, but I'm already having some i...
[2 replies] Last: It seems, that you have mistakenly confound the assignment operator ( ... (by nuderobmonkey)
Errors in the code
Hi! There are some errors in my code that I don't know how to solve. The rows 73, 74, 99 and 103 gi...
[3 replies] Last: Apparently, shortly after C++14 was finalized, this error was addres... (by Ganado)
Please help solve the problem
hi In this code you can only define a remote. How can I define more remotes by changing the code? ...
[no replies]
by asxxx
Sort matrix
Good morning, I trying to sort matrix but using for loops but I can't find errors. Thanks for tips. ...
[4 replies] Last: Yes, array is a continuous block of memory: #include <iostream> #in... (by keskiverto)
Need help :(
Hi, I just started learning c++ not so long ago. I asked a friend to give me some c++ exercises so i...
[2 replies] Last: The hard part is figuring out what to do if the encoding/decoding caus... (by dhayden)
When You First Started
I have a quite simple question. When you started to learn how to program in general, how did you ...
[9 replies] Last: To be honest: I don’t know. My learning mostly follows unrealistic e... (by highwayman)
by Astra
Avoiding an extensive if statement parenthesis
suppose in your header you had these integers int a = 0; int b = 0; int c = 0; int...
[14 replies] Last: So rather than a,b,c, what you really meant was s1,s2,s3,s4,... At wh... (by salem c)
Removing any element on a list
I want to add a remove feature by accessing any part of the list. for example: I added 3 names Ma...
[4 replies] Last: No, std::list::remove will work no matter how you fill the list. Your... (by Furry Guy)
Why I get a wrong file size with tellg?
Why do I get a file size of 2? As input file, I take my source file. /* streamtest.cpp */ #inclu...
[3 replies] Last: Thank you dutch! (by nuderobmonkey)
by Tck03
Adding a high score to a game
I am working on a dice rolling game, is there any way I can implant a high score into this code? ...
[3 replies] Last: /doc/tutorial/files/ Put the high score in a ... (by Repeater)
by flav32
number of vowels between consonants
I have to get the number of vowels that sit between consonants in a text. The thing is that if I hav...
[2 replies] Last: Thanks!! (by flav32)
Can't get Hello World to print in Visual Studios 2019
Hello all, I recently downloaded visual studios 2019 and am running into an issue that I could not ...
[6 replies] Last: there is a way to set the IDE to have this show up at the end of a ru... (by Furry Guy)
Two problem with String in C
Hello, First of all, I want to ignore the Enter and get the name from the input. Second why the b...
[3 replies] Last: When you want to use C string library functions #include <string.h> ... (by Furry Guy)
DVD Collection program
This program is supposed to utilize two classes. One class is to hold the information for a DVD. The...
[3 replies] Last: #include <iostream> #include <string> #include <vector> #include <iom... (by JLBorges)
by hbcpp
Adding objects to 2D Vector
I want to make a matrix using vector and instead of int I use obejects of the class Fraction How...
[2 replies] Last: It compliles in my pc too, the problem is With this I do iniatialize t... (by hbcpp)
Pages: 123... 26
  Archived months: [oct2019]