Source code - calendar.c

Find C and C++ source code to help you learn to program. You can submit your own code, or you can simply browse and download the code of others.

Index :: Algorithms / calendar.c
calendar.c
resource information
Title calendar.c
URL http://www.cprogramming.com/source/calendar.c
Category 1
Description This program prints a calendar in .txt format for a year. The user enters the year the calendar is for. This calandar will indicate whether or not the calendar is a leap year calendar.
Contact Herman Garcia
Added 08-10-2002 at 01:33 p.m.
Last Updated 08-10-2002 at 06:14 p.m.
rating
Current Rating 4.47058823529412
Rate Resource
 
reviews
Number of Reviews 22
Review this Resource
Reviews:
  • installment loans no credit <a href="https://installmentloans.us.com">greenline loans</a> installment loan <a href=https://installmentloans.us.com>installment loans for bad credit</a>
    posted at 02:08 a.m. on 01-22-2018
  • help me with my geometry homework <a href="https://collegeessayhelp.cricket">maths homework help</a> college essay help <a href=https://collegeessayhelp.cricket>best dissertation writing services uk</a> buy research papers online no plagiarism <a href="https://paperwriting.webcam">writing a paper</a> research essays <a href=https://paperwriting.webcam>essay writing service</a> research papers <a href="https://researchessay.cricket">research papers</a> c assignment help <a href=https://researchessay.cricket>research essay</a>
    posted at 03:56 p.m. on 01-17-2018
  • bad credit cash loans <a href="https://installmentloans.us.com">installment loans for bad credit</a> online installment loans <a href=https://installmentloans.us.com>online installment loans</a>
    posted at 04:49 a.m. on 01-15-2018
  • college essay prompts <a href="https://collegeessays.us.com">pay it forward assignment</a> college essays <a href=https://collegeessays.us.com>college essays</a>
    posted at 05:47 p.m. on 01-13-2018
  • loan <a href="https://loan.us.org">cash advance lenders</a> loan <a href=https://loan.us.org>loan</a>
    posted at 04:48 a.m. on 01-13-2018
  • payday loan <a href="https://payday.us.com">a payday loan</a> a payday loan <a href=https://payday.us.com>payday loans for bad credit</a>
    posted at 12:56 p.m. on 01-12-2018
  • cheap car insurance quotes <a href="https://carinsurance.us.org">auto-owners insurance</a> compare auto insurance rates <a href=https://carinsurance.us.org>compare auto insurance rates</a>
    posted at 08:18 a.m. on 12-24-2017
  • help on essay writing <a href=https://collegeessay.us.com>college essays</a> college essay <a href=https://collegeessay.us.com>college essay</a>
    posted at 12:48 a.m. on 11-06-2017
  • <a href=http://buycialisonline.us.org/>cheap cialis professional</a>
    posted at 07:57 p.m. on 08-31-2017
  • <a href=http://buycialisonline.us.org/>Buy Cialis Online</a>
    posted at 07:35 p.m. on 08-31-2017
  • wh0cd244645 <a href=http://wellbutringeneric.us.com/>citation</a> <a href=http://sildenafilgeneric.us.com/>SILDENAFIL TABLETS 100MG</a>
    posted at 06:31 p.m. on 07-23-2017
  • wh0cd171168 <a href=http://trazodonehcl.us.com/>Trazodone 300 Mg</a> <a href=http://buypropecia.us.org/>Propecia</a>
    posted at 07:28 p.m. on 07-09-2017
  • wh0cd97693 <a href=http://endep.world/>endep</a> <a href=http://serophene.reisen/>serophene</a> <a href=http://kytril.world/>generic kytril</a> <a href=http://benicar.fund/>benicar online</a>
    posted at 06:08 p.m. on 07-09-2017
  • <a href=https://sexchat.us.com/>adult cam</a>
    posted at 07:07 p.m. on 07-02-2017
  • wh0cd849106 <a href=http://buyanafranil.us.org/>Buying Anafranil</a>
    posted at 10:00 p.m. on 05-30-2017
  • 4k7DFt <a href="http://mnbpheuuppdw.com/">mnbpheuuppdw</a>, [url=http://lzermaeahftv.com/]lzermaeahftv[/url], [link=http://lbudctjyydac.com/]lbudctjyydac[/link], http://sdhgwqcftdzw.com/
    posted at 08:00 p.m. on 12-07-2016
  • That's the smart <a href="http://qwelmjbt.com">thnnikig</a> we could all benefit from.
    posted at 03:39 p.m. on 12-06-2016
  • Gosh, I wish I would have had that inmotfarion earlier!
    posted at 10:08 p.m. on 12-05-2016
  • F1ElAq <a href="http://jiomywzmaqqj.com/">jiomywzmaqqj</a>, [url=http://qvgskatvubec.com/]qvgskatvubec[/url], [link=http://mstjgsqpeqpd.com/]mstjgsqpeqpd[/link], http://yudwgegezdli.com/
    posted at 07:21 p.m. on 07-03-2016
  • lbOjdZ <a href="http://igunobvomuft.com/">igunobvomuft</a>, [url=http://udnmoyzvslqr.com/]udnmoyzvslqr[/url], [link=http://ndblkaipikeo.com/]ndblkaipikeo[/link], http://utnbunhmdyse.com/
    posted at 07:30 p.m. on 06-10-2016
  • Useful program. I found that the output looks bad when using Windows text pad but looks very nice when opening it with wordpad.
    posted at 10:47 p.m. on 09-06-2010
  • Looks like the Code is all jumbled up. But I managed to clean up as follows: #include statements are missing the file names: #include <stdio.h> #include <stdlib.h> Also I changed the line which says: for ( day = 1; day <= 1 + day_code * 5; day++ ) fprintf(fout," " ); TO for ( day = 1; day <= 1 + day_code * 4; day++ ) fprintf(fout," " ); Notice 4 instead of 5, which aligns the dates of first line each month better with Text for days of week. Also I changed the line: fprintf(fout," " ); TO: fprintf(fout," " ); Notice 2 spaces instead of one space again to align the dates beter. Try these changes, the out put looks better
    posted at 02:34 a.m. on 02-14-2010