Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 668 Bytes

File metadata and controls

27 lines (21 loc) · 668 Bytes

CppSL: C++ Simplify Library

Language License Header-only

CppSL is a small, beginner-friendly, single-header C++ library that simplifies basic console input and output, with built-in validation for numeric input.

Example:

#include "cppsl.h"
using namespace csl;

int main() {
    std::string name;
    input("Enter your name: ", name);

    int age;
    input("Enter your age: ", age);

    out("Hello, ");
    outln(name);
    out("You are ");
    outln(age);
}