Forum: C++ Apr 28th, 2005 |
| Replies: 1 Views: 1,337 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 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 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 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 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 |
Forum: C++ Mar 15th, 2005 |
| Replies: 1 Views: 1,544 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 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 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 |
Forum: C++ Feb 27th, 2005 |
| Replies: 8 Views: 2,209 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 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 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 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 |
Forum: C Feb 7th, 2005 |
| Replies: 0 Views: 1,539 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 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 |
Forum: C++ Feb 4th, 2005 |
| Replies: 9 Views: 2,106 |
Forum: C++ Feb 3rd, 2005 |
| Replies: 9 Views: 2,106 |
Forum: C++ Feb 2nd, 2005 |
| Replies: 9 Views: 2,106 |
Forum: C++ Feb 1st, 2005 |
| Replies: 9 Views: 2,106 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 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 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 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 |
Forum: C++ Nov 9th, 2004 |
| Replies: 2 Views: 1,686 |
Forum: C++ Nov 9th, 2004 |
| Replies: 8 Views: 1,490 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 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 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 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 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 |
Forum: C++ Nov 3rd, 2004 |
| Replies: 4 Views: 1,835 |
Forum: C++ Nov 3rd, 2004 |
| Replies: 4 Views: 1,835 |
Forum: C Oct 25th, 2004 |
| Replies: 4 Views: 1,904 |
Forum: C Oct 25th, 2004 |
| Replies: 4 Views: 1,904 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 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 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 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... |