Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for Melkor-1‭

Type On... Excerpt Status Date
Edit Post #291460 Post edited:
about 1 month ago
Edit Post #291460 Initial revision about 1 month ago
Question Testing an opaque type's internals
First: What is an opaque pointer in C? Now when it comes to testing such a type, I know of 3 ways: 1. Include the source file (the one containing the definition of the type and the functions that work with it) directory into the test source file. (This is the easiest, but often discouraged with...
(more)
about 1 month ago
Edit Post #291343 Post edited:
about 2 months ago
Edit Post #291343 Post undeleted about 2 months ago
Edit Post #291343 Post edited:
about 2 months ago
Edit Post #291343 Post deleted about 2 months ago
Edit Post #291343 Post edited:
about 2 months ago
Edit Post #291343 Post edited:
about 2 months ago
Edit Post #291343 Post edited:
about 2 months ago
Edit Post #291343 Initial revision about 2 months ago
Question Github workflow for a C application
This is my first try at automating building and testing some C code for these platforms: Linux Windows MacOS OpenBSD (arm64 and x86-64) FreeBSD (arm64 and x86-64) NetBSD Oracle Solaris OmniOS It just builds and runs the tests with make: ```yaml name: Arena Tests on: [wor...
(more)
about 2 months ago
Comment Post #291199 Is there any benefit of defining MEMPOOL_SIZE and MEMPOOL_ALIGN in the header?
(more)
2 months ago
Edit Post #290971 Post edited:
3 months ago
Edit Post #290971 Post edited:
3 months ago
Edit Post #290971 Post edited:
3 months ago
Edit Post #290971 Initial revision 4 months ago
Question A small header-only input output library
The library (inspired by stb libraries) attempts to provide some commonly used functions (reading a file into memory, determining the size of a file) that are missing from the C standard library portably (for my own use cases). Code: ```c #ifndef IOH #define IOH #include #include #includ...
(more)
4 months ago
Comment Post #290878 About mixing indentation styles, I was following [K&R](https://en.wikipedia.org/wiki/Indentation_style#K&R_style), where *each function has its opening brace at the next line*.
(more)
4 months ago
Comment Post #290878 What functions would you suggest moving to a separate file?
(more)
4 months ago
Edit Post #290857 Post edited:
4 months ago
Edit Post #290857 Initial revision 4 months ago
Question Trie Implementation, Graph Visualization and Auto-Completion in C
Given a list of strings (say a text file containing some C symbols: c-symbols.txt), the program can: 1) Generate a graph of the underlying trie (-p/--prefix can be specified to inspect a specific prefix subtree) with Graphviz dot: ```bash » time ./trie --prefix at --svg c-symbols.txt ./t...
(more)
4 months ago