Beginners - February 2016 (Page 15)

Need help with destructor and pointers
 
I got my program to initially work, but I realized I was supposed to add a destructor to my Employee...
[7 replies] Last: Because any file that happens to include this file will then be using ... (by jlb)
by froz
Making password requirements.
 
So.. my teacher asked me to make a program that asks for a new password and asks the user to confirm...
[12 replies] Last: Hahaha, that made me laugh, thanks ;) (by froz)
Can't figure out how to make this work.
 
Hi! I recently made a tic-tac-toe program in C++, and I lately thought of more optimized ways to wr...
[2 replies] Last: Thanks! I altered it a bit and got it to work!! do ... (by Harutyun)
char* to char fpermissive error
 
#include<iostream> #include<cstring> using namespace std; char word ; char a ={a}; char e =...
[2 replies] Last: I guess you want to count the number of vowels in a string. Here is on... (by Thomas1965)
Stuck
 
---
[4 replies] Last: Here is the part of the code that is actually executed when you run th... (by keskiverto)
Nested iterator class?
 
Im having a very hard time wrapping my mind around this nested iterator class within a Vector class....
[6 replies] Last: Member parent is a reference. Reference members must be initialized ... (by keskiverto)
Why do I get an error while compiling this code that overloads the addition operator?
 
Hello everyone. I'm just going to get straight to the point. While compiling my c++ source code on o...
[2 replies] Last: Im assuming you want to add the area's of the two objects. In that cas... (by Arslan7041)
Help me!!
 
how to make outputlike this How many number of cylinder = ? Enter height 1 (cm) =10 Enter radiu...
[no replies]
How to Calculate the Mode?
 
For my comp sci class i need to fix code i made for a program that calculates the mode of a specifie...
[1 reply] : You have to store the # of occurrences for each number because there c... (by closed account 2UD8vCM9)
Making descisions using if and else statements. Console shutting down.
 
Write your question here. #include <iostream> using namespace std; int main() { ...
[6 replies] Last: Try: bool ValidAge = false; while (!ValidAge) { if (actualage < ... (by TheIdeasMan)
Color Class Program
 
Hey guys, I have to write a program: "Program 4 - Pick color Class -Create a class that randomly...
[3 replies] Last: Ahhhh caught the error! Thanks guys much appreciated. (by jgialis)
Do while
 
I have a simple question So usually my do while menus will have a basic condition where if the us...
[3 replies] Last: If it's a yes/ no question, just use an if statement. Stick to a sin... (by TheIdeasMan)
by Lucid1
istream problem, file does not open
 
My program below compiles and runs, but does not open NumsIn.txt. The input file (NumsIn.txt) has s...
[4 replies] Last: It is in the same directory and actually, it was something even simple... (by Lucid1)
NEWB!! Error "Undeclared Identifier"
 
Write your question here. #include <string> using namespace std; int main() { string ...
[3 replies] Last: Thank you all! I appreciate the help. I'm so new to this. You helped a... (by tsilverman)
by asya
Help woth assignment - Class person, with two constructors
 
I need help with this assignment. I need a lot more time to read the textbook and understand it bett...
[11 replies] Last: I changed it a little bit: #ifndef PERSONTYPE_H #define PERSONTYPE_H... (by asya)
by VICR93
Getline Issue!
 
I am having an issue using getline in my for loop. when I use cin the program runs fine. to clarify ...
[4 replies] Last: That did it, Thank you for the help. Hey, just out of curiosity, If I ... (by VICR93)
Counting Char from InFile
 
I must count Characters from a text file I read in. Store them in a Char Array, and then print how ...
[4 replies] Last: I see ... and appreciated. Now on to the next fcn! (by jonrogers44)
Help writing some functions
 
I'm trying to get a head start on some homework, and the functions we're meant to write are a bit mo...
[3 replies] Last: Hi, The i on line 3 is a different one compared to the one on line 8.... (by TheIdeasMan)
Help with .cpp and .h CLASS REUSE
 
Write your question here. Hey guys so I'm trying to get my program to work I'm in the final steps. ...
[2 replies] Last: Thanks Tarik, I tried analyzing it and caught that error I just wasn't... (by jgialis)
by blkpny
Newbie to C++ needs help with Car Race errors
 
I thought I was getting closer to finishing and now, I have lots of errors to fix ASAP! I'm researc...
[12 replies] Last: Hi Guys, thank you so much for your assistance here. (by blkpny)
February 2016 Pages: 1... 1314151617... 46
  Archived months: [jan2016] [mar2016]

This is an archived page. To post a new message, go to the current page.