473,396 Members | 2,018 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.

non-.NET languages in VS.NET

I was wondering if it is possible to code in original C in VS.NET,
instead of being limited to Managed C++. I was told at a conference by
a MS guy that .NET can handle any language you want, so I'm curious how
to go about doing this.

Jul 21 '05 #1
8 1279
I believe Visual C++ is a standard C++ compiler. The "managed"
compilation is just an additional option.

Spar-Q wrote:
I was wondering if it is possible to code in original C in VS.NET,
instead of being limited to Managed C++. I was told at a conference by
a MS guy that .NET can handle any language you want, so I'm curious how
to go about doing this.

Jul 21 '05 #2
"Spar-Q" <ch****@cs.mun.ca> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
I was wondering if it is possible to code in original C in VS.NET,
instead of being limited to Managed C++. I was told at a conference by
a MS guy that .NET can handle any language you want, so I'm curious how
to go about doing this.


You'll have to find a C compiler. .NET does ship with a sample C.NET
compiler, but it's not nearly full-featured enough for production work. You
can find it in the Tool Developers directory. Have a look at:
http://www.cs.princeton.edu/software/lcc/ (ANSI C from Princeton)
http://www.gnu.org/projects/dotgnu/pnet.html (ANSI C from Portable.NET)
Jul 21 '05 #3
Spar-Q

AFAIK is that possible.

You can ask this as well in the newsgroup

microsoft.public.dotnet.languages.vc

Probably do you have there a better change.

Cor
Jul 21 '05 #4
> I was wondering if it is possible to code in original C in VS.NET,
instead of being limited to Managed C++. I was told at a conference by
a MS guy that .NET can handle any language you want, so I'm curious how
to go about doing this.

VC++ 2003 is a normal compiler that generates normal executables without
..NET if you wish, just like VC++ 6.0 would.
Using MFC. So no need to install .NET if you create applications like that.

But it also contains an option to compile in a mixed mode that is partially
like the old way and with the .NET way. So you can create hybride programs
partial .NET and partial none-.NET. In this case the .NET must be installed.



Jul 21 '05 #5
Not sure what the exact question is.

1) VS.NET allows to create C++ applications that doesn't relly on .NET (if
this is what you are after).

2) What the guy meant is likely that .NET provides a whole infrastructure
making quite "easy" (for a compiler vendor) to add whatever language to
..NET. In this case it creates .NET based application (he likely didn't meant
that any "non .NET language" can be "handled" by .NET)

Patrice
--

"Spar-Q" <ch****@cs.mun.ca> a écrit dans le message de
news:11*********************@o13g2000cwo.googlegro ups.com...
I was wondering if it is possible to code in original C in VS.NET,
instead of being limited to Managed C++. I was told at a conference by
a MS guy that .NET can handle any language you want, so I'm curious how
to go about doing this.

Jul 21 '05 #6
Programming Language, IDE (VS.NET out here) and Platform are three different
things we are talking about here. Using VS.NET it is possible to write code
in original C code targeting the Native WindowsT Platform. However, VS.NET
does not ship with support for pure C langugage targeting the .NET platform.
best,
Subin

"Spar-Q" <ch****@cs.mun.ca> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
I was wondering if it is possible to code in original C in VS.NET,
instead of being limited to Managed C++. I was told at a conference by
a MS guy that .NET can handle any language you want, so I'm curious how
to go about doing this.

Jul 21 '05 #7
Ahh, I see a bunch of confusion here.. What I wanted was the ability to
write standard "old" c++ code without the whole .NET infrastructure
involved... C would be nice as well, if I could get a compiler for it,
but that's not totally necessary.

Jul 21 '05 #8
"Spar-Q" <ch****@cs.mun.ca> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Ahh, I see a bunch of confusion here.. What I wanted was the ability to
write standard "old" c++ code without the whole .NET infrastructure
involved... C would be nice as well, if I could get a compiler for it,
but that's not totally necessary.


VS.NET allows you to write both managed and unmanaged C++ code, unmanaged
being "old" C++ code.
Jul 21 '05 #9

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

Similar topics

5
by: klaus triendl | last post by:
hi, recently i discovered a memory leak in our code; after some investigation i could reduce it to the following problem: return objects of functions are handled as temporary objects, hence...
3
by: Mario | last post by:
Hello, I couldn't find a solution to the following problem (tried google and dejanews), maybe I'm using the wrong keywords? Is there a way to open a file (a linux fifo pipe actually) in...
25
by: Yves Glodt | last post by:
Hello, if I do this: for row in sqlsth: ________pkcolumns.append(row.strip()) ________etc without a prior:
32
by: Adrian Herscu | last post by:
Hi all, In which circumstances it is appropriate to declare methods as non-virtual? Thanx, Adrian.
8
by: Bern McCarty | last post by:
Is it at all possible to leverage mixed-mode assemblies from AppDomains other than the default AppDomain? Is there any means at all of doing this? Mixed-mode is incredibly convenient, but if I...
14
by: Patrick Kowalzick | last post by:
Dear all, I have an existing piece of code with a struct with some PODs. struct A { int x; int y; };
11
by: ypjofficial | last post by:
Hello All, So far I have been reading that in case of a polymorphic class ( having at least one virtual function in it), the virtual function call get resolved at run time and during that the...
2
by: Ian825 | last post by:
I need help writing a function for a program that is based upon the various operations of a matrix and I keep getting a "non-aggregate type" error. My guess is that I need to dereference my...
399
by: =?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?= | last post by:
PEP 1 specifies that PEP authors need to collect feedback from the community. As the author of PEP 3131, I'd like to encourage comments to the PEP included below, either here (comp.lang.python), or...
12
by: puzzlecracker | last post by:
is it even possible or/and there is a better alternative to accept input in a nonblocking manner?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.