No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have a char pointer here, [CODE] char* buffer = (char*)malloc(sizeof(char*)); *buffer = 1; buffer++; *buffer = 2;[/CODE] so by doing this, i actually have the pointer pointing to "1" and "2" what i actually want is the number, 12. anyone knows how can i get the char pointer's data … |
|
I desperately need help on data type conversions. I am working on converting a set of codes in Visual Basic to C but i'm faced with a lot of problems dealing with strings. Can anyone help me out here? Below is the code I have in Visual Basic. [CODE]Private Function … |
|
I desperately need help on data type conversions. I am working on converting a set of codes in Visual Basic to C but i'm faced with a lot of problems dealing with strings. Can anyone help me out here? Below is the code I have in Visual Basic. [CODE]Private Function … |
|
Anyone has any idea how to open a windows registry key using C++? from my understanding, there is a function in winreg.h that does this, RegOpenKeyEx and RegSetValueEx. But i cant seem to open the key with RegOpenKeyEx. When debugging, the debugger showed this error message "First-chance exception in Proj.exe … |