Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > C++03 ANSI Standard in Visual studio 2008

Reply
Thread Tools

C++03 ANSI Standard in Visual studio 2008

 
 
persres@googlemail.com
Guest
Posts: n/a
 
      09-15-2010
Hello,
I have a couple of questions.

1) I want to force VS 2008 to follow "C++03 ANSI Standard". Is there
any way to do this.
2) Is the "placement new" available in "C++03 ANSI Standard"?. How do
I find out something like that if option 1 is not possible?

Thanks for your help.




 
Reply With Quote
 
 
 
 
Alf P. Steinbach /Usenet
Guest
Posts: n/a
 
      09-15-2010
* , on 15.09.2010 19:59:
> Hello,
> I have a couple of questions.
>
> 1) I want to force VS 2008 to follow "C++03 ANSI Standard". Is there
> any way to do this.


Not really. There is an option for it, but then you won't be able to compile
programs using anything Microsoft other than the C++ standard library. Unless
Microsoft has done something about that lately (fat chance).


> 2) Is the "placement new" available in "C++03 ANSI Standard"?. How do
> I find out something like that if option 1 is not possible?


Get yourself a copy of the standard.

The drafts of the next version are freely available from the C++ committee pages.

You might also invest in a good C++ textbook. "The C++ Programming Language" by
Bjarne Stroustrup comes to mind.


Cheers & hth,.

- Alf

--
blog at <url: http://alfps.wordpress.com>
 
Reply With Quote
 
 
 
 
persres@googlemail.com
Guest
Posts: n/a
 
      09-15-2010
On 15 Sep, 19:18, "Alf P. Steinbach /Usenet" <alf.p.steinbach
+use...@gmail.com> wrote:
> * pers...@googlemail.com, on 15.09.2010 19:59:
>
> > Hello,
> > * *I have a couple of questions.

>
> > 1) * I want to force VS 2008 to follow "C++03 ANSI Standard". Is there
> > any way to do this.

>
> Not really. There is an option for it, but then you won't be able to compile
> programs using anything Microsoft other than the C++ standard library. Unless
> Microsoft has done something about that lately (fat chance).
>

Hi,
Thanks. Thats what I want. Its just an academic exercise for me.
Could you tell what the option is?
Thanks
 
Reply With Quote
 
Alf P. Steinbach /Usenet
Guest
Posts: n/a
 
      09-15-2010
* , on 15.09.2010 20:54:
> On 15 Sep, 19:18, "Alf P. Steinbach /Usenet"<alf.p.steinbach
> +use...@gmail.com> wrote:
>> * pers...@googlemail.com, on 15.09.2010 19:59:
>>
>>> Hello,
>>> I have a couple of questions.

>>
>>> 1) I want to force VS 2008 to follow "C++03 ANSI Standard". Is there
>>> any way to do this.

>>
>> Not really. There is an option for it, but then you won't be able to compile
>> programs using anything Microsoft other than the C++ standard library. Unless
>> Microsoft has done something about that lately (fat chance).
>>

> Hi,
> Thanks. Thats what I want. Its just an academic exercise for me.
> Could you tell what the option is?


/Za

No guarantee for how well (or not) it works.


Cheers & hth.,

- Alf

--
blog at <url: http://alfps.wordpress.com>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VWD 2008 express and Visual Studio 2008 Chen ASP .Net 4 10-11-2009 01:18 AM
Visual studio 2008 remote debugger SP1 on Windows Server 2008 Julien ASP .Net 1 05-18-2009 05:38 PM
Enabling browser back button for GridView Paging and Sorting in Ajax1.1 and 3.5 (using Visual Studio 2005/ Visual studio 2008) anil reddy ASP .Net 0 02-11-2009 04:22 PM
Visual Web Express 2008 X Visual Studio Pro 2008 HRsoft Informática ASP .Net 3 06-09-2008 02:07 PM
Buying Reviews: Professional or Standard Visual Studio 2008???? Logician ASP .Net 2 02-23-2008 05:52 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57