hi. i am having trouble running a program. i save it using .cpp and i build it but it doesnt build. it doesnt give me any errors and when i try to run it says "this program is not built, do you want to build it" and when i press yes it still doesnt build. and when i try to save it again it says it was saved in .inl when i know i saved it in .cpp. what am i supposed to do? thanks.
Could you give us the code that you are trying to compile? And is this happening with Dev-C++ or Code::Blocks? I tend to have a lot of unwanted trouble with those two IDEs, which is why I don't use an IDE anymore.
i am using code blocks and at first my program ran but then all of a sudden it stopped working. my code didnt have any errors. but when i run now its saying: "no such file or directory" on the terminal.
I guess it's Code::Blocks cause I use it...install MingW(or any other compiler), and give code::blocks the installation directory at the compiler and debbuger settings
sorry im new to this so can you please explain it to me :) thanks oh and i also have X11 downloaded but that isnt doing anything. isnt my program supposed to run on that instead of terminal? i use a mac. thanks
I use win xp so I don't know much about mac and I've not heard of X11.
By the way, from the looks of it, code::blocks has some default settings of some common compilers. so if you get one of those, it will be helpful. and by the way, you can check this site about X11 and code::blocks: http://stackoverflow.com/questions/8028295/x11-code-does-not-compile-in-code-blocks
Have u compiled code before with code::blocks ? Try to compile with Borland or MS express's compiler...that way we can know if it's just a setting that is off.