Beginners (Page 5)

Expression must be modifiable lvalue error.
 
I don't quite understand, why? It's on the seconds variable in the if statements. int Math(int &s...
[1 reply] : = assignment == equal to firstpass == true instead of fir... (by shadowCODE)
Classes/Constructors
 
How do I set the name of the classGrades object intro to CSC126? Classes/Constructors //F...
[1 reply] : You have this line in your code. intermediate.setNumStudents(4); Its... (by shadowCODE)
Arrays problem
 
Write a C++ Program, ask user to enter 10 interger values. Display its data graphically by plotting ...
[3 replies] Last: Bit of problem, #include<iostream> #include<iomanip> using namespace... (by Paragon)
Arrays issue involving mean and median
 
The user is supposed to be able to enter the student's grades, and have the program output the media...
[1 reply] : At first glance, the error is telling you that you've tried to access ... (by Keene)
Car Insurance Code issue
 
I'm Trying to get the program to recognize the difference between Basic premium and Premium. I don't...
[2 replies] Last: Please enter BP for Basic policy or P for Premium : Please Enter Dr... (by happy11)
by vxk
Fibonacci number
 
I wrote the following program to check whether a number lies in the series of fibonacci number(s), ...
[11 replies] Last: notice that, long long int x = 45857711578620641784; //not ok long lo... (by anup30)
Problem with enum in class
 
Hello everyone :) . I am doing a class, which will let me to draw signs to my game screen, to help t...
[4 replies] Last: You can keep the definitions inside the header but outside the class i... (by Renthalkx97)
Returning a value.
 
If you return 1 in this code, doesn't readinputrecord = 1? int ReadInputRecord(int &num1, int &...
[2 replies] Last: Yeah, thank you, I should have waited and looked at it more, thanks a... (by mishappp)
unique book id in a library database
 
I am writing a library database management software. I want to make sure that the the book id of on...
[6 replies] Last: I am writing a library database management software. Sounds like rei... (by keskiverto)
Tic Tac Toe: Build Error
 
My program isn't running. can someone please help me find whats wrong and how to fix it? thank you ...
[3 replies] Last: What do you mean by "weird"? Please be specific regarding the problem... (by AbstractionAnon)
by gto
Fibonacci max at 100
 
i will try to explain this as best as i can. let say that the user input 100. i want it to stop when...
[7 replies] Last: #include<iostream> using namespace std; int main() { int range =1... (by anup30)
by mexi
Overfloading operator* for matrix_vector multiplication
 
Hello everyone. I writed a program to multiply a matrix with a vector using operator*. When I compi...
[4 replies] Last: Other problems are: (1) memory leak at line 108. (2) int matrix::n=0;... (by ShodanHo)
Calling a Function help
 
I need help making the program find which car has the highest mpg and also when i run this program i...
[1 reply] : when i run this program it only asks for the input for the first car ... (by coder777)
Creating a Class
 
So I suck at computer programming but really need to pass this class. The other day one of my assign...
[1 reply] : learn basic classes here http://www.cplusplus.com/doc/tutorial/classes... (by shadowCODE)
Tax reduction program
 
Write a C++ program If the person is a landlord the rent collected is added to taxable income, th...
[1 reply] : Question is this right? This is my code If your code outputs what yo... (by shadowCODE)
header guards
 
should i need to include standard libraries in header files? example standard calculator.h #if...
[3 replies] Last: Not necessarily. If you include the same header twice, include guards ... (by NT3)
by Z feng
A very simple program but I can't figure out why it is wrong...
 
I was required to write a function to read the input and store it in a array. However, it didn't wor...
[2 replies] Last: Thank you for the help! Yea, I wish I can use vector to solve it but ... (by Z feng)
Strange Symbols
 
I am writing a number guessing program. I have been debugging along the way to ensure that everythin...
[5 replies] Last: Alright, I have it running smoothly now. Thank you for steering me in ... (by SuperLauraRae)
static_cast<char>
 
Write your question here. Put the code you need help with here. if (num==17) cout << "Nu...
[3 replies] Last: Thanks you guys are a life saver :) (by happy11)
(5+6%4) (1,2,3,4)
 
I think the value of the above expression should be 6.5, but apparently this isn't correct. Can some...
[70 replies] Last: do yourself a favor disch, and lose yourself. done with this post. on ... (by closed account 1CfG1hU5)
Pages: 1... 34567... 102
  Archived months: [aug2014]

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