Beginners - October 2014 (Page 24)

Dynamic Array Error
 
I'm working on a program to practice dynamic arrays. What I'm trying to do is have the user input nu...
[1 reply] : It would help if you told us what the error is and what details/error ... (by closed account 48T7M4Gy)
Windows API
 
hello, i am programming a sudoku solver with the windows api. ive created one in a dos window but no...
[no replies]
by Sh0es
Field Not a Modifiable Lvalue.
 
So I am making a class that can be named and display its name using a char array (don't ask me why I...
[no replies]
by HG319
I want to keep printing menu function if user enters wrong number
 
My code works perfectly I just want to know how I can modify my code so if the user enters anything ...
[6 replies] Last: You could use a switch as renthalkx97 suggested. (by megatron 0)
Assignment critique and question.
 
I wanted to let people check to see if I did anything silly or unnecessary. Also I had a question...
[6 replies] Last: Haha, thank you very much shadow. (by mishappp)
Grade arrays
 
I have to make a code that finds the test means and medians of the test scores that are put in. I ha...
[1 reply] : I'm a beginner so would I go about this by like cout << "How many st... (by kathay14)
overloading operators
 
Hello, Could anyone please explain me sequence by sequence about what is happening in this code? Th...
[2 replies] Last: Thank you, i understand the whole code now. (by locksley)
by bender
User input into array
 
I need help on how to store user input into an array. The program needs to store between 1-50(exact ...
[2 replies] Last: #include <iostream> using namespace std; int main() { int size; ci... (by anup30)
C++ Lab Help
 
I was given an assignment for a computer science lab, but am very confused by the problem. Wri...
[1 reply] : The instructions seem clear. We're not going to write the program fo... (by AbstractionAnon)
How to tell when no data has been entered for an array?
 
I have to do a C++ project where I create an array that can take a maximum of 140 characters from th...
[5 replies] Last: some type of error message Be more specific. The compiler tries t... (by keskiverto)
local variable problem
 
Hi i'm making a program that takes the average of 5 judges and drops the highest and lowest to give ...
[13 replies] Last: the problem is that findLowest() and findHighest() never actually get ... (by Esslercuffi)
Linked Lists question
 
Hello everyone, Could you please help with the code below?: - First, I Wonder if I badly man...
[3 replies] Last: Hi JasBeckC head is your starting point, your anchor. Head shows you t... (by Asperadus)
Printing out the alphabet in specific format
 
Can anyone help me print out the alphabet like this: A B C D E F G H I J K L M N O P Q R S T...
[18 replies] Last: Thank you all. The point of my assignment was to learn how to use a wh... (by azl4182)
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 TheKingOfTyrants)
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)
October 2014 Pages: 1... 2223242526... 70
  Archived months: [sep2014] [nov2014]

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