@RLeRoux64 2/2
TOTAL_DRINKS is useless, prefer std::size(VendingMachine)
VendingMachine init doesn't require indices or an explicit size.
Lose the raw loop. See C++ Seasoning by Sean Parent.
Prefer std::array over C-array. Or std::[unordered]map, keyed on the name, but you lose ordering.
@RLeRoux64 1/2
Lose the ={} initialisation for member variables, {} is enough. IIRC there's a proposal for PODs to be default initialised by default in C++29.
You don't need the "return 0;"
Rename Drink::Total_Drinks to available_count? Otherwise it's confusing cf TOTAL_DRINKS.
@drsessasarasota@RepBrianFitz *affects.
Also, prices had almost recovered after Russia's invasion of Ukraine.
The current high is caused by the attack on Iran.
Russia buys arms from Iran.
America's diesel purchase funds Russia, and therefore Iran.
Why can't US just buy from Canada, eh?
I love this Japanese TV News report about Count Binface taking on Nigel Farage in the Clacton by-election: 😂
Farage has managed to make himself look bad globally. 👍
@archer_rs Here the original showing him giving a nod to the assembled press pack to say he's about to start his performance.
The man is a total phoney.
Clacton residents on Nigel Farage calling a byelection,
Man, "He's done nothing in Clacton so far, so I don't see the point"
Lady, "He promised all these things and has gone back on his promise. He's in it for himself"
@sama "there should be a protocol that is equally usable by people and agents"
Why?
What's wrong with HTTP/HTML/Human languages?
I was told by Agentic AI propag^H^H^H^H^H^Hevangelists that AI can do whatever humans can.
Just build the protocols for people.
Or was it just a lie?