Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oneo.c – Single-File C Learning Library

Oneo is a lightweight, single-file C library aimed at making learning C easier. It provides utilities, macros, and patterns to help understand core C concepts quickly.

Features

  • Helpers for type-aware printing
  • Safe dynamic array
  • Simple memory management

Usage

Include and use directly:

#include <stdio.h>
#include "oneo.c"

int main() {
    prompt("insert name: ");
    string name;
    scan(string, &name);
    
    prompt("insert age: ");
    int age;
    scan(int, &age);

    print("Person is called ", name, " and is ", age, " years old");
}

About

Small library focused on making learning c programming easier abstracting away just the unimportant parts

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages