473,574 Members | 2,474 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1697
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**********@g mail.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.p rogrammer.

--
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.l earn.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
"depricatin g" 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
1882
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 suggestions?? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
5
1435
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 base skills+ I'm a sucker for a simple interface and want to hang as close as i can to the format the best of the best
100
6859
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 are discussing whether this newsgroup should focus on 100% ANSI C or simply topics related to the C language in the real world. There is a C...
143
7955
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 included for the sine function. but which .c file implements the sine/cosine and other trig fns thanks
13
4332
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); e.g. "int multiply(int, int);" 2nd Format (I've seen this used in other people's code)
4
996
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 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...
83
11563
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 difference between C99 & ANSI C standards?
10
3187
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 the output, save for those that manage color codes or text presentation (in short, the ones that are ESChttp://fd0man.theunixplace.com/Tmud.tar which...
6
4020
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 using the old syntax that are documented? Are there any other issues that I use to justify a code upgrade?
0
7710
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7800
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8092
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5610
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5296
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3738
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3745
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2230
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 we have to send another system
1
1332
muto222
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.