>printf
name a better output function
Printf
Other urls found in this thread:
puts
cout
Cant. Printf rules
>>
snprintf
This guy gets it.
>dubs I mean.
You got me dude
Anything that's not a variadic function (macros don't count since they're compile time).
>security vulnerability: the function
There's a reason it's banned in nearly every style guide
I think you're thinking of something else buddy
echo from nim
I like putStrLn and constructing the String myself
SAY
spotted the perl boomer
nice dubs though
MsgBox
DISPLAY
>dumb Cnile doesn't even know what is wrong with printf
He's probably thinking of scanf
>not just typing "Hello World\n
>
Who are you quoting?
WRITE(*,*)
Is tee an output function?
/dev/null after I echo your waifu.
LOL!!!!!!!!!!!!!!!!!!!!!!!!!!!
HAHA DUDE YOU GOT REKT SO FUCKING HARD BY THIS DUDE!!! WHAT THE FUCK HAHA XD
return
fprintf
format
>I/O
>constructing
also, haskell has no formatting functions lmao
The type-safe version of printf in Idris
System.out.println()
ruby's puts()
...
Based and pajeetpilled
>printf
>doesn't print anything
>so stupid it doesn't even realize I don't own a printer
for me, it's IO.puts
echo
console.log
fmt.Println("Based golang")
>myprintf
System.Console.WriteLine
.
(brainfuck)
Waiting for a book for learning HolyC. I think practicing programming via TempleOS would be a great strategy for some. Unironically learning C at the moment in order to explore TempleOS.
InText_PromptWriteUp(Output: "")
printf('%s%s%s%s%s%s%s%s%s%s%s');
println
>format
(You) mean FORMAT ?
std::cout
Console.WriteLine because there I can insert variables in any order and it doesn't require matching the type of the variable in the format string.
Modern compilers actually emit a warning if you compile that retardation, same if the specifier doesn't match the type of the parameter.
that wouldn't nearly compile.
It is completely valid, they simply made an exception in the compiler itself for this particular function. The absolute state.
printf('%s', argv[1]);
$> ./foo "bar %x %x"
why do you keep using single quotes like that?
Because you may want to write something like this: printf('this: "x" is bad');
force of habit I guess
absolute retard.
checked
but it definitely looks better than escaping the quotes
Cool and all but won't compile in C.
Oh yeah you're right
It's been a while since I wrote C
std::cout
Console.Write();
Cout sucks but I often wish I had something like cin to deal with poorly formatted files.
.
print()
scanf_s()
WriteLn
ejaculation
SELECT [column_name] FROM [database_name];
console.log()
Enjoy waiting forever until the stdout buffer is full or the program terminates.
write(2), the only true POSIX output function you need
dbms_output.putline();
Just kidding. I hope whoever decided that is dead.
write(STDOUT_FILENO,s,strlen(s))