-
Replied To a Post in Repeating statement
Straight after line 49, flush the input stream. -
Replied To a Post in edit a Registry Key (REG_SZ) with c++
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 ); -
Replied To a Post in edit a Registry Key (REG_SZ) with c++
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 … -
Replied To a Post in Error C4700: uninitialized local variable C++
on line 21, remove **main.** that comes after the semicolon. -
Replied To a Post in Char[][] for value list
Your FieldNames each have a terminating null, so as the error indicates, one of the names is too long. -
Replied To a Post in Sorting an array of structs
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. -
Replied To a Post in Sorting an array of structs
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 … -
Replied To a Post in C program " LIBRARY MANAGEMENT"
At line 60 you declare float temp = 0; Move the declaration to the top of main. -
Replied To a Post in expected unqualified id before '{' before
Check your spelling. You have **crt** and **ctr** -
Replied To a Post in behevior of sscan function
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 … -
Replied To a Post in Window Search in C++
My preferred timer method is described [here](https://docs.microsoft.com/en-us/windows/desktop/sync/using-timer-queues). What time span are you looking at to check for open windows? -
Replied To a Post in print out a void * in textbox
std::to_string((uintptr_t)healthDecAddress) -
Replied To a Post in Replacing a string in a function with double pointers
Try void replacevalue(char **pinput1) { char string[] = "here is the replacement string"; strcpy(*pinput1, string); } -
Replied To a Post in Android issues with hamburger menu and buttons
 Windows 7x64 with Internet Explorer 11 - dead hamburger and overlap. -
Replied To a Post in Explain relational operators in Python.
https://www.programiz.com/python-programming/operators#comparison -
Replied To a Post in Caesar encryption
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) … -
Replied To a Post in C++ program to find the volume of a cube?
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 … -
Replied To a Post in My DaniWeb home page is like a Charlie Brown Christmas tree.
Attached gif image via Firefox -
Replied To a Post in Can we use bing instead of Google?
Try https://www.startpage.com/ -
Replied To a Post in shifting 8-bit data into 64-bit register not working
You could also just use a cast: `map_buffer |= (uint64_t)0xff << 32;` -
Replied To a Post in shifting 8-bit data into 64-bit register not working
In MS Visual Studio you could use: `map_buffer |= 0xffULL << 32; ` -
Replied To a Post in How to debug a WndProc function with multiple dynamic listviews ?
Check your spelling on line 4, it should be `WM_NOTIFY` -
Replied To a Post in DLL not loaded with LoadLibrary() function
What does the call to `SetDllDirectory` return? -
Replied To a Post in Find the smallest n such that n^3>1000
> I get value answer 21 which looked like not the smallest integer If you used 10000 instead of 1000 you would get 21. -
Replied To a Post in Java update
http://www.oracle.com/technetwork/java/javase/downloads/index.html -
Replied To a Post in use % in printf statement
Use `printf(" 10%% of people \n");` -
Replied To a Post in Hii i want to convert the following source code in c++.
In fact you've done a bad job of borrowing code from https://github.com/Metalaria/games/blob/master/sudoku/sudoku.c -
Replied To a Post in Hii i want to convert the following source code in c++.
I see 511 lines of code that couldn't possibly compile. You have `prinf `not `printf` -
Replied To a Post in Creart Setup File
Have a look at Inno Setup http://www.jrsoftware.org/isinfo.php -
Replied To a Post in 10 update deleted ALL my music.
Have you looked for your music in the windows.old folder? -
Replied To a Post in Hi Good Day.. I need you Help.. in C Programming
Try float amount = 1886.25; int cents =(int)(amount*100) % 100; -
Replied To a Post in Write a function with C++
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 … -
Replied To a Post in Hello. Please help me. How to do this in c++? Pattern like this.
Is this the pattern? * * * * * * * * * * * * If it is, post what code you have written in trying to solve your … -
Replied To a Post in DaniWeb breaking links in posts
Another broken link in https://www.daniweb.com/hardware-and-software/hardware/threads/94301/help-my-keyboard-does-french-instead-of-question-marks/2#post2218579 -
Replied To a Post in Norton Ghost 15
How to [Create a Standard Windows PE Rescue Environment](http://reflect.macrium.com//help/v5/How_to/Rescue/Create_a_Standard_Windows_PE_Rescue_Environment.htm). -
Replied To a Post in Sine wave many cycles C
Show the code you have written and explain any problems that you may be having. -
Replied To a Post in Word Association Game
Adams --> Family -
Replied To a Post in Word Association Game
aware --> bear -
Replied To a Post in Word Association Game
tennis --> racquet -
Replied To a Post in Is stuff easier to access?
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 -
Replied To a Post in Word Association Game
airplane --> jet -
Replied To a Post in The person above you Game
Eat more dietary fibre. :S -
Replied To a Post in Word Association Game
doctor --> nurses -
Replied To a Post in Word Association Game
egg --> rotten -
Replied To a Post in Hailstone Sequence so far
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) … -
Replied To a Post in Conversations from the grave
Geez, I just thought that I had suddenly become quite a popular member. -
Replied To a Post in Is there a step by step how to login in for Daniweb members?
Hooray! :) -
Replied To a Post in Access violation reading location 0x00000000
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 … -
Replied To a Post in Laptop not updating
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. -
Replied To a Post in Laptop not updating
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 …
The End.