can anyone explain this code to me ? This code can set font color in c++ (window only) and i copy from this web site (http://www.dreamincode.net/code/snippet1491.htm) it work , but i don't understand some line (<-)
1.void setcolor(unsigned int color)
2.{
3. if (color >15 || color <=0)
4. {
5. cout <<"Error" <<endl;
6.
7. }
8. else
9. {
10. HANDLE hcon = GetStdHandle(STD_OUTPUT_HANDLE);<-
11. SetConsoleTextAttribute(hcon,color); <-
12. }
13.}