r/CLI • • 13d ago

C program

Post image

Kali Linux terminal c linker program

0 Upvotes

10 comments sorted by

1

u/Key_River7180 13d ago

Cool so like ln? Are u rewriting coreutils or what?

2

u/RickUG 13d ago

I just started learning c

1

u/RickUG 13d ago

Yeah from linux system programming

1

u/PayOptimal7261 12d ago

This was satisfying as Ive started kings books 2nd edition. Paired with some other stuff. Guess I'm not alone 👍

1

u/CoderStudios 12d ago

The Clauder has been here too, oh no 😥 he’s spreading

-1

u/Saturno13165 13d ago edited 13d ago

bro is using stdbool where he could’ve easily used 1 and 0 lol

Edit: I meant to say, not that stdbool should not be used, but that for such small code and usage, there is no true need for stdbool.h and not including it and using 0 and 1 would be better

2

u/Key_River7180 13d ago

It's nicer and produces warnings when misused

2

u/Saturno13165 13d ago

but not needed for this small code. It is one extra header for something which doesn't truly need it

1

u/AllNamesAreTaken92 13d ago

Which is good practice, no?

0

u/[deleted] 13d ago

Get this guy working for Anthropic! Claude needs to learn from the best!