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.

Posts by Melkor-1‭

7 posts
77%
+5 −0
Code Reviews 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 Om...

1 answer  ·  posted 8mo ago by Melkor-1‭  ·  last activity 5mo ago by zmzaps‭

Question yaml github ci/cd
77%
+5 −0
Q&A 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: Include the source file (the one containing the definition of the type and the functions tha...

2 answers  ·  posted 7mo ago by Melkor-1‭  ·  last activity 7mo ago by Alexei‭

75%
+4 −0
Q&A Managing a dependency for a C application

One of my applications has a dependency on a stb-library. Now I am publishing this application to Github. Should I: Include the header that was used during development with the code? Have an in...

2 answers  ·  posted 6mo ago by Melkor-1‭  ·  edited 5mo ago by matthewsnyder‭

Question c package
72%
+6 −1
Q&A What's the fastest way to copy, preserving file attributes, on each platform?

I am looking copy files platform-dependently on Linux, Oracle Solaris, MacOS, BSDs, and Windows. I have found some system calls for each platform, namely sendfile(), copy_file_range(), fcopyfile()...

0 answers  ·  posted 6mo ago by Melkor-1‭  ·  last activity 6mo ago by Melkor-1‭

71%
+3 −0
Q&A Are these two function pointer declarations equivalent?

Say I have two functions: FILE* get_input(const char fname[static 1]); FILE* get_output(const char fname[static 1]); And I wish to declare a function pointer and assign it the result of some p...

1 answer  ·  posted 6mo ago by Melkor-1‭  ·  edited 6mo ago by Melkor-1‭

Question c c23 typeof
66%
+2 −0
Code Reviews 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: Generate a graph of the underlying trie (-p/--prefix can be specified to inspect a specific ...

1 answer  ·  posted 10mo ago by Melkor-1‭  ·  last activity 10mo ago by Lundin‭

66%
+2 −0
Code Reviews 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 po...

0 answers  ·  posted 10mo ago by Melkor-1‭  ·  edited 9mo ago by Melkor-1‭

Question c string input output