Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > ANSI c++ development in .net

Reply
Thread Tools

ANSI c++ development in .net

 
 
Nishanth
Guest
Posts: n/a
 
      06-06-2006
Hi All,

Is is possible to develop ANSI C++ development in Visual Studio .net?
Is it possible to execute the ANSI c++ application compiled as above in
other systems that do not have .net framework installed.

Thanks
Nishanth

 
Reply With Quote
 
 
 
 
Nishanth
Guest
Posts: n/a
 
      06-06-2006
I am sorry if i was not clear in my earlier post.

My understanding is that ANSI c++ is a standard for c++, to which all
the compilers should adhere to. and the c++ code developed by following
these standards should be compatible with different c++ compilers for
different platforms.

My question is
- If we develop the c++ code in .net and compile the same, will the
executable run in any other windows platform without the .net framework
installed.
My thinking is no, as the code compiled in .net framework platform and
CLR will come into play.
But is there a way to compile the code in Visual studio .net without it
being converted into CLR and making it platform dependant.

I want to know this as someone suggested that we use the .net ide to
write and compile the ANSI c++ code.

Thanks
Nishanth

 
Reply With Quote
 
 
 
 
Jack Klein
Guest
Posts: n/a
 
      06-06-2006
On 5 Jun 2006 21:27:28 -0700, "Nishanth" <(E-Mail Removed)>
wrote in comp.lang.c++:

> I am sorry if i was not clear in my earlier post.
>
> My understanding is that ANSI c++ is a standard for c++, to which all
> the compilers should adhere to. and the c++ code developed by following
> these standards should be compatible with different c++ compilers for
> different platforms.


So far, so good.

> My question is
> - If we develop the c++ code in .net and compile the same, will the
> executable run in any other windows platform without the .net framework
> installed.


This is a Windows question, not a C++ language one.

> My thinking is no, as the code compiled in .net framework platform and
> CLR will come into play.
> But is there a way to compile the code in Visual studio .net without it
> being converted into CLR and making it platform dependant.


This is a Windows and .net question, not a C++ language one.

> I want to know this as someone suggested that we use the .net ide to
> write and compile the ANSI c++ code.


You need to ask questions about specific compilers and specific
Windows extensions like .net in a Windows group. The C++ language
standard knows nothing at all of .net.

I'd suggest news:comp.os.ms-windows.win32.programmer.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
 
Reply With Quote
 
Noah Roberts
Guest
Posts: n/a
 
      06-06-2006

Nishanth wrote:
> I am sorry if i was not clear in my earlier post.
>
> My understanding is that ANSI c++ is a standard for c++, to which all
> the compilers should adhere to. and the c++ code developed by following
> these standards should be compatible with different c++ compilers for
> different platforms.


ISO is actually the group in change of standardizing C++.
>
> My question is
> - If we develop the c++ code in .net and compile the same, will the
> executable run in any other windows platform without the .net framework
> installed.
> My thinking is no, as the code compiled in .net framework platform and
> CLR will come into play.
> But is there a way to compile the code in Visual studio .net without it
> being converted into CLR and making it platform dependant.


Yes, you can write "unmanaged code" in visual studio. However, the
compilations are still platform dependant.

>
> I want to know this as someone suggested that we use the .net ide to
> write and compile the ANSI c++ code.


I find the environment rather irritating myself but it does work and is
one of the better ISO standard compilers of the day.

There may come a time, maybe soon, when it won't work. MS is
"depricating" win32 and moving EVERYTHING to .NET. Writing unmanaged
code may become difficult or impossible on the windows platform.

 
Reply With Quote
 
=?ISO-8859-1?Q?Erik_Wikstr=F6m?=
Guest
Posts: n/a
 
      06-06-2006
On 2006-06-06 06:27, Nishanth wrote:
> I am sorry if i was not clear in my earlier post.
>
> My understanding is that ANSI c++ is a standard for c++, to which all
> the compilers should adhere to. and the c++ code developed by following
> these standards should be compatible with different c++ compilers for
> different platforms.
>
> My question is
> - If we develop the c++ code in .net and compile the same, will the
> executable run in any other windows platform without the .net framework
> installed.
> My thinking is no, as the code compiled in .net framework platform and
> CLR will come into play.
> But is there a way to compile the code in Visual studio .net without it
> being converted into CLR and making it platform dependant.
>
> I want to know this as someone suggested that we use the .net ide to


Start a new "Empty Project", add a source-file and you're all set.

Erik Wikström
--
"I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure
out how to use my telephone" -- Bjarne Stroustrup
 
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
pre-ansi to ansi c++ conversion? Frank Iannarilli C++ 2 07-21-2009 11:05 PM
Are there statistics packages in ANSI C and/or ANSI C++? lbrtchx@gmail.com C Programming 11 04-28-2008 03:00 AM
Are there statistics packages in ANSI C and/or ANSI C++? lbrtchx@gmail.com C++ 1 04-24-2008 06:44 PM
development environment architecture for ASP.NET development team Akhlaq Khan ASP .Net 4 09-27-2004 01:33 PM
Re: Development best practices and knowing when to exercise control over development Kevin Spencer ASP .Net 2 08-06-2003 09:33 PM



Advertisments