No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
If you wanted to use the same code to play multiple wav files how would you go about it. The code I used is. int main() { string soundstring = "Sound/.wav"; string scenecode = "0000";//Put 4 digit wav name here soundstring.insert(6, scenecode); char soundfile[] = soundstring; PlaySound(soundfile,NULL,SND_FILENAME|SND_LOOP|SND_ASYNC); getchar(); return 0; …
I'm currently writing a program and I want it to read in data from a source and if needed change some or all of it and re-write it to the same source file. I have: where all the variables are ints in a struct called date. ifstream ifs("data.txt"); ifs>>date.hours; ifs>>date.minutes; …
How can I make a program which will call a program and send some variables to the program and then this new program will run and then return a new set of values. In essence trying to use a program to do the same thing as a function. For example …
The End.
Nauro