473,320 Members | 2,110 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.

What is the " ^ " function?

Dear All,
Could you please tell me what is the " ^ " function for ?
0 ^ 3 = 3
1 ^ 3 = 2
..
..
..
but
4 ^ 3 = 7
Best regards,
Boki.
Jul 22 '05 #1
3 1077
"boki" <bo******@ms21.hinet.net> wrote in message
news:4c**************************@posting.google.c om...
Dear All,
Could you please tell me what is the " ^ " function for ?
0 ^ 3 = 3
1 ^ 3 = 2
.
.
.
but
4 ^ 3 = 7


Bitwise exclusive or.

--
Unforgiven

Jul 22 '05 #2
boki wrote:
Dear All,
Could you please tell me what is the " ^ " function for ?
0 ^ 3 = 3
1 ^ 3 = 2
.
.
.
but
4 ^ 3 = 7
Best regards,
Boki.

google: c++ operators ^
first hit:
http://msdn.microsoft.com/library/en...m/operator.asp

link: Bitwise-exclusive-OR: ^
http://msdn.microsoft.com/library/en...perator_22.asp

--
br
Jul 22 '05 #3
"B.R." <be**@REMOVETHISwilk.wpk.p.lodz.pl> wrote in message news:<ch**********@atlantis.news.tpi.pl>...
boki wrote:
Dear All,
Could you please tell me what is the " ^ " function for ?
0 ^ 3 = 3
1 ^ 3 = 2
.
.
.
but
4 ^ 3 = 7
Best regards,
Boki.

google: c++ operators ^
first hit:
http://msdn.microsoft.com/library/en...m/operator.asp

link: Bitwise-exclusive-OR: ^
http://msdn.microsoft.com/library/en...perator_22.asp


Thank you two very much.

Best regards,
Boki.
Jul 22 '05 #4

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

Similar topics

43
by: steve | last post by:
I am quite frustrated with php’s include, as I have spent a ton of time on it already... anyone can tell me why it was designed like this (or something I don’t get)? The path in include is...
2
by: Eric Osman | last post by:
Hi, I'm looking for a javascript function that will convert input such as this: <CLUB Code=" into this: &lt;CLUB Code=&quot;
21
by: Helge Jensen | last post by:
I've got some data that has Set structure, that is membership, insert and delete is fast (O(1), hashing). I can't find a System.Collections interface that matches the operations naturally offered...
7
by: RFS666 | last post by:
Hello, I would like to use variables with a type in jscript.NET. I declare them as follows: var x : double = 5.03; This doesn't work in my script, that I write to the page in codebehind with...
5
by: comp.lang.php | last post by:
$orderBy = 's.app_date desc, s.last_name asc, s.first_name asc, s.mi asc'; if ($_REQUEST) { $ascArray = array('asc' => 'desc', 'desc' => 'asc'); // ARRAY OF ALL ORDERING POSSIBILITIES $junk =...
6
by: chandanlinster | last post by:
what do the values of "clocks_ticks = sysconf(_SC_CLK_TCK);" and "CLOCK_PER_SEC" represent?
6
by: openopt | last post by:
Thank you in advance for your response. Dmitrey
15
by: arnuld | last post by:
-------- PROGRAMME ----------- /* Stroustrup, 5.6 Structures STATEMENT: this programmes *tries* to do do this in 3 parts: 1.) it creates a "struct", named "jd", of type "address". 2. it...
4
by: Pool | last post by:
I tried to connect DB2 (Sitting in Unix server at my client location) using Db2 connect V8. I am getting the following error message. I tried all the possible options BUt the error is same.. See each...
9
by: Ronald S. Cook | last post by:
Can I write If MyString = "Apple" Or MyString = "Orange" Or MyString = "Pear" Then to something more compact like If MyString In ("Apple", "Orange", "Pear") Then My last line obviously...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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: 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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.