home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / smarts / hello / hello.tde next >
Encoding:
Text File  |  1996-02-21  |  891 b   |  41 lines

  1. --------------------------------------------------------------------------------
  2. --
  3. -- COPYRIGHT:
  4. --   IBM WorkFrame - Project Smarts
  5. --   (C) Copyright International Business Machines Corporation 1996
  6. --   Licensed Material - Program-Property of IBM - All Rights Reserved.
  7. --   US Government Users Restricted Rights - Use, duplication, or disclosure
  8. --   restricted by GSA ADP Schedule Contract with IBM Corp.
  9. --
  10. --------------------------------------------------------------------------------
  11.  
  12. <if ($LANGUAGE$ == C++)>
  13.  
  14. <include prologcp.tde>
  15.  
  16. #include <iostream.h>
  17.  
  18. int main(int argc, char **argv, char **envp)
  19. {
  20.    cout << "Hello, world!" << endl;
  21.    return 0;
  22. }
  23.  
  24. <else>
  25. <if ($LANGUAGE$ == C)>
  26.  
  27. <include prologc.tde>
  28.  
  29. #include <stdio.h>
  30.  
  31. int main(int argc, char **argv, char **envp)
  32. {
  33.    printf( "Hello, world!\n");
  34.    return 0;
  35. }
  36.  
  37. </if>
  38. </if>
  39.  
  40.  
  41.