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?

nullptr 167 Occasional Poster

Try

float amount = 1886.25;
int cents =(int)(amount*100) % 100;
nullptr 167 Occasional Poster

What code have you written to solve your homework? What problems are you having?
Break the problem up into smaller pieces.
How would you take input for 2 integers?
How would you determine whether the 2nd integer is a multiple of the 1st?

nullptr 167 Occasional Poster

Is this the pattern?

*
* *
* * *
* * *
* *
* 

If it is, post what code you have written in trying to solve your task. We are here to help, not to do your homework.

nullptr 167 Occasional Poster
nullptr 167 Occasional Poster
nullptr 167 Occasional Poster

Show the code you have written and explain any problems that you may be having.

nullptr 167 Occasional Poster

Adams --> Family

nullptr 167 Occasional Poster

aware --> bear

nullptr 167 Occasional Poster

tennis --> racquet

nullptr 167 Occasional Poster

The blue dropdown navigation menu disappears when I log in.
Using FF based browser and Win 7.

edit: it was a bug caused by Greasemonkey

nullptr 167 Occasional Poster

airplane --> jet

nullptr 167 Occasional Poster

Eat more dietary fibre. :S

nullptr 167 Occasional Poster

doctor --> nurses

nullptr 167 Occasional Poster

egg --> rotten

nullptr 167 Occasional Poster

What does the function next return if n <= 1?
Have it return 0 and then you can test for zero in your count loop.
Something like:

void hailstone_Sequence(int n)
{
    int count, value = n;

    for (count = 0; ; count++)
    {
        if (value <= 0)
            break;

        std::cout << value << " ";

        value = next(value);
    }
    std::cout << "count: " << count << std::endl;
}
nullptr 167 Occasional Poster

Geez, I just thought that I had suddenly become quite a popular member.

nullptr 167 Occasional Poster

Hooray! :)

nullptr 167 Occasional Poster

Your lphService variable is defined as a null pointer so it's not possible to return a handle for the service in the call to WFSOpen(...)
Either allocate memory dynamically for lphService or change the definition to:

HSERVICE hService = NULL;
~~
hResult = (WFSOpen(szLogicalName,WFS_DEFAULT_HAPP,"Epson Print",WFS_TRACE_NONE,TWO_MINUTES,RECOGNISED_VERSIONS,&SvcVersion,&SpiVersion,&hService));
nullptr 167 Occasional Poster

Do you get any error code when searching for updates?
Try temporarily suspending Avast's Shields and see if you get any further with windows update.

nullptr 167 Occasional Poster

What operating system are you running and what make/model of laptop?
Does windows update get as far as showing how many updates are available?
If so, does it start downloading or installing any updates?