C++ sample codes for MAC
- Xcode
https://developer.apple.com/support/xcode/ - Homebrew
https://brew.sh/
- 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
C++ Class Sample
display exam score of each students
catch and handle POSIX signals
convert UTF-8 to/from UTF-16
string to uppercase / lowercase
the fmemopen and open_memstream functions allow you to do I/O to a string or memory buffer.
bind function
map with int or string key
unordered map with string key or vector / class / enum
shaffle vector / string
generate random number / string
find first matched element in int vector
sort int vector using std::sort
input string from std::cin
get the path of the main executable for macOS
get formated local time
run two threads
2-demension array
recursion sample
C mathematical functions
CUI menu
sample codes that create mail message
base64 encoder decoder
a small, fast, self-contained, high-reliability, full-featured, SQL database engine.
C++ SQLite3 wrapper.
High performance key/value database
low-level system libraries written in C
data-compression library
compress and decompress file
C/C++ libraries for Unicode and globalization
read sjis file convrt to UTF-8
C Sample since std C11
generate random number using random()
parse commandline options
parse json using json-c
parse json using jsoncpp
split string
parse commandline flags
write log to file
display local time
open source collection of C++ libraries
Mozilla Network Security Services
test for command line parser
convert text file codeset to UTF8
Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator
header only C++ mathematics library
https://github.com/ohwada/MAC_cpp_Samples/blob/master/http.md
sample code for HTTP Client and Server
tcp server and client
the multiprotocol file transfer library
C++ wrapper for libcurl
toolkit for the TLS (Transport Layer Security ) and SSL( Secure Sockets Layer) protocols.
library implementing the SSL, TLS and DTLS protocols
C library to make it easy to run an HTTP server
A C++11 single-file header-only cross platform HTTP/HTTPS library
https://github.com/ohwada/MAC_cpp_Samples/blob/master/mail.md
sample code for mail
send mail using mail command or sensdmail command
C library for sending e-mail
C++ class library for working with RFC-822 and MIME messages and Internet messaging services like IMAP, POP or SMTP.
A mail sending tool
this project is fork from curlsmtp
send and recieve mail with Gmail API
https://github.com/ohwada/MAC_cpp_Samples/tree/master/AudioPlayer.md
play tone, wav file
play audio file
play audio file
play audio file
play beep sound
play wav file
play mp3
play ogg
play flac
play aac
encode mp3
convert ogg file to wav file
show id3tag in mp3 file
show id3tag in mp3 file
mp3 player with OpenGL and SDL
read font file
show text in OpenGL window

open GTK window and show image

open SDL window and show image

play audio file
open sfml window and show image from file
play audio fie
tcp server and client
https://github.com/ohwada/MAC_cpp_Samples/blob/master/ImageLoader.md
read and write Image File using FreeImage

read and write Image File using Devil

read and write Image File using stb_image
https://github.com/ohwada/MAC_cpp_Samples/tree/master/stb
read and write JPEG format Image File

read and write oNG format Image File

read and write tiff format Image File

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

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

load Texture from TGA format image file

read and write dds format Image File using nv_dds

read and write Image File using OpenCV

process Image with OpenCV GaussianBlur API

calculate Histogram with OpenCV calcHist API
'

show OpenCL version and others
operate simple addition with OpenCL
this sample demonstrates performing Gaussian Filter (Gaussian Blur) on a 2D image using

process Image with Gaussian Filter (Gaussian Blur)

this simple demonstrates use OpenCL C++ Wrapper API
calculate Histogram in RGB values

open OpenGL window with GLUT
and draw teapot

open OpenGL window with glfw
and draw triangle

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













