Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Tiso

Errors! Need ALOT of help.

This topic is 6921 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I just wrote my largest program and 102 plus errors showed up! I''m getting errors that I have no idea what they mean like: "bad suffix on number" and other mumbo jumbo. My C programming knowledge is limited so I need someone who is willing to take the time to walk through it with me. If you''re a nice person who wants to help me email me: maxim_the_3rd_2000@yahoo.com If you can''t help in de-erroring could someone ar least explain what the error listed above means? Someone please help.

Share this post


Link to post
Share on other sites
Advertisement
Well either you''re making lots of errors, in which case you should learn to program, or you''ve made one error which has caused lots of others. Try fixing the first error on the list and recompiling. Quite often if you forget to add a semicolon at the end of a line or close some curly brackets, you end up with a long list of errors because it sets of a chain reaction of errors in the compiler.

I don''t know what "bad suffix on number error" is, but with most C compilers you can just look up the error code in the online help.

http://www.geocities.com/ben32768

Share this post


Link to post
Share on other sites
Well, I know what I''m doing, (I think ) but, these errors just keep appearing! I hav about 9 seperate sections in the program so I decided to break it up. The first section is about finding the hypotenuse of a triangle, it worked fantasticly. Then the second section came, error city. I looked through it, and I even looked up some of the errors, but I don''t see what''s wrong with the line! I plan on making 9 seperate programs that all work like each of the nine sections. If I can get it to work, I''ll compile put it together and hopefully get a working prgram.

But, if somebody still wants to help, feel free to let me know!

Share this post


Link to post
Share on other sites
If you post the first FEW errors and FEW lines of relevent code, there are many people that can most likely help you resolve them. Even though you get 102 errors, you most likely only have a few problems. Bad suffix on a number most likely means you have a number sequence directly followed by a charecter like '1111z' would be illegal.

Mike

Edited by - Vetinari on May 13, 2000 10:35:20 AM

Share this post


Link to post
Share on other sites
Tiso - send me the source.

-----------------------------------------------------------
PCMCIA - People Can't Memorize Computer Industry Acronyms
ISDN - It Still Does Nothing
APPLE - Arrogance Produces Profit-Losing Entity
SCSI - System Can't See It
DOS - Defunct Operating System
BASIC - Bill's Attempt to Seize Industry Control
IBM - I Blame Microsoft
DEC - Do Expect Cuts
CD-ROM - Consumer Device, Rendered Obsolete in Months
OS/2 - Obsolete Soon, Too.
WWW - World Wide Wait
MACINTOSH - Most Applications Crash; If Not, The Operating System Hangs

Share this post


Link to post
Share on other sites
Bad suffix on number means just that; if you typed something like this:

int asdf=1001b;

that would cause an error because ''b'' is not a valid suffix. The valid suffixes are (I think) ''d'' (for double), ''f'' (for single-precision float), ''L'' (for long). There are probably more, look in you compiler docs for more info, but you probably just made a typo. Note that the suffix can be in lowercase or uppercase.

-Liquid

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Bad suffix on number usualy means you tried to start a variable name with a number - ie
int 3side ; - bad can''t start a variable with a number
int side3 ; - good

B

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!