flat assembler
Message board for the users of flat assembler.
Index
> Windows > scanf problem |
Author |
|
revolution 16 Apr 2009, 15:46
Use brackets around "age" when you need to read the value and define it as a dword. Also use cinvoke for all the c library (printf, scanf) calls. invoke is for the windows API calls.
Code: age dd ? ... cinvoke printf, "Sorry kid, you're only %d!", [age] |
|||
16 Apr 2009, 15:46 |
|
Squalotaku 16 Apr 2009, 16:45
Thanks!!! That works very well! ^^ (sorry for my english)
|
|||
16 Apr 2009, 16:45 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.