473,396 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ANSI c++ development in .net

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

Jun 6 '06 #1
4 1690
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

Jun 6 '06 #2
On 5 Jun 2006 21:27:28 -0700, "Nishanth" <ra**********@gmail.com>
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
Jun 6 '06 #3

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.

Jun 6 '06 #4
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
Jun 6 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: duzos duzos | last post by:
i need to connect to a dbf database with ansi/oem encoding the connection is ok but i have problem with page encoding the characters don't display as they should! does anyone have any...
5
by: goodfella | last post by:
Howdy code writers et al .. I want to get into my C++ programming and need helpful pointer to the best free ansi c++ complier for me to use for a few weeks to pick up some first / second...
100
by: Roose | last post by:
Just to make a tangential point here, in case anyone new to C doesn't understand what all these flame wars are about. Shorthand title: "My boss would fire me if I wrote 100% ANSI C code" We...
143
by: suri | last post by:
Hello I downloaded glibc and tried looking for the code that implements the sine function i couldnt find the file. i went to the math directory and found math.h.. i guess that needs to be...
13
by: Roy Hills | last post by:
I've seen two different function prototype formats used for ANSI C, and I'm unsure as to which is the correct or preferred one. 1st Format (this is what I use) type function(type, type, type);...
4
by: Nishanth | last post by:
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...
83
by: sunny | last post by:
Hi All What is C99 Standard is all about. is it portable, i mean i saw -std=C99 option in GCC but there is no such thing in VC++.? which one is better ANSI C / C99? can i know the major...
10
by: Michael B. Trausch | last post by:
Alright... I am attempting to find a way to parse ANSI text from a telnet application. However, I am experiencing a bit of trouble. What I want to do is have all ANSI sequences _removed_ from...
6
by: dunleav1 | last post by:
I have an application that uses the old join syntax instead of the SQL92 standards join syntax. I need to justify changing the code to the new standard. Is there any performance issue related to...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.