home *** CD-ROM | disk | FTP | other *** search
- int proc (int par_1,
- char * par_2)
- {
- if ( (a == b)
- || (c == d))
- {
- switch (a)
- {
- case 1:
- c = up1 (a,
- b,
- up2 (c,
- d));
- break;
- case 2:
- /* this is a
- multi line comment */
- break;
- default:
- {
- int n; /* loop counter */
- for (n = 10;
- n > 0;
- n--)
- {
- array [n
- -1] = 0;
- }
- }
- }
- #ifdef WINDOWS
- wsprintf (szMessage, szFormat, iParam);
- if (MessageBox (hWnd, szMessage, ...))
- {
- #else
- printf (szMessage, szFormat, iParam);
- if (fgets (user_input, ...))
- {
- #endif
- /* continuation after user response */
- ...
- }
- }
- }
-
-