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)
C++ Filesystem Path Interator Causing Assertion Failure
I'm attempting to determine if the last element in a filesystem path is a certain value by comparing...
[1 reply] : Shouldn't you guard against empty paths: fs::path::iterator itr = sav... (by keskiverto)
Erase vector items exercise
Hi everyone. I am a student learning C++. I have a the following assignment that I can't get to comp...
[5 replies] Last: lucretia borgese reports again from the nunnery fatuaosa (by againtry)
First 2-D Array (1,2)
Hello again, I have another program which introduced our class to 2D array's. Our book has very litt...
[30 replies] Last: Also, how would I create a function that displays the salesmen that ha... (by CodeNovice01)
by hcool3
Student Report Card
I need some help with a student report card program for school. I am just a beginner and it is prese...
[3 replies] Last: Would someone with experience write some code for me and post it? @h... (by againtry)
Function not returning bool value
Given a list of numbers and a number k, return whether any two numbers from the list add up to k. ...
[3 replies] Last: Thank you so much guys! (by Vijay0753)
Add element to Custom STL Container Class
I am building a RingBuffer Container and I struggling with how I should be using pointers to interac...
[6 replies] Last: ¿how do you distinguish between a full buffer and an empty buffer? ... (by ne555)
Ok, so if I remember correctly, typeid returns some sort of char or maybe it’s a string. For now I...
[2 replies] Last: That actually cleared up a lot of stuff lol. Thanks for putting up wi... (by highwayman)
Ternary expression issue?
Hi. I'm playing around with some simple tutorials that i found online. just so i can get a better ...
[5 replies] Last: If you format ?: like this std::string sloglevel = log_level >= 2?... (by mbozzi)
by hbcpp
Finding the largest element in a vector / array vs vector
I have a school assignment, even though the class teaches C, my teacher said it is ok for me to use ...
[11 replies] Last: #include <iostream> #include <iomanip> #include <string> #include <al... (by lastchance)
How to write destructor ( unique_ptr<T>).
I am working on a custom container class. My main method runs correctly. Iterating the contents and ...
[6 replies] Last: It seems the object is constructed and deleted correctly. You might st... (by Enoizat)
shifting elements in an array
Hi everyone, I know this is a common question, but I've gone through all of the related posts that...
[7 replies] Last: Hello begin01, I understand not being able to change the variable nam... (by Handy Andy)
int to string
Hello, so p=11 which is an int. I convert it to a string and I do the following for loop to displ...
[16 replies] Last: > superiority complex much? I apologize if what I said was in any way... (by highwayman)
normalization of database
Hi everyone. Can anyone explain to me what is meant by 'normalize the database' and what benefit is ...
[3 replies] Last: Obviously you are supposed to research this yourself. You are literall... (by dutch)
by ema897
I'm trying to implement adj matrix, not knowing dimension. Target is to clear a flag using method c...
[9 replies] Last: Can you show the full code and the full problem description if this is... (by dhayden)
I need help in my C++ class.
I am in currently enrolled in a C++ course and haven't taken coding in 5 years. My professor glazes ...
[1 reply] : #include <iostream> int main() { int x = 0 ; // The variable x s... (by JLBorges)
by korede
classes and objects
Write your question here. ave tried to compile my code but the compiler keeps saying error: no ma...
[5 replies] Last: Your class provides only one constructor: class GradeBook { public: ... (by keskiverto)
Special member function as a template?
I am currently reading a book (C++ Templates: The Complete Guide 2e) that explains that a member fun...
[3 replies] Last: I don't see why converting to volatile enables "better matches" Perh... (by Enoizat)
by newGrl
help! multiple files and "undefined reference to"
Hi everyone, This is a school project. I haven't even started and I'm stuck. There two .cpp fi...
[5 replies] Last: Thank you everyone for the replies!! dutch, you were exactly right abo... (by newGrl)
Pages: 123... 22
  Archived months: [nov2019]