473,385 Members | 1,693 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,385 software developers and data experts.

nullreferenceexception for Private Object Variables

Hi There,

I have created a very simple web user control, containing only a combo box.
I have created a class which contains some private object variables, for
example...

Private _anObject as Object

Public Property anObject() As Object
Get
Return _anObject
End Get
Set(ByVal value As Object)
_anObject = value
End Set
End Property

I set the AnObject object from the main ASP form, and the local private
_anObject object is set correctly.

If I want to refer to this private _anObject object later, when the user
clicks on a combo box item, I get a NULLREFERENCEEXCEPTION, and the private
object is back to nothing again.

Protected Sub ComboClick(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Combo1.SelectedIndexChanged
dim myNewObject as Object=_anObject
End Sub

Why is the happening, and what is the correct way to store objects in
classes in ASP.NET?
Dec 13 '05 #1
6 1485
HTTP is a stateless protocol. A new instance of the page object is created
on every request. So on a postback, you get a brand new instance of the page
and everything else on it. That object on which you set the property before
no longer exists.

"David Whitchurch-Bennett" <Da******@nospam.nospam> wrote in message
news:3F**********************************@microsof t.com...
Hi There,

I have created a very simple web user control, containing only a combo
box.
I have created a class which contains some private object variables, for
example...

Private _anObject as Object

Public Property anObject() As Object
Get
Return _anObject
End Get
Set(ByVal value As Object)
_anObject = value
End Set
End Property

I set the AnObject object from the main ASP form, and the local private
_anObject object is set correctly.

If I want to refer to this private _anObject object later, when the user
clicks on a combo box item, I get a NULLREFERENCEEXCEPTION, and the
private
object is back to nothing again.

Protected Sub ComboClick(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Combo1.SelectedIndexChanged
dim myNewObject as Object=_anObject
End Sub

Why is the happening, and what is the correct way to store objects in
classes in ASP.NET?

Dec 13 '05 #2
Hi David,

I agree with Marina on this. Since the ASP.NET web page is based on HTTp
which is stateless, so the page object model (instance member values....)
will not be persisted between multiple requests ( postback...). Generally
for mantaining states between multiple requests, we need to store those
variables in some persistent store such as SessionState or ViewState......

for example:

using ViewState.....

Public Property anObject() As Object
Get
Return ViewState("myobject")
End Get
Set(ByVal value As Object)
ViewState("myobject") = value
End Set
End Property
Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Marina" <so*****@nospam.com>
| References: <3F**********************************@microsoft.co m>
| Subject: Re: nullreferenceexception for Private Object Variables
| Date: Tue, 13 Dec 2005 11:38:48 -0500
| Lines: 42
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <u#*************@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: gw.deltek.com 63.72.155.97
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:364526
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| HTTP is a stateless protocol. A new instance of the page object is
created
| on every request. So on a postback, you get a brand new instance of the
page
| and everything else on it. That object on which you set the property
before
| no longer exists.
|
| "David Whitchurch-Bennett" <Da******@nospam.nospam> wrote in message
| news:3F**********************************@microsof t.com...
| > Hi There,
| >
| > I have created a very simple web user control, containing only a combo
| > box.
| > I have created a class which contains some private object variables, for
| > example...
| >
| > Private _anObject as Object
| >
| > Public Property anObject() As Object
| > Get
| > Return _anObject
| > End Get
| > Set(ByVal value As Object)
| > _anObject = value
| > End Set
| > End Property
| >
| > I set the AnObject object from the main ASP form, and the local private
| > _anObject object is set correctly.
| >
| > If I want to refer to this private _anObject object later, when the user
| > clicks on a combo box item, I get a NULLREFERENCEEXCEPTION, and the
| > private
| > object is back to nothing again.
| >
| > Protected Sub ComboClick(ByVal sender As Object, ByVal e As
| > System.EventArgs) Handles Combo1.SelectedIndexChanged
| > dim myNewObject as Object=_anObject
| > End Sub
| >
| > Why is the happening, and what is the correct way to store objects in
| > classes in ASP.NET?
|
|
|

Dec 14 '05 #3
Thank you both for replying to the question.

The trouble is, the object is not serializable, and is actually an object
which needs to be logged into, and a number of methods performed before
access to the properties is granted. Does Viewstates and SessionStates
actually store objects themselves, or just XML representations of them?

Thanks again,

David

"Steven Cheng[MSFT]" wrote:
Hi David,

I agree with Marina on this. Since the ASP.NET web page is based on HTTp
which is stateless, so the page object model (instance member values....)
will not be persisted between multiple requests ( postback...). Generally
for mantaining states between multiple requests, we need to store those
variables in some persistent store such as SessionState or ViewState......

for example:

using ViewState.....

Public Property anObject() As Object
Get
Return ViewState("myobject")
End Get
Set(ByVal value As Object)
ViewState("myobject") = value
End Set
End Property
Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Marina" <so*****@nospam.com>
| References: <3F**********************************@microsoft.co m>
| Subject: Re: nullreferenceexception for Private Object Variables
| Date: Tue, 13 Dec 2005 11:38:48 -0500
| Lines: 42
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <u#*************@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: gw.deltek.com 63.72.155.97
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:364526
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| HTTP is a stateless protocol. A new instance of the page object is
created
| on every request. So on a postback, you get a brand new instance of the
page
| and everything else on it. That object on which you set the property
before
| no longer exists.
|
| "David Whitchurch-Bennett" <Da******@nospam.nospam> wrote in message
| news:3F**********************************@microsof t.com...
| > Hi There,
| >
| > I have created a very simple web user control, containing only a combo
| > box.
| > I have created a class which contains some private object variables, for
| > example...
| >
| > Private _anObject as Object
| >
| > Public Property anObject() As Object
| > Get
| > Return _anObject
| > End Get
| > Set(ByVal value As Object)
| > _anObject = value
| > End Set
| > End Property
| >
| > I set the AnObject object from the main ASP form, and the local private
| > _anObject object is set correctly.
| >
| > If I want to refer to this private _anObject object later, when the user
| > clicks on a combo box item, I get a NULLREFERENCEEXCEPTION, and the
| > private
| > object is back to nothing again.
| >
| > Protected Sub ComboClick(ByVal sender As Object, ByVal e As
| > System.EventArgs) Handles Combo1.SelectedIndexChanged
| > dim myNewObject as Object=_anObject
| > End Sub
| >
| > Why is the happening, and what is the correct way to store objects in
| > classes in ASP.NET?
|
|
|

Dec 14 '05 #4
In process session state can store the object as is in memory, no
serialization. View State serializes the object.

"David Whitchurch-Bennett" <Da******@nospam.nospam> wrote in message
news:AA**********************************@microsof t.com...
Thank you both for replying to the question.

The trouble is, the object is not serializable, and is actually an object
which needs to be logged into, and a number of methods performed before
access to the properties is granted. Does Viewstates and SessionStates
actually store objects themselves, or just XML representations of them?

Thanks again,

David

"Steven Cheng[MSFT]" wrote:
Hi David,

I agree with Marina on this. Since the ASP.NET web page is based on HTTp
which is stateless, so the page object model (instance member values....)
will not be persisted between multiple requests ( postback...). Generally
for mantaining states between multiple requests, we need to store those
variables in some persistent store such as SessionState or
ViewState......

for example:

using ViewState.....

Public Property anObject() As Object
Get
Return ViewState("myobject")
End Get
Set(ByVal value As Object)
ViewState("myobject") = value
End Set
End Property
Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Marina" <so*****@nospam.com>
| References: <3F**********************************@microsoft.co m>
| Subject: Re: nullreferenceexception for Private Object Variables
| Date: Tue, 13 Dec 2005 11:38:48 -0500
| Lines: 42
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <u#*************@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: gw.deltek.com 63.72.155.97
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:364526
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| HTTP is a stateless protocol. A new instance of the page object is
created
| on every request. So on a postback, you get a brand new instance of the
page
| and everything else on it. That object on which you set the property
before
| no longer exists.
|
| "David Whitchurch-Bennett" <Da******@nospam.nospam> wrote in message
| news:3F**********************************@microsof t.com...
| > Hi There,
| >
| > I have created a very simple web user control, containing only a
combo
| > box.
| > I have created a class which contains some private object variables,
for
| > example...
| >
| > Private _anObject as Object
| >
| > Public Property anObject() As Object
| > Get
| > Return _anObject
| > End Get
| > Set(ByVal value As Object)
| > _anObject = value
| > End Set
| > End Property
| >
| > I set the AnObject object from the main ASP form, and the local
private
| > _anObject object is set correctly.
| >
| > If I want to refer to this private _anObject object later, when the
user
| > clicks on a combo box item, I get a NULLREFERENCEEXCEPTION, and the
| > private
| > object is back to nothing again.
| >
| > Protected Sub ComboClick(ByVal sender As Object, ByVal e As
| > System.EventArgs) Handles Combo1.SelectedIndexChanged
| > dim myNewObject as Object=_anObject
| > End Sub
| >
| > Why is the happening, and what is the correct way to store objects in
| > classes in ASP.NET?
|
|
|

Dec 14 '05 #5
Oh that's great! Thanks a lot for you help, and will read all about session
states now!

David.

"David Whitchurch-Bennett" wrote:
Thank you both for replying to the question.

The trouble is, the object is not serializable, and is actually an object
which needs to be logged into, and a number of methods performed before
access to the properties is granted. Does Viewstates and SessionStates
actually store objects themselves, or just XML representations of them?

Thanks again,

David

"Steven Cheng[MSFT]" wrote:
Hi David,

I agree with Marina on this. Since the ASP.NET web page is based on HTTp
which is stateless, so the page object model (instance member values....)
will not be persisted between multiple requests ( postback...). Generally
for mantaining states between multiple requests, we need to store those
variables in some persistent store such as SessionState or ViewState......

for example:

using ViewState.....

Public Property anObject() As Object
Get
Return ViewState("myobject")
End Get
Set(ByVal value As Object)
ViewState("myobject") = value
End Set
End Property
Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Marina" <so*****@nospam.com>
| References: <3F**********************************@microsoft.co m>
| Subject: Re: nullreferenceexception for Private Object Variables
| Date: Tue, 13 Dec 2005 11:38:48 -0500
| Lines: 42
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <u#*************@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: gw.deltek.com 63.72.155.97
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:364526
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| HTTP is a stateless protocol. A new instance of the page object is
created
| on every request. So on a postback, you get a brand new instance of the
page
| and everything else on it. That object on which you set the property
before
| no longer exists.
|
| "David Whitchurch-Bennett" <Da******@nospam.nospam> wrote in message
| news:3F**********************************@microsof t.com...
| > Hi There,
| >
| > I have created a very simple web user control, containing only a combo
| > box.
| > I have created a class which contains some private object variables, for
| > example...
| >
| > Private _anObject as Object
| >
| > Public Property anObject() As Object
| > Get
| > Return _anObject
| > End Get
| > Set(ByVal value As Object)
| > _anObject = value
| > End Set
| > End Property
| >
| > I set the AnObject object from the main ASP form, and the local private
| > _anObject object is set correctly.
| >
| > If I want to refer to this private _anObject object later, when the user
| > clicks on a combo box item, I get a NULLREFERENCEEXCEPTION, and the
| > private
| > object is back to nothing again.
| >
| > Protected Sub ComboClick(ByVal sender As Object, ByVal e As
| > System.EventArgs) Handles Combo1.SelectedIndexChanged
| > dim myNewObject as Object=_anObject
| > End Sub
| >
| > Why is the happening, and what is the correct way to store objects in
| > classes in ASP.NET?
|
|
|

Dec 14 '05 #6
Thanks for Marina's input.

Hi David,

If you have any further question, please feel free to post here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Marina" <so*****@nospam.com>
| References: <3F**********************************@microsoft.co m>
<u#*************@tk2msftngp13.phx.gbl>
<q$**************@TK2MSFTNGXA02.phx.gbl>
<AA**********************************@microsoft.co m>
| Subject: Re: nullreferenceexception for Private Object Variables
| Date: Wed, 14 Dec 2005 09:16:08 -0500
| Lines: 127
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <er**************@TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: gw.deltek.com 63.72.155.97
| Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSF TNGXA01.phx.gbl!TK2MSFTNGP
08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:364752
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| In process session state can store the object as is in memory, no
| serialization. View State serializes the object.
|
| "David Whitchurch-Bennett" <Da******@nospam.nospam> wrote in message
| news:AA**********************************@microsof t.com...
| > Thank you both for replying to the question.
| >
| > The trouble is, the object is not serializable, and is actually an
object
| > which needs to be logged into, and a number of methods performed before
| > access to the properties is granted. Does Viewstates and SessionStates
| > actually store objects themselves, or just XML representations of them?
| >
| > Thanks again,
| >
| > David
| >
| > "Steven Cheng[MSFT]" wrote:
| >
| >> Hi David,
| >>
| >> I agree with Marina on this. Since the ASP.NET web page is based on
HTTp
| >> which is stateless, so the page object model (instance member
values....)
| >> will not be persisted between multiple requests ( postback...).
Generally
| >> for mantaining states between multiple requests, we need to store those
| >> variables in some persistent store such as SessionState or
| >> ViewState......
| >>
| >> for example:
| >>
| >> using ViewState.....
| >>
| >> Public Property anObject() As Object
| >> Get
| >> Return ViewState("myobject")
| >> End Get
| >> Set(ByVal value As Object)
| >> ViewState("myobject") = value
| >> End Set
| >> End Property
| >>
| >>
| >> Hope helps. Thanks,
| >>
| >> Steven Cheng
| >> Microsoft Online Support
| >>
| >> Get Secure! www.microsoft.com/security
| >> (This posting is provided "AS IS", with no warranties, and confers no
| >> rights.)
| >>
| >>
| >>
| >>
| >>
| >> --------------------
| >> | From: "Marina" <so*****@nospam.com>
| >> | References: <3F**********************************@microsoft.co m>
| >> | Subject: Re: nullreferenceexception for Private Object Variables
| >> | Date: Tue, 13 Dec 2005 11:38:48 -0500
| >> | Lines: 42
| >> | X-Priority: 3
| >> | X-MSMail-Priority: Normal
| >> | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| >> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| >> | X-RFC2646: Format=Flowed; Original
| >> | Message-ID: <u#*************@tk2msftngp13.phx.gbl>
| >> | Newsgroups: microsoft.public.dotnet.framework.aspnet
| >> | NNTP-Posting-Host: gw.deltek.com 63.72.155.97
| >> | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
| >> | Xref: TK2MSFTNGXA02.phx.gbl
| >> microsoft.public.dotnet.framework.aspnet:364526
| >> | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| >> |
| >> | HTTP is a stateless protocol. A new instance of the page object is
| >> created
| >> | on every request. So on a postback, you get a brand new instance of
the
| >> page
| >> | and everything else on it. That object on which you set the property
| >> before
| >> | no longer exists.
| >> |
| >> | "David Whitchurch-Bennett" <Da******@nospam.nospam> wrote in message
| >> | news:3F**********************************@microsof t.com...
| >> | > Hi There,
| >> | >
| >> | > I have created a very simple web user control, containing only a
| >> combo
| >> | > box.
| >> | > I have created a class which contains some private object
variables,
| >> for
| >> | > example...
| >> | >
| >> | > Private _anObject as Object
| >> | >
| >> | > Public Property anObject() As Object
| >> | > Get
| >> | > Return _anObject
| >> | > End Get
| >> | > Set(ByVal value As Object)
| >> | > _anObject = value
| >> | > End Set
| >> | > End Property
| >> | >
| >> | > I set the AnObject object from the main ASP form, and the local
| >> private
| >> | > _anObject object is set correctly.
| >> | >
| >> | > If I want to refer to this private _anObject object later, when
the
| >> user
| >> | > clicks on a combo box item, I get a NULLREFERENCEEXCEPTION, and the
| >> | > private
| >> | > object is back to nothing again.
| >> | >
| >> | > Protected Sub ComboClick(ByVal sender As Object, ByVal e As
| >> | > System.EventArgs) Handles Combo1.SelectedIndexChanged
| >> | > dim myNewObject as Object=_anObject
| >> | > End Sub
| >> | >
| >> | > Why is the happening, and what is the correct way to store objects
in
| >> | > classes in ASP.NET?
| >> |
| >> |
| >> |
| >>
| >>
|
|
|

Dec 15 '05 #7

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

Similar topics

3
by: Terrence | last post by:
I am doing some of the C# walkthroughs to transition from VB to C#. When I try to execute static void Main() { Aplication.Run(new Form1()) } I raise a 'System.NullReferenceException" in...
5
by: Fabio Papa | last post by:
Hi, I am fairly new to programming and and even newer to dotnet. I appoligise in advance if this is a dumb questions, and I would appreciate if you could answer it anyways. :) I am writing a...
0
by: monkey king | last post by:
I have a given dll file(PDFCreator.dll) - probably generated by VC++. I want to use its method(PDFCreator()) in dotNet environment. It works well in WindiowsApplication, but bad in WebApplication...
0
by: muralidharan | last post by:
WebForm1.aspx Code: <%@ Register TagPrefix="ComponentArt" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %> <ComponentArt:TreeView id="TreeView1" Height="520"...
1
by: Ghada Ayed via DotNetMonster.com | last post by:
Hello every body, please help me in this problem i have written the following C# code in VS.Net and when i run the window application i have got 'System.NullReferenceException' so please if...
1
by: msnews.microsoft.com | last post by:
I'm trying to fill an array of objects but when I add the first object I get a NullReferenceException. ----------------------------------------------------------------------------...
3
by: Manfred Braun | last post by:
Hi All, In my , I will decrement a counter, like : protected void Session_End(Object sender, EventArgs e) { ActiveSessionCount--; //CRASH !! } But, unexpectedly, it give me an...
6
by: William Mild | last post by:
I must be getting brain fried. I can't see the error. Create a new web form with the following code begind: Public Class test Inherits System.Web.UI.Page Public Class ReportCardData ...
1
by: Paul | last post by:
Hello All, In the following code I was expecting to get a NullReferenceException, but that didn't happen. I was hoping someone could explain why. I have two classes, Form1 and Ticker. As soon...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
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
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
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...

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.