Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 09-03-2011, 05:36 PM   #1 (permalink)
Broken In
 
Join Date: Aug 2010
Location: The God's Own Country
Posts: 116
Default C++ programming code for adding day to a date


Hi Geeks,
I would like to know how to add a day number to a date and print the changed date.
For example if the entered date is 28 -03-2011 and the number of days to be added is 5 then the program should print 02-04-2011.
Can anybody give the code..?

---------- Post added at 05:36 PM ---------- Previous post was at 09:45 AM ----------

Anybody there.....?
__________________
AMD Athlon II X4 635 || Asus M4A78LT-MLE || Kingston 2X2GB 1333MHz DDR3 || WDC Green 500GB || CM Elite 310 || Dell E2010H
manujohn is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 09-03-2011, 07:13 PM   #2 (permalink)
In The Zone
 
webgenius's Avatar
 
Join Date: Oct 2006
Posts: 394
Default Re: C++ programming code for adding day to a date

Homework problem?
Why don't you tell us what you have tried till now? No one will do your homework.
webgenius is offline   Reply With Quote
Old 10-03-2011, 12:08 AM   #3 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default Re: C++ programming code for adding day to a date

@OP only genuine questions will be answered here

i wont repeat these :: "Help needed" visual web developer 2008(asp.net c#)
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
arpanmukherjee1 is offline   Reply With Quote
Old 10-03-2011, 06:40 PM   #4 (permalink)
Broken In
 
Join Date: Aug 2010
Location: The God's Own Country
Posts: 116
Default Re: C++ programming code for adding day to a date

Coded it self, and yes it was a home work problem.
__________________
AMD Athlon II X4 635 || Asus M4A78LT-MLE || Kingston 2X2GB 1333MHz DDR3 || WDC Green 500GB || CM Elite 310 || Dell E2010H
manujohn is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Sarath
- by clmlbx
- by clinton

Advertisement




All times are GMT +5.5. The time now is 12:24 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2