Showing results 1 to 40 of 43
Search took 0.01 seconds.
Posts Made By: hopeolicious
Forum: C++ Apr 28th, 2005
Replies: 1
Views: 1,337
Posted By hopeolicious
Selectoin SOrt

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>
#include...
Forum: C++ Apr 20th, 2005
Replies: 2
Views: 2,150
Posted By hopeolicious
reading records from a file

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,397
Posted By hopeolicious
Re: Calculations

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;
int...
Forum: C++ Apr 7th, 2005
Replies: 3
Views: 1,397
Posted By hopeolicious
Calculations

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: 2,265
Posted By hopeolicious
Listing words in an Array of text

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...
Forum: C++ Mar 15th, 2005
Replies: 9
Views: 10,243
Posted By hopeolicious
Re: C++ Reorder random numbers

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,544
Posted By hopeolicious
Sorting

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...
Forum: C++ Mar 13th, 2005
Replies: 2
Views: 1,736
Posted By hopeolicious
Array

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,386
Posted By hopeolicious
Selecion Sorting

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...
Forum: C++ Mar 1st, 2005
Replies: 8
Views: 2,209
Posted By hopeolicious
Re: Error when tring to run program PLEasE Help

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...
Forum: C++ Feb 27th, 2005
Replies: 8
Views: 2,209
Posted By hopeolicious
Error when tring to run program PLEasE Help

[#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...
Forum: C++ Feb 24th, 2005
Replies: 1
Views: 2,769
Posted By hopeolicious
Program using a Menu Selection with Subprograms

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,292
Posted By hopeolicious
Please Help Me I Need This For Tomorrow

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,154
Posted By hopeolicious
file help

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,196
Posted By hopeolicious
A little help please

How would I find the highest salary salesperson of a list of salespersons
Forum: C Feb 7th, 2005
Replies: 0
Views: 1,539
Posted By hopeolicious
Help creating a data file

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,159
Posted By hopeolicious
Borland Compiler

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,106
Posted By hopeolicious
Re: I just need help starting this program please

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...
Forum: C++ Feb 4th, 2005
Replies: 9
Views: 2,106
Posted By hopeolicious
Re: I just need help starting this program please

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,106
Posted By hopeolicious
Re: I just need help starting this program please

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,106
Posted By hopeolicious
Re: I just need help starting this program please

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,106
Posted By hopeolicious
I just need help starting this program please

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,449
Posted By hopeolicious
Can Someone Tell me why my program does not run

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>

const int...
Forum: C++ Nov 27th, 2004
Replies: 3
Views: 2,236
Posted By hopeolicious
Re: PLease help me to make my program run

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,236
Posted By hopeolicious
PLease help me to make my program run

#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,686
Posted By hopeolicious
Re: How do I make my do while and counting of my words run

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...
Forum: C++ Nov 9th, 2004
Replies: 2
Views: 1,686
Posted By hopeolicious
How do I make my do while and counting of my words run

#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,490
Posted By hopeolicious
Re: I need help

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...
Forum: C++ Nov 8th, 2004
Replies: 8
Views: 1,490
Posted By hopeolicious
Re: I need help

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...
Forum: C++ Nov 7th, 2004
Replies: 8
Views: 1,490
Posted By hopeolicious
Re: I need help

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,490
Posted By hopeolicious
Re: I need help

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,490
Posted By hopeolicious
I need help

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: 1,790
Posted By hopeolicious
slight problem with undetermined character constant

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: 1,835
Posted By hopeolicious
Re: Can someone tell me what wrong with this program it doesn't run

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: 1,835
Posted By hopeolicious
Can someone tell me what wrong with this program it doesn't run

#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: 1,904
Posted By hopeolicious
Re: I did it can U? (a challenge from me to you)

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: 1,904
Posted By hopeolicious
I did it can U? (a challenge from me to you)

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: 1,936
Posted By hopeolicious
Structure Help Please

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: 1,696
Posted By hopeolicious
Re: While and Do While Help

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: 1,696
Posted By hopeolicious
While and Do While Help

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

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 5:08 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC