Friday, December 11, 2009

GRE Bangla Flash Card Software

GRE Flash Card software with Bangla meaning

http://anandopaul.wordpress.com/

Friday, August 14, 2009

Stack implementation in C++

This post is for student who can use this simple code.

Link : http://www.codeproject.com/KB/cpp/Stack.aspx

Wednesday, July 22, 2009

Create Doubly Linked list from singly Linked List


BOOLEAN ddrv_CreateDoublyLinkedList( SPEED_DEVICE_EXTENSION * apDevExt )
{
DEFRAGFILE * lpFileList = apDevExt->mpFileList;
DEFRAGFILE * lpPrevFile = NULL;

if ( lpFileList != NULL )
{
lpFileList->mPrevPtr = NULL;
lpPrevFile = lpFileList;
lpFileList = lpFileList->mNextPtr;
}
while( lpFileList != NULL )
{
lpFileList->mPrevPtr = lpPrevFile;
lpPrevFile = lpFileList;
lpFileList = lpFileList->mNextPtr;
}

return TRUE;
}

move file cluster in Kernel mode driver

NTSTATUS ddrv_MoveFileBlock( SPEED_DEVICE_EXTENSION* apDevExt, HANDLE ahFile, ULONGLONG aullStartVcn, ULONGLONG aullTargetLcn, ULONGLONG aullClusters )
{
ULONG lulStatus;
IO_STATUS_BLOCK lIoStatusBlock;

if( KeReadStateEvent( &apDevExt->mStopEvent ) == 0x1 )
{
ddrv_exitDefrag( apDevExt , 1 );
return STATUS_ABANDONED;
}

apDevExt->mpMoveFile->FileHandle = ahFile;
apDevExt->mpMoveFile->StartVcn.QuadPart = aullStartVcn;
apDevExt->mpMoveFile->TargetLcn.QuadPart = aullTargetLcn;

#ifdef _WIN64
apDevExt->mpMoveFile->NumVcns = aullClusters;
#else
apDevExt->mpMoveFile->NumVcns = ( ULONG )aullClusters;
#endif
lulStatus = ZwFsControlFile( apDevExt->mhVolume, NULL, NULL, 0, &lIoStatusBlock, FSCTL_MOVE_FILE, apDevExt->mpMoveFile, sizeof( MOVEFILE_DESCRIPTOR ), NULL, 0 );

if( lulStatus == STATUS_PENDING )
{
NtWaitForSingleObject( ahFile, FALSE, NULL );
lulStatus = lIoStatusBlock.Status;
}

if ( lulStatus != STATUS_SUCCESS )
{
DebugPrint("Move Unsuccessful : %x", ( UINT )lulStatus );
DebugPrint(" aullStartVcn %I64u aullTargetLcn %I64u mTotalClusters %I64u", aullStartVcn, aullTargetLcn, apDevExt->mTotalClusters );
}

return lulStatus;
}

Most efficient iterative Traversal of BST

lpFileList = Head;

if ( lpFileList != NULL )
{
while( lpFileList->Smaller != NULL )
{
lpFileList = lpFileList->Smaller;
}

do
{

// write anything for each node

***before any continue statement u must call this function
//lpFileList = ddrv_getFile( lpFileList );

//To Get next file
if ( lpFileList->Bigger != NULL )
{
lpFileList = lpFileList->Bigger;
while( lpFileList->Smaller != NULL )
{
lpFileList = lpFileList->Smaller;
}
}
else
{
while( lpFileList->Parent != NULL && lpFileList == lpFileList->Parent->Bigger )
{
lpFileList = lpFileList->Parent;
}
lpFileList = lpFileList->Parent;
}
}while ( lpFileList != NULL );
}






DEFRAGFILE * ddrv_getFile( DEFRAGFILE * apFileList )
{
if ( apFileList == NULL )
{
return NULL;
}

if ( apFileList->Bigger != NULL )
{
apFileList = apFileList->Bigger;
while( apFileList->Smaller != NULL )
{
apFileList = apFileList->Smaller;
}
}
else
{
while( apFileList->Parent != NULL && apFileList == apFileList->Parent->Bigger )
{
apFileList = apFileList->Parent;
}
apFileList = apFileList->Parent;
}

return apFileList;

}

Friday, August 1, 2008

Disappear / Hide start menu , Desktop Icons Virus , Spyware

If you are facing problems like start menu bar and Desktop Icons has been disappeared and you are not able to run your any program from your PC. Here I am giving you the solutions for that.

:-) This problem is because of spy wares like Trojan.
:-) If this Trojan attacks you then you can not use your start menu or any desktop icons. There is only one way ( From my point of view or you can say because of lack of research I found this solution) to use your programs. TO DO that , Press ( CTRL + ALT + DEL) key , then Task manager will appear.

Then click

File -> New Task (Run ...) -> Browse ( select the program you want to use)

potentially you can use most of the program but you can not use My Computer. If you explorer then automatically it will be close only.

Now come to the point that how to solve this problem. JUST NOW I GOT RELIEF from this problem.

DOWNLOAD SUPERAntiSpyware from http://www.superantispyware.com/download.html
download the free edition , its free and works fine.

then Install it . TO install it you need to follow the previous techniques that I have give early by using CTRL + ALT + DEL -> File -> New Task -> Browse to the download folder and select the setup file. it will be installed in your PC after you press ok. After installing it will ask for update the virus definition. Update it. without updating the definition it may not work properly.

Then when now the problem is how you can RUN the installed program. To Do that ...

CTRL + ALT + DEL -> File -> New Task -> Browse -> right click and click Explore .

In this time for 20 to 30 second the start menu will be visible then you run the program form the start menu ... be sure to do it fast. and then scan the whole computer and after scanning select all the spyware that has be detected and clear it. Restart is needed to

............. IF THIS process not work in your computer then Install another copy of Windows OS in another drive and download , install , update and scan the system with the SUPERAntySpyware .

Monday, May 19, 2008

GRE Resource Kits

If you are searching for GRE Software and Ebooks then you came to the right place. I had searched lot for GRE material in net but most of then are asking for money and no crack are also there to make the demo version software to full version . Here is the solution....

Note: in this site some bad pictures will come as advertisement . to prevent them you can set your browser option NOT TO LOAD PICTURE. In Mozilla Firefox you can do it -: Tools -> Options-> Contant Tab -> uncheck the Load Images Automatically option.

For Internet Explorer please check in the net.

.........................

here you can get many GRE full version software using which you can give many tests and check your preparation level... if you cant find your desired software over here then you can mail me ... to anandopaul@gmail.com .... i will send you the direct link of that torrent link...

if you want to download a torrent software then you need to have a torrent client like BitTorrent - v6.0. using this Bittorrent client you can download even many mp3, movie and many more software....

Torrent world is like a haven where you will get everything...