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)
Decodying from int to string message
Hello, I am making a program that asks you to choose a file to encrypt a message to and then encrypt...
[4 replies] Last: Hello mikaylaelena, The "encrypt" function is not what I was thinking... (by Handy Andy)
Please Help My program!
Hey all! I need help with my first program! I made a guess game and i want to have 5 tries and when ...
[1 reply] : First, please use code tags when posting code. See http://www.cplusplu... (by keskiverto)
Print only 20 values from BSTree
Hello, I'm wondering how I can only print 20 values from a Binary Search Tree, recursively. I would ...
[9 replies] Last: n != 0. will work in this function, but I can now see that 0 < n is fa... (by DaRealFonz)
by clbj
calculate molecular weight
i cant figure out why that my program is not correctly calculating the molecular weight of atoms. it...
[10 replies] Last: This looked like a fun problem. I used a regex to remove/expand paren... (by icy1)
File tools
How do I write a program that asks the user for the name of a file? The program should display the f...
[3 replies] Last: Hello flamminghot, When I started writing the program I was trying to... (by Handy Andy)
feel defeated
Hey people I have to get something off my chest,I must say lately I am starting to feel defeated,fir...
[8 replies] Last: Great words @Jonnin , loved your text. Cheers and thanks! (by An Integer)
Problems with converting from node* to node
Can someone please help me understand why my logic is false here? Much appreciated if so! cl...
[3 replies] Last: I didn't notice that all, thank you very much @helios & @MikeyBoy !... (by An Integer)
Tutorial recommendation
Hey, guys! New here. I come from the world of competitive programming and web development. The progr...
[8 replies] Last: Might be worth to have a look into Qt. Sounds like an interesting t... (by UniverseIsASimulation)
Trouble with Arrays
So I am trying to write a code that can take the names and scores of a certain number of people that...
[5 replies] Last: You are working with two different data types for each student record,... (by FurryGuy)
by zapshe
Using string with advantages of regular cin?
Hi - I've coded this calculator. In int main() I'm using "e" as a char so I can use cin.putback(e) -...
[10 replies] Last: This calculator was just something I made so that every time I learned... (by zapshe)
Concatenate Multiple "char*"s
I'm having trouble with some code I'm writing that takes user input from a the console and concatena...
[6 replies] Last: I example I quoted above, where a container has a number of homogeneo... (by TheIdeasMan)
i cant make it return to main choose after making ordering
guys im having problem with the output ,when i make order it doesnt loop it at main choose do you ha...
[15 replies] Last: It seems this course you were taking was crap. Why do you want to give... (by Thomas1965)
Trouble with error Undefined symbols.
Undefined symbols for architecture x86_64: "entrance::rbt", referenced from: entrance::del...
[1 reply] : When you declare a static member variable it's just a declaration. You... (by Peter87)
"error: no matching function for call to 'Dog::Dog(const char [4], const char [5])"
I can't figure out what the issue is here. It occurs on line 60(and 61). #include <iostream>...
[2 replies] Last: Line60: The class Dog does not have an appropriate constructor. You... (by coder777)
by zapshe
std::string::npos ??
Just overcame a huge obstacle in my code - took a while so I'm worn out. Anyway, in solving this mys...
[2 replies] Last: Ah! i see now, that makes perfect sense. The value of npos IS the high... (by zapshe)
iterate through a vector of strings
I'm trying to create a vector by a user entering words, storing these words into a vector, and then ...
[1 reply] : Hi, A few things: The for loop needs to be outside the loop that col... (by TheIdeasMan)
Help with OOP
Hello. I am 14 and I have been learning c++ for about 2 months, and I have now gotten to the object ...
[3 replies] Last: No worries, pleased to help :+) There are quite a few very experienc... (by TheIdeasMan)
Questions on Destructor
1. Why is the destructor called before going out of scope? 2. Why is the statically allocated obj...
[3 replies] Last: 1. There is a bit of confusion in the constructor and lines 60, 61. ... (by TheIdeasMan)
Pages: 123... 50
  Archived months: [jan2018]