473,545 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XSD error in Visual Studio.NET

Hi,

I am getting the following errors on the schema (on the 'Fund_to' and
'Account_to' elements) in Visual Studio.NET when I try to validate the
schema itself. I would greatly apreciate any help on this.

Error messages:

Z:\OrdertoFundS chema\OrdertoFu ndSchema\GridOr derXML.xsd(128) : Type
'http://citco.com/NTASOrder.xsd:F und' is not declared. An error
occurred at Z:\OrdertoFundS chema\OrdertoFu ndSchema\GridOr derXML.xsd,
(128, 15).

Z:\OrdertoFundS chema\OrdertoFu ndSchema\GridOr derXML.xsd(129) : Type
'http://citco.com/NTASOrder.xsd:A ccount' is not declared. An error
occurred at Z:\OrdertoFundS chema\OrdertoFu ndSchema\GridOr derXML.xsd,
(129, 15).
XML where error is occurring:

<xs:element name="TransferI nfo" minOccurs="0" maxOccurs="1">
<xs:complexType >
<xs:sequence>
<xs:element name="Fund_to" type="mstns:Fun d" />
<xs:element name="Account_t o" type="mstns:Acc ount" />
</xs:sequence>
</xs:complexType>
</xs:element>

Full XML text:
<?xml version="1.0" ?>
<xs:schema id="Msg" targetNamespace ="http://xxxxx.com/NNNNOrder.xsd"
xmlns:mstns="ht tp://xxxxx.com/NNNNOrder.xsd"
xmlns="http://xxxxx.com/NNNNOrder.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
attributeFormDe fault="qualifie d"
elementFormDefa ult="qualified" >
<xs:simpleTyp e name="udDate">
<xs:restricti on base="xs:string ">
<xs:pattern value="\d\d[-](0[1-9]|1[012])[-](0[1-9]|[12][0-9]|3[01])"
/>
</xs:restriction>
</xs:simpleType>
<xs:simpleTyp e name="udTime">
<xs:restricti on base="xs:string ">
<xs:pattern value="(0[0-9]|1[01])[:]([012345][0-9])" />
</xs:restriction>
</xs:simpleType>
<xs:element name="Msg">
<xs:complexType >
<xs:choice maxOccurs="1">
<xs:element name="MsgHeader " minOccurs="1">
<xs:complexType >
<xs:sequence>
<xs:element name="MsgTypeId " minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="xs:string ">
<xs:enumerati on value="Ooottfff " />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MsgDate" minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="udDate" />
</xs:simpleType>
</xs:element>
<xs:element name="MsgTime" minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="udTime" />
</xs:simpleType>
</xs:element>
<xs:element name="SourceApp " minOccurs="1"
type="xs:string "></xs:element>
<xs:element name="MsgInitia tor" type="xs:string " minOccurs="0"
/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MsgBody" maxOccurs="1">
<xs:complexType >
<xs:sequence>
<xs:element name="Order" minOccurs="1">
<xs:complexType >
<xs:sequence>
<xs:element name="TransactT ypeId" minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="xs:string ">
<xs:enumerati on value="XX" />
<xs:enumerati on value="YY" />
<xs:enumerati on value="ZZ" />
<xs:enumerati on value="AA" />
<xs:length value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CCOOSSS" minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="xs:string ">
<xs:enumerati on value="C" />
<xs:enumerati on value="S" />
<xs:length value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SSHHHSS" minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="xs:decima l">
<xs:minInclusiv e value="0" />
<xs:fractionDig its value="7" />
<xs:totalDigi ts value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CCSSHHTTN DD" minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="xs:decima l">
<xs:minInclusiv e value="0" />
<xs:fractionDig its value="2" />
<xs:totalDigi ts value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TTTNNNTE" type="mstns:NNN NNote"
minOccurs="0" />
<xs:element name="COMM" minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="xs:string ">
<xs:enumerati on value="S" />
<xs:enumerati on value="I" />
<xs:enumerati on value="N" />
<xs:enumerati on value="E" />
<xs:length value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LoadPerce nt" type="mstns:Per centage"
minOccurs="1" />
<xs:element name="TTDDTE" type="mstns:udD ate" minOccurs="1"
/>
<xs:element name="NNNVVDTE"
type="mstns:udD ate"></xs:element>
<xs:element name="Fund" minOccurs="1" maxOccurs="1">
<xs:complexType >
<xs:sequence>
<xs:element name="FFDDID" type="mstns:NNN NCode"
minOccurs="1" />
<xs:element name="FDNME" type="xs:string " minOccurs="1"
/>
<xs:element name="EXTLID" type="xs:string " />
<xs:element name="EXTSYS" type="xs:string " />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Account" minOccurs="1" maxOccurs="1">
<xs:complexType >
<xs:sequence>
<xs:element name="INVID" type="xs:string " minOccurs="1"
maxOccurs="1" />
<xs:element name="FirstName " type="xs:string "
minOccurs="0" />
<xs:element name="LastName" type="xs:string "
minOccurs="0" />
<xs:element name="HLDID" type="mstns:NNN NCode"
minOccurs="1" />
<xs:element name="ACTID" type="mstns:NNN NCode"
minOccurs="1" />
<xs:element name="ACTNUM" type="mstns:NNN NCode" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ExternalR eference" type="mstns:NNN NNote"
minOccurs="1" maxOccurs="1"></xs:element>
<xs:element name="TransferI nfo" minOccurs="0" maxOccurs="1">
<xs:complexType >
<xs:sequence>
<xs:element name="Fund_to" type="mstns:Fun d" />
<xs:element name="Account_t o" type="mstns:Acc ount" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:simpleTyp e name="NNNNCode" >
<xs:restricti on base="xs:string ">
<xs:maxLength value="16" />
</xs:restriction>
</xs:simpleType>
<xs:simpleTyp e name="Percentag e">
<xs:restricti on base="xs:decima l">
<xs:minInclusiv e value="0" />
<xs:maxExclusiv e value="100.00" />
<xs:fractionDig its value="2" />
</xs:restriction>
</xs:simpleType>
<xs:simpleTyp e name="NNNNNote" >
<xs:restricti on base="xs:string ">
<xs:maxLength value="45" />
</xs:restriction>
</xs:simpleType>
</xs:schema>
Jul 20 '05 #1
1 1621
You haven't defined types "Fund" and "Account". It looks like you have two
local elements with the same name. Assuming that they are of the same type
that you want to use in TransferInfo, you can change your schema to the
following:

<?xml version="1.0"?>
<xs:schema xmlns:mstns="ht tp://xxxxx.com/NNNNOrder.xsd"
xmlns="http://xxxxx.com/NNNNOrder.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace ="http://xxxxx.com/NNNNOrder.xsd"
elementFormDefa ult="qualified" attributeFormDe fault="qualifie d" id="Msg">
<xs:simpleTyp e name="udDate">
<xs:restricti on base="xs:string ">
<xs:pattern value="\d\d[-](0[1-9]|1[012])[-](0[1-9]|[12][0-9]|3[01])"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleTyp e name="udTime">
<xs:restricti on base="xs:string ">
<xs:pattern value="(0[0-9]|1[01])[:]([012345][0-9])"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="Msg">
<xs:complexType >
<xs:choice>
<xs:element name="MsgHeader ">
<xs:complexType >
<xs:sequence>
<xs:element name="MsgTypeId ">
<xs:simpleTyp e>
<xs:restricti on base="xs:string ">
<xs:enumerati on value="Ooottfff "/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MsgDate">
<xs:simpleTyp e>
<xs:restricti on base="udDate"/>
</xs:simpleType>
</xs:element>
<xs:element name="MsgTime">
<xs:simpleTyp e>
<xs:restricti on base="udTime"/>
</xs:simpleType>
</xs:element>
<xs:element name="SourceApp " type="xs:string "/>
<xs:element name="MsgInitia tor" type="xs:string " minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MsgBody">
<xs:complexType >
<xs:sequence>
<xs:element name="Order">
<xs:complexType >
<xs:sequence>
<xs:element name="TransactT ypeId">
<xs:simpleTyp e>
<xs:restricti on base="xs:string ">
<xs:length value="2"/>
<xs:enumerati on value="XX"/>
<xs:enumerati on value="YY"/>
<xs:enumerati on value="ZZ"/>
<xs:enumerati on value="AA"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CCOOSSS">
<xs:simpleTyp e>
<xs:restricti on base="xs:string ">
<xs:length value="1"/>
<xs:enumerati on value="C"/>
<xs:enumerati on value="S"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SSHHHSS">
<xs:simpleTyp e>
<xs:restricti on base="xs:decima l">
<xs:minInclusiv e value="0"/>
<xs:fractionDig its value="7"/>
<xs:totalDigi ts value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CCSSHHTTN DD">
<xs:simpleTyp e>
<xs:restricti on base="xs:decima l">
<xs:minInclusiv e value="0"/>
<xs:fractionDig its value="2"/>
<xs:totalDigi ts value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TTTNNNTE" type="mstns:NNN NNote" minOccurs="0"/>
<xs:element name="COMM">
<xs:simpleTyp e>
<xs:restricti on base="xs:string ">
<xs:length value="1"/>
<xs:enumerati on value="S"/>
<xs:enumerati on value="I"/>
<xs:enumerati on value="N"/>
<xs:enumerati on value="E"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LoadPerce nt" type="mstns:Per centage"/>
<xs:element name="TTDDTE" type="mstns:udD ate"/>
<xs:element name="NNNVVDTE" type="mstns:udD ate"/>
<xs:element name="Fund" type="mstns:Fun d"/>
<xs:element name="Account" type="mstns:Acc ount"/>
<xs:element name="ExternalR eference" type="mstns:NNN NNote"/>
<xs:element name="TransferI nfo" minOccurs="0">
<xs:complexType >
<xs:sequence>
<xs:element name="Fund_to" type="mstns:Fun d"/>
<xs:element name="Account_t o" type="mstns:Acc ount"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:simpleTyp e name="NNNNCode" >
<xs:restricti on base="xs:string ">
<xs:maxLength value="16"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleTyp e name="Percentag e">
<xs:restricti on base="xs:decima l">
<xs:minInclusiv e value="0"/>
<xs:maxExclusiv e value="100.00"/>
<xs:fractionDig its value="2"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleTyp e name="NNNNNote" >
<xs:restricti on base="xs:string ">
<xs:maxLength value="45"/>
</xs:restriction>
</xs:simpleType>
<xs:complexTy pe name="Fund">
<xs:sequence>
<xs:element name="FFDDID" type="mstns:NNN NCode"/>
<xs:element name="FDNME" type="xs:string "/>
<xs:element name="EXTLID" type="xs:string "/>
<xs:element name="EXTSYS" type="xs:string "/>
</xs:sequence>
</xs:complexType>
<xs:complexTy pe name="Account">
<xs:sequence>
<xs:element name="INVID" type="xs:string "/>
<xs:element name="FirstName " type="xs:string " minOccurs="0"/>
<xs:element name="LastName" type="xs:string " minOccurs="0"/>
<xs:element name="HLDID" type="mstns:NNN NCode"/>
<xs:element name="ACTID" type="mstns:NNN NCode"/>
<xs:element name="ACTNUM" type="mstns:NNN NCode"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
--
Stan Kitsis
Program Manager, XML Technologies
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
"brendang" <br************ ********@yahoo. co.uk> wrote in message
news:52******** *************** ***@posting.goo gle.com...
Hi,

I am getting the following errors on the schema (on the 'Fund_to' and
'Account_to' elements) in Visual Studio.NET when I try to validate the
schema itself. I would greatly apreciate any help on this.

Error messages:

Z:\OrdertoFundS chema\OrdertoFu ndSchema\GridOr derXML.xsd(128) : Type
'http://citco.com/NTASOrder.xsd:F und' is not declared. An error
occurred at Z:\OrdertoFundS chema\OrdertoFu ndSchema\GridOr derXML.xsd,
(128, 15).

Z:\OrdertoFundS chema\OrdertoFu ndSchema\GridOr derXML.xsd(129) : Type
'http://citco.com/NTASOrder.xsd:A ccount' is not declared. An error
occurred at Z:\OrdertoFundS chema\OrdertoFu ndSchema\GridOr derXML.xsd,
(129, 15).
XML where error is occurring:

<xs:element name="TransferI nfo" minOccurs="0" maxOccurs="1">
<xs:complexType >
<xs:sequence>
<xs:element name="Fund_to" type="mstns:Fun d" />
<xs:element name="Account_t o" type="mstns:Acc ount" />
</xs:sequence>
</xs:complexType>
</xs:element>

Full XML text:
<?xml version="1.0" ?>
<xs:schema id="Msg" targetNamespace ="http://xxxxx.com/NNNNOrder.xsd"
xmlns:mstns="ht tp://xxxxx.com/NNNNOrder.xsd"
xmlns="http://xxxxx.com/NNNNOrder.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
attributeFormDe fault="qualifie d"
elementFormDefa ult="qualified" >
<xs:simpleTyp e name="udDate">
<xs:restricti on base="xs:string ">
<xs:pattern value="\d\d[-](0[1-9]|1[012])[-](0[1-9]|[12][0-9]|3[01])"
/>
</xs:restriction>
</xs:simpleType>
<xs:simpleTyp e name="udTime">
<xs:restricti on base="xs:string ">
<xs:pattern value="(0[0-9]|1[01])[:]([012345][0-9])" />
</xs:restriction>
</xs:simpleType>
<xs:element name="Msg">
<xs:complexType >
<xs:choice maxOccurs="1">
<xs:element name="MsgHeader " minOccurs="1">
<xs:complexType >
<xs:sequence>
<xs:element name="MsgTypeId " minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="xs:string ">
<xs:enumerati on value="Ooottfff " />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MsgDate" minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="udDate" />
</xs:simpleType>
</xs:element>
<xs:element name="MsgTime" minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="udTime" />
</xs:simpleType>
</xs:element>
<xs:element name="SourceApp " minOccurs="1"
type="xs:string "></xs:element>
<xs:element name="MsgInitia tor" type="xs:string " minOccurs="0"
/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MsgBody" maxOccurs="1">
<xs:complexType >
<xs:sequence>
<xs:element name="Order" minOccurs="1">
<xs:complexType >
<xs:sequence>
<xs:element name="TransactT ypeId" minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="xs:string ">
<xs:enumerati on value="XX" />
<xs:enumerati on value="YY" />
<xs:enumerati on value="ZZ" />
<xs:enumerati on value="AA" />
<xs:length value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CCOOSSS" minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="xs:string ">
<xs:enumerati on value="C" />
<xs:enumerati on value="S" />
<xs:length value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SSHHHSS" minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="xs:decima l">
<xs:minInclusiv e value="0" />
<xs:fractionDig its value="7" />
<xs:totalDigi ts value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CCSSHHTTN DD" minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="xs:decima l">
<xs:minInclusiv e value="0" />
<xs:fractionDig its value="2" />
<xs:totalDigi ts value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TTTNNNTE" type="mstns:NNN NNote"
minOccurs="0" />
<xs:element name="COMM" minOccurs="1">
<xs:simpleTyp e>
<xs:restricti on base="xs:string ">
<xs:enumerati on value="S" />
<xs:enumerati on value="I" />
<xs:enumerati on value="N" />
<xs:enumerati on value="E" />
<xs:length value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LoadPerce nt" type="mstns:Per centage"
minOccurs="1" />
<xs:element name="TTDDTE" type="mstns:udD ate" minOccurs="1"
/>
<xs:element name="NNNVVDTE"
type="mstns:udD ate"></xs:element>
<xs:element name="Fund" minOccurs="1" maxOccurs="1">
<xs:complexType >
<xs:sequence>
<xs:element name="FFDDID" type="mstns:NNN NCode"
minOccurs="1" />
<xs:element name="FDNME" type="xs:string " minOccurs="1"
/>
<xs:element name="EXTLID" type="xs:string " />
<xs:element name="EXTSYS" type="xs:string " />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Account" minOccurs="1" maxOccurs="1">
<xs:complexType >
<xs:sequence>
<xs:element name="INVID" type="xs:string " minOccurs="1"
maxOccurs="1" />
<xs:element name="FirstName " type="xs:string "
minOccurs="0" />
<xs:element name="LastName" type="xs:string "
minOccurs="0" />
<xs:element name="HLDID" type="mstns:NNN NCode"
minOccurs="1" />
<xs:element name="ACTID" type="mstns:NNN NCode"
minOccurs="1" />
<xs:element name="ACTNUM" type="mstns:NNN NCode" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ExternalR eference" type="mstns:NNN NNote"
minOccurs="1" maxOccurs="1"></xs:element>
<xs:element name="TransferI nfo" minOccurs="0" maxOccurs="1">
<xs:complexType >
<xs:sequence>
<xs:element name="Fund_to" type="mstns:Fun d" />
<xs:element name="Account_t o" type="mstns:Acc ount" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:simpleTyp e name="NNNNCode" >
<xs:restricti on base="xs:string ">
<xs:maxLength value="16" />
</xs:restriction>
</xs:simpleType>
<xs:simpleTyp e name="Percentag e">
<xs:restricti on base="xs:decima l">
<xs:minInclusiv e value="0" />
<xs:maxExclusiv e value="100.00" />
<xs:fractionDig its value="2" />
</xs:restriction>
</xs:simpleType>
<xs:simpleTyp e name="NNNNNote" >
<xs:restricti on base="xs:string ">
<xs:maxLength value="45" />
</xs:restriction>
</xs:simpleType>
</xs:schema>

Jul 20 '05 #2

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

Similar topics

0
6091
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug file as folows. I need help to resolve them ASAP: cl /c /nologo /MDd /W3 /Od /GR /GM /Zi /GX /D "_DEBUG" /D " WIN32" /D "_W INDOWS" /D "_WINDLL"...
3
4566
by: Andrew Luke | last post by:
Hi all you C++ guru's! I'm 'very, very' new to C++ and I'm having a little trouble configuring my VS environment I think - when I try and compile some sample code I'm getting the following errors, any help would be 'greatly' appreciated! :) Thanks heaps! --------------------Configuration: CppRichTextItem - Win32 Debug--------------------...
1
7460
by: Minh | last post by:
I've just installed VS.NET 2003 on my Athlon XP 1800+. However I couldn't get any project with STL includes to compile even if I create a new empty project (and added #include <string>). It gave me a bunch of "missing ;" errors. I did reinstall the whole thing a few times but it didn't work. Anyone have any idea? Thanks c:\Program...
2
5723
by: Qiao Yun | last post by:
I used vc++.net (visual studio .net ) to open a project which can work well in vc++6.0. I succeeded in compiling the project in vc++.net in release mode . But when I tried to compile the project in debug mode, the following errors happened: d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29): error C2365: 'new' :...
7
4984
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying. I created the websetup and built the MSI, have the bundled version. Copied to webserver and ran Websetup.msi. Said I had to remove old version,...
0
6583
by: Herman Jones | last post by:
I'm getting the following error when I build a Class Library project: Embedding manifest... Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. It happens with every the of C++ project I try to build. Not just Class Libraries, but a plain Windows Form Application as well. I've tried creating new...
9
13248
by: Prasad | last post by:
HI, I am a beginner in VC++.. I am trying to write a Win32 console application in visual studio.. I am using following header files.. #include <STRING> using namespace std; #include <hash_map>//from Standard template library //and some other headers
9
4739
by: fcvcnet | last post by:
Hi, I write a class class CSegment { public: CSegment(void); public: ~CSegment(void); public: CArray< CList< CPoint, CPoint& >, CList< CPoint, CPoint& >& m_curve;
2
14884
by: yalbizu | last post by:
#include <iostream> #include <string> #include <fstream> #include <iomanip> using namespace std; const int NO_OF_STUDENTS=20; struct studentType { string studentFName; string studentLName;
15
5664
by: madhu.ab | last post by:
Hi All, I am getting the following errors when i am including header file winuser.h I dont know whats happening. How will an error occur in winuser.h?? Please help. \microsoft visual studio\vc98\include\winuser.h(39) : error C2061: syntax error : identifier 'HDWP'
0
7478
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7410
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7668
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. ...
0
7923
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7437
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...
0
7773
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...
0
5984
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...
0
3448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1901
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.