|
|||||||
| Programming, Coding, (Web)Design Discuss all your programming or design needs with likeminded people. |
![]() |
|
|
Thread Tools |
|
|
#31 |
|
Zeeky H. Bomb
Join Date: May 2002
Location: Evansville, IN
Posts: 826
Rep Power: 0 ![]() |
What happens when you take out the F? Does it give you an error? Also, you might try going back to using doubles now that you've ironed out some kinks from the original code. Right now I'm thinking that F is the cause of your problem.
- Me |
|
|
|
|
|
#32 |
|
confutatis maledictis
|
pls change ounces, tons, boxes to float also then, and change (tons == 1) to (tons == 1.0f)
__________________
Digitalis 3.3 Athlon 64 3000 // ASUS K8V SE Deluxe // 1024MB PC3200 (2-2-2-10 1T)
ATI All-In-Wonder 9700 Pro // 20" Dell 2005FPW (DVI) M-Audio Revo 7.1 + Philips Acoustic Edge // Klipsch ProMedia 2.1 320/16 Western Digital WD3200KS + 120/8 Seagate 7200.7 NEC ND-3550A 16x DVD±RW + Lite-On 52x24x CD-RW Antec Sonata case // 480W Antec TruePower personal bests || Aq'3: 46796 | 3D'01: 20461 | 3D'03: 6336 | 3D'05: 2677 | PC'04: 4605 | PC'02: 7691,9092,1250 |
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jul 2002
Location: Gurnee Illinois
Posts: 4,677
Rep Power: 0 ![]()
|
OMG THANKS!!!!!!!!!! IT ACTUALLY WORKS PROPERLY!!!!!!!!!!!!!
THANKS SO MUCH!!!
__________________
[color=orange]ASUS P4P800 Deluxe [color=black]-[/color] 2.4C --> 3300mhz [color=black]-[/color] Mushkin PC3200 at 220 5-2-2-2 (cpu limited) [color=black]-[/color] BBAti 9800Pro at 430/375 [/color] [color=black]3[/color][color=gray]D[/color]M[color=black]a[/color][color=gray]r[/color]k[color=yellow]01[/color] [color=black]3[/color][color=gray]D[/color]M[color=black]a[/color][color=gray]r[/color]k[color=yellow]03[/color] 1600*1200 1280*1024 |
|
|
|
|
|
#34 | |
|
Unbiased.
Join Date: Jun 2002
Posts: 4,812
Rep Power: 0 ![]() |
Quote:
To the best of my knowledge the F is only needed for specifying types at declaration time. Anyway, change that last else to elseif and you'll be fine.
__________________
[img][/img] [color=White]Peace be with you, Joe.[/color] Driverheaven Staff Member (Supermoderator) |
|
|
|
|
|
|
#35 |
|
Zeeky H. Bomb
Join Date: May 2002
Location: Evansville, IN
Posts: 826
Rep Power: 0 ![]() |
Yay! I can go to bed now.
![]() - Me |
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jul 2002
Location: Gurnee Illinois
Posts: 4,677
Rep Power: 0 ![]()
|
I think we needed one consists type case.....
__________________
[color=orange]ASUS P4P800 Deluxe [color=black]-[/color] 2.4C --> 3300mhz [color=black]-[/color] Mushkin PC3200 at 220 5-2-2-2 (cpu limited) [color=black]-[/color] BBAti 9800Pro at 430/375 [/color] [color=black]3[/color][color=gray]D[/color]M[color=black]a[/color][color=gray]r[/color]k[color=yellow]01[/color] [color=black]3[/color][color=gray]D[/color]M[color=black]a[/color][color=gray]r[/color]k[color=yellow]03[/color] 1600*1200 1280*1024 |
|
|
|
|
|
#37 |
|
Unbiased.
Join Date: Jun 2002
Posts: 4,812
Rep Power: 0 ![]() |
Oh, damn. Y'all posted right then. Wow. Oh well, if it works, it works, no?
__________________
[img][/img] [color=White]Peace be with you, Joe.[/color] Driverheaven Staff Member (Supermoderator) |
|
|
|
|
|
|
|
HardwareHeaven Extreme Member
Join Date: Jul 2002
Location: Gurnee Illinois
Posts: 4,677
Rep Power: 0 ![]()
|
Yeeehaw!!!!!!!!!!! Time to print this puppy out and go to bed. Thanks Vampy, BRC, and Tosh!!!!!!!! You saved my ass, thanks so much!
__________________
[color=orange]ASUS P4P800 Deluxe [color=black]-[/color] 2.4C --> 3300mhz [color=black]-[/color] Mushkin PC3200 at 220 5-2-2-2 (cpu limited) [color=black]-[/color] BBAti 9800Pro at 430/375 [/color] [color=black]3[/color][color=gray]D[/color]M[color=black]a[/color][color=gray]r[/color]k[color=yellow]01[/color] [color=black]3[/color][color=gray]D[/color]M[color=black]a[/color][color=gray]r[/color]k[color=yellow]03[/color] 1600*1200 1280*1024 |
|
|
|
|
|
#39 | |
|
confutatis maledictis
|
Quote:
Also I think he tried the elseif...PS: Uniformity is key. and you're welcome
__________________
Digitalis 3.3 Athlon 64 3000 // ASUS K8V SE Deluxe // 1024MB PC3200 (2-2-2-10 1T)
ATI All-In-Wonder 9700 Pro // 20" Dell 2005FPW (DVI) M-Audio Revo 7.1 + Philips Acoustic Edge // Klipsch ProMedia 2.1 320/16 Western Digital WD3200KS + 120/8 Seagate 7200.7 NEC ND-3550A 16x DVD±RW + Lite-On 52x24x CD-RW Antec Sonata case // 480W Antec TruePower personal bests || Aq'3: 46796 | 3D'01: 20461 | 3D'03: 6336 | 3D'05: 2677 | PC'04: 4605 | PC'02: 7691,9092,1250 |
|
|
|
|
![]() |
| Thread Tools | |
|
|