User forums > Using Code::Blocks
can't get new program to build/run
(1/1)
jacob:
Just installed Code::Blocks and tried to run a first test to get it going. However, it throws an error. This will be very simple fault from my side, but please a bit of help. I am new to Code::blocks, so have a bit of patience!
Looking forward to some help.
Jacob.
Miguel Gimenez:
You must create a project even for single files (select File->New->Project->Console project)
oBFusCATed:
--- Quote from: Miguel Gimenez on June 16, 2019, 10:53:58 am ---You must create a project even for single files (select File->New->Project->Console project)
--- End quote ---
This is not correct.
@jacob: Next time please read the FAQ. There is an answer for your problem. And it is - rename your file to .cpp and it will work.
jacob:
Many thanks. It works as you say. And sorry for not having looked into FAQ's.
Navigation
[0] Message Index
Go to full version