![]() |
|
#1
|
|||
|
|||
C++ Program Print Calendar HELPWell ok the idea of this program is that it will print out the calendar for any given month given to it by user input. I am writing this using PICO under the UNIX system. I get the following error message now and i do not know why:
Segmentation Fault (Core Dumped) It looks exactly like this when ran: mp% assign1 Month and Year? : 5 2005 May 2005 S M Tu W Th F S Segmentation Fault (core dumped) So it does get out the user input, and displays the headers, but for some reason now its pissed at me... i cant figure out why. It was fine before i started playing around with the Return statments at the end of the functions and tried the things that are // in main. Please someone take a look and help me get through this. Thanks alot. Will mean alot for some help. CPP / C++ / C Code:
Last edited by LuciWiz : 09-Sep-2005 at 00:06.
Reason: Please insert your C++ code between [c++] & [/c++] tags
|
|
#2
|
|||
|
|||
|
Your code is unreadable without the formatting. Please read the http://www.gidforums.com/t-5566.html for suggestions on helping us read your posts and get the best info into your request.
|
|
#3
|
||||
|
||||
|
Try adding more output statements to pinpoint where the problem is. Once you pinpoint closer where the problem is, we can tell better what the problem is.
And use code tags not quotes to post code. __________________
Age is unimportant -- except in cheese |
Recent GIDBlog
Python ebook by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Type casts ? | kai85 | C++ Forum | 12 | 23-Jun-2005 12:04 |
| [TUTORIAL] Calling an external program in C (Linux) | dsmith | C Programming Language | 4 | 22-Apr-2005 13:30 |
| fltk-2.0 cvs | Plumb | FLTK Forum | 20 | 13-Nov-2004 07:10 |
| Help with calendar program | mike3340 | C++ Forum | 0 | 18-Nov-2003 20:25 |
| Guestbook error | BobbyDouglas | Web Design Forum | 1 | 16-Oct-2003 22:17 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The