473,698 Members | 2,361 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asp.net web matrix

Hi,

I wrote a simple web application using web matrix. When I run it on my local
computer all works fine, but when I run it on hosting site all hyperlinks
are not working and just postback to the original page. I have rechecked the
links and they are set right, & work on local computer, but not on hosted
site. I have noticed that when you mouse over the link on local host the
adress shows like javascript:WebF orm_dopostbackw ithoptions(new
webform_postbac koptions("linkb utton1","",fals e,"","support.a spx") but on the
hosting site the adress shows javascript:
_dopostback('li nkbutton1',"). Any ideas??
TIA
Ken
Nov 19 '05
13 1614
What's appears to be wrong is mixing ASP.net 2.0 with ASP.net 1.1.

Webmatrix is a development tool that helps you write code, but is designed to develop code for version 1.1 You can type in anything
though including code that is supposed to be used for version 2.0 only.

You are using the linkbutton feature called "Postbackur l", which a new 2.0 feature. You may have ASP.net 2.0 installed on your
machine but the webhost apparently not have it installed on their machine so that feature will not work.

verify your webhost has 2.0 installed and working

"Kenneth Windish" <ke************ @netzero.net> wrote in message news:uJ******** ******@TK2MSFTN GP10.phx.gbl...
Hi,

What I am saying is why even have a link button if it can't link to anything in the real world only in a test environment on your
local computer?
Thats what seems like a waste.

Ken
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message news:uJ******** ******@TK2MSFTN GP14.phx.gbl...
It's no waste. It's just the way it is.
You can't do it with ASP.NET 1.1. Period.

You *can* do it with ASP.NET 2.0.

Look into using Response.Redire ct, if you want to use 1.1.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"Kenneth Windish" <ke************ @netzero.net> wrote in message news:e9******** *****@TK2MSFTNG P15.phx.gbl...
Hi,

Thanks for responding.

You mean that I can write web pages that work fine when run from my local computer with the web matrix server, but they won't
work when placed on a hosting server?
Seems like a big waste.

Ken

"Juan T. Llibre" <no***********@ nowhere.com> wrote in message news:%2******** **********@TK2M SFTNGP15.phx.gb l...
re:
> is the syntax for the postback url correct?

You can't get there from here.

One of the biggest differences between ASP and ASP.NET
is that in ASP.NET, a Web Form must post back to itself instead
of posting to a different page.

Historically, developers posted to a different page by setting the form's
action attribute. Posting to a separate page used to be a good idea
because it made for a cleaner separation of code from HTML.

Now, because ASP.NET handles events in the same Web Form in
which they're raised, the form must post back to the same page.

Even if you set the action attribute of the form to a different page,
the Web server finds the runat="server" attribute setting and
overrides your action value.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"Kenneth Windish" <ke************ @netzero.net> wrote in message news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
> Hi,
>
> I have found that the reason this is happing is that the other forms are not being found. the following is the code for a
> link:
> <asp:linkbutt on id="linkbutton1 " runat="server"
> postbackurl="su pport.aspx">Sup port</asp:linkbutton>
>
> is the syntax for the bostback url correct?
>
> all web forms on the server are in wwwroot directory as is the main index
> page.
>
> Are web forms in the right directory?
>
> TIA
>
> Ken
>
> "Kenneth Windish" <ke************ @netzero.net> wrote in message news:uD******** ******@TK2MSFTN GP10.phx.gbl...
>> Hi,
>>
>> I wrote a simple web application using web matrix. When I run it on my local computer all works fine, but when I run it on
>> hosting site all hyperlinks are not working and just postback to the original page. I have rechecked the links and they are
>> set right, & work on local computer, but not on hosted site. I have noticed that when you mouse over the link on local host
>> the adress shows like javascript:WebF orm_dopostbackw ithoptions(new
>> webform_postbac koptions("linkb utton1","",fals e,"","support.a spx") but on the hosting site the adress shows javascript:
>> _dopostback('li nkbutton1',"). Any ideas??
>>
>>
>> TIA
>> Ken
>>
>
>



Nov 19 '05 #11
It would be nice if it supported both, since a button can be used inside a form as well as outside a form. this might be a bit
redundant but should help to be a bit more relevant to the relative usage.
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message news:uU******** ******@TK2MSFTN GP14.phx.gbl...
Hi, Kenneth.

I found your input so interesting that I submitted a suggestion
at the Microsoft Product Feedback Center, asking that they
rename "postbackur l" to "navigateur l", like the Hyperlink.

You may want to support the suggestion by voting for it.

http://lab.msdn.microsoft.com/produc...5-32df70cfd903

Thanks!

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"Kenneth Windish" <ke************ @netzero.net> wrote in message news:um******** ******@TK2MSFTN GP09.phx.gbl...
Hi,

Thanks for your info. Not really sure what the button is linking, or how that link works, but I now realize that what I should
have been using was a hyperlink instead of a linkbutton.

Thanks for your input.

Ken
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message news:Oz******** ******@TK2MSFTN GP10.phx.gbl...
Kenneth,

we have a semantics issue here in that the
"postbackur l" attribute is badly named.

You *can* use the linkbutton to *link* to a different page.
You cannot use it to *post* the page it's on to another page.

"postbackur l" should be named something else to prevent confusion.

If the attribute's name was "linkurl" like this example :
<asp:linkbutt on id="linkbutton1 " runat="server"
linkurl="suppor t.aspx">Support </asp:linkbutton>

it wouldn't confuse anyone.

I hope that makes the issue clearer to you ( and others ).


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"Kenneth Windish" <ke************ @netzero.net> wrote in message news:uJ******** ******@TK2MSFTN GP10.phx.gbl...
Hi,

What I am saying is why even have a link button if it can't link to anything in the real world only in a test environment on
your local computer?
Thats what seems like a waste.

Ken
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message news:uJ******** ******@TK2MSFTN GP14.phx.gbl...
> It's no waste. It's just the way it is.
> You can't do it with ASP.NET 1.1. Period.
>
> You *can* do it with ASP.NET 2.0.
>
> Look into using Response.Redire ct, if you want to use 1.1.
>
>
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> Foros de ASP.NET en Español : http://asp.net.do/foros/
> =============== =============== ========
> "Kenneth Windish" <ke************ @netzero.net> wrote in message news:e9******** *****@TK2MSFTNG P15.phx.gbl...
>> Hi,
>>
>> Thanks for responding.
>>
>> You mean that I can write web pages that work fine when run from my local computer with the web matrix server, but they won't
>> work when placed on a hosting server?
>> Seems like a big waste.
>>
>> Ken
>
>> "Juan T. Llibre" <no***********@ nowhere.com> wrote in message news:%2******** **********@TK2M SFTNGP15.phx.gb l...
>>> re:
>>>> is the syntax for the postback url correct?
>>>
>>> You can't get there from here.
>>>
>>> One of the biggest differences between ASP and ASP.NET
>>> is that in ASP.NET, a Web Form must post back to itself instead
>>> of posting to a different page.
>>>
>>> Historically, developers posted to a different page by setting the form's
>>> action attribute. Posting to a separate page used to be a good idea
>>> because it made for a cleaner separation of code from HTML.
>>>
>>> Now, because ASP.NET handles events in the same Web Form in
>>> which they're raised, the form must post back to the same page.
>>>
>>> Even if you set the action attribute of the form to a different page,
>>> the Web server finds the runat="server" attribute setting and
>>> overrides your action value.
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, ASP.NET MVP
>>> ASP.NET FAQ : http://asp.net.do/faq/
>>> Foros de ASP.NET en Español : http://asp.net.do/foros/
>>> =============== =============== ========
>>> "Kenneth Windish" <ke************ @netzero.net> wrote in message news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
>>>> Hi,
>>>>
>>>> I have found that the reason this is happing is that the other forms are not being found. the following is the code for a
>>>> link:
>>>> <asp:linkbutt on id="linkbutton1 " runat="server"
>>>> postbackurl="su pport.aspx">Sup port</asp:linkbutton>
>>>>
>>>> is the syntax for the bostback url correct?
>>>>
>>>> all web forms on the server are in wwwroot directory as is the main index
>>>> page.
>>>>
>>>> Are web forms in the right directory?
>>>>
>>>> TIA
>>>>
>>>> Ken
>>>>
>>>> "Kenneth Windish" <ke************ @netzero.net> wrote in message news:uD******** ******@TK2MSFTN GP10.phx.gbl...
>>>>> Hi,
>>>>>
>>>>> I wrote a simple web application using web matrix. When I run it on my local computer all works fine, but when I run it on
>>>>> hosting site all hyperlinks are not working and just postback to the original page. I have rechecked the links and they
>>>>> are set right, & work on local computer, but not on hosted site. I have noticed that when you mouse over the link on
>>>>> local host the adress shows like javascript:WebF orm_dopostbackw ithoptions(new
>>>>> webform_postbac koptions("linkb utton1","",fals e,"","support.a spx") but on the hosting site the adress shows javascript:
>>>>> _dopostback('li nkbutton1',"). Any ideas??
>>>>>
>>>>>
>>>>> TIA
>>>>> Ken
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>



Nov 19 '05 #12
Thanks, Jon.

It would be nice if it really *posted*
to a different page in ASP.NET 2.0.

Let's see what the feedback to the suggestion is.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"Jon Paal" <Jon nospam Paal @ everywhere dot com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
It would be nice if it supported both, since a button can be used inside a form as well
as outside a form. this might be a bit redundant but should help to be a bit more
relevant to the relative usage.
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:uU******** ******@TK2MSFTN GP14.phx.gbl...
Hi, Kenneth.

I found your input so interesting that I submitted a suggestion
at the Microsoft Product Feedback Center, asking that they
rename "postbackur l" to "navigateur l", like the Hyperlink.

You may want to support the suggestion by voting for it.

http://lab.msdn.microsoft.com/produc...5-32df70cfd903

Thanks!

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"Kenneth Windish" <ke************ @netzero.net> wrote in message
news:um******** ******@TK2MSFTN GP09.phx.gbl...
Hi,

Thanks for your info. Not really sure what the button is linking, or how that link
works, but I now realize that what I should have been using was a hyperlink instead of
a linkbutton.

Thanks for your input.

Ken
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:Oz******** ******@TK2MSFTN GP10.phx.gbl...
Kenneth,

we have a semantics issue here in that the
"postbackur l" attribute is badly named.

You *can* use the linkbutton to *link* to a different page.
You cannot use it to *post* the page it's on to another page.

"postbackur l" should be named something else to prevent confusion.

If the attribute's name was "linkurl" like this example :
> <asp:linkbutt on id="linkbutton1 " runat="server"
> linkurl="suppor t.aspx">Support </asp:linkbutton>

it wouldn't confuse anyone.

I hope that makes the issue clearer to you ( and others ).


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"Kenneth Windish" <ke************ @netzero.net> wrote in message
news:uJ******** ******@TK2MSFTN GP10.phx.gbl...
> Hi,
>
> What I am saying is why even have a link button if it can't link to anything in the
> real world only in a test environment on your local computer?
> Thats what seems like a waste.
>
> Ken
> "Juan T. Llibre" <no***********@ nowhere.com> wrote in message
> news:uJ******** ******@TK2MSFTN GP14.phx.gbl...
>> It's no waste. It's just the way it is.
>> You can't do it with ASP.NET 1.1. Period.
>>
>> You *can* do it with ASP.NET 2.0.
>>
>> Look into using Response.Redire ct, if you want to use 1.1.
>>
>>
>>
>> Juan T. Llibre, ASP.NET MVP
>> ASP.NET FAQ : http://asp.net.do/faq/
>> Foros de ASP.NET en Español : http://asp.net.do/foros/
>> =============== =============== ========
>> "Kenneth Windish" <ke************ @netzero.net> wrote in message
>> news:e9******** *****@TK2MSFTNG P15.phx.gbl...
>>> Hi,
>>>
>>> Thanks for responding.
>>>
>>> You mean that I can write web pages that work fine when run from my local computer
>>> with the web matrix server, but they won't work when placed on a hosting server?
>>> Seems like a big waste.
>>>
>>> Ken
>>
>>> "Juan T. Llibre" <no***********@ nowhere.com> wrote in message
>>> news:%2******** **********@TK2M SFTNGP15.phx.gb l...
>>>> re:
>>>>> is the syntax for the postback url correct?
>>>>
>>>> You can't get there from here.
>>>>
>>>> One of the biggest differences between ASP and ASP.NET
>>>> is that in ASP.NET, a Web Form must post back to itself instead
>>>> of posting to a different page.
>>>>
>>>> Historically, developers posted to a different page by setting the form's
>>>> action attribute. Posting to a separate page used to be a good idea
>>>> because it made for a cleaner separation of code from HTML.
>>>>
>>>> Now, because ASP.NET handles events in the same Web Form in
>>>> which they're raised, the form must post back to the same page.
>>>>
>>>> Even if you set the action attribute of the form to a different page,
>>>> the Web server finds the runat="server" attribute setting and
>>>> overrides your action value.
>>>>
>>>>
>>>>
>>>>
>>>> Juan T. Llibre, ASP.NET MVP
>>>> ASP.NET FAQ : http://asp.net.do/faq/
>>>> Foros de ASP.NET en Español : http://asp.net.do/foros/
>>>> =============== =============== ========
>>>> "Kenneth Windish" <ke************ @netzero.net> wrote in message
>>>> news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
>>>>> Hi,
>>>>>
>>>>> I have found that the reason this is happing is that the other forms are not
>>>>> being found. the following is the code for a link:
>>>>> <asp:linkbutt on id="linkbutton1 " runat="server"
>>>>> postbackurl="su pport.aspx">Sup port</asp:linkbutton>
>>>>>
>>>>> is the syntax for the bostback url correct?
>>>>>
>>>>> all web forms on the server are in wwwroot directory as is the main index
>>>>> page.
>>>>>
>>>>> Are web forms in the right directory?
>>>>>
>>>>> TIA
>>>>>
>>>>> Ken
>>>>>
>>>>> "Kenneth Windish" <ke************ @netzero.net> wrote in message
>>>>> news:uD******** ******@TK2MSFTN GP10.phx.gbl...
>>>>>> Hi,
>>>>>>
>>>>>> I wrote a simple web application using web matrix. When I run it on my local
>>>>>> computer all works fine, but when I run it on hosting site all hyperlinks are
>>>>>> not working and just postback to the original page. I have rechecked the links
>>>>>> and they are set right, & work on local computer, but not on hosted site. I
>>>>>> have noticed that when you mouse over the link on local host the adress shows
>>>>>> like javascript:WebF orm_dopostbackw ithoptions(new
>>>>>> webform_postbac koptions("linkb utton1","",fals e,"","support.a spx") but on the
>>>>>> hosting site the adress shows javascript:
>>>>>> _dopostback('li nkbutton1',"). Any ideas??
>>>>>>
>>>>>>
>>>>>> TIA
>>>>>> Ken
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>



Nov 19 '05 #13
Hi,

Thanks for the info. I will check webhost. Problem was solved by changing
linkbuttons w/hyperlinks. Not being that fimilar with the whole web thing I
confused the two.

Ken
"Jon Paal" <Jon nospam Paal @ everywhere dot com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
What's appears to be wrong is mixing ASP.net 2.0 with ASP.net 1.1.

Webmatrix is a development tool that helps you write code, but is designed
to develop code for version 1.1 You can type in anything though including
code that is supposed to be used for version 2.0 only.

You are using the linkbutton feature called "Postbackur l", which a new 2.0
feature. You may have ASP.net 2.0 installed on your machine but the
webhost apparently not have it installed on their machine so that feature
will not work.

verify your webhost has 2.0 installed and working

"Kenneth Windish" <ke************ @netzero.net> wrote in message
news:uJ******** ******@TK2MSFTN GP10.phx.gbl...
Hi,

What I am saying is why even have a link button if it can't link to
anything in the real world only in a test environment on your local
computer?
Thats what seems like a waste.

Ken
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:uJ******** ******@TK2MSFTN GP14.phx.gbl...
It's no waste. It's just the way it is.
You can't do it with ASP.NET 1.1. Period.

You *can* do it with ASP.NET 2.0.

Look into using Response.Redire ct, if you want to use 1.1.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"Kenneth Windish" <ke************ @netzero.net> wrote in message
news:e9******** *****@TK2MSFTNG P15.phx.gbl...
Hi,

Thanks for responding.

You mean that I can write web pages that work fine when run from my
local computer with the web matrix server, but they won't work when
placed on a hosting server?
Seems like a big waste.

Ken

"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:%2******** **********@TK2M SFTNGP15.phx.gb l...
> re:
>> is the syntax for the postback url correct?
>
> You can't get there from here.
>
> One of the biggest differences between ASP and ASP.NET
> is that in ASP.NET, a Web Form must post back to itself instead
> of posting to a different page.
>
> Historically, developers posted to a different page by setting the
> form's
> action attribute. Posting to a separate page used to be a good idea
> because it made for a cleaner separation of code from HTML.
>
> Now, because ASP.NET handles events in the same Web Form in
> which they're raised, the form must post back to the same page.
>
> Even if you set the action attribute of the form to a different page,
> the Web server finds the runat="server" attribute setting and
> overrides your action value.
>
>
>
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> Foros de ASP.NET en Español : http://asp.net.do/foros/
> =============== =============== ========
> "Kenneth Windish" <ke************ @netzero.net> wrote in message
> news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
>> Hi,
>>
>> I have found that the reason this is happing is that the other forms
>> are not being found. the following is the code for a link:
>> <asp:linkbutt on id="linkbutton1 " runat="server"
>> postbackurl="su pport.aspx">Sup port</asp:linkbutton>
>>
>> is the syntax for the bostback url correct?
>>
>> all web forms on the server are in wwwroot directory as is the main
>> index
>> page.
>>
>> Are web forms in the right directory?
>>
>> TIA
>>
>> Ken
>>
>> "Kenneth Windish" <ke************ @netzero.net> wrote in message
>> news:uD******** ******@TK2MSFTN GP10.phx.gbl...
>>> Hi,
>>>
>>> I wrote a simple web application using web matrix. When I run it on
>>> my local computer all works fine, but when I run it on hosting site
>>> all hyperlinks are not working and just postback to the original
>>> page. I have rechecked the links and they are set right, & work on
>>> local computer, but not on hosted site. I have noticed that when
>>> you mouse over the link on local host the adress shows like
>>> javascript:WebF orm_dopostbackw ithoptions(new
>>> webform_postbac koptions("linkb utton1","",fals e,"","support.a spx")
>>> but on the hosting site the adress shows javascript:
>>> _dopostback('li nkbutton1',"). Any ideas??
>>>
>>>
>>> TIA
>>> Ken
>>>
>>
>>
>
>



Nov 19 '05 #14

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

Similar topics

6
3329
by: Ben Ingram | last post by:
Hi all, I am writing a template matrix class in which the template parameters are the number of rows and number of columns. There are a number of reasons why this is an appropriate tradeoff for my particular application. One of the advantages is that the _compiler_ can force inner matrix dimensions used in multiplication to agree. A _complie-time_ error will be triggered if you write A * B and the number of coluns in A does not equal the...
5
3797
by: Jason | last post by:
Hello. I am trying to learn how operator overloading works so I wrote a simple class to help me practice. I understand the basic opertoar overload like + - / *, but when I try to overload more complex operator, I get stuck. Here's a brief description what I want to do. I want to simulate a matrix (2D array) from a 1D array. so what I have so far is something like this: class Matrix
6
6577
by: memocan | last post by:
#include <iostream> using namespace std; int x; //global variable matrix int main() { x= new float ; //initialize the size now }
14
4961
by: amitnanda | last post by:
Hi Guys, I have a matrix multiplication program in C that multiplies two matrices. When their size is 3*3 or 800*800, the program runs fine. But above that size, I get a "segmentation fault". I need this huge size as part of my assignment.
20
5228
by: Frank-O | last post by:
Hi , Recently I have been commited to the task of "translating" some complex statistical algorithms from Matlab to C++. The goal is to be three times as fast as matlab ( the latest) . I've used various techniques ( loop unrolling, loop jamming...) and tried some matrix libraries : newmat (slow for large matrix) , STL (fast but ..not usefull) , hand coding (brain consuming...), and recently Meschach...
1
7964
by: Peterwkc | last post by:
Hello all expert, i have two program which make me desperate bu after i have noticed the forum, my future is become brightness back. By the way, my problem is like this i the first program was compiled and run without any erros but the second program has a run time error when the function return from allocate and the ptr become NULL. How to fixed this? Second Program: /* Best Method to allocate memory for 2D Array because it's ...
2
8560
by: DarrenWeber | last post by:
Below is a module (matrix.py) with a class to implement some basic matrix operations on a 2D list. Some things puzzle me about the best way to do this (please don't refer to scipy, numpy and numeric because this is a personal programming exercise for me in creating an operational class in pure python for some *basic* matrix operations). 1. Please take a look at the __init__ function and comment on the initialization of the list data...
0
2808
by: DarrenWeber | last post by:
# Copyright (C) 2007 Darren Lee Weber # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY...
18
2464
by: Hypnotik | last post by:
Hello everyone. I'm writing a program which uses a class called matrix. I have written all of the different functions, constructor, etc. When I run the program I receive "Constructor", which I placed in the constructor, and then the program crashes. I have no clue where my problem is. The matrix is for size 2x2 up to 10x10, and it must be square. Below is the code: #include <iostream>
2
2661
by: rijaalu | last post by:
I am designing a matrix class that performs addition, multicpication, substraction and division. When ever i complie the code it shows an error. include <iostream> using namespace std; class matrix{ public: matrix();
0
9157
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8895
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8861
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7725
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4369
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2329
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.