C ++ Compiler Downloads
for 1st Term
Update : 04:46 PM 2nd of June 2003
Hi, Guys Mark My words " Do not ignore Boolean Algebra.... Need I say anything more!!!!"
All the best.
Cheers!
You can aim for 100 if you know boolean properly!! My phone number --> 0097150 5858657. Latest Update L: A program on structures // example about structures #include #include #include struct movies_t { char title [50]; int year; } mine, yours; void printmovie (movies_t movie); int main () { char buffer [50]; strcpy (mine.title, "2001 A Space Odyssey"); mine.year = 1968; cout << "Enter title: "; cin.getline (yours.title,50); cout << "Enter year: "; cin.getline (buffer,50); yours.year = atoi (buffer); cout << "My favourite movie is:\n "; printmovie (mine); cout << "And yours:\n "; printmovie (yours); return 0; } void printmovie (movies_t movie) { cout << movie.title; cout << " (" << movie.year << ")\n"; }
1