Arbus 25 Practically a Master Poster

858

Arbus 25 Practically a Master Poster

854

Arbus 25 Practically a Master Poster

832
got to go, bye abellazm

Arbus 25 Practically a Master Poster

828

Arbus 25 Practically a Master Poster

824

Arbus 25 Practically a Master Poster

820

Arbus 25 Practically a Master Poster

816

Arbus 25 Practically a Master Poster

812

Arbus 25 Practically a Master Poster

808

Arbus 25 Practically a Master Poster

Hello niths,
Words are separated by spaces. Find where the first space occur. The characters preceding the space will give you the word.
Since you want the last word of the string look for the space from the end.

>>abellazm
You are fast in typing.

Arbus 25 Practically a Master Poster

802

Arbus 25 Practically a Master Poster

780......

Arbus 25 Practically a Master Poster

780...

Arbus 25 Practically a Master Poster

780..

Arbus 25 Practically a Master Poster

780.

Arbus 25 Practically a Master Poster

I meant system("copy file.txt folder");
// i gave that as a comment.
For example...

system("copy myfile.txt c:\my\location");
Arbus 25 Practically a Master Poster

You can use system() command to do that.

system("//copy file.txt folder");
Arbus 25 Practically a Master Poster

Yes, by doing so you won't get those errors.

Arbus 25 Practically a Master Poster

782

Arbus 25 Practically a Master Poster

oops sorry, I made a mistake. You cannot have reference to an array. So remove the &.
And also remove it in line 58 and also in lines 202, 204.

addCar(fleet[i]);

So the fleet[] in the main will not be modified by addcar() or any other function.

Arbus 25 Practically a Master Poster

778

Arbus 25 Practically a Master Poster

774

Arbus 25 Practically a Master Poster

770

Arbus 25 Practically a Master Poster

764

Arbus 25 Practically a Master Poster

It shows undefined reference because the functions showFleet, addcar are not "call by reference " functions.

Arbus 25 Practically a Master Poster

756

Arbus 25 Practically a Master Poster

no abellazm, i couldn't check it, i don't have c# compiler and i didn't download some also.

Arbus 25 Practically a Master Poster

746

Arbus 25 Practically a Master Poster

742

Arbus 25 Practically a Master Poster

738

Arbus 25 Practically a Master Poster

732

Arbus 25 Practically a Master Poster

Did you do what myself and abelazm said, modifying the double values with .00 ?
Like this...

double actual_width_adi_height = widht / 12.00;
double result = (actual_width_adi_height * actual_width_adi_height) / 16.00;
Arbus 25 Practically a Master Poster

726

Arbus 25 Practically a Master Poster

I couldn't understand your problem. But i assume that you are not getting the right answer sometimes. Try modifying line 1 like this...

double height_in_feet= 48.00/12.00

can you post your code ?

Arbus 25 Practically a Master Poster

720..

Arbus 25 Practically a Master Poster

720

Arbus 25 Practically a Master Poster

716

Arbus 25 Practically a Master Poster

712

Arbus 25 Practically a Master Poster

704

Arbus 25 Practically a Master Poster

700

Arbus 25 Practically a Master Poster

696

Arbus 25 Practically a Master Poster

692

Arbus 25 Practically a Master Poster

686

Arbus 25 Practically a Master Poster

682

Arbus 25 Practically a Master Poster

678

Arbus 25 Practically a Master Poster

674

Arbus 25 Practically a Master Poster

668

Arbus 25 Practically a Master Poster

662

Arbus 25 Practically a Master Poster

658

Arbus 25 Practically a Master Poster

As waltp said reread the syntax of strcpy(). It should be like this.

strcpy(string,"HELLO");

strcpy( /*character array which will hold the text after copying */ , /*string that is to be copied into another array*/ ) ;

WaltP commented: I could have told him that -- I wanted him to look it up -4
sergent commented: Stop downvoting people WaltP! You are so mean. He was just trying to help! +0