Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #4K
~4K People Reached
Favorite Forums
Favorite Tags
c++ x 39
c x 4

28 Posted Topics

Member Avatar for hopeolicious

Can someone help me to make my program sort according to the average gallons used per car I keep geting 30 - 40 error when i try to compile it. Also my files do exist. [CODE]#include <fstream> #include <iostream> #include <iomanip> using namespace std; const int MAXCARS = 12; float …

Member Avatar for Dave Sinkula
0
155
Member Avatar for hopeolicious

Can someone help me to figure his out. I have to read in a file that contains employee names, numbers, payrates, and hours. Then I have to calculate the gross andsend everything to an output file. I keep getting this error message "employee.cpp" 69 lines, 1471 characters $ c++ employee.cpp …

Member Avatar for murschech
0
125
Member Avatar for hopeolicious

how do I get my calculations like ex. I want to add up the average gallons used per mile for a car if the car went like 1450 miles and used 62 gallons of gas I dont want it to be a whole number i want it to be like …

Member Avatar for Dave Sinkula
0
178
Member Avatar for hopeolicious

does anyone know the function that will take an array of text and cut it up into words and also cout different words; ex. I prompt the user to input some text and the i send that text to a function that couts each different word on a new line

Member Avatar for Acidburn
0
446
Member Avatar for dallin

how can you reorder numbers that are user input using selection sort in a 1 dimension array and output each element

Member Avatar for Narue
0
325
Member Avatar for hopeolicious

can someone help me to get my program to sort i have the logic but this is my first time doing a sort program and i cant get it to work can some tell me what i'm doing wrong [CODE]#include <iostream> #include <iomanip> using namespace std; void sort(); const int …

Member Avatar for Gnome_101
0
122
Member Avatar for hopeolicious

Can someone help me to output each array element [CODE]#include <iostream.h> void array(); const int LIMIT = 50; float MYARRAY[LIMIT]; float value = 0; int x; void main() { for(x=0;x<LIMIT;x++) { while(value < 999) { cout << "\n\nPlease enter a number: "; cin >> MYARRAY[x]; value = value + MYARRAY[x]; …

Member Avatar for Acidburn
0
132
Member Avatar for hopeolicious

Can someone help me to output the numbers in the array that are user inputted and sort them in ascending order please this is the code i've come up with so far it .... prompts the user no less then 50 elements and a value no more than 999 it …

Member Avatar for Narue
0
109
Member Avatar for hopeolicious

[CODE][#include <iostream.h> void initialize(int& coke, int& pepsi, int& dry, int& hires); void sales_type(char& sale_type, int& brand, int& quantity, int& coke, int& pepsi, int& dry, int& hires); //void clearline(); void purchased(int& brand, int& quantity, int& coke, int& pepsi, int& dry, int& hires); void sell(int& brand, int& quantity, int& coke, int& pepsi, …

Member Avatar for Narue
0
128
Member Avatar for hopeolicious

I know everything that i want to do but i never did a menu before so i dont know how to go about doing so if at all possible can someone post a sample program that uses a menu-selection with subprograms for each. This here is something like what i …

Member Avatar for Narue
0
199
Member Avatar for hopeolicious

This is the code that is suppose to compute the class's average and standard diviation from a file which contains a collection of student ids and corresponding scores from my computer class and assign each student a letter grade. the class can have no less than 7 students and no …

Member Avatar for kon_t
0
162
Member Avatar for hopeolicious

I have to write a program to compute the class's average and standard deviation from a file which contains a collection of student idds and corresponding scores for my computer class. I am to assign each stedent a letter grade as follows: 100-90 = A 89-80 = B 79-70 = …

0
81
Member Avatar for hopeolicious

I downloaded borland compiler but I dont know how to use it can someone help me

Member Avatar for evilsilver
0
107
Member Avatar for hopeolicious
Member Avatar for Dave Sinkula
0
91
Member Avatar for hopeolicious

I want to create a program and send the information i come up with to a data file which already has something in it for Ex. in my data file I have student names and other stuff and in my program i'll find the letter grade of the numeric score …

0
73
Member Avatar for hopeolicious

I have to write a program to read N data items into two arrays, X and Y, of size 25. Calculate and store the products of corresponding pairs of elements of X and Y in a third array, Z, also of size 25. Also, compute and print the square root …

Member Avatar for Dave Sinkula
0
110
Member Avatar for hopeolicious

It is error free but it just doesnt cout for the user to continue or discontinue and it does now stop [code] #include <iostream.h> #include <stdlib.h> #include "simmons.h" #include <fstream.h> const int MAXCHARS = 500; char st_line[MAXCHARS]; char ch_option; int i_va; int i_ve; int i_vi; int i_vo; int i_vu; int …

Member Avatar for jwenting
0
122
Member Avatar for hopeolicious

#include<iostream.h> #include<stdlib.h> #include "simmons.h" const int MAXCHARS = 500; char st_line[MAXCHARS]; char ch_option; int i_va; int i_ve; int i_vi; int i_vo; int i_vu; int i_letters = 0; int i_count = 1; int i_number = 0; int i_vowel = 0; char ch_char; void hope(); void vowels(); void letter(); void mike(); void …

Member Avatar for hopeolicious
0
219
Member Avatar for hopeolicious

[code]#include<iostream.h> #include<stdlib.h> const int MAXCHARS = 500; char st_line[MAXCHARS]; char ch_option; int i_va; int i_ve; int i_vi; int i_vo; int i_vu; int i_word; int i_count = 1; int i_number = 0; int i_vowel = 0; char ch_char; void getdata(); void vowels(); void words(); void putdata(); int main() { do{ getdata(); …

Member Avatar for hopeolicious
0
101
Member Avatar for hopeolicious

Can someone give me a start of my program I have to write a program usig functions that will read in an array of text and using the case statement determine the number of capital and lowercase letters(a, e, i, o, and u's) found in a string of text with …

Member Avatar for Chainsaw
-1
122
Member Avatar for hopeolicious

I dont know what they mean by undetermined character constant [code] #include <iostream.h> #include <stdlib.h> class student { char st_name[25]; char st_major[25]; int i_test1; int i_test2; int i_test3; int i_average; char ch_grade; char ch_option; public: void getdata(); void processdata(); void putdata(); }; int main() { do{ student.getdata(); student.processdata(); student.putdata(); cout …

Member Avatar for vegaseat
0
282
Member Avatar for hopeolicious

[code] #include <iostream.h> #include <string.h> #include <stdlib.h> #include <iomanip.h> class hope { char st_title[25]; char st_website[35]; char st_star[25]; char st_maker[25]; char st_rating[5]; int i_minutes; int i_year; float f_cost; int i_age; char st_status[6]; char st_response[20]; char ch_option; void getdata(); void processdata(); void putdata(); public: void run(); }dvd; void main() { char …

Member Avatar for Narue
0
168
Member Avatar for hopeolicious

It took me about 2 days but I got it lets see if you can do it. Challenge ends on October 27 the program will then be posted for you viewing The program is designed to write a three-structured program in structure form with data members and member functions. In …

Member Avatar for alc6379
1
120
Member Avatar for hopeolicious

This is my program but that I have to put it into structure form but without using member functions but i dont see how I can make it run #include <iostream.h> #include <string.h> #include <stdlib.h> #include <iomanip.h> struct hope() { int x; char st_name[25]; char st_address[75]; char st_color[25]; float f_ccost; …

Member Avatar for Stack Overflow
0
91
Member Avatar for hopeolicious

I have to use a while loop to display everything 3 times and then i have to use a do while loop to do the same thing when i added my while and do while loop it keeps on repeating like a millions times and i cant stop it can …

Member Avatar for subtronic
0
133
Member Avatar for hopeolicious

This is my program but i cant get it to calculate my cost These are my calculations: 1) if the color of the car is blue and the cost of the car is less than 1200 add 10% of the cost of the car to the cost of the car …

Member Avatar for ZuK
0
89
Member Avatar for hopeolicious

This is my new program and it is like so killing me I dont understand all those errors I keep getting // Description: This is program 1 of 3 // Display person name, address, calculated and // actual cost of car and color of car 3x. 1 using the For …

Member Avatar for Stack Overflow
0
91
Member Avatar for hopeolicious

I have to display this prrogram 3 different times using a FOR LOOP but he never showed us how it goes or where it goes I read it in my book and try many different things but nothing works its like it has to display three different people's name and …

Member Avatar for Narue
0
130

The End.