Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Changing Default file extensions
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Changing Default file extensions (Read 6841 times)
psaikia
Single posting newcomer
Posts: 3
Changing Default file extensions
«
on:
January 01, 2012, 09:41:59 pm »
When I am opening an empty file from
File--New--Empty File
.
It always saves in .c and complies in only c . and not in .cpp or complies in C++.
I have to manually change the extension from .c to .cpp
Is there any way to auto recognize and saves and complies in either c or c++
Logged
demone
Multiple posting newcomer
Posts: 36
Re: Changing Default file extensions
«
Reply #1 on:
January 01, 2012, 10:33:33 pm »
I think that is faster creating a new .cpp file. You can name your file istantly as you wish, you have the right extension and you can optionally select a folder if you are working on a big project with many files.
Logged
processor: Intel Core 2 Quad.
ram: 4 GB
os: Vista
gfx card: Ati Radeon HD 5570
psaikia
Single posting newcomer
Posts: 3
Re: Changing Default file extensions
«
Reply #2 on:
January 03, 2012, 09:45:40 am »
How to create a
.cpp
file instantly . I am new to C and c++ , so while selecting by project it creates a folder and inside it creates many files other than .cpp or .c file.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Changing Default file extensions