Hi I need help with a project im working on im wondering if there is a way to include a file in a program. Im making a prank program that hides in the background and plays a funny wav file. Is there a way to include the wav file in the .exe so i dont have to put 2 files on his system? here is the source to my program
#include <windows.h>
#include <mmsystem.h>
#include <conio.h>
#include <winuser.h>
#include <iostream>
using namespace std;
int main()
{
system("color 0c");
system("ftype");
PlaySound("C:\\crash.wav",NULL,SND_FILENAME|SND_ASYNC);
SetConsoleTitle("csrsss.exe");
HWND window = FindWindow(NULL,"csrsss.exe");
ShowWindow(window,SW_HIDE);
getch();
return 0;
}