ID:259661
 
Well, I was beggining work on a Hospital for my game. I named the file Hospital. I did all my coding and compiled. It turned up some error saying expexted(" or something. I decided the problem wasn't with any of my coding so I tried cutting the code out of the hospital code file and into one of my other files, called main. I then Clicked the check box beside the Hospital code file so it wouldn't be included and everything ran fine! Later on I wanted the code out of the file it was in, so I made a file called NorthHospital. I got the error again. When I made the name just North and took out Hospital it worked again! Is there some problem with using Hospital as a code file name?
Maybe you've #define'd hospital as something, or defined some parts of the word hospital as something.
In response to Jon88
Nothing at all, I only have a few code files in my system right now and I checked them, I am sure I wouldn't have missed something. So im pretty sure thats not it.