![]() |
Suspicious pointer conversion
Ive tried looking the answer up in several places and I can't seem to solve it.
Code:
unsigned int analog=(unsigned int)Get_Analog_Value(rc_ana_in01);PROBLEM SOLVED CLOSE THREAD/NO MORE POSTS |
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 |
Re: Suspicious pointer conversion
thanks, yea I figured it out on my own with the help of a mentor(who JUST showed up) I apprieciate the help.
PROBLEM SOLVED, CLOSE THREAD/NO MORE POSTS |
| All times are GMT -5. The time now is 13:22. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi