i would like adding tow number by postfix
when the inputs like :
5,7
then the out put:
57+
i hope there is recommendable code for that program

I don't understand what you want to do. Can you be more specific?

commented: gasp! you are a supermod and you don't know what postfix is? heavens! +7
commented: Actually, she knows what postfix is, the example the OP gave certainly wasn't, hence the confusion. +13

i am sorry i want to adding two number by postfix please
thank you very much

So you want to combine the two characters from the first string into a second string?

Try a fgets() to get your string of user entered values, and then split on the tokens (strtok() or such) and then perhaps a snprintf().

You might also be able to just remove all the tokens....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.