3 ms·
> You are abstracting your limited experience to be true for all situations. You aren't qualified to comment on my experience. > For a simple example, how wil
by MaxBarraclough 6y ago
> You are abstracting your limited experience to be true for all situations.
You aren't qualified to comment on my experience.
> For a simple example, how will puts print a string without a line termination?
Use fputs. If we're still just writing a simple string, there's no need to reach for a function with format-specifier interpretation.
- IncRnd 6y ago> You aren't qualified to comment on my experience. I think the language barrier made you believe I was personally attacking you. You literally constructed a general argument from a specific statement. That is a logical fallacy called fallacy of composition. If you find yourself printing a string with printf and getting a different result from fputs, it has nothing to do with a newline but with not having checked the string's contents. Ignoring that doesn't fix code with unvalidated input.