| ??? 07/23/04 06:22 Read: times |
#74723 - RE: What do you doubt? Responding to: ???'s previous message |
hi,
If the source string contains a '%' you will find yourself in undefined behaviour land. Could you explain, please? As I know, sprintf() has not "source string"; it is defined as: int sprintf(buffer,format_string[,argument...]);If you meant "If the format string contains a '%'" then there is nothing wrong with it: format string contains `%` often and often. If you meant that "If the argument contains a '%'" then there is nothing wrong with it as well - sometimes it may happen that %` is placed into argument which is string itself. Regards, Oleg |
| Topic | Author | Date |
| doub about strutc pointers | 01/01/70 00:00 | |
| RE: doub about strutc pointers | 01/01/70 00:00 | |
| RE: doub about strutc pointers | 01/01/70 00:00 | |
| What do you doubt? | 01/01/70 00:00 | |
| RE: What do you doubt? | 01/01/70 00:00 | |
| RE: What do you doubt? | 01/01/70 00:00 | |
| RE: What do you doubt? | 01/01/70 00:00 | |
| RE: What do you doubt? | 01/01/70 00:00 | |
| RE: What do you doubt? | 01/01/70 00:00 | |
| RE: What do you doubt? | 01/01/70 00:00 | |
| RE: What do you doubt? | 01/01/70 00:00 | |
| RE: undefined behaviour land | 01/01/70 00:00 | |
| RE: What do you doubt? | 01/01/70 00:00 | |
| Still unknown doubt | 01/01/70 00:00 | |
| RE: doub about strutc pointers | 01/01/70 00:00 | |
| Nothing 8051-specific here | 01/01/70 00:00 | |
| RE: Nothing 8051-specific here | 01/01/70 00:00 | |
| RE: doub about strutc pointers | 01/01/70 00:00 | |
RE: doub about strutc pointers | 01/01/70 00:00 |



