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)
Ofstream is not making an output file
 
Hello everyone, I'm new to the forum world as I have generally in the past just scrolled through ...
[no replies]
While Statement inputs the last input
 
Alright, so this is pretty self explanatory, but the while statement in my program is using the last...
[1 reply] : in line 18 , you declare int response; as int . In line 5... (by shadowCODE)
Is variable declared inside loop a local variable?
 
I just wonder if I declared a variable inside loop like while and for, is this variable a local one ...
[2 replies] Last: Thanks for reply. Just have another question, if I code like this: ... (by buddha87)
by BigPun
Multiple Definition of 'string variable' Compiling error
 
I've been writing code just in main.cpp, but I wish to clean everything up and separate files into h...
[2 replies] Last: Welp, I fixed this one too. Wow. I worked on this for like 3 hours, on... (by BigPun)
Problems with menu
 
Hello everyone, I'm new on this forum and I would not come here to ask for help if I'm not despera...
[6 replies] Last: I can't get it toreproduce that error on my machine but what it means ... (by kemort)
Erasing with Vectors
 
I'm getting an assertation error when I try to compile this code. It's coming from the erase functio...
[1 reply] : Found my error. Problem in the for loop regarding the parameters. (by masschamber)
PasswordFile Program
 
I am getting this undefined reference to `PasswordFile::addpw(UserPw)' I am just getting back into ...
[7 replies] Last: You'll need to have the first go here. To help you though the answer ... (by kemort)
by BigPun
Compiling Error Problem: Could not conver string to bool
 
Here is the exact compiler error: error: could not convert 'user_input.std::basic_string<_CharT, ...
[3 replies] Last: Ahhh. . . I see. Thank you so much! :) (by BigPun)
Result not as expected-- classes, getters, setters and switch.
 
Hi, I'm learning C++. I am trying to write a program to calculate the total surface area and volume ...
[4 replies] Last: Thanks for the advice everybody. Just to be clear, here is my interpre... (by ROCKRIDER50)
How can variables declared with enum be useful?
 
From my understanding, any variables that is declared inside the braces of enum has an internal inte...
[2 replies] Last: ah I understand now, thank you (by abel muro)
How to make efficient interactions between classes?
 
Hey guys, so I'm trying to make a simple console (by console i mean cmd) game where you have a chara...
[6 replies] Last: Hm, I thought I remembered reading that there were other differences b... (by hyperfine)
Username and password
 
I am not a programmer by any means, but for my class we havto do this: Write a program that asks ...
[1 reply] : bump? (by tonyd927)
C++ Program
 
I'm working on an assignment for class. I would like to see if I am close enough to the right path f...
[6 replies] Last: ...your professor grades you on variable names? I can only understand ... (by Ispil)
by Kernul
Finding the max number
 
I'm doing the exercises in this topic: http://www.cplusplus.com/forum/articles/12974/ The one I'm t...
[8 replies] Last: Thank you! I'll exercise on those sorting methods. C: (by Kernul)
Hints with a code creation. (1,2)
 
Hey guys, I'm a young and upcoming potential programmer and while I am starting to understand the ba...
[20 replies] Last: A string is nothing more than an array of chars. Both of these are the... (by admkrk)
by vxk
string reverse
 
The question is to reverse the string using 2 different functions separately , I am not able to get...
[15 replies] Last: @annup30 , you should use std:: to scope to the things in the names... (by giblit)
rewrite the program below using a switch statement
 
I wonder if my codes meet all the requirements here yet ? and How do you rewrite the program below u...
[3 replies] Last: Your code already shows how to convert a double to an int: int my_int... (by Lowest0ne)
How do you convert input into an integer then display them as % (double ) ?
 
How do you convert input into an integer then display them as % (double ) ? For example, if user ...
[6 replies] Last: Hi, Thank you very much, I understand it now. (by Tom01810)
Pages: 123... 55
  Archived months: [aug2014]