#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2004
    Posts
    2
    Rep Power
    0

    How to printf in Delphi in console apps


    hello,
    in newb for delphi !! im writting a console app ! i want to add something about me email or version, when ever app is being executed ! just like some c++ console apps ! how can we do thet in Delphi ! thanx
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,607
    Rep Power
    4247
    Writeln('String to write');
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2004
    Posts
    2
    Rep Power
    0
    not working ! any sample codes pls ! im using only TlHelp32 is this need to use others tooo ?
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2004
    Posts
    41
    Rep Power
    10
    Originally Posted by KarachiKing555
    not working ! any sample codes pls ! im using only TlHelp32 is this need to use others tooo ?
    Hi dude, like Scorpios4Ever said about the WriteLn command, i tried too i works fine here:

    Code:
    program Project1;
    {$APPTYPE CONSOLE}
    uses
      SysUtils;
    
    begin
      WriteLn('HELLO WORLD');
    end.
    I hope it helps you

    UltraMAX

IMN logo majestic logo threadwatch logo seochat tools logo