|
~ Б0ЯИ Τ0 С0δЭ ~
|
![]() |
| 20Jun2009,00:05 | #11 |
|
I already have gone through 25 out of the 40 tutorials by lena.
|
|
Invasive contributor
|
![]() |
| 20Jun2009,00:56 | #12 |
|
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ЯИ Τ0 С0δЭ ~
|
![]() |
| 20Jun2009,07:16 | #13 |
|
Quote:
Originally Posted by mayjune 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.. |
|
Invasive contributor
|
![]() |
| 20Jun2009,16:37 | #14 |
|
@saswat
it said unable to open or read file..? |
|
~ Б0ЯИ Τ0 С0δЭ ~
|
![]() |
| 20Jun2009,18:38 | #15 |
|
Oh ! I see, Turbo C executables are 16-bit and Olly handles only 32 bit.
Try to write in ANSI C. |
|
Invasive contributor
|
![]() |
| 20Jun2009,20:41 | #16 |
|
@saswat
i went to turbo c ->options ->compiler ->sources -> keywords ->ansi creted the file ran it same error? |
|
~ Б0ЯИ Τ0 С0δЭ ~
|
![]() |
| 21Jun2009,06:19 | #17 |
|
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. |
|
Invasive contributor
|
![]() |
| 22Jun2009,14:09 | #18 |
|
alright thanks, will try and see
|


