| 36 | }; |
| 37 | |
| 38 | std::vector<StockIndex> GetIndices() |
| 39 | { |
| 40 | StockIndex dax{"DAX"}; |
| 41 | dax.setPoints(13'052.95); |
| 42 | dax.setPoints(13'108.50); |
| 43 | |
| 44 | StockIndex dow{"Dow"}; |
| 45 | dow.setPoints(29'080.17); |
| 46 | dow.setPoints(29'290.00); |
| 47 | |
| 48 | StockIndex sp{"S&P 500"}; |
| 49 | sp.setPoints(3'537.01); |
| 50 | sp.setPoints(3'561.50); |
| 51 | |
| 52 | return {dax, dow, sp}; |
| 53 | } |
| 54 | |
| 55 | int main() |
| 56 | { |