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

checkbox = -1

If a windows form checkbox control is checked, shouldn't the following
equal 1 instead of -1 ?

DIM Acndt_ind as integer

Acndt_ind = CInt(chbAcndt_Ind.Checked)
Thanks

Jan 5 '07 #1
16 2199
Visual Basic converts all Boolean values to either -1 (for True) or 0 (for
False). Other .NET languages, including C#, use 1 and 0 instead. Internally,
1 is the correct value. However, Visual Basic expresses True as -1 for historical
reasons.

-----
Tim Patrick - www.timaki.com
Start-to-Finish Visual Basic 2005
If a windows form checkbox control is checked, shouldn't the following
equal 1 instead of -1 ?

DIM Acndt_ind as integer

Acndt_ind = CInt(chbAcndt_Ind.Checked)

Thanks

Jan 5 '07 #2
"Dwight" <dt********@gmail.comschrieb:
If a windows form checkbox control is checked, shouldn't the following
equal 1 instead of -1 ?

DIM Acndt_ind as integer

Acndt_ind = CInt(chbAcndt_Ind.Checked)
The numeric representation of 'True' is -1 in VB:

<URL:http://vb.mvps.org/tips/truth.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Jan 5 '07 #3

Huh ..... i believe it is exactly the other way around

Other languages show what you expect VB shows what it actually is

<sarcastic modus >
But i understand you ,, VB can`t be right as it is a dummy language where
evrything is made easier for the common people
</sarcastic modus >

:-)

regards

Michel
"Tim Patrick" <in*****@invalid.com.invalidschreef in bericht
news:e3*************************@newsgroups.comcas t.net...
Visual Basic converts all Boolean values to either -1 (for True) or 0 (for
False). Other .NET languages, including C#, use 1 and 0 instead.
Internally, 1 is the correct value. However, Visual Basic expresses True
as -1 for historical reasons.

-----
Tim Patrick - www.timaki.com
Start-to-Finish Visual Basic 2005
>If a windows form checkbox control is checked, shouldn't the following
equal 1 instead of -1 ?

DIM Acndt_ind as integer

Acndt_ind = CInt(chbAcndt_Ind.Checked)

Thanks


Jan 6 '07 #4
For those who might be interested:

In C and languages derived from C (C++, C# etc.), true and false are defined
as constants with the values 1 and 0 respectively.

In BASIC and languages derived from BASIC (M-BASIC, GW-BASIC, VB, VB.NET
etc.), False (I can't remember off the top of my head if it is a constant or
not) is a signed integral numeric with the value 0 and True is implemented
internally as Not False, the result of which is -1. If I remember rightly,
the seemingly non-intuitive result is due to the fact that the binary
representation of a signed integral numeric with the value 0, say a signed
byte, is 00000000 and with a bitwise Not applied the result is 11111111
which is equates to -1.
"Michel Posseth [MCP]" <MS**@posseth.comwrote in message
news:u$**************@TK2MSFTNGP04.phx.gbl...
>
Huh ..... i believe it is exactly the other way around

Other languages show what you expect VB shows what it actually is

<sarcastic modus >
But i understand you ,, VB can`t be right as it is a dummy language
where evrything is made easier for the common people
</sarcastic modus >

:-)

regards

Michel
"Tim Patrick" <in*****@invalid.com.invalidschreef in bericht
news:e3*************************@newsgroups.comcas t.net...
>Visual Basic converts all Boolean values to either -1 (for True) or 0
(for False). Other .NET languages, including C#, use 1 and 0 instead.
Internally, 1 is the correct value. However, Visual Basic expresses True
as -1 for historical reasons.

-----
Tim Patrick - www.timaki.com
Start-to-Finish Visual Basic 2005
>>If a windows form checkbox control is checked, shouldn't the following
equal 1 instead of -1 ?

DIM Acndt_ind as integer

Acndt_ind = CInt(chbAcndt_Ind.Checked)

Thanks



Jan 6 '07 #5
to be more specific think binary and you see that it is correct

TRUE and FALSE are complements of each other, and FALSE
is zero or 00000000, the complement of FALSE is 11111111
which happens to be negative , so TRUE = -1.

I have once read an article about it ,,, and i remember that it had
something to do with memory and processor cycles
the implementation of true and false this way made Basic at that time more
efficient as concurent languages in the 16-bit CPU/16KB
RAM days.

I started on the luxuery 64kb of the C64 :-) , but okay in the above light
seen you might say it is for historical reassons

regards

Michel Posseth

"Michel Posseth [MCP]" <MS**@posseth.comschreef in bericht
news:u$**************@TK2MSFTNGP04.phx.gbl...
>
Huh ..... i believe it is exactly the other way around

Other languages show what you expect VB shows what it actually is

<sarcastic modus >
But i understand you ,, VB can`t be right as it is a dummy language
where evrything is made easier for the common people
</sarcastic modus >

:-)

regards

Michel
"Tim Patrick" <in*****@invalid.com.invalidschreef in bericht
news:e3*************************@newsgroups.comcas t.net...
>Visual Basic converts all Boolean values to either -1 (for True) or 0
(for False). Other .NET languages, including C#, use 1 and 0 instead.
Internally, 1 is the correct value. However, Visual Basic expresses True
as -1 for historical reasons.

-----
Tim Patrick - www.timaki.com
Start-to-Finish Visual Basic 2005
>>If a windows form checkbox control is checked, shouldn't the following
equal 1 instead of -1 ?

DIM Acndt_ind as integer

Acndt_ind = CInt(chbAcndt_Ind.Checked)

Thanks



Jan 6 '07 #6
Well a slightly different story but with the same outcome

looks like we read the same articles in the past :-)

Your posting did`t show up when i posted my explanation , otherwise i
wouldn`t have done it cause it exactly explains what i wanted to

regards

Michel
"Stephany Young" <noone@localhostschreef in bericht
news:uG*************@TK2MSFTNGP04.phx.gbl...
For those who might be interested:

In C and languages derived from C (C++, C# etc.), true and false are
defined as constants with the values 1 and 0 respectively.

In BASIC and languages derived from BASIC (M-BASIC, GW-BASIC, VB, VB.NET
etc.), False (I can't remember off the top of my head if it is a constant
or not) is a signed integral numeric with the value 0 and True is
implemented internally as Not False, the result of which is -1. If I
remember rightly, the seemingly non-intuitive result is due to the fact
that the binary representation of a signed integral numeric with the value
0, say a signed byte, is 00000000 and with a bitwise Not applied the
result is 11111111 which is equates to -1.
"Michel Posseth [MCP]" <MS**@posseth.comwrote in message
news:u$**************@TK2MSFTNGP04.phx.gbl...
>>
Huh ..... i believe it is exactly the other way around

Other languages show what you expect VB shows what it actually is

<sarcastic modus >
But i understand you ,, VB can`t be right as it is a dummy language
where evrything is made easier for the common people
</sarcastic modus >

:-)

regards

Michel
"Tim Patrick" <in*****@invalid.com.invalidschreef in bericht
news:e3*************************@newsgroups.comca st.net...
>>Visual Basic converts all Boolean values to either -1 (for True) or 0
(for False). Other .NET languages, including C#, use 1 and 0 instead.
Internally, 1 is the correct value. However, Visual Basic expresses True
as -1 for historical reasons.

-----
Tim Patrick - www.timaki.com
Start-to-Finish Visual Basic 2005

If a windows form checkbox control is checked, shouldn't the following
equal 1 instead of -1 ?

DIM Acndt_ind as integer

Acndt_ind = CInt(chbAcndt_Ind.Checked)

Thanks



Jan 6 '07 #7
Since I'm not one of the Microsoft programmers who designed the .NET Boolean
data type, perhaps I did speak with more confidence that I should have. What
I said was based on the pre-releases of Visual Basic .NET 2002. When they
first came out, Visual Basic did expose Boolean True as 1, not -1. There
was quite a ruckus among existing Visual Basic programmers, who complained
that a lot of their code depended on True being -1. Therefore, Microsoft
altered the way that Visual Basic exposed Boolean True as an Integer.

Because of this, I assumed that all .NET languages actually see True as 1,
but that Visual Basic was changing it at the last second to -1. But you might
also be right; .NET might use -1 internally, and alter the output at the
last second in all other languages.

If the sarcasm was targeted at me, then it was misplaced. I do not think
Visual Basic is a "dummy" language. Rather, it is my primary development
language, and it is a joy to use such a productive language.

-----
Tim Patrick - www.timaki.com
Start-to-Finish Visual Basic 2005
Huh ..... i believe it is exactly the other way around

Other languages show what you expect VB shows what it actually is

<sarcastic modus >
But i understand you ,, VB can`t be right as it is a dummy language
where
evrything is made easier for the common people
</sarcastic modus >
:-)

regards

Michel

"Tim Patrick" <in*****@invalid.com.invalidschreef in bericht
news:e3*************************@newsgroups.comcas t.net...
>Visual Basic converts all Boolean values to either -1 (for True) or 0
(for False). Other .NET languages, including C#, use 1 and 0 instead.
Internally, 1 is the correct value. However, Visual Basic expresses
True as -1 for historical reasons.

-----
Tim Patrick - www.timaki.com
Start-to-Finish Visual Basic 2005
>>If a windows form checkbox control is checked, shouldn't the
following equal 1 instead of -1 ?

DIM Acndt_ind as integer

Acndt_ind = CInt(chbAcndt_Ind.Checked)

Thanks

Jan 6 '07 #8
Hello Tim ,

I did not target the sarcastic mode to anyone in particular and especially
not to you i hope you noticed the :-) below it , the idea was the funny
side of it
( maybe i just have a weird sence of humor ) .

However you toss up a nice question , because what is actually the truth on
the .Net platform ? , i really don`t know it
cause what Stephany and i dug up is knowledge from the past however if it
still stands , is also a guess for me

Who has the e-mail adress of Cameron Beccario or Stephen Weatherford ??

maybe a forum moderator at MS might be so kind to ask this for us to one of
them

regards

Michel Posseth
"Tim Patrick" <in*****@invalid.com.invalidschreef in bericht
news:e3*************************@newsgroups.comcas t.net...
Since I'm not one of the Microsoft programmers who designed the .NET
Boolean data type, perhaps I did speak with more confidence that I should
have. What I said was based on the pre-releases of Visual Basic .NET 2002.
When they first came out, Visual Basic did expose Boolean True as 1,
not -1. There was quite a ruckus among existing Visual Basic programmers,
who complained that a lot of their code depended on True being -1.
Therefore, Microsoft altered the way that Visual Basic exposed Boolean
True as an Integer.

Because of this, I assumed that all .NET languages actually see True as 1,
but that Visual Basic was changing it at the last second to -1. But you
might also be right; .NET might use -1 internally, and alter the output at
the last second in all other languages.

If the sarcasm was targeted at me, then it was misplaced. I do not think
Visual Basic is a "dummy" language. Rather, it is my primary development
language, and it is a joy to use such a productive language.

-----
Tim Patrick - www.timaki.com
Start-to-Finish Visual Basic 2005
>Huh ..... i believe it is exactly the other way around

Other languages show what you expect VB shows what it actually is

<sarcastic modus >
But i understand you ,, VB can`t be right as it is a dummy language
where
evrything is made easier for the common people
</sarcastic modus >
:-)

regards

Michel

"Tim Patrick" <in*****@invalid.com.invalidschreef in bericht
news:e3*************************@newsgroups.comca st.net...
>>Visual Basic converts all Boolean values to either -1 (for True) or 0
(for False). Other .NET languages, including C#, use 1 and 0 instead.
Internally, 1 is the correct value. However, Visual Basic expresses
True as -1 for historical reasons.

-----
Tim Patrick - www.timaki.com
Start-to-Finish Visual Basic 2005
If a windows form checkbox control is checked, shouldn't the
following equal 1 instead of -1 ?

DIM Acndt_ind as integer

Acndt_ind = CInt(chbAcndt_Ind.Checked)

Thanks


Jan 6 '07 #9
On 2007-01-06, Michel Posseth [MCP] <ms****@posseth.comwrote:
Hello Tim ,

I did not target the sarcastic mode to anyone in particular and especially
not to you i hope you noticed the :-) below it , the idea was the funny
side of it
( maybe i just have a weird sence of humor ) .

However you toss up a nice question , because what is actually the truth on
the .Net platform ? , i really don`t know it
cause what Stephany and i dug up is knowledge from the past however if it
still stands , is also a guess for me
Tim was correct in his original post. In .NET true converts to 1. VB.NET
does it's weird boolean dance because of the beta2 rollback changes. It
is -1 in vb.net simply to maintain compatability with VB.CLASSIC where TRUE
equated to -1.

To be honest, this should NEVER be an issue if you follow one simple rule -
never rely on the integer value of true and false. The fact is the booleans
are booleans - not integers and shouldn't be treated as such.

--
Tom Shelton
Jan 6 '07 #10
On Sat, 6 Jan 2007 16:17:40 +0000 (UTC), Tim Patrick wrote:
Since I'm not one of the Microsoft programmers who designed the .NET Boolean
data type, perhaps I did speak with more confidence that I should have. What
I said was based on the pre-releases of Visual Basic .NET 2002. When they
first came out, Visual Basic did expose Boolean True as 1, not -1. There
was quite a ruckus among existing Visual Basic programmers, who complained
that a lot of their code depended on True being -1. Therefore, Microsoft
altered the way that Visual Basic exposed Boolean True as an Integer.

Because of this, I assumed that all .NET languages actually see True as 1,
but that Visual Basic was changing it at the last second to -1. But you might
also be right; .NET might use -1 internally, and alter the output at the
last second in all other languages.

If the sarcasm was targeted at me, then it was misplaced. I do not think
Visual Basic is a "dummy" language. Rather, it is my primary development
language, and it is a joy to use such a productive language.
Hey Tim,

Out of curiosity, what benefits are there to using the integer equivalents
rather than the actual Boolean values, especially factoring in that it
would make the code that much harder to understand, complicate logical
operations and completely trip up code converters?

--
Bits.Bytes
http://bytes.thinkersroom.com
Jan 6 '07 #11
You can do maths with them.

Consider:

Const Some_Value As Integer = 12345

Dim New_Value as Integer = 23456

If CheckBox1.Checked Then
New_Value = Some_Value
Else
New Value = 0
Endif

Now consider:

Const Some_Value As Integer = 12345

Dim New_Value as Integer = 23456

New_Value = Some_Value * Math.Abs(Convert.ToInt32(CheckBox1.Checked))

Certainly a seemingly rediculous example, but I'm sure you'll get the idea.
"Rad [Visual C# MVP]" <no****@nospam.comwrote in message
news:qk***************@thinkersroom.com...
On Sat, 6 Jan 2007 16:17:40 +0000 (UTC), Tim Patrick wrote:
>Since I'm not one of the Microsoft programmers who designed the .NET
Boolean
data type, perhaps I did speak with more confidence that I should have.
What
I said was based on the pre-releases of Visual Basic .NET 2002. When they
first came out, Visual Basic did expose Boolean True as 1, not -1. There
was quite a ruckus among existing Visual Basic programmers, who
complained
that a lot of their code depended on True being -1. Therefore, Microsoft
altered the way that Visual Basic exposed Boolean True as an Integer.

Because of this, I assumed that all .NET languages actually see True as
1,
but that Visual Basic was changing it at the last second to -1. But you
might
also be right; .NET might use -1 internally, and alter the output at the
last second in all other languages.

If the sarcasm was targeted at me, then it was misplaced. I do not think
Visual Basic is a "dummy" language. Rather, it is my primary development
language, and it is a joy to use such a productive language.
Hey Tim,

Out of curiosity, what benefits are there to using the integer equivalents
rather than the actual Boolean values, especially factoring in that it
would make the code that much harder to understand, complicate logical
operations and completely trip up code converters?

--
Bits.Bytes
http://bytes.thinkersroom.com

Jan 6 '07 #12
Well I stand educated.

A bit of curiosity and Lutz Roeder's Reflector shows (in the Boolean
Structure):

Friend Const [False] As Integer = 0
Friend Const [True] As Integer = 1

and that:

Console.WriteLine(Convert.ToInt32(True))
CheckBox1.Checked = True
Console.WriteLine(Convert.ToInt32(CheckBox1.Checke d))
Console.WriteLine(Convert.ToBoolean(0))
Console.WriteLine(Convert.ToBoolean(1))
Console.WriteLine(Convert.ToBoolean(-1))

produces:

1
1
False
True
True

so my previous example doesn't need the sign adjustment and becomes:

New_Value = Some_Value * Convert.ToInt32(CheckBox1.Checked)

In addition, Convert.ToBoolean(Int32) is implemented as:

Public Shared Function ToBoolean(ByVal value As Integer) As Boolean
Return (value <0)
End Function

which means that there is no bitwise stuff going on under the hood, rather,
it is nothing more than a logical comparison.
"Stephany Young" <noone@localhostwrote in message
news:OS**************@TK2MSFTNGP03.phx.gbl...
You can do maths with them.

Consider:

Const Some_Value As Integer = 12345

Dim New_Value as Integer = 23456

If CheckBox1.Checked Then
New_Value = Some_Value
Else
New Value = 0
Endif

Now consider:

Const Some_Value As Integer = 12345

Dim New_Value as Integer = 23456

New_Value = Some_Value * Math.Abs(Convert.ToInt32(CheckBox1.Checked))

Certainly a seemingly rediculous example, but I'm sure you'll get the
idea.
"Rad [Visual C# MVP]" <no****@nospam.comwrote in message
news:qk***************@thinkersroom.com...
>On Sat, 6 Jan 2007 16:17:40 +0000 (UTC), Tim Patrick wrote:
>>Since I'm not one of the Microsoft programmers who designed the .NET
Boolean
data type, perhaps I did speak with more confidence that I should have.
What
I said was based on the pre-releases of Visual Basic .NET 2002. When
they
first came out, Visual Basic did expose Boolean True as 1, not -1. There
was quite a ruckus among existing Visual Basic programmers, who
complained
that a lot of their code depended on True being -1. Therefore, Microsoft
altered the way that Visual Basic exposed Boolean True as an Integer.

Because of this, I assumed that all .NET languages actually see True as
1,
but that Visual Basic was changing it at the last second to -1. But you
might
also be right; .NET might use -1 internally, and alter the output at the
last second in all other languages.

If the sarcasm was targeted at me, then it was misplaced. I do not think
Visual Basic is a "dummy" language. Rather, it is my primary development
language, and it is a joy to use such a productive language.
Hey Tim,

Out of curiosity, what benefits are there to using the integer
equivalents
rather than the actual Boolean values, especially factoring in that it
would make the code that much harder to understand, complicate logical
operations and completely trip up code converters?

--
Bits.Bytes
http://bytes.thinkersroom.com


Jan 6 '07 #13
AFAIK is everything else than zero true, the used value type, the used
length, the used value is not important for that.

It is based on the bit, therefore in my idea every discussion about this is
arbitrary, even AFAIK the high values could be used as boolean (don't mix
this up with 99999).

Cor
Jan 7 '07 #14
The only benefit I see is if you really need to interact with some external
system that just can't handle anything other than integer Boolean values.
But even that is not a compelling argument. If you track Boolean data, you
should use a Boolean. If you do have integer values, you can use them in
logical comparison statements as if they were Booleans (zero=False, non-zero=True).
But I find it better to use a full "If (myIntValue <0) Then" instead of
just "If myIntValue Then".

I'm in the process of converting a VB6 application to .NET. I found many
routines where the original programmer coded some Boolean values as integers
by mistake. Their stated data types are all Integer, but only the constants
True and False are ever assigned to them. Because I use Option Strict in
..NET, this automatically flags a warning, making them easy to find.

-----
Tim Patrick - www.timaki.com
Start-to-Finish Visual Basic 2005
Hey Tim,

Out of curiosity, what benefits are there to using the integer
equivalents rather than the actual Boolean values, especially
factoring in that it would make the code that much harder to
understand, complicate logical operations and completely trip up code
converters?


Jan 7 '07 #15
Here's an example. I have a program in VB6 that does OLE automation
of Visio(2003). In the process of upgrading it to .Net(2005), with
Option Strict on, I got some errors where I set some of the Visio
variables to True or False. When I took the advised repair, in
almost every case, it converted True or False to a Short integer.

Robin S.
----------------------------------
"Tim Patrick" <in*****@invalid.com.invalidwrote in message
news:e3*************************@newsgroups.comcas t.net...
The only benefit I see is if you really need to interact with some
external system that just can't handle anything other than integer
Boolean values. But even that is not a compelling argument. If you
track Boolean data, you should use a Boolean. If you do have integer
values, you can use them in logical comparison statements as if they
were Booleans (zero=False, non-zero=True). But I find it better to use
a full "If (myIntValue <0) Then" instead of just "If myIntValue
Then".

I'm in the process of converting a VB6 application to .NET. I found
many routines where the original programmer coded some Boolean values
as integers by mistake. Their stated data types are all Integer, but
only the constants True and False are ever assigned to them. Because I
use Option Strict in .NET, this automatically flags a warning, making
them easy to find.

-----
Tim Patrick - www.timaki.com
Start-to-Finish Visual Basic 2005
>Hey Tim,

Out of curiosity, what benefits are there to using the integer
equivalents rather than the actual Boolean values, especially
factoring in that it would make the code that much harder to
understand, complicate logical operations and completely trip up code
converters?



Jan 7 '07 #16
On Jan 6, 4:19 pm, Tom Shelton <tom_shel...@comcastXXXXXXX.netwrote:
To be honest, this should NEVER be an issue if you follow one simple rule -
never rely on the integer value of true and false. The fact is the booleans
are booleans - not integers and shouldn't be treated as such.
I agree with this sentiment whole heartedly!

If you are treating a boolean value as a numeric, you should probably
rethink what you are doing!

Just my 2c

Chris

Jan 8 '07 #17

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

Similar topics

4
by: Fabri | last post by:
How can I, on button click, to select ONLY the following 4 checkbox? I would like to do this without a for loop through form.lenght because this is only an example and I have to apply this script...
4
by: feanor | last post by:
I need to select children checkboxes when selecting the parent one. This is my function: function SelectChildrens(checkbox_name){ form = document.forms; Sname = checkbox_name.split("-"); for...
0
by: mike | last post by:
Hi there: I've read an excellent "how to"-article by Microsoft (no. 306227) - partly cited cited at the end of this email). I have implemented the code related to the part "How to Add a...
2
by: bebop | last post by:
I'm using three checkbox web controls in C# .NET and one button, and one labe Is there a way to "group" these individual checkbox web controls If so, do I use a for loop, hashtable, array,...
5
by: DotNetJunkies User | last post by:
1. i want to populate checkboxlist using javascript only at client side ....how can i do this..by populate word i mean that checkboxes should be checked or unchecked on some condition basis.......
2
by: Adam Knight | last post by:
Hi all, I have a datagrid with a checkbox in one column. The checkbox is set to autopostback and calls a method named UpdateMailSubscribers. The first click on the checkbox cause the page to...
2
by: Ceema M via DotNetMonster.com | last post by:
Hello all, I have a nested repeater, which displays categories(parent repeater) and corresponding subcategories(child repeater). Both repeaters have checkboxes. When I check category checkbox...
4
by: Wolfgang Uhr | last post by:
Hello I've the following code Panel pnlData = new System.Windows.Forms.Panel(); CheckBox checkBox = new System.Windows.Forms.CheckBox(); checkBox.AutoSize = true; checkBox.Dock =...
10
by: rn5a | last post by:
All the rows in a DataGrid, including the Header, are accompanied with a CheckBox. I want that when the CheckBox in the Header is checked, then all the CheckBoxes should automatically get checked....
0
by: cyberdawg999 | last post by:
Greetings all in ASP land I have overcome one obstacle that took me 2 weeks to overcome and I did it!!!!! I am so elated!! thank you to all who invested their time and energy towards helping me...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
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
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...
0
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...
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,...

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.