Search:

Type: Posts; User: aileentas

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,600

    Oh, that works for changing it so that s2 can be...

    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...
  2. Replies
    6
    Views
    1,600

    Okay. I've written it like this: string s1...

    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...
  3. Replies
    6
    Views
    1,600

    I just tested that but I got an error saying: no...

    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...
  4. Replies
    6
    Views
    1,600

    Playing a Short Music File Problem

    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...
  5. Nevermind my last post. I figuered out what I was...

    Nevermind my last post. I figuered out what I was doing wrong. Thank you so much for the help! =)
  6. Okay. That worked. However, what is the method...

    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...
  7. Okay, I tryed adding ::Equation(char oper) to my...

    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...
  8. Oh, okay. I'm not sure what the difference...

    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...
  9. Error LNK2019 and Fatal error LNK1120: 1 unresolved externals

    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...
  10. Replies
    14
    Views
    2,833

    Okay, I've found how to make it a C program...

    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.
  11. Replies
    14
    Views
    2,833

    Yes, It seems to be working properly now and I...

    Yes, It seems to be working properly now and I can focus on finishing it.
  12. Replies
    14
    Views
    2,833

    The function is supposed to raise a an integer (...

    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...
  13. Replies
    14
    Views
    2,833

    Ah, thank you, I changed that in my code, but...

    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.
  14. Replies
    14
    Views
    2,833

    Raising an Integer to a power

    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...
Results 1 to 14 of 14