nullptr 167

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

nullptr 167

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

nullptr 167

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

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

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

nullptr 167

Check your spelling. You have crt and ctr

nullptr 167

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

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

nullptr 167

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

nullptr 167

Try

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

nullptr 167

Capture.JPG

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

nullptr 167

nullptr 167

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

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

Attached gif image via Firefox

nullptr 167

nullptr 167

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

nullptr 167

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

nullptr 167

Check your spelling on line 4, it should be WM_NOTIFY

rproffitt commented: No fitty it is. +14

nullptr 167

What does the call to SetDllDirectory return?

nullptr 167

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

nullptr 167

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

nullptr 167

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

nullptr 167

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

nullptr 167

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

nullptr 167

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

nullptr 167

Try

float amount = 1886.25;
int cents =(int)(amount*100) % 100;

nullptr 167

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

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.