#include <iostream>
#include <string>
#include <experimental/filesystem>
#include <Windows.h>
using namespace std;
namespace fs = std::experimental::filesystem;
int main() {
PlaySound(TEXT("path/to/sound.wav"), NULL, SND_FILENAME);
std::string desktopPath = "C:/Users/username/Desktop/";
for (int i = 1; i <= 10; i++) {
std::string folderName = desktopPath + "Gd" + std::to_string(i);
fs::create_directory(folderName);
std::cout << "Created folder: " << folderName << std::endl;
}
std::string gif_path = "path/to/your/gif.gif";
ShellExecute(NULL, "open", gif_path.c_str(), NULL, NULL, SW_SHOW);
return 0;
}
#include <iostream>
#include <string>
#include <experimental/filesystem>
#include <string>
#include <Windows.h>
using namespace std;
namespace fs = std::experimental::filesystem;
int main() {
PlaySound(TEXT("path/to/sound.wav"), NULL, SND_FILENAME);
std::string desktopPath = "C:/Users/username/Desktop/";
for (int i = 1; i <= 10; i++)
{
std::string folderName = desktopPath + "Gd" + std::to_string(i);
std::filesystem::create_directory(folderName);
std::cout << "Created folder: " << folderName << std::endl;
}
std::string gif_path = "path/to/your/gif.gif";
ShellExecute(NULL, "open", gif_path.c_str(), NULL, NULL, SW_SHOW);
return 0;
}