+ 2
How to print smile without graphics in c
4 ответов
+ 10
#include <stdio.h>
int main()
{
printf(":D");
return 0;
}
+ 8
@Ankit: Here is what the creator of c++ has to say on this matter.
http://www.stroustrup.com/bs_faq2.html#void-main
+ 3
#include <stdio.h>
#include <conio.h>
void main ()
{
printf(":D");
getch();
}
+ 1
@Hatsey int main () function & @Me void main () function. both is good try it out.