shevin
October 27th, 2011, 01:50 AM
guys
I want to write and compile a program that has pthread in it in IDE .
in terminal I use -pthread option of gcc to compile it, (otherwise I would get error frmo gcc) but in IDEs like geany or code::blocks I dont know how to tell it to use -pthread when it compiles so it deosnt give me error ?
btw, which IDE , I should use for programs in C ?
I want to write and compile a program that has pthread in it in IDE .
in terminal I use -pthread option of gcc to compile it, (otherwise I would get error frmo gcc) but in IDEs like geany or code::blocks I dont know how to tell it to use -pthread when it compiles so it deosnt give me error ?
btw, which IDE , I should use for programs in C ?