Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #25.0K
Ranked #4K
~4K People Reached
Favorite Forums

6 Posted Topics

Member Avatar for theweirdone

I have two methods: 1. install VMware virtual machine and use Debian/Ubuntu, any open source OS can open mac file format 2. if you want to create your own file clients, for Win32 SDK, you can use CreateFile("\\.\PhysicalDrive0") (whether is 0 or 1 or 2, etc depends) to open an …

Member Avatar for solomonhomicz
0
856
Member Avatar for Member #842639

This is because: 1. your code has caused an internal error in your windows application. The MainDlgProc callback function is called when your dialog window is being created; therefore, the 1st time when you call SetWindowsText, your windows is being created but has not been created yet, you can actually …

Member Avatar for xuancong
0
264
Member Avatar for meensatwork

Warning: memcpy( &outTxtStr[i],&outTxtStr[i+1], outTxtLength); Don't use memcpy to copy 2 memory blocks which overlap, it will lead to undefined behaviour which is different for different compiler, on diff. system. Use memmove instead.

Member Avatar for meensatwork
0
143
Member Avatar for Dinnerfortwo

Hi, you need to have some assembly knowledge in order to understand C/C++ pointers. Basically, a pointer is a variable which stores the address of another variable, so [code] float temps[MAXTEMPS]; float *pCur; pCur = temps; [/code] means the variable 'pCur' stores the address of temps[], i.e. the first element …

Member Avatar for xuancong
0
235
Member Avatar for sfuo

For vector/array arithmatic, you should use SIMD (single instruction multiple data) to boost efficiency, for float, 4 times faster, for double, 2 times faster. Here's my library for vector algebra, [code] #ifndef __VECTOR_H #define __VECTOR_H #include "math.h" #ifndef __FLOAT_MIN_DIFF #define __FLOAT_MIN_DIFF 0.000003f #endif #ifndef __DOUBLE_MIN_DIFF #define __DOUBLE_MIN_DIFF 0.000000000009 #endif class …

Member Avatar for mike_2000_17
0
175
Member Avatar for venkat123

The following piece of code works exactly as what you want to do, I use this method to write my own MBR boot loader code for booting into multiple OS selectively (holding Ctrl to boot into Ubuntu, holding Alt to boot into Window 98, otherwise boot into Window XP): [code] …

Member Avatar for xuancong
0
3K

The End.