|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
Okay, this has been bugging me for a while.
I'm writing this code to display a calendar. And of course there is something wrong. I can't even test it, because when it compiles I receive the error message: "End of file found." Anyway... here is the code. I hope pre tags work on this post.
...hopefully that turns out right. I was using functions, but I thought that's what was causing the problem, so I took them out. I don't think it has anything to do with missing brackets or semi-colons. What is the reason I'm getting this problem? |
|
|
|
#2 |
|
Guest
Posts: n/a
|
forgot the <, > on the include
oops!
at the top for the #include statement it should read: #include <iostream.h> I forgot the lt's and gt's there. |
|
|
|
#3 |
|
Member (12 bit)
Join Date: Mar 1999
Location: MN or WI
Posts: 3,017
|
Well, if that was copied and pasted, you have a bracket mismatch in there:
if (start < 1) { start = start * (-1); { Instead of if (start < 1) { start = start * (-1); }
__________________
Paul M. Victorey ------------------ I am not responsible for any problems that may arise as a result of following my advice. This includes, but is not limited to, computer failure, loss of data, nuclear war, famine, boils, no clean laundry, your daughter running off with a biker gang, or armageddon. Take my advice at your own risk. |
|
|
|
|
|
#4 |
|
Guest
Posts: n/a
|
Well I got the thing to work thanks for your help. A+ and extracredit. I love school.
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|