User forums > Help
Code Blocks not compling the code any other directory except in C Drive....
MortenMacFly:
--- Quote from: thomas on November 05, 2008, 10:54:01 am ---C != C++
--- End quote ---
Darn. Sure thing. I didn't notice. :?
shafique:
I do all what you people say that......but mean I do change the settings in compiler and dibugger .........other settings.........and take inline the full command option....as you people told me..................but same results........same errors................
why it happens..........even if I make same code in C not C ++, it didn't generate in error......................why it do like this with only C ++????????????
TDragon:
Code::Blocks and GCC expect (rightly!) that a file ending with ".c" will only contain C code. The code you've written is in C++; you should name the file ".cpp" (recommended), ".cc" or ".cxx".
shafique:
hurrrrrrrrrrrahhhhhhhhhhh
yes it works ...................thanks very much.......
live you.............10000000000000000000000 years............thanks again
Navigation
[0] Message Index
[*] Previous page
Go to full version