News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Templates

Started by bradleyd, June 16, 2008, 05:00:52 PM

Previous topic - Next topic

bradleyd

Hello,

I was wondering if there was a way to start an empty c++ file in CodeBlocks that would use a template. For example it would contain:
#include <iostream>
using namespace std;


for every empty file or c++ source file I start?

Thanks for your time,

Brad

McZim

Hi, no, use this only if you need that!!!

bradleyd

I am sorry, but I did not get your response?

McZim


bradleyd

QuoteHi, no, use this only if you need that!!!
use what?

killerbot

an include of iostream,  very often you will not need that.

bradleyd

oh, ok. Sorry about that. What about the rest of the template?

Jenna

"Settings -> Editor -> Default Code" ?

bradleyd

thanks that worked.
take care..