gfactory
Loading...
Searching...
No Matches
TeslaFactory.cc
Go to the documentation of this file.
1#include "TeslaFactory.h"
2
3#include <iostream>
4using namespace std;
5
6void Tesla::go() {
7 cout << " Instantiating Tesla" << endl;
8 cout << " Factory car tesla autopilot[0][0] " << autopilot[0][0] << endl;
9 cout << " Factory car tesla autopilot[0][1] " << autopilot[0][1] << endl;
10 cout << " Factory car tesla autopilot[1][0] " << autopilot[1][0] << endl;
11 cout << " Factory car tesla autopilot[1][1] " << autopilot[1][1] << endl;
12
13 cout << " generalCarVar is " << generalCarVar << endl;
14}
15
17
18// generalCarVar = 2;
19
20 autopilot[0][0] = 0;
21 autopilot[0][1] = 1;
22 autopilot[1][0] = 10;
23 autopilot[1][1] = 11;
24}
double generalCarVar
Definition Car.h:13
void go()
double autopilot[2][2]