Quantcast
Channel: Date manipulation question
Viewing all articles
Browse latest Browse all 20

Date manipulation question

$
0
0

I was thinking.

since the date would be manually entered by the user, using cin.getline.  Once entered I would then I would store it in an Array.

I was going to make a function full of "if" statements calling the first two elements in the array and if they == 12 etc.

it would cout " December" . Not sure how to integrate the day and year.


Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>