print variable
#1

Hi,

I have variable

new Variableeblaa[ 50 ];

Variableeblaa = "54879845464513";

I try to retrieve

printf("%d", Variableeblaa[ 6 ] );
printf("%d", Variableeblaa[ 5 ] );

But it prints by not that number in that slot
Reply
#2

It's a character now, use %c specifier.
Reply
#3

You wanna that show only one number? Try with "%c".

EDIT: Hm, Konstantinos won me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)