Categories
: C & C++ (103)
Articles [C & C++]
EXCEPTION HANDLING
Introduction
An exception is an indication of a problem that occurs during a program's execution. The name "exception" implies that the problem occurs infrequently if the "rule" is that a statement normally executes...
The program development process includes three important stages, namely, program design, program coding & program testing. All three stages contribute to the production of high quality programs. Here we shall discus about program coding...
First starting with c++
prerequisite for this is c some guys get books of deep c i hopeThis tutor designed for noobs so anybody who knows c++ well just keep quiet and dont show off ur...... etccci go slowly one chapter per day starting some...
String Manipulation function
strcat appands one string to another
strchr finds first occurence of a given character in string
strcmp compares two strings
strcmpi compares two strings without regard to...
Arithmetic functions
abs returns absolute value of the integer
cos calculates cosine
cosh calculates hyperbolic cosine
exp raises the exponential e to the xth power
fabs finds absolute value
floor find largest integer less than...
////////////////////////////////////////#include
// Function prototype.void ErrorMsg();
////////////////////////////////////////// The main() function.////////////////////////////////////////int main(){ // Call the function. ...
////////////////////////////////////////#include
// Prototypevoid show(int = 1, float = 2.3, long = 4);
////////////////////////////////////////// The main() function.////////////////////////////////////////main(){ show(); // all...
#include #include
////////////////////////////////////////// An inline function.////////////////////////////////////////inline void error_message(char* s){ std::cout
////////////////////////////////////////#include
////////////////////////////////////////// The first version of string_copy().////////////////////////////////////////void string_copy(char *dest, const char* src){ while((*dest++ = *src++) !=...
////////////////////////////////////////#include #include
////////////////////////////////////////// The first version of display_time().////////////////////////////////////////void display_time(const struct std::tm* tim){ std::cout
Powered by CjBlog