News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Changing Default file extensions

Started by psaikia, January 01, 2012, 09:41:59 PM

Previous topic - Next topic

psaikia

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++

demone

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.
processor: Intel Core 2 Quad.
ram: 4 GB
os: Vista
gfx card: Ati Radeon HD 5570

psaikia

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.