포인터를 호출할땐 저렇게포인터 자체를 넣어주면 된다.
하지만 또 그냥 함수안에서 포인터의 주소를 쓰자면 p라고 써주면된다.
포인터를 호출할땐 저렇게포인터 자체를 넣어주면 된다.
하지만 또 그냥 함수안에서 포인터의 주소를 쓰자면 p라고 써주면된다.
6 2 | I am totally new to C++ programming on gcc. I wanted to add color to my text on the output on the console. Since there is no conio.h on linux, I researched and found that ncurses.h could do the trick. Now the only problem is that I do not know how to download it and then add the library. Can someone please describe the method? Also, if anybody can describe whether ncurses.h is a better option than curses.h or if I am completely wrong in using curses.h? | |||
add a comment |