#include <stdio.h>
void display_line(void);
main()
{
display_line();
printf( "\n Hello\n" );
display_line();
return 0;
}
/* print asterisk line */
void display_line(void)
{
int counter;
for( counter = 0; counter < 9; counter++ )
printf( "*" );
}
/* End of Program */
It basically just prints Hello with a top and bottom * boreder line. I wanted to do that on a messagebox but didnt know how to store the whole thing border and all maybe in some kind of pointer so I could have it shown on my messagebox like MessageBox(0, pointer, Title, MB_OK);
I'm starting to learn win32 API now and could use the help. Appreciate it.
Edited by Jaan, 11 August 2008 - 12:54 AM.
Please use CODE tags when you're posting your codes!


Sign In
Create Account

Back to top









