View Single Post
Old Jul 30th, 2005, 3:01 PM   #8
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
Darkone, just a note, you can use "using namespace std;" instead of "std::bla" like his:
#include <iostream>
#include <string>
using namespace std;

int main()
{
   string quote;
   getline(cin, quote );
   if(quote=="The one and the only one...darkone.")
	 cout<<"\a";
}
OpenLoop is offline   Reply With Quote