Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 140569

Add this tag to your question to indicate that you are new to the language of your code. This will often be taken into consideration by reviewers when assessing your code.

9 votes
6 answers
4k views

Singly Linked List C implementation

I'm a C beginner. I'm studying and implementing some data structures. I'd like to get feedback about my style and decisions I made. This is a Singly Linked List. …
MarcoLucidi's user avatar
5 votes
3 answers
2k views

Reading/writing single bits from/to FILE

I'm implementing a Huffman encoding/decoding program and I need a way to deal with single bits. I tried to keep things as simple as possible, I "pack" bits inside a single byte and I have only one i …
MarcoLucidi's user avatar
8 votes
3 answers
2k views

XOR cipher C program

I was learning about getopt to parse command line options and I decided to write this small XOR cipher program for files. It acts as a "UNIX filter" (I guess) since default input and output are stdin …
MarcoLucidi's user avatar
6 votes
4 answers
2k views

Doubly Linked List C implementation

I'm a C beginner. I'm studying and implementing some data structures. I'd like to get feedback about my style and decisions I made. This is a Doubly Linked List. …
MarcoLucidi's user avatar
4 votes
1 answer
309 views

Simple grid for simple games

As my first project in C (and also final project for CS50) I made a Tetris clone using the library ncurses. This is the grid I wrote for the game. I guess it could be easily reused for similar projec …
MarcoLucidi's user avatar
4 votes
2 answers
2k views

Dynamic array C implementation

I'm a C beginner. For a tiny personal project, I was in need of an "auto-growing" array and here it is the implementation. I'd like to get some feedback. …
MarcoLucidi's user avatar
10 votes
1 answer
2k views

Dynamic stack C implementation

I'm a C beginner. I'm studying and implementing some data structures. I'd like to get feedback. This is a stack implemented with an dynamic array. …
MarcoLucidi's user avatar
2 votes
0 answers
86 views

Shell script to manage passwords

To get my feet wet with shell scripting I wrote this "minimal command line password manager" (aka pwm) taking inspiration from the well known pass. It uses gpg and creates a keypair on the first star …
MarcoLucidi's user avatar