Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
car
- Page 1
Re: Top industries that use automation
Programming
Software Development
2 Months Ago
by Reverend Jim
… where I stand yet on self-driving cars. Asking your
car
to drive you from point A to point B and… giving control to the
car
is automation. Asking for an optimal route where the system…
Re: Time for some humour before Jan 20
Community Center
Geeks' Lounge
2 Months Ago
by Salem
I found an advert for a really nice looking DeLorean
car
. I asked about the mileage, and they replied it was only used from time to time.
Re: Odd but True Facts
Community Center
Geeks' Lounge
1 Month Ago
by Reverend Jim
… how to enter the price (thanks youtube). But because the
car
was made in the US I had to enter the…
Re: Odd but True Facts
Community Center
Geeks' Lounge
1 Month Ago
by Salem
> But because the
car
was made in the US I had to enter the …
car rental app in Python
Programming
8 Years Ago
by Fitzwilliam_1
Car
Rental will rent cars to their customer. They…20% diesel, 10% electric and 20% hybrid. When a
car
is not rented it is available to the customer to… rent. Once a
car
is rented the
car
is assigned to the customer, and removed …from the rental pool. When the
car
is returned by the customer it is assigned back …
CAr
Programming
Software Development
12 Years Ago
by gAdIs90
…d",&
car
[j].qd,&
car
[j].qm,&
car
[j].qy,&
car
[j].qh,&
car
[j].qmin);
car
[n].parked=0…",&
car
[n].ed,&
car
[n].em,&
car
[n].ey,&
car
[n].eh,&
car
[n].emin);
car
[n].parked=1…4d %2d %3d",
car
[i].plate,
car
[i].ed,
car
[i].em,
car
[i].ey,
car
[i].eh,
car
[i].emin,
car
[i].parked); } printf("…
Car
Programming
Software Development
7 Years Ago
by Dietrich_1
… } /** Returns the current mileage on the
car
. @return mileage on
car
*/ public double getMileage() { return mileage; …return gasNeeded ; } /** Returns true if the
car
has enough gas in the tank to drive …
Re: Car
Programming
Software Development
7 Years Ago
by stultuske
… you need to refill or not. Just like a real
car
, the low-on-gas light starts blinking when you are…
Re: car rental app in Python
Programming
8 Years Ago
by Fitzwilliam_1
…self.carType = raw_input("Please enter your
car
type") numCarsRented = raw_input("Please …quot;, self.__petrolCars print "remaining Petrol
car
is :", self.__petrolCars - numCarsRented print …quot;, self.__desielCars print "remaining Diesel
car
is :", self.__desielCars - numCarsRented print …
car rental program
Programming
Software Development
13 Years Ago
by surajdevesan
… int distance1() { return distance; } void copy(int r,
car
ob2) { strcpy(name,ob2.name); no=ob2.no; strcpy….dat"); break; } int r; filin.close();
car
ob3; ofstream filin1(ab,ios::binary|ios::app); ifstream …
Car class and Constructor
Programming
Software Development
13 Years Ago
by mags11
…X // CISC115 // Chapter 6, Programming Challenge #2
Car
Class. // 3/10/2012 public class CarDemo {…int accelerate; int brake; String c; {
Car
c = new
Car
(2012, "Mercedes-Benz S55 AMG");…} // other code to accelerate or decelerate {
Car
c = new
Car
(2012, "Mercedes-Benz S55 AMG");…
Re: Car class and Constructor
Programming
Software Development
13 Years Ago
by ztini
…this: [CODE] // year, make/model, current speed
Car
car
= new
Car
(2005, "Jeep Wrangler Rubicon", 0);[/CODE] Line…to? Lines 18-21 [CODE] String c; {
Car
c = new
Car
(2012, "Mercedes-Benz S55 AMG");[/CODE]… were probably looking for something like this: [CODE]
Car
car
= new
Car
(2012, "Mercedes-Benz S55 AMG", 0);…
Re: Car class and Constructor
Programming
Software Development
13 Years Ago
by mags11
… 0; int accelerate = 5; int brake = 0;
Car
car
= new
Car
(2012, "Mercedes-Benz S55 AMG", 0); speed…)); System.out.println("Now the " +
car
.getYearModel() + " " +
car
.getMake() + "\n is going " +…
Car dealer system
Programming
Software Development
17 Years Ago
by kazek
…bus file } }//end function }; class
Car
:public Vehicle{//
car
class private: public: //void select_car(); …int main(){ Vehicle V1;//selection object //
Car
C1;//
car
object V1.select_category(); // C1.display_cars();…
Re: Car Class Homework HELP!!
Programming
Software Development
15 Years Ago
by C++ Beginner
…(); float getGasTank(); float getTrip(); float getGasRemaining(); double getGasMileage(); }; int main() {
car
cars; string carsMake, carsModel, carsOwner; int carsDoors; float carsMileage, carsGasTank…
Re: Car Class Homework HELP!!
Programming
Software Development
15 Years Ago
by C++ Beginner
…(); float getGasTank(); float getTrip(); float getGasRemaining(); double getGasMileage(); }; int main() {
car
cars; string carsMake, carsModel, carsOwner; //int carsDoors; float carsMileage, carsGasTank…
Re: Car Class Homework HELP!!
Programming
Software Development
15 Years Ago
by C++ Beginner
…(); float getGasTank(); float getTrip(); float getGasRemaining(); double getGasMileage(); }; int main() {
car
cars; string carsMake, carsModel, carsOwner; int carsDoors; float carsMileage, carsGasTank…
Re: Car class and Constructor
Programming
Software Development
13 Years Ago
by mags11
…= 0; int accelerate = 5; int brake = 5;
Car
car
= new
Car
(2012, "Mercedes-Benz S55 AMG", 0); speed…accelerate)); System.out.println("Now the " +
car
.getYearModel() + " " +
car
.getMake() + "\n is going " +…
car arrayobjects
Programming
Software Development
13 Years Ago
by blake81
…} /** * Accesses Year model * @return year model of the
car
*/ public int getYearModel() { return yearModel; } /** * Changes Make… public boolean equals(Car2
car
) { if (
car
instanceof Car2) Cars D = (Car2)
car
(this.newYearModel(), this…
Re: car cann't move in the race
Programming
Software Development
15 Years Ago
by VernonDozier
… are at the following (row, col) locations.
Car
1 (3, 4)
Car
2 (4, 4)
Car
3 (3, 3) Let's say moving…) - legal (no cars in the way)
Car
2 (3, 4) - illegal (
car
1 in the way)
Car
3 (2, 3) - legal (no cars… from the original position yields this:
Car
1 (3, 3) - illegal (
car
3 in the way)
Car
2 (4, 3) - legal (no cars…
Car Class Homework HELP!!
Programming
Software Development
15 Years Ago
by C++ Beginner
… class that defines a
car
. The
car
class stores the following data about a
car
: [B][U]Member… #include <string> using namespace std; class
car
{ private: string make, model, vin, owner; int…float getGasRemaining(); double getGasMilease(); }; int main() {
car
cars; cout << " Please enter Make …
Re: Car class and Constructor
Programming
Software Development
13 Years Ago
by stultuske
well, you still are passing 0 as a parameter, since that constructor shouldn't take a speed parameter, that's wrong. how did you change your
car
code, how did you change your main method and what is the exact error message you get?
Re: car cann't move in the race
Programming
Software Development
15 Years Ago
by VernonDozier
…..... } } > and class Race public class Race { int array[][];
Car
cars[]; ..... public boolean isOccupied(int row, int col){ if ([COLOR… there should be one `Race` object and many `
Car
` objects. The `
Car
` objects need to be passed the `Race` object …
Re: Car Class with constructors and accessors
Programming
Software Development
15 Years Ago
by mandofl
…(); int getModel(); int getSpeed(); void Accelerate(); void Brake(); void displayMenu(); };
Car
::
Car
(int YearofModel, string Makeby, int Spd) { YearModel = YearofModel; Make = … get the year of the
car
. int
Car
::getModel() { return YearModel; } //To holds the
car
actual speed. int
Car
::getSpeed() { return Speed; } //To …
Re: Car Class Homework HELP!!
Programming
Software Development
15 Years Ago
by C++ Beginner
…;iostream> #include <string> using namespace std; class
car
{ private: string make, model, vin, owner; int doors; float … float getGasTank(); float getTrip(); float getGasRemaining(); double getGasMilease(); }; int main() {
car
cars; string carsmake; cout << " Please enter Make…
Re: car arrayobjects
Programming
Software Development
13 Years Ago
by Nimrod7676
You have to end 'block' by insrt ; > Cars D = (Car2)
car
; Good luck!
Re: car arrayobjects
Programming
Software Development
13 Years Ago
by zeroliken
> Cars D = (Car2)
car
you don't have a Cars class, don't initialize with a class that doesn't exist
Re: car class direction
Programming
Software Development
14 Years Ago
by slvrmoon32
… speed of the
car
*@param model, model of the
car
*@param brand, brand of the
car
*/ //to use this
Car
car
= new
Car
(5.0, accord…, honda); public
Car
(double speed, String…
car cann't move in the race
Programming
Software Development
15 Years Ago
by eng_mary
hi every one suppose i have a
Car
class [CODE]public class
Car
{ [INDENT]int speed; int id; .. public void move(){ .... }[/…class [CODE]public class Race{ [INDENT]int array[][];//contains
car
ids in race or 0 for none [/INDENT] [INDENT… in move() it should know whether there's another
car
infront of it or behind it. how can i …
Re: Car Class Homework HELP!!
Programming
Software Development
15 Years Ago
by jonsca
…] string carsmake; cout << " Please enter Make of
car
: "; cin >> carsmake; //taking into your temporary // (this… presumes a one word
car
make btw) cars.setMake(carsmake); //passes in through your method…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC