Skip to content

Instantly share code, notes, and snippets.

View zhengfish's full-sized avatar

zhengfish zhengfish

View GitHub Profile
@christophewang
christophewang / QuickSort.cpp
Last active April 10, 2024 22:59
Quick Sort in C++
#include <iostream>
void printArray(int *array, int n)
{
for (int i = 0; i < n; ++i)
std::cout << array[i] << std::endl;
}
void quickSort(int *array, int low, int high)
{
@t-mat
t-mat / minimal_vst2x_host.cpp
Last active September 4, 2023 17:11
WIN32 : Minimal VST 2.x host in C++11.
// Win32 : Minimal VST 2.x Synth host in C++11.
//
// This is a simplified version of the following project by hotwatermorning :
// A sample VST Host Application for C++ Advent Calendar 2013 5th day.
// https://github.com/hotwatermorning/VstHostDemo
//
// Usage :
// 1. Compile & Run this program.
// 2. Select your VST Synth DLL.
// 3. Press QWERTY, ZXCV, etc.