Re: Question: Compiling straight c++ in Visual studio 2010 express c++

  • From: Alex Midence <alex.midence@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Sun, 27 Jun 2010 22:36:35 -0500

I thought the "using namespace std" would prevent me from having to type std all the time. I'll try it this way, though. Thanks.


Alex
Tyler Littlefield wrote:
I lied, I should've been clearer. that's your main func. Hello world is:
#include<iostream>
int main(int argc, const char* argv)
{
std::cout<<  "Hello world!"<<  std::endl;
return 0;
}
What I said in the other message still applies, though.
HTH,

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind



__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: