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

Date manipulation question

$
0
0

Apparently I misunderstood the assignment. The original code worked but not the way the assignment wanted.

I have to make an array and fill it with months ie "January", "Febuary", etc.  and use the numeric representation of the month as the index. Then I need to convert the numerical string to a int (probably using atoi). 


Then  read in the data in main in the form of mm/dd/YYYY and pass it to a function that determines the month and returns a 

new string with the month as a word…..

Not sure exactly how to due this.


Viewing all articles
Browse latest Browse all 20

Trending Articles



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