2 added 19 characters in body
source | link

C++, Windows (TTS)

Turn your volume up.

#include <sapi.h>

int main () {

    // compute 6 * 9
    int value = 6 * 9;
    wchar_t str[3];
    wsprintf(str, L"%i%i", value/13, value%13);

    // display result
    CoInitializeEx(NULL, COINIT_MULTITHREADED);
    ISpVoice *v;
    CoCreateInstance(CLSID_SpVoice, NULL, CLSCTX_ALL, IID_ISpVoice, (void **)&v);
    for (int n = 0; n < _wtoi(str); ++ n)
        v->Speak(str, 0, NULL);
    v->Release();
    CoUninitialize();

}

Result is presented 6*9 times. Compile with MSVC. As far as I can see this is the only audio version here.

C++, Windows (TTS)

Turn your volume up.

#include <sapi.h>

int main () {

    // compute 6 * 9
    int value = 6 * 9;
    wchar_t str[3];
    wsprintf(str, L"%i%i", value/13, value%13);

    // display result
    CoInitializeEx(NULL, COINIT_MULTITHREADED);
    ISpVoice *v;
    CoCreateInstance(CLSID_SpVoice, NULL, CLSCTX_ALL, IID_ISpVoice, (void **)&v);
    for (int n = 0; n < _wtoi(str); ++ n)
        v->Speak(str, 0, NULL);
    v->Release();
    CoUninitialize();

}

Result is presented 6*9 times. As far as I can see this is the only audio version here.

C++, Windows (TTS)

Turn your volume up.

#include <sapi.h>

int main () {

    // compute 6 * 9
    int value = 6 * 9;
    wchar_t str[3];
    wsprintf(str, L"%i%i", value/13, value%13);

    // display result
    CoInitializeEx(NULL, COINIT_MULTITHREADED);
    ISpVoice *v;
    CoCreateInstance(CLSID_SpVoice, NULL, CLSCTX_ALL, IID_ISpVoice, (void **)&v);
    for (int n = 0; n < _wtoi(str); ++ n)
        v->Speak(str, 0, NULL);
    v->Release();
    CoUninitialize();

}

Result is presented 6*9 times. Compile with MSVC. As far as I can see this is the only audio version here.

1
source | link

C++, Windows (TTS)

Turn your volume up.

#include <sapi.h>

int main () {

    // compute 6 * 9
    int value = 6 * 9;
    wchar_t str[3];
    wsprintf(str, L"%i%i", value/13, value%13);

    // display result
    CoInitializeEx(NULL, COINIT_MULTITHREADED);
    ISpVoice *v;
    CoCreateInstance(CLSID_SpVoice, NULL, CLSCTX_ALL, IID_ISpVoice, (void **)&v);
    for (int n = 0; n < _wtoi(str); ++ n)
        v->Speak(str, 0, NULL);
    v->Release();
    CoUninitialize();

}

Result is presented 6*9 times. As far as I can see this is the only audio version here.