/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

nedbatchelder.com
| | eklausmeier.goip.de

[AI summary] This post demonstrates how to filter lines in a file based on specific length criteria using both a Perl one-liner and a C program.
2.3 parsecs

Travel
| |
| | blog.oddbit.com

Overview I was recently working with someone else's C source and I wanted to add some basic error checking without mucking up the code with a bunch of if statements and calls to perror. I ended up implementing a simple must function that checks the return value of an expression, and exits with an error if the return value is less than 0. You use it like this: must(fd = open("textfile.txt", O_RDONLY)); Or:
3.2 parsecs

Travel
| |
| | blog.dornea.nu

[AI summary] The blog post discusses the process of creating and executing a shellcode in C to read a file named 'flag.txt' and dump its content, including assembly code, compilation steps, and execution considerations.
1.8 parsecs

Travel
| |
| | nagekar.com

[AI summary] The article compares Python and C programming languages by implementing a simple TCP socket communication example in both languages, highlighting their differences in syntax, code length, and ease of use.
25.5 parsecs

Travel
|