Step 3 of 5
Array / vector of records
Initialize several products in memory before persisting them to disk.
std::vector<Producto> inventario = {
{1, "Teclado", 25.50},
{2, "Mouse", 12.00},
};
Step 3 of 5
Initialize several products in memory before persisting them to disk.
std::vector<Producto> inventario = {
{1, "Teclado", 25.50},
{2, "Mouse", 12.00},
};