15 プログラミング

HTML テーブルの枠線を消す

<table><tr><td style="border-style: none;">AAA</td><td style="border-style: none;">BBB</td></tr></table> ↓ AAA BBB

C言語 printfの表示色を変える

#include #include void main( ) { HANDLE hStd = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleTextAttribute(hStd,0xc); // これ以降、赤(強調)表示 printf("ABC\n"); SetConsoleTextAttribute(hStd,0x7); // これ以降、白表示 printf("ABC\n"); }4=赤、…