yes right .. but still i have to check the divisibility when one digit is left .. as you said ...
so the question is still same how to divide the number or check divisibility of a number by 3 ...
Type: Posts; User: Brij
yes right .. but still i have to check the divisibility when one digit is left .. as you said ...
so the question is still same how to divide the number or check divisibility of a number by 3 ...
can we check the divisibility of a given number by 3 withoutusing operators like '/' or '%'.
I want the efficient solution to this problem ..
can someone help ??
Hi
Problem :-
finding out a string from a text file ( only in c/c++)
my code is taking timecomplexity as o(mn) in worst case.
where m is the size of the string and n is the size of the...
Hi Vart
can u give the link to download this ebook
Jeffrey Richter - "Programming Applications for Microsoft Windows" forth edition
i tried on microsoft site . but couldnt get it .
thanx
hii
thanx to all for ur kind help . Code is running fine now and message box is also appearing.
i dont have much experience on dll programming .
can anyone suggest some good books or...
i have tried both the changes as suggested bu u guys . but still i dont find any change when i execute the program .
I am trying to inject Dll throught CreateRemoteThread.
I am trying to inject it into notepad.exe whose pid is 1616
My code of injector program is
int main()
{
hi bubba ....
sorry can not make out anything from ur reply .............
are u questioning me about the order of parameters?
as far as my code is concerned .......
this code is equalant to ...
#include<iostream.h>
#include<stdio.h>
main()
{
__asm
{
push 10
push 20
}
abc();
To Manorator
I think i have calculated the RVA correctly ...........
i also refered a book on rootkit and they also have done it in the same way ..
#include <windows.h>
#include <stdio.h>
#include <conio.h>
#include<winnt.h>
#define BUF_SIZE 256
LPCTSTR MapFileRead(LPCTSTR szFileName, size_t * lpcbSize)
{
/* variable declare section...
#include <windows.h>
#include <stdio.h>
#include <conio.h>
#include<winnt.h>
#define BUF_SIZE 256
TCHAR szName[]=TEXT("process.c");
thanx
path to calc.exe was incorrect
OPEN_EXISTING -> opens a file if it exists ...
otherwise CreateFile will fail ..
OPEN_ALWAYS -> opens a file if it exists
...
szFileName contains calc.exe
hFile = CreateFile(szFileName, GENERIC_READ, FILE_SHARE_READ, NULL,
OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
dwFileSize = GetFileSize(hFile,...
#include <windows.h>
#include <stdio.h>
//#include <windows.h>
//#include <stdio.h>
#include <conio.h>
#include<winnt.h>
#define BUF_SIZE 256
could u please explain how to open process.c as a PE executable .
actually i am new to windows programming
hii
i should use %lu in place of %d .. but even after using it i am still getting 0.
My program code is given bellow.....
#include <windows.h>
#include <stdio.h>
#include <conio.h>
#include<winnt.h>