0
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
I already have gone through 25 out of the 40 tutorials by lena.
0
mayjune's Avatar, Join Date: Jun 2009
Invasive contributor
ah no wonder, hey then tell me i wrote a very simple code in c (using turbo c) just printf and scanf
ran it in olly it didnt work..any idea why?
i just wanted to see what the most basic code looks in olly...

ps - cool it will push me to go faster.. to catch up with you

Last edited by mayjune; 20Jun2009 at 01:01..
0
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
Quote:
Originally Posted by mayjune View Post
(using turbo c) just printf and scanf
ran it in olly it didnt work..any idea why?
I didn't get that ?? What do you mean by "didn't work" ??!?

If you wonder where all the printf and scanf has disappeared, let me tell you that you can see some calls to the Windows API function : msvcrt.scanf, wsprintf, wvprintf etc..
0
mayjune's Avatar, Join Date: Jun 2009
Invasive contributor
@saswat
it said unable to open or read file..?
0
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
Oh ! I see, Turbo C executables are 16-bit and Olly handles only 32 bit.

Try to write in ANSI C.
0
mayjune's Avatar, Join Date: Jun 2009
Invasive contributor
@saswat
i went to turbo c ->options ->compiler ->sources -> keywords ->ansi
creted the file
ran it same error?
0
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
No no no ... Turbo C is not up to the ANSI specifications.
The setting you changed, just changes "how" Turbo C recognises the KeyWords.
Turbo C compiler can compile to 16-bit ONLY.

When I said ANSI C, I meant that you should use some compiler like :
(*) GCC
(*) Microsoft VC++ Express (2008 or 2005)
(*) OpenWatcom C/C++ Compiler
(*) Digital Mars C/C++ Compiler
(*) BloodShed DevC++ Compiler
(*) MinGW32
(*) DJGPP etc ..
which conform to the latest ANSI C specifications.
0
mayjune's Avatar, Join Date: Jun 2009
Invasive contributor
alright thanks, will try and see