I think you're missing a subtraction there Tim...
Campbell Ritchie wrote:
Campbell Ritchie wrote:I don't know whether it still works in C
Not only that, but I misread it as %ls (ell not one) and thought that was a special form of %l for long ints.John Matthews wrote:. . . %1s should be %d. . . .
Tim Moores wrote:Not if used in the main method. Since pointers are specifically required, this tongue-in-cheek approach would (hopefully obviously) not be the best approach.
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- Antoine de Saint-Exupery
Danger, 10,000 volts, very electic .... tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|