Link to home
Start Free TrialLog in
Avatar of peterallsop
peterallsop

asked on

£ sign in a printf function

Hi,

I was wondering if anyone could explain to me how to print a £ sign in a printf statement.
The £ sign is not in the ASCII table so just entering.

printf("£");

will not work it prints a u with a line above it. (Cant find the character)

So i was wondering if there were other ways.  Any help would be appreciated.

Thanks

Peter Allsop
ASKER CERTIFIED SOLUTION
Avatar of hongjun
hongjun
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of peterallsop
peterallsop

ASKER

Thanks very much for the quick reply.
This works  

Which charicter table is that using so i can use it again for future reference?
thanks very much for the help