Find Here !!!

Thursday, 19 June 2014

Contoh Program Overloading

#include "iostream.h"
#include "conio.h"
#include "iomanip.h"
#include "stdlib.h"

const int Max=10;
class ang
{
                private:
int baris;
int kolom;
float data[Max][Max];
                public:
ang();
void input();
void output();
ang operator + (ang);
ang operator - (ang);
ang operator * (ang);

};

Monday, 2 June 2014

Fungsi-fungsi string di C++

#include "iostream.h"
 #include "string.h"
 #include "stdio.h"


 main ()
 {
 char ulang;
char s[30];
char a[30];
char d[30];
char f[30];