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

  • From: "Joseph Lee" <joseph.lee22590@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sun, 27 Jun 2010 19:34:19 -0700

Hi,
Yeah, good point...
using namespace std;
would mean that a programmer doesn't have to use std:: (std scope
resolution) when writing programs. Well, scope resolution becomes a key
issue when designing your own data types and need to clearly differentiate
data and functions as to where they belong...
Cheers,
Joseph

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of qubit
Sent: Sunday, June 27, 2010 7:30 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: Question: Compiling straight c++ in Visual studio 2010 express
c++

what about the "using std" spec?
Interesting.

----- Original Message ----- 
From: "Tyler Littlefield" <tyler@xxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Sunday, June 27, 2010 6:33 PM
Subject: Re: Question: Compiling straight c++ in Visual studio 2010 express 
c++


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

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.439 / Virus Database: 271.1.1/2967 - Release Date: 06/27/10
18:35:00

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

Other related posts: