Errors! Need ALOT of help.
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.
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
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
____________________________________________________________www.elf-stone.com | Automated GL Extension Loading: GLee 5.00 for Win32 and Linux
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!
But, if somebody still wants to help, feel free to let me know!
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
Mike
Edited by - Vetinari on May 13, 2000 10:35:20 AM
"Unintentional death of one civilian by the US is a tragedy; intentional slaughter of a million by Saddam - a statistic." - Unknown
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
-----------------------------------------------------------
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
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
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
May 13, 2000 05:18 PM
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
int 3side ; - bad can''t start a variable with a number
int side3 ; - good
B
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement