Beginners (Page 2)

Invalidating non numeric input entries
Hi, This is one of my first lab assignments. I was to create a very simple program to asks for th...
[3 replies] Last: Thank you (by netomilt)
by Nezar
What does this key specify ?
Hello there, I know that the operator keyword is used to overload operators in classes, but i rea...
[1 reply] : I believe they are called "Conversion Operators", overloading between ... (by Ganado)
Trying to learn string class...function not working as I anticipated
I know the title is rather ambiguous, and I apologize for that. I can give a better explanation of t...
[1 reply] : if (partColor == "B" || "b") This will ALWAYS be evaluated to true, ... (by Ganado)
I need help with an infinite loop for some reason my stopper will not let it exit. #include<iostr...
[4 replies] Last: I got it to work with the while(stopper !=3 && stopper != -1) Thank ... (by mtbrooks1993)
make a pyramid using loops
I am trying to create the pyramid (with 4 rows) using while loops. I think I have the idea correct b...
[1 reply] : Your second two loops should be for loops and they should be on the sa... (by Yay295)
by Rob101
Help with limiting my cin to just integers
Hello All, This is my first post here, and I am about 3 weeks into learning C++. I wrote this pro...
[2 replies] Last: Using exceptions for this is not only overkill, it's downright wrong. ... (by LB)
Error checking for Prime numbers
Hello. For my class I had to write a program that asks for user input of a number. It then checks to...
[6 replies] Last: I changed the test variable to number and now it is working. Thank yo... (by MissPrimrose)
by davez
loop practice
hey guys i need to practice looping can someone give me practice problems using loops heres a list...
[no replies]
Help with Sentinel Value!
I have a couple of issues that i need to fix.This program finds the average of a number desired by t...
[3 replies] Last: #include <iostream> #include <cstdlib> using namespace std; int mai... (by shadowCODE)
Using Reference Types as return objects
I'm a little confused about reference types, I saw in the C++ tutorial on functions that you can pas...
[2 replies] Last: First, I don't think the tutorial ever talked about these "temporary v... (by msknapp84)
how do i store a result in a variable
calculate the value S according to the formula S = (1.0/2)*a*t^2 and store that result in the variab...
[12 replies] Last: wow i cant believe i forgot about that. thanks i finally finished it (by LATCH100)
by Salad7
Whats wrong with this pointer reasoning?
Just when i try to understand pointers =/ int a = 5, b = 10; //A = 5, B = 10 int *p1, *p2; ...
[8 replies] Last: thanks (by Salad7)
How to check for a prime number?
I need to write a program that asks user input of a number, checks if it is prime, and displays a me...
[2 replies] Last: EDIT: I solved this issue. (by MissPrimrose)
by yaaz32
Adding values to a listview1
Hi I'm new to windows programming. I have a numeric drop down and a combo box. How do i use tha...
[1 reply] : You might bet better help on the Windows specific forum: http://www.c... (by Yay295)
Recommended IDE for C++
Hello, I am new to C++ and I have has issues in getting C++ to work with C++. I installed the plu...
[18 replies] Last: I am using DEV C++. I just want to stick with eclipse, (or one ide tha... (by losonnyboy)
Cant execute after validation
Please explain the following error. I enter a valid number after which the program executes and I'm ...
[2 replies] Last: doesnt seem to work either, im pretty sure its just the if an else sta... (by Zenith1900)
by jksdk4
Arrays, file I/O
Hello, I have a question about input and output with files. Unfortunately, file I/O was not touched ...
[8 replies] Last: Much better. (1) It asks for the row number twice because you ask for... (by Duoas)
a big proplem
every time i try to run this program it takes time to start can any body tell me why here is the co...
[2 replies] Last: You might also try adding fflush(stdout); after line 9. The program... (by dhayden)
|| operator combined with = operator
How come || operator works on the right side of = operator(not ==) but not on the left? cas...
[8 replies] Last: Lorence30, see my first post. Nivekrulol, although you can't assign a... (by dhayden)
CodeBlocks compiling source code
hello good day in an attempt to compile the codeblocks source code, after successfully compiled ...
[no replies]
Pages: 1234... 62
  Archived months: [jul2014]

Cannot post in this page. To post a new message, go to the first page.