I have the code below and cannot decide if to put it in a .h file or in a .cpp file
#ifndef VERBOSE_H
#define VERBOSE_H
#include "sstring.h"
enum Verbose { none = 0, low = 1, medium = 2, high = 3, diag = 4 };
bool GetVerbose(String& S, Verbose& V) {
S.ToUpper();
if (S ==... (3 Replies)
In a program if we call exit(0), it exits the program and before that it closes all opened stream.
In C++, it even does destroys the created objects. Is there any function available, which if called will do some basic clean ups (which includes object destruction) ??? (4 Replies)
sir
i am trying to compile and execute cpp file in unix
the command cpp <filename > is not working
do you suggest any other command?
thanking you (5 Replies)