473,472 Members | 2,039 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ANSI c++ development in .net

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 #1
4 994
Nishanth,

Yes you can use C++ without managed code.

But that is not giving the same result as C++ with managed code classes.

It is exactly as you wrote a C++ compiler AFAIK with the additions which
were as well in Visual Studio 6.

Cor

"Nishanth" <ra**********@gmail.com> schreef in bericht
news:11*********************@c74g2000cwc.googlegro ups.com...
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
Cor,
But the application created like this will it not require .net
framework installed in the machine. Even if the code that is developed
is syntactically follows the ANSI c++ standards.

Thanks
Nishanth

Jun 6 '06 #3
Cor,
But the application created like this will it not require .net
framework installed in the machine. Even if the code that is developed
is syntactically follows the ANSI c++ standards.

Thanks
Nishanth

Jun 6 '06 #4

"Nishanth" <ra**********@gmail.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
Cor,
But the application created like this will it not require .net
framework installed in the machine. Even if the code that is developed
is syntactically follows the ANSI c++ standards.

Thanks
Nishanth

No, it will not. Dependence on the .NET Framework will depend on the project
type selected.
For example, if you choose a Win 32 or Win 32 Console application, or an
empty Console project, there is no association with the .NET Framework.
C++ in Visual Studio is unique in this regard, as opposed to C# and Visual
Basic.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
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:
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...
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...
2
by: prem | last post by:
Hi, Anybody know if there are any *FREE* ANSI C test suite for C/C++ for Compiler available? Any link/pointers is appreciated /Prem
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.