diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-11-15 21:32:25 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-11-15 21:32:25 +0000 |
commit | 11a3b026d7f1b25a4cdd767d198e502b0cdd2373 (patch) | |
tree | d1038556f0c918960f732417ad3fc120fbff65eb /docs/ACE-guidelines.html | |
parent | daf771170f23bb9cc5910d24d250ecc83e596220 (diff) | |
download | ATCD-11a3b026d7f1b25a4cdd767d198e502b0cdd2373.tar.gz |
ChangeLogTag:Thu Nov 15 08:26:57 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'docs/ACE-guidelines.html')
-rw-r--r-- | docs/ACE-guidelines.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/ACE-guidelines.html b/docs/ACE-guidelines.html index 8a08e8c96f9..16dbc995d6d 100644 --- a/docs/ACE-guidelines.html +++ b/docs/ACE-guidelines.html @@ -55,7 +55,7 @@ bgcolor="#ffffff"> always be declared with arguments, <em>e.g.</em>, <pre> int - main (int argc, char *argv[]) + main (int argc, ACE_TCHAR *argv[]) { [...] @@ -67,7 +67,7 @@ bgcolor="#ffffff"> arguments, don't declare them, <em>e.g.</em>, <pre> int - main (int, char *[]) + main (int, ACE_TCHAR *[]) { [...] @@ -75,10 +75,10 @@ bgcolor="#ffffff"> } </pre><p> - Please declare the second argument as <code>char *[]</code> - instead of <code>char **</code>. Ancient versions of MSC - complained about <code>char **</code>; I've never seen a - C++ compiler complain about <code>char *[]</code>.<p> + Please declare the second argument as <code>ACE_TCHAR *[]</code> + instead of <code>ACE_TCHAR **</code> or <code>char *[]</CODE>. Ancient versions of MSC + complained about <code>ACE_TCHAR **</code> and <code>char + *[]</CODE> is not Unicode-compliant.<p> <code>main</code> must also return 0 on successful termination, and non-zero otherwise.<p> |