mackol Posted December 3, 2002 Share Posted December 3, 2002 do any of u know how can i output a smilie face ( not by error ) intentionally to screen using C :) thanks Link to comment Share on other sites More sharing options...
0 Gumboot Posted December 3, 2002 Share Posted December 3, 2002 printf("%c", (char) 1); should do it. Also try "(char) 2" for a filled in smiley face. :) If you want to see what the other codes are: for (i = 0; i < 256; i ++) printf("%i: %c", i, (char) i); Link to comment Share on other sites More sharing options...
0 mackol Posted December 3, 2002 Author Share Posted December 3, 2002 i will try it mate cheers Link to comment Share on other sites More sharing options...
0 mackol Posted December 3, 2002 Author Share Posted December 3, 2002 there doesnt seem to be one for a sad smilie ay :D :cry: Link to comment Share on other sites More sharing options...
0 Gumboot Posted December 3, 2002 Share Posted December 3, 2002 Heh, nope. :o :) Link to comment Share on other sites More sharing options...
Question
mackol
do any of u know how can i output a smilie face ( not by error ) intentionally to screen using C :)
thanks
Link to comment
Share on other sites
4 answers to this question
Recommended Posts