#Magic date in cpp
6 messages · Page 1 of 1 (latest)
Magic date in cpp
Hmm, if you're using one variable of type int you can do modular division by 10 aka %10
Or just use string and index it to get digits, even using char array is possible since year is 4 digitis + 1 space for null char
ohh okay tysm :D