CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

printf and PCW different versions?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
arrow



Joined: 17 May 2005
Posts: 213

View user's profile Send private message

printf and PCW different versions?
PostPosted: Wed May 10, 2006 5:40 am     Reply with quote

Hi

I have the following snippet of code:

Code:

long int Ch0;

Ch0 = 523;
printf("+%2x%2x ", Ch0>>8,Ch0);


Now this works fine with a very old version of PCW (V2.686).

But when I use PCWH V3.242, the code compiles, but does not
give me the same vales on my PC.

Can someone please tell me what I am doing wrong?

Thank you
a.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed May 10, 2006 9:20 am     Reply with quote

Post the output of the old compiler version and also post the output
of the newer compiler.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group