nullptr 167 Occasional Poster

Straight after line 49, flush the input stream.

nullptr 167 Occasional Poster

Try something like this:

WCHAR value[] = L"Some Proxy";
DWORD len = (lstrlenW(value) + 1)*sizeof(WCHAR);

lReg = RegSetValueExW(
    hKeyp,
    L"ProxyEnable",
    NULL,
    REG_SZ,
    (LPBYTE)value,  
    len    
);
nullptr 167 Occasional Poster

I'll comment the code, I gather that the RegCreateKeyEx call succeeds.

lReg = RegSetValueEx(
    hKeyp,
    L"ProxyEnable",
    NULL,
    REG_SZ,
    (LPBYTE)&value,  // where is the value?
    sizeof(value)    // for a REG_SZ this should be the string length in bytes including the terminating null
);
Derkarol commented: the Value should be initialzied earlier like in the second part of my code.. but i do not know which datatype i exactly need and in which syntax :( +0
nullptr 167 Occasional Poster

on line 21, remove main. that comes after the semicolon.

nullptr 167 Occasional Poster

Your FieldNames each have a terminating null, so as the error indicates, one of the names is too long.

nullptr 167 Occasional Poster

This compiles and runs fine with gcc compiler. I'd suggest stepping through with the debugger to find where the error is triggered. Hopefully someone with MS VC++ may chime in.

Sappie commented: couldn't resolve the issue with sort() and CompareWorkshops(), but tried overloading 'operator<' instead which worked. thanks anyway! +0
nullptr 167 Occasional Poster

Try passing a reference in your comparison function:

bool CompareWorkshops(const Workshops &W1, const Workshops &W2)

If that doesn't work, I'd need to see more of the code. You should also try stepping through the code in the debugger.

nullptr 167 Occasional Poster

At line 60 you declare float temp = 0;
Move the declaration to the top of main.

nullptr 167 Occasional Poster

Check your spelling. You have crt and ctr

nullptr 167 Occasional Poster

In line 21, you are printing the string 'y' as an integer (%d). Change it to %s as follows

printf("My first name is %s \n my last name is %s \n and I am %d years old\n", x, y, z);
nullptr 167 Occasional Poster

My preferred timer method is described here. What time span are you looking at to check for open windows?

nullptr 167 Occasional Poster
std::to_string((uintptr_t)healthDecAddress)
Yoni_2 commented: how can i convert the string to System String ? +0
nullptr 167 Occasional Poster

Try

void replacevalue(char **pinput1)
{
    char string[] = "here is the replacement string";
    strcpy(*pinput1, string);
}
nullptr 167 Occasional Poster

Capture.JPG

Windows 7x64 with Internet Explorer 11 - dead hamburger and overlap.

nullptr 167 Occasional Poster
nullptr 167 Occasional Poster

Something like the following would be a start.

int main(void)
{
    int key = 3;
    int c;
    while ((c = getchar()) != '\n')
    {
        if (isalpha(c))
        {
            c = tolower(c) + key;
            if (c > 'z')
                c -= 26; // c = c - 26
        }
        putchar(c);
    }
    putchar('\n');

    return EXIT_SUCCESS;
}
nullptr 167 Occasional Poster

No one here is going to write the code for the assignment that you copy/pasted. Please provide the code that you have written and explain where you are having a problem; that way we'll be able to assist you.

nullptr 167 Occasional Poster

Attached gif image via Firefox

nullptr 167 Occasional Poster
nullptr 167 Occasional Poster

You could also just use a cast:
map_buffer |= (uint64_t)0xff << 32;

nullptr 167 Occasional Poster

In MS Visual Studio you could use:
map_buffer |= 0xffULL << 32;

nullptr 167 Occasional Poster

Check your spelling on line 4, it should be WM_NOTIFY

rproffitt commented: No fitty it is. +14
nullptr 167 Occasional Poster

What does the call to SetDllDirectory return?

nullptr 167 Occasional Poster

I get value answer 21 which looked like not the smallest integer

If you used 10000 instead of 1000 you would get 21.

rproffitt commented: Jackpot or Blackjack. +14
nullptr 167 Occasional Poster
nullptr 167 Occasional Poster

Use printf(" 10%% of people \n");

nullptr 167 Occasional Poster

In fact you've done a bad job of borrowing code from https://github.com/Metalaria/games/blob/master/sudoku/sudoku.c

nullptr 167 Occasional Poster

I see 511 lines of code that couldn't possibly compile.
You have prinfnot printf

nullptr 167 Occasional Poster

Have a look at Inno Setup
http://www.jrsoftware.org/isinfo.php

nullptr 167 Occasional Poster

Have you looked for your music in the windows.old folder?