Skip to content

ohwada/MAC_cpp_Samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAC C/C++ Samples

C++ sample codes for MAC

Prerequisites

FileUtil

  • read and write Text File
  • parse file fullpath to dir name, file name, file extension

###ConsoleUtil
emulater for kbhit function of Windows
display progress in stdout

string util

utility for string

Class

C++ Class Sample
display exam score of each students

queue

Queue and Stack

regex

RegularExpressions

callback

callback function

binarry

decimal_to_binary

calendar

Calendar Utilty

cmn-clib

C utility libraly

Clara

A simple to use, composable, command line parser for C++ 11 and beyond

libev

Asynchronous event library

libpcap

Portable library for network traffic capture

libyaml

YAML Parser

mysql

Open source relational database management system

mysql-connector-cpp

MySQL database connector for C++ applications

mysqlpp

C++ wrapper for MySQL's C API

soci

Database access library for C++

mongodb

a source-available cross-platform document-oriented database program

redis

Persistent key-value database, with built-in net interface

libsigc++

Callback framework for C++

fmt

Open-source formatting library for C++

nodejs_http_parser

http request/response parser for c

pcre

Perl compatible regular expressions library

sobjectizer

An implementation of Actor, Publish-Subscribe, and CSP models in one rather small C++ framework

RESTinio

Cross-platform, efficient, customizable, and robust asynchronous HTTP/WebSocket server C++14 library with the right balance between performance and ease of use

cwebsocket

High performance websocket client/server in ANSI C

tinytinyhttpd

tiny tiny httpd written in C.

Catch2

A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11

Urdl

cross-platform C++ library for downloading web content using a URL.

httpparser

Simple and fast HTTP request, response and urls parser written in C++

gmp

GNU multiple precision arithmetic library

cmake

Cross-platform make

make

Utility for directing compilation

PDF-Writer

High performance library for creating, modiyfing and parsing PDF files in C++

QsciScintilla

Port to Qt of the Scintilla editing component

dlib

C++ library for machine learning

dlib_gui

C++ library for machine learning

libharu

Library for generating PDF files

cryptopp

C++ class library of cryptographic schemes

stduuid

C++17 cross-platform single-header library implementation for UUID(Universally Unique IDentifiers)

expat

XML 1.0 Parser

libxml

GNOME XML Library

libxml++

C++ wrapper for libxml

tinyxml

XML Parser

pugixml

C++ XML Processing Library

xerces-c

XML Parser written in C++

xalan-c

XSLT processor

arabica

XML toolkit written in C++

rapidxml

the fastest XML Parser

libmrss

C library for RSS files or streams

feed-reader-lib

Fast, thread-safe, extensible & platform independent feed reader library in C++

gumbo-parser

C99 library for parsing HTML5

tidy

HTML tools with support for modern standards

eigen

C++ template library for linear algebra

libomp

LVM's OpenMP runtime library

open-mpi

High performance message passing library

openblas

Optimized BLAS library

date

date and time library for use with C++11 and C++14.

x11

draw octagon on X11 Window

sound

play sound using paplay or afplay

vsprintf

C Sample of variable length arguments

signal

catch and handle POSIX signals

codecvt

convert UTF-8 to/from UTF-16

string

string to uppercase / lowercase

string_streams

the fmemopen and open_memstream functions allow you to do I/O to a string or memory buffer

utstring

dynamic string macros for C

bind

bind function

map

map with int or string key

unordered_map

unordered map with string key or vector / class / enum

shuffle

shaffle vector / string

random

generate random number / string

search

find first matched element in int vector

sort

sort int vector using std::sort

input

input string from std::cin

qt

Cross-platform application and UI framework

qt5

Cross-platform application and UI framework

wxWidgets

C++ library that lets developers create applications

ncurses

Text-based UI library

system

get the path of the main executable for macOS

time

get formated local time

thread

run two threads

array

2-demension array

recursion

recursion sample

math

C mathematical functions

menu

CUI menu

mail builder

sample codes that create mail message

cpp-base64

Base64 encoding and decoding with c++

sqlite

a small, fast, self-contained, high-reliability, full-featured, SQL database engine

sqlitecpp

C++ SQLite3 wrapper

SqliteModernCpp

The C++14 wrapper around sqlite library

berkeley-db

High performance key/value database

glib

low-level system libraries written in C

zlib

data-compression library
compress and decompress file

libzip

C library for reading, creating, and modifying zip archives

libzippp

a simple basic C++ wrapper around the libzip library.

liblzma

General-purpose data compression with high compression ratio

ZipLib

C++ library for Zip archives

bzip2

Freely available high-quality data compressor

icu4c

C/C++ libraries for Unicode and globalization
read sjis file convrt to UTF-8

C99

Whats New in C99

C11

C Sample since std C11
generate random number using random()

C++03

C++03 Samples

C++11

Whats New in C++11

C++14

Whats New in C++14

c++17

Whats New in C++17

filesystem

C++17 filesystem:

C++20

Whats New in C++20

get_opt

parse commandline options

json-c

parse json using json-c

jsoncpp

parse json using jsoncpp

cjson

Ultralightweight JSON parser in ANSI C

jansson

C library for encoding, decoding, and manipulating JSON

parson

Lightweight JSON library written in C

yyjon

A high performance JSON library written in ANSI C

nlohmann-json

JSON for modern C++

simdjson

SIMD-accelerated C++ JSON parser

picojson

a header-file-only, JSON parser serializer in C++

rapidjson

JSON parser/generator for C++ with SAX and DOM style APIs

jsmn

a world fastest JSON parser/tokenizer

json_dto

A small header-only library for converting data between json representation and c++ structs

boost

split string

boost_asio

C++ library for network and low-level I/O programming

boost build

C++ build system

boost uri

portable C++ library which provides containers and algorithms which model a "URL"

asio:

Asio C++ Library

mongoose

Web server build on top of Libmongoose embedded library

POCO

C++ class libraries for building network and internet-based applications

facil.io:

C micro-framework for web applications

websocketpp

a cross platform header only C++ library for websocket

sockpp

Simple, modern, C++ socket library

httpxx

Low level C++ HTTP library

gflags

parse commandline flags

glog

write log to file

spdlog

Super fast C++ logging library

quill

C++17 Asynchronous Low Latency Logging Library

cctz

display local time

abseil

open source collection of C++ libraries

nss

Mozilla Network Security Services

tclap

test for command line parser

fftw

calc FFT

assimp

draw 3D model from file

cairo

draw arc to png file

cairomm

Vector graphics library with cross-device output support

gnuplot

plot sin wave

libiconv

convert text file codeset to UTF8

glad

Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator

glm

header only C++ mathematics library

http

sample code for HTTP Client and Server

network

tcp server and client

libcurl

the multiprotocol file transfer library

curlpp

C++ wrapper for libcurl

curlcpp

an object oriented C++ wrapper for libcurl

openssl

toolkit for the TLS (Transport Layer Security ) and SSL( Secure Sockets Layer) protocols

gnutls

library implementing the SSL, TLS and DTLS protocols

libmicrohttpd

C library to make it easy to run an HTTP server

cpp-httplib

A C++11 single-file header-only cross platform HTTP/HTTPS library

mail

sample code for mail

postfix

send mail using mail command or sensdmail command

libquickmail

C library for sending e-mail

vmime

C++ class library for working with RFC-822 and MIME messages and Internet messaging services like IMAP, POP or SMTP

curlsmtp

A mail sending tool

curlsmtp2

this project is fork from curlsmtp

gmail api

send and recieve mail with Gmail API

google vision api

face detection

OpenAL

play tone, wav file

PulseAudio

play audio file

irrKlang

play audio file

libsndfile

play audio file

beep

play beep sound

wav

play wav file

libmad

play mp3

libvorbis

play ogg

flac

play flac

fdk_aac

play aac

mp3lame

encode mp3

stb_vorbis

convert ogg file to wav file

id3lib

show id3tag in mp3 file

taglib

show id3tag in mp3 file

minimp3

mp3 player with OpenGL and SDL

FreeType

read font file
show text in OpenGL window

GTK

open GTK window and show image

gtk3

Toolkit for creating graphical user interfaces

gtkmm3

C++ interfaces for GTK+ and GNOME

gtkmm4

C++ interfaces for GTK+ and GNOME

SDL

SDL( Simple DirectMedia Layer )
open SDL window and show image

SDL2

SDL2 Samples

SDL_audio

play audio file

SDL_mixer

play music fie

sfml

open sfml window and show image from file

sfml_network

tcp server and client

FreeImage

read and write Image File using FreeImage

Devil

read and write Image File using Devil

stb_image

read and write Image File using stb_image

libjpeg

read and write JPEG format Image File

jpeg-turbo

JPEG image codec that aids compression and decompression

libpng

read and write oNG format Image File

png++

C++ wrapper for libpng library

pngwriter

C++ library for creating PNG images

libtiff

read and write tiff format Image File

bmp

read and write bmp format Image File
supported format: 24 bit bmp

bmp2

read and write bmp format Image File
supported format: 24 bit / 32 bit bmp

TGALoader

load Texture from TGA format image file

RawLoader

read Raw format image file

DDSLoader

read DDS format image file

nv_dds

read and write dds format Image File using nv_dds

OpenCV

Open source computer vision library

OpenCV-ImageReadWrite

read and write Image File using OpenCV

OpenCV-GaussianBlur

process Image with OpenCV GaussianBlur API

OpenCV-Hisotgram

calculate Histogram with OpenCV calcHist API

OpenCLInfo

show OpenCL version and others

OpenCL-HelloWorld

operate simple addition with OpenCL

OpenCL-ImageFilter2D

this sample demonstrates performing Gaussian Filter (Gaussian Blur) on a 2D image using

OpenCL-GaussianFilter

process Image with Gaussian Filter (Gaussian Blur)

OPenCL-HPPーVectorAdd

this simple demonstrates use OpenCL C++ Wrapper API

OpenCL-Sobel

Sobel Edge Detection Filter

OpenCL-Histogram

calculate Histogram in RGB values

OpenGL-GLUT

open OpenGL window with GLUT
and draw teapot

OpenGL-GLFW

open OpenGL window with glfw
and draw triangle

OpenGL-GLSL

open OpenGL window with glfw and glad
and draw Triangle with GLSL

OpenGL-GLUT-Texture

dwaw Texture with image using GLUT

OpenGL-GLFW-Texture

dwaw Texture with image using GLFW

About

C++ Code Samples for MAC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published