Oh, that works for changing it so that s2 can be converted to a wchar_t*, but then MIDIFile can't be added to the string.
edit: must have enum or integral type
Edit: I accidentally added an...
Type: Posts; User: aileentas
Oh, that works for changing it so that s2 can be converted to a wchar_t*, but then MIDIFile can't be added to the string.
edit: must have enum or integral type
Edit: I accidentally added an...
Okay.
I've written it like this:
string s1 ("open " + MIDIFile + " type mpegvideo alias MediaFile"));
const wchar_t* s2 (s1.c_str());
But now it says that type const char cannot be used to...
I just tested that but I got an error saying:
no suitable conversion function from wstring to wchar_t exists
tried using it differently:
no suitable conversion function from wstring to LPCWSTR...
Hello,
I'm trying to write a code that plays out a MIDI file in C++, which my program can do. However, I want the user to be able to play a chosen file by typing in the address. When I type the...
Nevermind my last post. I figuered out what I was doing wrong. Thank you so much for the help! =)
Okay. That worked.
However, what is the method to using funtions in inheritance classes? I don't get any errors when I use them in regular classes, but for some reason when I use them in an...
Okay, I tryed adding ::Equation(char oper) to my function but I got the following error:
error C2039: 'Equation' : is not a member of '`global namespace''
I thought that since I'm using...
Oh, okay. I'm not sure what the difference between int demon::Equation(char oper) and ::Equation(char oper) are though. I guess I'll try it out and see.
I'm supposed to use inheritance classes for...
Hello,
I've been trying to find a solution to this problem, but none of them have worked so far. I know which line of code is causing the error, but not how to stop it.
I google searched for a...
Okay, I've found how to make it a C program properly now. Thank you, I'll make sure I don't get the mixed up again.
Yes, It seems to be working properly now and I can focus on finishing it.
The function is supposed to raise a an integer ( or a decimal) (base )to a power (pow) using recursion, iteration, and N-1.
I have included stdio.h in the function, but if I don't include...
Ah, thank you, I changed that in my code, but forgot to change what I posted here as well. The 1.#NF00 error is still a problem though.
Hello, I'm currently writing a program that is supposed to raise an integer to a power. However, the output keeps printing as going to infinity rather than the actual number when using the test...