![]() |
|
#1
|
|||
|
|||
How to make a calendarthe programe i want to create is the following:
the user enters the year and the number of day(ex. if you enter 2 the calendar will start from January and monday will have the number 2) then the program displays all months starting with monday as the number you entered the problem i have is that all my months start from monday with number 1.. can we fix this? i am new in c++ soo... heres my code: CPP / C++ / C Code:
Last edited by LuciWiz : 03-Dec-2010 at 15:06.
Reason: Please insert your C++ code between [cpp] & [/cpp] tags
|
|||
|
#2
|
|||
|
|||
Re: how to make a calendar, pls helpYour description is inconsistent with the code you posted:
Code:
Code:
|
|
#3
|
|||
|
|||
Re: how to make a calendar, pls helperhm i mean that the number you enter it will start your month with that number
if you enter 1, monday will start from one. if you enter 2 monday will start from number 2 |
|
#4
|
|||
|
|||
Re: how to make a calendar, pls helpI still don't know what your program is supposed to do and show as output.
Quote:
|
|
#5
|
|||
|
|||
Re: How to make a calendarWell you've got two problems to solve which are kinda related.
1- You need the have the user till you what day of the week January 1st is. 2- Your program will have to continue the weekdays correctly in each successive month. Code:
|
Recent GIDBlog
Planned Network Maintenance on 2013-05-29 by gidnetwork
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to use Calendar control 8.0 with MFC? | hvtin | .NET Forum | 6 | 20-Aug-2004 02:28 |
| Apache Make Fails | beardo | Apache Web Server Forum | 6 | 09-Mar-2004 10:44 |
| What are the best (server)options 2 make an Messenger with c++ client?! | lj1979 | C++ Forum | 3 | 02-Sep-2003 09:14 |
Network Sites: GIDNetwork · GIDApp · GIDSearch · Learning Journal by J de Silva, The