for example , i have a removeable disk and its MBR data was broken, so i wannt use my program to modify it. i wanna use NtWriteFile, but it doesn't work
Type: Posts; User: ampc
for example , i have a removeable disk and its MBR data was broken, so i wannt use my program to modify it. i wanna use NtWriteFile, but it doesn't work
ReadFile can read the sectors ,but WriteFile can not modify it
i wanna develop a data recovery software.
i need to modify the error of sectors
how to i write sectors in win7
im afraid of missing a '=' in the middle of if
i've improved the GetUnion function.
LinkNode* GetUnion(LinkNode *head1, LinkNode *head2, LinkNode *head3)
{
LinkNode *p1 = NULL;
LinkNode *p2 = NULL;
LinkNode *p3 = NULL;
...
i mean list 1: 1 2 3 4, list 2: 3 4 5 6, then the union set is 1 2 3 4 5 6
maybe i didn't express clearly, i mean, i want to use two single link list to get their union set. The "GetUnion" function has logical error but i dont know how to fix it.
hello everyone, i have a problem in blew program,i dont know how to get the union set without changing the head1. i want to put the union set in the head3.
...
/************************************************************************/
/* put the data of less than 0 in the front of the sequential */
/* list,more than 0 is rear ...
/************************************************************************/
/* delete all the value between x and y in the sequential list */...
/************************************************************************/
/* delete all the value is x in the sequential list */...
i'm studying data structure,so i want to show my exercises from the book,hope everyone help me improve my skill and optimize it.Thanks
...
i want to code with unicode , but im not sure that WCHAR and wchar_t which one is better
pBuf includes the content of my expression, and in my main function i code:
int main()
{
char cExpression[] = {"-2+4x^2-3"};
char *szExpression = NULL;
szExpression =...
thanks Bayint Naung, i now know how to code ^_^
char * InitExpression(char *pExpression, char *pBuf)
{
char *p = NULL;
pExpression = (char *)malloc(strlen(pBuf) + 1);
p = pExpression;
now, i updated the code:
char * InitExpression(char *pExpression, char *pBuf)
{
char *p = NULL;
int i = 0;
pExpression = (char *)malloc(1);
while ('\0' != *pBuf)
i have an expression in an array, i want the expression to omit space and tab characters and put it into an buffer,but i dont know how to go on to do it.
#include <string.h>
char *...
i want to create a Up-down control without MFC,but my up-down control doesn't have a edit control,how should i do?
oh,thank you,now i turn it to gets/puts functions, but i want to use unicode version,still error when i run it!
struct List
{
TCHAR *data;
struct List *next;
};
struct List...
aha.......what an important thing! but i forgot,hehe,thank u very much~~~
hello everyone,i dont know how to assign the char* in struct,
struct List
{
char *data;
struct List *next;
};
struct List *InputData(struct List *head)
{
OpenOffice can open MS word,so you can obtain openoffice's code to study it