| 175 | | fprintf( ioQQQ, " Cloudy %s\n\n",version.chVersion); |
| 176 | | fprintf( ioQQQ, " **************************************%8.87s*************************************\n", version.chDate); |
| 177 | | fprintf( ioQQQ, " * *\n"); |
| 178 | | |
| | 175 | int indent = (122 - strlen(version::Inst().chVersion))/2; |
| | 176 | fprintf( ioQQQ, "%*cCloudy %s\n\n",indent,' ',version::Inst().chVersion); |
| | 177 | fprintf( ioQQQ, "%23c**************************************%7.7s**************************************\n", ' ', version::Inst().chDate ); |
| | 178 | fprintf( ioQQQ, "%23c*%81c*\n", ' ', ' ' ); |
| 197 | | fprintf( ioQQQ, " %7.7s * ",chNote); |
| 198 | | j = 0; |
| 199 | | /* print actual command */ |
| 200 | | while( input.chCardSav[i][j] !='\0' ) |
| 201 | | { |
| 202 | | fprintf( ioQQQ, "%c", input.chCardSav[i][j] ); |
| 203 | | ++j; |
| 204 | | } |
| 205 | | /* flush out rest of space then * */ |
| 206 | | while( j<80 ) |
| 207 | | { |
| 208 | | fprintf( ioQQQ, "%c", ' ' ); |
| 209 | | ++j; |
| 210 | | } |
| 211 | | /* end the line */ |
| 212 | | fprintf( ioQQQ, "*\n" ); |
| 213 | | } |
| 214 | | fprintf( ioQQQ, " * *\n ***********************************************************************************\n\n\n" ); |
| | 197 | fprintf( ioQQQ, "%22.7s * %-80s*\n", chNote, input.chCardSav[i] ); |
| | 198 | } |
| | 199 | fprintf( ioQQQ, "%23c*%81c*\n", ' ', ' ' ); |
| | 200 | fprintf( ioQQQ, "%23c***********************************************************************************\n\n\n", ' ' ); |