Beginners

by admin
Welcome -- read before posting!
 
Welcome to the beginner's forum in C++.com! 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 Duoas)
by r0bot
loop for and pow() function
 
Dear C++ forum. I wish to make a series of numbers in a loop for , where each subsequent number equ...
[3 replies] Last: I got it! thanks a lot! (by r0bot)
Why use friends?
 
I don't see the point in using friends in classes, they are not members, their scope is outside of t...
[2 replies] Last: A class e.g School: has member data students and member functions teac... (by shadowCODE)
by Ch1156
Proper Pointer use
 
I wrote a program to pass a large string to make passing it a point, since passing a number or two i...
[2 replies] Last: The code given by coder777 also has the additional benefit that you ca... (by Peter87)
looping help
 
Hi, I've written the code below and everything works fine, but my question is how can I loop everyth...
[2 replies] Last: Something like this? bool userChoice = false; bool valid... (by Newie0001)
Can a constant be passed to a reference
 
Why does this code work, even though we are passing a constant to a reference? #include <iostream...
[11 replies] Last: I recommend Visual C++ (by shadowCODE)
Program won't run, can't figure out what's wrong...
 
Hi I am C++ student, and have a test coming up tomorrow, and while writing this program I got stuck,...
[7 replies] Last: Thanks a lot dude! what a silly mistake I made. -_- (by matfizkenqim)
by NikD
Storing data in a map of vector<double>'s
 
Hello everyone, I am trying to read a file with a lot of data and store this data in a map with vec...
[11 replies] Last: Hi Rafae11, I tried this method but I get a segmentation violation in... (by NikD)
align text and check if letters are matching on everyline
 
Write your question here. Hello guys, first of all i am really sorry for inconvenience i am very ne...
[5 replies] Last: Hi minomic, i really appreciate ur help and thank you for your concern... (by mastercod3r)
Adding each unit they're current value and letting the user pick as many units as they want
 
Before I go into detail, please do not give me code. I'm only asking for advice as I generally want ...
[1 reply] : I see you are asking for no code suggestions, but I also am kinda lack... (by Spikerocks101)
Bugfix help
 
Write your question here. HI am trying to make a program that evaluates and gives a response base...
[1 reply] : Hello lukecplusplus. I would like to start by saying you code is a bit... (by Spikerocks101)
by leo255
Growable String Array - Getting Seg Fault
 
Hi all, As stated in the title, I'm just trying to write a class with a growable string array. I'm ...
[2 replies] Last: Thanks!!! (by leo255)
by Ch1156
Displaying Japanese text in C++
 
I'm unsure if this is a c++ issue or a Compiler issue, but i believe you should be able to display f...
[6 replies] Last: At all? You aren't getting output? Your output is garbled? What versi... (by Duoas)
Search and replace
 
How would I be able to search for a number and change it in a text file? I looked through many sites...
[3 replies] Last: int n1, n2; string str; get n1; get str; get n2; n2 += 2; write n... (by anup30)
New to C++, have no idea what I am doing
 
So, I'm really sorry if this is the wrong place, or a bad question, I am new here, and to c++. In my...
[3 replies] Last: I think the best way to tackle this is to look for patterns. Consider ... (by deathslice)
by simons
Error in linked list implementation
 
Hi , The code I have pasted is a linked list implentation where I am doing some create/insert/del...
[no replies]
Next step in this program
 
So I've decided that the next program that I'm going to make is a traditional checkered board game. ...
[5 replies] Last: I think I much rather use loops seeing as though as this is a big grid... (by deathslice)
Random program crashes
 
I'm trying to figure out why this program crashes sometimes but then runs successfully other times. ...
[2 replies] Last: You're right, it does! Thanks! (by tylradm5)
stl is missing from the tutorial?
 
Hey I love this website. The explanations here are terrific. But I miss something. I have to lear...
[2 replies] Last: > Is it included in the tutorial, and I just missed it? It is not inc... (by JLBorges)
Pages: 123... 106
  Archived months: [oct2014]