Go to Post I think a lifetime of learning properly and then teaching others and inspiring the youth is more important to myself at least than being on the news for a couple seconds during a voice over. - Elgin Clock [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 14-02-2007, 12:55
tdlrali tdlrali is offline
Registered User
FRC #0469 (Las Guerrillas)
Team Role: Programmer
 
Join Date: Sep 2006
Rookie Year: 2006
Location: MI
Posts: 377
tdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud of
Re: Basic Math Help

Yes, printf does not support floats

Try this: printf("current_height: %u\r", (unsigned int) current_height );

I would strongly suggest not using floats, though.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with math Termite233 Math and Science 4 12-07-2005 04:41
basic pneumatic help needed Anton Programming 4 10-02-2005 16:02
Help programming in Visual Basic xxlshortys Programming 0 06-04-2003 08:54
Math Help!!! Leon Machado IV Chit-Chat 7 16-11-2001 19:38


All times are GMT -5. The time now is 04:48.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi