Quantcast
Channel: Code verification wanted.
Browsing latest articles
Browse All 4 View Live

Code verification wanted.

And while you are at it, remember that ptr does not point to any structure.  Its value is indeterminate and attempting to access its value causes undefined behavior.In fact, you have defined a...

View Article



Code verification wanted.

No. hBFile is a file HANDLE.  You can use it with WriteFile, ReadFile and other File system APIs.So using it in a call to memcpy is an error.Will do, as long as those will work.Thank you, - MyCatAlex

View Article

Code verification wanted.

No. hBFile is a file HANDLE.  You can use it with WriteFile, ReadFile and other File system APIs.So using it in a call to memcpy is an error.

View Article

Code verification wanted.

I have this C++ code that I just wrote but haven't tried yet.void send860blocks(void) { counter = 0; HANDLE hBFile = CreateFile(_T("Blocks860.dat"), GENERIC_READ | GENERIC_WRITE, 0, NULL,...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images