Search Results

Showing results 1 to 40 of 43
Search took 0.01 seconds.
Search: Posts Made By: hopeolicious
Forum: C++ Apr 28th, 2005
Replies: 1
Views: 1,518
Posted By 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.


#include <fstream>...
Forum: C++ Apr 20th, 2005
Replies: 2
Views: 3,106
Posted By 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...
Forum: C++ Apr 7th, 2005
Replies: 3
Views: 1,750
Posted By hopeolicious
i decared it as a float and now i want to get the average of gallons per mile for all the 5 cars
#include <iostream>
#include <iomanip>
using namespace std;

struct Car
{
int number, miles;...
Forum: C++ Apr 7th, 2005
Replies: 3
Views: 1,750
Posted By 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...
Forum: C++ Mar 17th, 2005
Replies: 3
Views: 3,456
Posted By 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...
Forum: C++ Mar 15th, 2005
Replies: 9
Views: 13,575
Posted By hopeolicious
how can you reorder numbers that are user input using selection sort in a 1 dimension array and output each element
Forum: C++ Mar 15th, 2005
Replies: 1
Views: 1,703
Posted By 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


#include <iostream>...
Forum: C++ Mar 13th, 2005
Replies: 2
Views: 2,159
Posted By hopeolicious
Can someone help me to output each array element

#include <iostream.h>

void array();

const int LIMIT = 50;
float MYARRAY[LIMIT];
float value = 0;
int x;
Forum: C++ Mar 13th, 2005
Replies: 1
Views: 1,718
Posted By 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...
Forum: C++ Mar 1st, 2005
Replies: 8
Views: 2,641
Posted By hopeolicious
this is my new code but i keep getting errors in the purchase() and sell() i can input what i need but it doesnt do like the others and keep going until i quit the program

#include <iostream.h>...
Forum: C++ Feb 27th, 2005
Replies: 8
Views: 2,641
Posted By hopeolicious
[#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);...
Forum: C++ Feb 24th, 2005
Replies: 1
Views: 3,989
Posted By 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...
Forum: C++ Feb 10th, 2005
Replies: 1
Views: 1,491
Posted By 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...
Forum: C++ Feb 8th, 2005
Replies: 0
Views: 1,373
Posted By 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...
Forum: C Feb 7th, 2005
Replies: 1
Views: 1,420
Posted By hopeolicious
How would I find the highest salary salesperson of a list of salespersons
Forum: C Feb 7th, 2005
Replies: 0
Views: 1,864
Posted By 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...
Forum: C++ Feb 6th, 2005
Replies: 4
Views: 2,647
Posted By hopeolicious
I downloaded borland compiler but I dont know how to use it can someone help me
Forum: C++ Feb 4th, 2005
Replies: 9
Views: 2,514
Posted By hopeolicious
Lol I was just looking at that when I was going over it looking for my errors and I was going to change it but I guess you got to it befor me here is my corrected program


#include<iostream.h>...
Forum: C++ Feb 4th, 2005
Replies: 9
Views: 2,514
Posted By hopeolicious
This is the code that I have come up with


#include<iostream.h>
#include<stdlib.h>


int x[25];
int y[25];
int z[25];
Forum: C++ Feb 3rd, 2005
Replies: 9
Views: 2,514
Posted By hopeolicious
I'm confused on how to put n into two arrays x and y prompting the user to only input n less than 25times
Forum: C++ Feb 2nd, 2005
Replies: 9
Views: 2,514
Posted By hopeolicious
Thanx and to let you know getting codes together to complete the assignment wasnt the case the case was I didnt understand fully how to set up the beginning of the code because i didnt fully...
Forum: C++ Feb 1st, 2005
Replies: 9
Views: 2,514
Posted By 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...
Forum: C++ Nov 30th, 2004
Replies: 2
Views: 1,656
Posted By hopeolicious
It is error free but it just doesnt cout for the user to continue or discontinue and it does now stop


#include <iostream.h>
#include <stdlib.h>
#include "simmons.h"
#include <fstream.h>
...
Forum: C++ Nov 27th, 2004
Replies: 3
Views: 2,615
Posted By hopeolicious
I compile with soloris and my problem with undertermined character constant in in my function void letter but i dont see why because when i didnt have it in data files or whatever its called my...
Forum: C++ Nov 25th, 2004
Replies: 3
Views: 2,615
Posted By 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;
Forum: C++ Nov 9th, 2004
Replies: 2
Views: 1,969
Posted By hopeolicious
Wrong program this is the one that runs but it doesnt loop when i want it to and I wanna know how can I make it count the number of words that the user inputs


#include<iostream.h>...
Forum: C++ Nov 9th, 2004
Replies: 2
Views: 1,969
Posted By hopeolicious
#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;
Forum: C++ Nov 9th, 2004
Replies: 8
Views: 1,823
Posted By hopeolicious
ok this is syntax prrof but it is logically wrong
1. my do while statement doesnt work it keeps outputting my output
2. andit counts my vowels and wrods wrong

can someone please help me

...
Forum: C++ Nov 8th, 2004
Replies: 8
Views: 1,823
Posted By hopeolicious
This is what i have but it is like so wrong when I compiled it but I said I was going to post what I had so Imma finish this up and make my corrections and post what I come up with on tomorrow

...
Forum: C++ Nov 7th, 2004
Replies: 8
Views: 1,823
Posted By hopeolicious
Ok I kind of wrote a program of how I think that it goes but i'll have to post it on tomorrow around 1pm I have it wrote in my tablet but its like this

you have to set the message to an array of...
Forum: C++ Nov 5th, 2004
Replies: 8
Views: 1,823
Posted By hopeolicious
like I dont know how this program is suppose to go I had an idea for the case statement but the calclating of the upper and lower and vowels I do not have the slightest clue to how to do any of it
Forum: C++ Nov 5th, 2004
Replies: 8
Views: 1,823
Posted By 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...
Forum: C++ Nov 4th, 2004
Replies: 3
Views: 2,223
Posted By hopeolicious
I dont know what they mean by undetermined character constant


#include <iostream.h>
#include <stdlib.h>

class student
{
char st_name[25];
char st_major[25];
Forum: C++ Nov 3rd, 2004
Replies: 4
Views: 2,215
Posted By hopeolicious
when I compiled it it didnt do anything I didnt get any errors or anything like that it just dont do anything. It is suppose to run the getdata(), processdata(), and the putdata()
Forum: C++ Nov 3rd, 2004
Replies: 4
Views: 2,215
Posted By hopeolicious
#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];
Forum: C Oct 25th, 2004
Replies: 4
Views: 2,238
Posted By hopeolicious
I've replaced the ugly text in this post with something most everybody likes... a kitty:

http://www.cs.fiu.edu/~flynnj/cats/ksw-june99-kitten.jpg

alc6379
Forum: C Oct 25th, 2004
Replies: 4
Views: 2,238
Posted By 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...
Forum: C++ Oct 18th, 2004
Replies: 1
Views: 2,281
Posted By 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...
Forum: C++ Oct 14th, 2004
Replies: 4
Views: 2,129
Posted By hopeolicious
This is my new code to my program


#include <iostream.h>
#include <string.h>
#include <stdlib.h>
#include <iomanip.h>

int x;
char st_name[25];
Forum: C++ Oct 14th, 2004
Replies: 4
Views: 2,129
Posted By 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...
Showing results 1 to 40 of 43

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC