Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 737 Bytes

File metadata and controls

24 lines (17 loc) · 737 Bytes

Miscellaneous CPP code

Just a bunch of random C++ stuff I wrote for no real reason.

Warning: crash.cpp May Cause System Instability

The file crash.cpp demonstrates the use of undocumented Windows internal APIs to raise a hard system error, which can lead to:

  • A blue screen of death (BSOD)
  • Immediate system shutdown
  • Behavior flagged by antivirus or endpoint protection software

Do NOT run this file on production or personal systems with unsaved work.

It is provided strictly for educational and research purposes.

Compile Fourier Code

g++ fourier.cpp -o fourier \
-IC:/rtools44/mingw64/include/SDL2 \
-LC:/rtools44/mingw64/lib \
-lmingw32 -lSDL2main -lSDL2