I'm trying to create a Monopoly - style game in C++ using the Dev-C++ IDE, MinGW compiler. I actually wrote this game in BASIC on a TRS-80 back in the early '80s and it worked fine! I've attached a .txt of the code in question with the error codes given. The errors make no sense to me, and I cannot find an error code list with explanations anywhere. Anyone see anything I'm missing? Any help would be appreciated, and if you would like to see the entire project, I will gladly send it to you. Thanks!
ShaneM 0 Newbie Poster
Recommended Answers
Jump to PostCheck line 265, if there is missing semi-colon..
Jump to PostCan you post a few lines of code around the error line?
Jump to PostI truthfully don't know what the problem is.
Jump to Post
gcc -E file.c > file.i
Arrange for the offending file to be compiled like that. What you'll see in the .i file is your source code AFTER the pre-processor has done it's work. For one thing, it will be much longer because all the include files will be expanded. …
All 13 Replies
invisal 381 Search and Destroy
ShaneM 0 Newbie Poster
invisal 381 Search and Destroy
ShaneM 0 Newbie Poster
invisal 381 Search and Destroy
Duoas 1,025 Postaholic Featured Poster
ShaneM 0 Newbie Poster
Salem 5,265 Posting Sage
ShaneM 0 Newbie Poster
ShaneM 0 Newbie Poster
Salem 5,265 Posting Sage
Duoas 1,025 Postaholic Featured Poster
ShaneM 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.