Beginners (Page 84)

Function Argument Error
Hey so I need to write a program to show functions being called into the main function. When I try t...
[3 replies] Last: ah I swore I checked that but obviously looked at a different one. Tha... (by MrBond90)
Issue with switch statement
I'm having an issue with my switch statement. The functions are supposed to read random access files...
[5 replies] Last: Thanks! All suggestions helped! Also, I figured out why I couldn't k... (by anonymous1126)
This random 2?!
Ok, whenever i input an even number' it keeps adding and additional 2. ex, if i input 22 it should l...
[3 replies] Last: #include <iostream> int main() { int number = 1 ; while( std... (by JLBorges)
vector push_back not working
So this should print 12345, but it actually prints 00000. I cannot figure out why. #include <iso...
[3 replies] Last: Ahhhh gothca, that makes sense. Thanks!! (by pilotnate)
help with arrays and loops
Trying to create a program that has arrays to take grade entered and spit it back in the same order ...
[no replies]
While infinite loop with cin
In the function Decide under my switch-case there is code that will get scores from the user and if ...
[1 reply] : I don't understand the problem? It does say error when you input the s... (by Jacobhaha)
How can I make a program that will read a different amount of input?
I know you probably didn't understand the question, but let me rephrase it in a different way. Let'...
[1 reply] : just add an abort input, that let's you stop reading further variables... (by Darkmaster)
I/O question #2
I tried to get this answered on a separate thread but nothing was satisfactory or concrete. Listed b...
[3 replies] Last: it wouldn't run at all saying that the stream code was invalid somethi... (by smokebaca)
question about inheritance
ok,so i have 3 classes,we'll just call them a,b and c. c is a general purpose class,so a and b both...
[6 replies] Last: Take a look at this and see if it makes sense: (by Smac89)
need some help for fixing this c++ code
hello guys, right now i get some problem in the vector. when i write the code below and run it, i ca...
[1 reply] : You would like to only work with numbers greater than 100 in your dete... (by disturbedfuel15)
cin.ignore() to skip \n intermittently fails
Below is the beginning of a C++ program that uses fstream to write a structure to a binary file. ...
[3 replies] Last: For comments: out on the right side you see a few buttons one of the l... (by Jacobhaha)
Overloading the Assignment Operator
Hello everyone! I was just going through some old code that was in the 'should work on' folder wh...
[4 replies] Last: Thanks! (by geniusberry)
Problem with functions
What am I doing incorrectly?? Create 3 additional functions: progDept, dbaDept and gameDept to handl...
[1 reply] : You didn't make any functions to begin with! Edit: Here is an exampl... (by Mesmaroth)
Linked List - Stack
Hello, I need help because my destructor is not working, I need some help because it is the only thi...
[no replies]
Using Functions to find Circumference, Distance, radius and area
I'm having trouble with the output of this function. i dont know whether i need to have parameters f...
[2 replies] Last: #include <iostream> #include <fstream> #include <cmath> double dista... (by kemort)
Help with GCF and LCM
I am trying to create a program that finds the GCF and LCM of two positive numbers using functions. ...
[4 replies] Last: I've already answered that. Now you need to read the links I gave yo... (by Duoas)
by iluv41
how to increase the size of an array
I have an array that i need to increase the size of depending on the object being used. How would...
[4 replies] Last: "need"? char * temp = new char ; char * foo = new char[max+more] {}... (by keskiverto)
Need help with C++ Program
I have a project due for my computer science class tomorrow. My program has to prompt a user to gues...
[3 replies] Last: Yeah, why would the difference ever be negative?? (by chrisxv)
Help Overloading Increment/Decrement Operators?
I posted this here before with no luck but I am completely stuck. Any hints or guidance would be muc...
[no replies]
by cGuru
File String Replace Algorithm... Please
I adapted the code from the following:
[no replies]
Pages: 1... 8283848586... 106
  Archived months: [oct2014]

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