Thread
:
Suspicious pointer conversion
View Single Post
#
2
26-01-2008, 11:43
JonathanLKS
Code::Blocks
FRC #0610 (The Coyotes)
Team Role: Leadership
Join Date: Feb 2006
Rookie Year: 2005
Location: Toronto
Posts: 36
Re: Suspicious pointer conversion
printf doesn't work that way
You need to have a string, even if your just printing a single int
so you'll need to write it like this
Code:
printf("%d\r\n", analog); //\r\n for newline
__________________
Team 610
[
Co-Leader | Head Programmer | Webmaster
]
We're attending:
Greater Toronto Regional, San Diego Regional, Championship
Code::Blocks IDE for FIRST
JonathanLKS
View Public Profile
Visit JonathanLKS's homepage!
Find all posts by JonathanLKS
Find CD-Media Photos by JonathanLKS
Find CD-Media Papers by JonathanLKS