udemy-cpp : added given partial solution to excercise 01
parent
afc4c14e54
commit
9243fd9764
|
@ -0,0 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
|
||||
namespace Ad
|
||||
{
|
||||
namespace Constants
|
||||
{
|
||||
|
||||
constexpr std::int32_t EGO_VEHICLE_ID = -1;
|
||||
|
||||
} // namespace Constants
|
||||
} // namespace Ad
|
|
@ -0,0 +1,6 @@
|
|||
#include <cmath>
|
||||
#include <cstdint>
|
||||
#include <iostream>
|
||||
|
||||
#include "AdConstants.h"
|
||||
#include "AdFunctions.h"
|
|
@ -0,0 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
#include "AdTypes.h"
|
|
@ -0,0 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include "AdConstants.h"
|
|
@ -0,0 +1,14 @@
|
|||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include <numeric>
|
||||
|
||||
#include "AdFunctions.h"
|
||||
#include "AdTypes.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
auto ego_vehicle = Ad::Data::init_ego_vehicle();
|
||||
Ad::Visualize::print_vehicle(ego_vehicle);
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue