Advertisement
florin88

Prog basse C++

Mar 10th, 2014
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.84 KB | None | 0 0
  1. /*************************************************************/
  2. /*Nome Prog:  Prog basse C++                        */
  3. /*Questo semplice programma in C++, che puoi usare come base per capire come scrivere del codice in linguaggio C++ */                                                  
  4. /*Autore: florin88                                            */
  5. /*e-mail: ffinformaticus@gmail.com                            */
  6. /***********************************************************/
  7.  
  8. #include <iostream>
  9.  
  10. using namespace std;  
  11.  
  12. int main() {
  13.  
  14.       cout << endl;
  15.       cout << "Una stringa\n";      
  16.       cout << "Altra stringa"<< endl;  
  17.       cout << endl;
  18.       cout << "Numero: " << 7 << endl;  
  19.       cout << endl;
  20.       cout << "2 + 2 รจ uguale a 4? \n" << boolalpha << (2 + 2 == 4) << endl;
  21.       cout << endl;
  22.  
  23.       return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement