473,320 Members | 2,107 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,320 software developers and data experts.

The symbol "^"

Where can I find a discussion of the operator (or is it a keyword?) "^"?

Doesn't have any relationship to the "&" in C++?
Aug 8 '08 #1
10 1145
Hi Steve,
Where can I find a discussion of the operator (or is it a keyword?)
"^"?
I expect C++/CLI in the MSDN documentation for VC 2005/2008.
Doesn't have any relationship to the "&" in C++?
It is the C++/CLI equivalent of C++ *
C++ & "maps" to %

--
SvenC
Aug 8 '08 #2
Hello again Sven,

Thank you very much.

My immersion into Visual C++ has been very much like going into a far too
hot sauna :-). I feel that I've been burnt at every turn. The learning curve
is very much steeper than any of the 50 odd other languages I have used.

I have searched MSDN at great length and came up empty-handed. Would you
please give me the URL for this discussion?

Thanks again,

"SvenC" wrote:
Hi Steve,
Where can I find a discussion of the operator (or is it a keyword?)
"^"?

I expect C++/CLI in the MSDN documentation for VC 2005/2008.
Doesn't have any relationship to the "&" in C++?

It is the C++/CLI equivalent of C++ *
C++ & "maps" to %

--
SvenC
Aug 8 '08 #3
Hi Steve,
My immersion into Visual C++ has been very much like going into a far
too hot sauna :-). I feel that I've been burnt at every turn. The
learning curve is very much steeper than any of the 50 odd other
languages I have used.
If you target the .Net framework it will be easier with C# or VB.Net.
C++/CLI makes most sense when bringing your existing C/C++ native code
and .Net together.
I have searched MSDN at great length and came up empty-handed. Would
you please give me the URL for this discussion?
Here you go:
http://msdn.microsoft.com/en-us/library/xey702bw.aspx

--
SvenC
Aug 8 '08 #4
Steve Behman wrote:
Hello again Sven,

Thank you very much.

My immersion into Visual C++ has been very much like going into a far too
hot sauna :-). I feel that I've been burnt at every turn. The learning curve
is very much steeper than any of the 50 odd other languages I have used.

I have searched MSDN at great length and came up empty-handed. Would you
please give me the URL for this discussion?
Hi Steve:

If you want to learn C++/CLI (or any language really) you need a book. An
introductory book that covers both C++/CLI (using WinForms) and standard C++
(using MFC) is Ivor Horton's Beginning Visual C++ 2008.

But, as I believe I have mentioned to you before, you should consider very
carefully if you really want to get into C++/CLI. If you want to write WinForms
applications, the effort required to do it using C# is much less than with
C++/CLI (even if you are familiar with standard C++). And there are things you
can do with C# that you cannot do with C++/CLI, because Microsoft has abandoned
the attempt make C++/CLI a first class .NET language.

Yes, C# is a new language for you. But so is C++/CLI. Note that it is not Visual
C++ that is giving you trouble, it is C++/CLI. Visual C++ is just a compiler and
IDE that can create programs for three languages: C, C++, and C++/CLI. The
majority of people using Visual C++ use it to create standard C++ programs
(mostly using MFC), just as they did 10 years ago with VC6.

--
David Wilkinson
Visual C++ MVP
Aug 8 '08 #5
David Wilkinson wrote:
And there are things you can do with C# that you cannot do with C++/CLI,
because Microsoft has abandoned the attempt make C++/CLI a first class
.NET language.
If you go that way, there are many more things you cannot do with C# that
you can do with C++/CLI. Like writing C++. :-)

It fully depends on what you mean by "first class". As far as the managed
bits go, they all compile down to CIL, after all, and they can all access
each other's types. Nothing prevents you from writing some parts in one
language and others in another; the assemblies are interchangeable.

C#/VB.NET have recently diverged some more. Even though new features were
added, I've heard VB pundits complain that VB isn't being treated as first
class either, because of C# feature X or Y that they're missing. In these
discussions, I think we can save ourselves some trouble by defining
"first-class language" as "C#"...

C++/CLI is arguably burdened enough by its double heritage as it is. Do you
really want to see it loaded down with even more? Is anyone waiting for LINQ
in C++/CLI, for example?

C++/CLI is good enough for its purpose: bringing the managed and unmanaged
worlds together as painlessly as possible. Using it for new .NET projects is
not a particularly good idea, but then, it never was.

--
J.
Aug 8 '08 #6
David Wilkinson wrote:
Steve Behman wrote:
>Hello again Sven,

Thank you very much.

My immersion into Visual C++ has been very much like going into a
far too hot sauna :-). I feel that I've been burnt at every turn.
The learning curve is very much steeper than any of the 50 odd other
languages I have used. I have searched MSDN at great length and came up
empty-handed. Would
you please give me the URL for this discussion?

Hi Steve:

If you want to learn C++/CLI (or any language really) you need a
book. An introductory book that covers both C++/CLI (using WinForms)
and standard C++ (using MFC) is Ivor Horton's Beginning Visual C++
2008.
But, as I believe I have mentioned to you before, you should consider
very carefully if you really want to get into C++/CLI. If you want to
write WinForms applications, the effort required to do it using C# is
much less than with C++/CLI (even if you are familiar with standard
C++). And there are things you can do with C# that you cannot do with
C++/CLI, because Microsoft has abandoned the attempt make C++/CLI a
first class .NET language.
I think we've discussed this at length before on thise newsgroup. C++/CLI
isn't a first class citizen of *Visual Studio* in that most of the .NET
wizards can't deal with it. The debugger slows down. But the language and
compiler itself is very well supported -- if you're willing to write code,
you can do anything with C++/CLI that is possible with C#.
Aug 8 '08 #7
Ben Voigt [C++ MVP] wrote:
I think we've discussed this at length before on thise newsgroup. C++/CLI
isn't a first class citizen of *Visual Studio* in that most of the .NET
wizards can't deal with it. The debugger slows down. But the language and
compiler itself is very well supported -- if you're willing to write code,
you can do anything with C++/CLI that is possible with C#.

Ben::

LINQ? Doesn't LINQ require partial classes?

I would not dream of suggesting that *you* should not use C++/CLI. But for the
great majority of people downloading Visual C++ Express, and finding that the
only way to write GUI programs with it is using Winforms, continuing in this
direction is not the way to go, IMHO.

--
David Wilkinson
Visual C++ MVP
Aug 8 '08 #8
David Wilkinson wrote:
Ben Voigt [C++ MVP] wrote:
>I think we've discussed this at length before on thise newsgroup. C++/CLI
isn't a first class citizen of *Visual Studio* in that most
of the .NET wizards can't deal with it. The debugger slows down. But the
language and compiler itself is very well supported -- if
you're willing to write code, you can do anything with C++/CLI that
is possible with C#.


Ben::

LINQ? Doesn't LINQ require partial classes?
That depends on what you consider LINQ to encompass. If you're talking
about the library parts then no, it doesn't require partial classes. If
you're talking about the full support in C# 3.0+ then it still doesn't
require partial classes, but it does require lambdas, automatic variable
types, anonymous classes, extension methods and the query syntax support.
There's lots of middle ground as well.

Can you use LINQ from C++/CLI? Almost certainly. Would you want to do so?
Almost certainly not.

-cd
Aug 10 '08 #9

"Jeroen Mostert" <jm******@xs4all.nlha scritto nel messaggio
news:48***********************@news.xs4all.nl...
C#/VB.NET have recently diverged some more. Even though new features were
added, I've heard VB pundits complain that VB isn't being treated as first
class either, because of C# feature X or Y that they're missing.
I think that there are also VB features that are missing in C#, for example
the embedded XML (I think C# does not have embedded XML support like
VB.NET).

However, it seems to me that there is a perception that C# is the "real"
..NET language. For example, lots of books about .NET topics (including
excellent WPF book by Adam Nathan) use C# as their .NET language to show
concepts and code.

Giovanni
Aug 15 '08 #10
On Aug 15, 7:36*pm, "Giovanni Dicanio" <gdicanio@_NOSPAM_email_DOT_it>
wrote:
However, it seems to me that there is a perception that C# is the "real"
.NET language. For example, lots of books about .NET topics (including
excellent WPF book by Adam Nathan) use C# as their .NET language to show
concepts and code.
I think it's mostly because C# doesn't use any C#-specific libraries
(in contrast to Microsoft.VisualBasic.* assemblies). Well, and
possibly also because most of the framework itself is written in C#,
so Microsoft, apparently, sees it as the right tool for platform
development.
Aug 15 '08 #11

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

Similar topics

4
by: Rodolphe | last post by:
Hello, I'm French so sorry for my approximate English. When I try to compile a project under Visual C++ 6.0, I've got the following errors : applicap.obj : error LNK2001: unresolved external...
34
by: Pmb | last post by:
I've been working on creating a Complex class for my own learning purpose (learn through doing etc.). I'm once again puzzled about something. I can't figure out how to overload the assignment...
4
by: Mastadex | last post by:
So here is my Code: template <class T> struct Nodes { T *Data; // The Image char Name; // The Name of the image Nodes<T> *Prev; Nodes<T> *Next;
4
by: ±èµ¿±Õ | last post by:
Tell me why the symbol "_" use in the Library? For example, char *_itoa( int value, char *string, int radix ); But We use function "itoa(value,string,radix) "only. I want to know the...
1
by: Awin | last post by:
Hello all, I'm a beginner of COM programming, I have a exercise, but got a compile error with ComFortuneTeller.obj : error LNK2001: unresolved external symbol _IID_IQuotation...
3
by: Kenneth Kahl | last post by:
Hello, I would like to call a C++ programm out of Java with help of JNI. By the followed command I created a "shared library": g++ -shared -o libcalculate.so rechner.cpp When I create an...
15
by: Bjorn Jensen | last post by:
Hi! An beginner question: Pleas help me with this (-: Error (the arrow points on the s in sqrt) ===== tal.java:6: cannot find symbol symbol : method sqrt(int) location: class tal...
0
by: =?Utf-8?B?TWF0ZXVzeiBSYWpjYQ==?= | last post by:
Hi! How can I fix this error? Error 1 error LNK2001: unresolved external symbol "extern "C" long __stdcall SHFlushClipboard(void)" (?SHFlushClipboard@@$$J10YGJXZ) UnmanagedTest.obj Basically...
8
by: amievil | last post by:
Hello. I'm devloping MFC program and found something weird happening. When I compile it with "debug mode", it compile fine, and runs fine. however, when I compile with "release mode", I get...
7
by: JustBeSimple | last post by:
Hi Everyone, I'm having a problem compiling useing the VS2005 .NET I need help to resolve those error, I try to create a new project it doesn't help any suggestion? I got the following errors:...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.