c - string concatenation -


I have nested for the loop and I need to change the output in the string. How do I do this?

For example, my loop returns hundreds of numbers:

 192 168 11 248 192 168 11 24 9 192 168 11 250 1 9 28 168 11 251 192 168 11 252 192 168 11 253 192 168 11 254 192 168 11 255 

How do I add each value to 192.168.11.248 and so on.

Basically every value must be converted from integer to string.

As it is homework, I will not completely code, just a few tips: the functions you perform Looking for, the safer version of it is its advantage that you can combine and dots with it too.

Alternatively, you can combine, but itao is not a standard function.


Comments