Go to Post When I encounter Dave at competitions and meetings, I find him to be kind, helpful, almost too nice. When I read his hints, I find him to be EVIL! - Ken Loyd [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
  #1   Spotlight this post!  
Unread 17-01-2008, 23:06
compwiz2008's Avatar
compwiz2008 compwiz2008 is offline
Registered User
FRC #2139
 
Join Date: Nov 2007
Location: Las Vegas, Nevada
Posts: 11
compwiz2008 is an unknown quantity at this point
printf() syntax and parameters

I've been looking at using the printf() function to display joystick values, but I'm a little confused about the proper syntax and parameter usage to make the code work. I want to do the following:

Result text in IO:

X 126 Y 250 (Where 126 is the value of p1_x and 250 is the value of p1_y)

Could anyone enlighten me on this issue?
 


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
Syntax Error: externs, structs, and macros Astronouth7303 Programming 3 16-02-2005 15:39
Default Code and printf WilsonDJ00 Programming 2 22-01-2005 16:39
printf and newlines Jeff McCune Programming 5 21-02-2004 21:09
printf isn't printf-ing. Help! Meandmyself Programming 14 15-02-2004 16:27


All times are GMT -5. The time now is 13:52.

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