473,883 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

expected class-name before '{'

Hi,

i´ve got about 10 headerfiles with implemented classes. Now when i try

to compile them i get the following message:
In file included from Proxy/ServerCnx.hh:36 ,
from Proxy/Payload.hh:30,
...
from main.cc:28
Proxy/Interface.hh:83 : error: expected class-name before '{'
The Interface.hh looks like this:
class Module : public ClientCnx{...}
so far, i realisied that ClientCnx isn´t declarated. So I tried to
make a forward Declaration
by using
class ClientCnx;
but now, the compiler says:
Proxy/Interface.hh:83 : error_ invalid use of undefined type `ClientCnx`

Proxy/Interface.hh:30 : error_ forward declaration of `ClientCnx`
now what can i do to fix this prob ?!?

Sep 25 '06
19 17285
There are 3 headers:

InterfaceModule .hh
RtspController. hh
ClientCnx.hh

InterfaceModule .hh has a Derived Class and the Base is ClientCnx in
CLientCnx.hh,
RtspController has a Pointer on his owner, which is of type ClientCnx
and ClientCnx
like this
InterfaceModule .hh:
class Derived : public ClientCnx{ ... };

RtspController. hh:
class Controller {
ClientCnx ptr;
};

ClientCnx.hh:
class ClientCnx{
Controller ptr;
}

so, InterfaceModule .hh needs ClientCnx.hh be be included for the Base:
ClientCnx
and
ClientCnx.hh needs RtspController. hh to be included an i need a forward
declaration in RtspController. hh for ClientCnx

but then i compile, an error accures like

InterfaceModule .hh: error: incvlad use of undefined type `struct
ClientCnx'
RtspController. hh: error: forward declaration of `struct ClientCnx'

???

Sep 27 '06 #11

bubzilla wrote:
There are 3 headers:

InterfaceModule .hh
RtspController. hh
ClientCnx.hh

InterfaceModule .hh has a Derived Class and the Base is ClientCnx in
CLientCnx.hh,
RtspController has a Pointer on his owner, which is of type ClientCnx
and ClientCnx
like this
It is preferable that your header includes the header it needs so that
your source files can include the headers they need in any order.

When you have a hierarchy of classes where one is an abstract base and
the other is simply an implementation that has no extra public methods,
it is preferable that only the implementation file for the derived
class and any closely associated classes know about the derived class
(thus including its header).
InterfaceModule .hh:
class Derived : public ClientCnx{ ... };

RtspController. hh:
class Controller {
ClientCnx ptr;
};
If Derived provides no new public methods of its own then most of your
source should be using ClientCnx, not Derived. Such source should be
including the header for ClientCnx (ClientCnx.hh) only.
ClientCnx.hh:
class ClientCnx{
Controller ptr;
}

so, InterfaceModule .hh needs ClientCnx.hh be be included for the Base:
ClientCnx
and
ClientCnx.hh needs RtspController. hh to be included an i need a forward
declaration in RtspController. hh for ClientCnx
What is Controller? You have called the member ptr so is it a pointer?
ClientCnx is a base class (possibly an abstract one). You haven't given
it any methods (nor terminated it with a semi-colon) but much of the
time abstract classes should not give away any of their implementation
detail, so if they do have any pointer members they should generally be
to only forwardly-declared classes. A lot of the time they will have no
member variables at all. Note that ClientCnx should also have either a
public virtual destructor or a protected non-virtual one.
but then i compile, an error accures like

InterfaceModule .hh: error: incvlad use of undefined type `struct
ClientCnx'
Because you didn't include it in the header. By the way, if the file is
called InterfaceModule .hh the class should probably be called
InterfaceModule and not Derived. InterfaceModule should be a type of
ClientCnx.
RtspController. hh: error: forward declaration of `struct ClientCnx'
It will need that forward declaration if it needs to know of ClientCnx
as a type but doesn't need to know anything else about it, i.e. its
size of any of its methods.

Sep 27 '06 #12
bubzilla wrote:
There are 3 headers:

InterfaceModule .hh
RtspController. hh
ClientCnx.hh

InterfaceModule .hh has a Derived Class and the Base is ClientCnx in
CLientCnx.hh,
RtspController has a Pointer on his owner, which is of type ClientCnx
and ClientCnx
like this

InterfaceModule .hh:
class Derived : public ClientCnx{ ... };

RtspController. hh:
class Controller {
ClientCnx ptr;
As you mentioned above, this should be a pointer (maybe this was the
fault all the time). In my example below I replaced this by
ClientCnx* ptr;
};

ClientCnx.hh:
class ClientCnx{
Controller ptr;
The same here.
}

so, InterfaceModule .hh needs ClientCnx.hh be be included for the Base:
ClientCnx
and
ClientCnx.hh needs RtspController. hh to be included an i need a forward
declaration in RtspController. hh for ClientCnx

but then i compile, an error accures like

InterfaceModule .hh: error: incvlad use of undefined type `struct
ClientCnx'
RtspController. hh: error: forward declaration of `struct ClientCnx'
Here is my version of the three headers:
------------------------------------------------
ClientCnx.hh:
------------------------------------------------
#ifndef _CLIENTCNX_HH
# define _CLIENTCNX_HH

// We don't need to see Controller here,
// since we only hold a pointer to this
// class.

// Forward declaration for Controller class.
class Controller;

class ClientCnx{
Controller* ptr;
};
#endif // _CLIENTCNX_HH

------------------------------------------------
RtspController. hh:
------------------------------------------------
#ifndef _RTSPCONTROLLER _HH
# define _RTSPCONTROLLER _HH
// We don't need to see ClientCnx here,
// since we only hold a pointer to this
// class.

// Forward declaration for ClientCnx class.
class ClientCnx;

class Controller
{
ClientCnx* ptr;
};

#endif // _RTSPCONTROLLER _HH
------------------------------------------------
InterfaceModule .hh:
------------------------------------------------
#ifndef _INTERFACEMODUL E_HH
# define _INTERFACEMODUL E_HH

// We need to see the whole definition
// of ClientCnx, since we derive from
// it.
#include "ClientCnx. hh"

class Derived : public ClientCnx
{
};

#endif // _INTERFACEMODUL E_HH
------------------------------------------------
main.cpp:
------------------------------------------------
#include "InterfaceModul e.hh"
int main ()
{
Derived Module;
return 0;
}

main.cpp compiles fine, although the compiler warns that the variable
Module is never used.

I hope this helps,
Stuart
Sep 28 '06 #13

first of all: THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX

second: it don´t work yet

third: here are all my relevant files and their includes:
main.cc
#include "Proxy/RtspProxy.hh"
RtspProxy.hh
#include "InterfaceModul e.hh"
#include "RtspController .hh"
#include "ClientCnx. hh"
#include "ServerCnx. hh"
#include "RtspMsg.hh "
#include "Socket.hh"
#include "Scheduler/Scheduler.hh"
#include "Utils/membind.hh"
InterfaceModule .hh
#include "RtspController .hh"
#include "InterfaceList. hh"
RtspController. hh
#include "ClientCnx. hh"
#include "SdpMsg.hh"
#include "RtspMsg.hh "
#include "Scheduler/Scheduler.hh"
#include "Socket.hh"
#include "Utils/Exception.hh"
ClientCnx.hh
#include "InterfaceList. hh"
#include "RtspMsg.hh "
#include "Payload.hh "
#include "ClientStream.h h"
ServerCnx.hh
#include "RtspProxy. hh"
#include "Payload.hh "
#include "InterfaceModul e.hh"
#include "ServerStream.h h"
#include "RtspController .hh"
#include "RtspMsg.hh "
#include "InterfaceList. hh"
#include "Socket.hh"
Payload.hh
#include "ServerCnx. hh"
ServerStream.hh
#include "ServerCnx. hh"
#include "Socket.hh"
#include "Scheduler/Scheduler.hh"

these are the includes in all headerfiles, some have no includes
my compiler says:

g++ -Wall -Woverloaded-virtual -Wno-long-long -pedantic -ansi -O0 -g
-fno-inline -I. -c -o main.o main.cc
g++ -Wall -Woverloaded-virtual -Wno-long-long -pedantic -ansi -O0 -g
-fno-inline -I. -c -o Proxy/ClientStream.o Proxy/ClientStream.cc
In file included from Proxy/RtspProxy.hh:50 ,
from Proxy/ServerCnx.hh:34 ,
from Proxy/Payload.hh:30,
from Proxy/ClientCnx.hh:34 ,
from Proxy/ClientStream.hh :33,
from Proxy/ClientStream.cc :23:
Proxy/InterfaceModule .hh:88: error: invalid use of undefined type
`struct satcom::rtspPro xy::ClientCnx'
Proxy/RtspController. hh:59: error: forward declaration of `struct
satcom::rtspPro xy::ClientCnx'
scons: *** [Proxy/ClientStream.o] Error 1
scons: building terminated because of errors.
and in RtspController. hh:59 is a forward declaration like this

...
class ClientCnx;
class RtspController : boost::noncopya ble
...

and in InterfaceModule .hh there is a class like this:

class PassthroughModu le
: public AbstractModule
, public ClientCnx
{
...

Sep 28 '06 #14

first of all: THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX

second: it don´t work yet

third here are all my relevant files and their includes:


main.cc
#include "Proxy/RtspProxy.hh"
RtspProxy.hh
#include "InterfaceModul e.hh"
#include "RtspController .hh"
#include "ClientCnx. hh"
#include "ServerCnx. hh"
#include "RtspMsg.hh "
#include "Socket.hh"
#include "Scheduler/Scheduler.hh"
#include "Utils/membind.hh"
InterfaceModule .hh
#include "RtspController .hh"
#include "InterfaceList. hh"
RtspController. hh
#include "ClientCnx. hh"
#include "SdpMsg.hh"
#include "RtspMsg.hh "
#include "Scheduler/Scheduler.hh"
#include "Socket.hh"
#include "Utils/Exception.hh"
ClientCnx.hh
#include "InterfaceList. hh"
#include "RtspMsg.hh "
#include "Payload.hh "
#include "ClientStream.h h"
ServerCnx.hh
#include "RtspProxy. hh"
#include "Payload.hh "
#include "InterfaceModul e.hh"
#include "ServerStream.h h"
#include "RtspController .hh"
#include "RtspMsg.hh "
#include "InterfaceList. hh"
#include "Socket.hh"
Payload.hh
#include "ServerCnx. hh"
ServerStream.hh
#include "ServerCnx. hh"
#include "Socket.hh"
#include "Scheduler/Scheduler.hh"

these are the includes in all headerfiles, some have no includes
my compiler says:

g++ -Wall -Woverloaded-virtual -Wno-long-long -pedantic -ansi -O0 -g
-fno-inline -I. -c -o main.o main.cc
g++ -Wall -Woverloaded-virtual -Wno-long-long -pedantic -ansi -O0 -g
-fno-inline -I. -c -o Proxy/ClientStream.o Proxy/ClientStream.cc
In file included from Proxy/RtspProxy.hh:50 ,
from Proxy/ServerCnx.hh:34 ,
from Proxy/Payload.hh:30,
from Proxy/ClientCnx.hh:34 ,
from Proxy/ClientStream.hh :33,
from Proxy/ClientStream.cc :23:
Proxy/InterfaceModule .hh:88: error: invalid use of undefined type
`struct satcom::rtspPro xy::ClientCnx'
Proxy/RtspController. hh:59: error: forward declaration of `struct
satcom::rtspPro xy::ClientCnx'
scons: *** [Proxy/ClientStream.o] Error 1
scons: building terminated because of errors.
and in RtspController. hh:59 is a forward declaration like this

...
class ClientCnx;
class RtspController : boost::noncopya ble
...

and in InterfaceModule .hh there is a class like this:

class PassthroughModu le
: public AbstractModule
, public ClientCnx
{
...

Sep 28 '06 #15

first of all: THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX THANKX
THANKX THANKX THANKX THANKX THANKX

second: it don´t work yet

third here are all my relevant files and their includes:


main.cc
#include "Proxy/RtspProxy.hh"
RtspProxy.hh
#include "InterfaceModul e.hh"
#include "RtspController .hh"
#include "ClientCnx. hh"
#include "ServerCnx. hh"
#include "RtspMsg.hh "
#include "Socket.hh"
#include "Scheduler/Scheduler.hh"
#include "Utils/membind.hh"
InterfaceModule .hh
#include "RtspController .hh"
#include "InterfaceList. hh"
RtspController. hh
#include "ClientCnx. hh"
#include "SdpMsg.hh"
#include "RtspMsg.hh "
#include "Scheduler/Scheduler.hh"
#include "Socket.hh"
#include "Utils/Exception.hh"
ClientCnx.hh
#include "InterfaceList. hh"
#include "RtspMsg.hh "
#include "Payload.hh "
#include "ClientStream.h h"
ServerCnx.hh
#include "RtspProxy. hh"
#include "Payload.hh "
#include "InterfaceModul e.hh"
#include "ServerStream.h h"
#include "RtspController .hh"
#include "RtspMsg.hh "
#include "InterfaceList. hh"
#include "Socket.hh"
Payload.hh
#include "ServerCnx. hh"
ServerStream.hh
#include "ServerCnx. hh"
#include "Socket.hh"
#include "Scheduler/Scheduler.hh"

these are the includes in all headerfiles, some have no includes
my compiler says:

g++ -Wall -Woverloaded-virtual -Wno-long-long -pedantic -ansi -O0 -g
-fno-inline -I. -c -o main.o main.cc
g++ -Wall -Woverloaded-virtual -Wno-long-long -pedantic -ansi -O0 -g
-fno-inline -I. -c -o Proxy/ClientStream.o Proxy/ClientStream.cc
In file included from Proxy/RtspProxy.hh:50 ,
from Proxy/ServerCnx.hh:34 ,
from Proxy/Payload.hh:30,
from Proxy/ClientCnx.hh:34 ,
from Proxy/ClientStream.hh :33,
from Proxy/ClientStream.cc :23:
Proxy/InterfaceModule .hh:88: error: invalid use of undefined type
`struct satcom::rtspPro xy::ClientCnx'
Proxy/RtspController. hh:59: error: forward declaration of `struct
satcom::rtspPro xy::ClientCnx'
scons: *** [Proxy/ClientStream.o] Error 1
scons: building terminated because of errors.
and in RtspController. hh:59 is a forward declaration like this

...
class ClientCnx;
class RtspController : boost::noncopya ble
...

and in InterfaceModule .hh there is a class like this:

class PassthroughModu le
: public AbstractModule
, public ClientCnx
{
...

Sep 28 '06 #16
bubzilla wrote:
second: it don´t work yet

third: here are all my relevant files and their includes:
[snipped include sections of header files]
>
these are the includes in all headerfiles, some have no includes
my compiler says:

g++ -Wall -Woverloaded-virtual -Wno-long-long -pedantic -ansi -O0 -g
-fno-inline -I. -c -o main.o main.cc
g++ -Wall -Woverloaded-virtual -Wno-long-long -pedantic -ansi -O0 -g
-fno-inline -I. -c -o Proxy/ClientStream.o Proxy/ClientStream.cc
In file included from Proxy/RtspProxy.hh:50 ,
from Proxy/ServerCnx.hh:34 ,
from Proxy/Payload.hh:30,
from Proxy/ClientCnx.hh:34 ,
from Proxy/ClientStream.hh :33,
from Proxy/ClientStream.cc :23:
Proxy/InterfaceModule .hh:88: error: invalid use of undefined type
`struct satcom::rtspPro xy::ClientCnx'
Proxy/RtspController. hh:59: error: forward declaration of `struct
satcom::rtspPro xy::ClientCnx'
scons: *** [Proxy/ClientStream.o] Error 1
scons: building terminated because of errors.
and in RtspController. hh:59 is a forward declaration like this

...
class ClientCnx;
class RtspController : boost::noncopya ble
...

and in InterfaceModule .hh there is a class like this:

class PassthroughModu le
: public AbstractModule
, public ClientCnx
{
...
Could you post us your whole project (the headers only, and a .cpp file
that uses the same headers as the file that won't compile), or is this
confidential? You can send to my email address, but I'd appreciate you
not to send any further corresponce to this address since my spam filter
will most likely classify English mails as spam (which would be deleted
within one day).

Thanks,
Stuart
Sep 28 '06 #17
thankx so far,

i didn´t forget the "*" for the pointers,
the classes where just a part of my programm and i thought here is the
mistake,
but if the classes compile as you said stuart, the mistake must be
somewhere else in the structure.

Now, i have the same "sub"-structure as your example but i´m always
getting the error if i use the predeclaration.

in Controller i use the predeclaration "class ClientCnx",

if its in in : error:forward declaration of `ClientCnx'

if its not in: error: expected `)' before '*' token ...
so, he needs the class ClientCnx for the pointer

:-(

Sep 28 '06 #18
bubzilla wrote:
ClientCnx.cc
http://rafb.net/paste/results/dgYcY246.html

ClientCnx.hh
http://rafb.net/paste/results/iCFeT751.html

InterfaceModule .hh
http://rafb.net/paste/results/GHS7DG43.html

InterfaceModule .cc
http://rafb.net/paste/results/o1CNvm51.html

RtspController. hh
http://rafb.net/paste/results/0LSmc236.html

RtspController. cc
http://rafb.net/paste/results/YYeetp56.html
There are still a lot of definitions missing, like InterfaceList. I'm
afraid that I'd need to see all these header files (the implementation
files are of no interest to me). Anyway, I won't be back till Wednesday
(national holiday on Tuesday), so you have to wait a bit for answers (I
don't know whether I'll get a opportunity to check my emails this weekend).

Have a nice weekend,
Stuart
Sep 29 '06 #20

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

Similar topics

4
3087
by: Edvard Majakari | last post by:
Hi, I just found py.test and converted a large unit test module to py.test format (which is actually almost-no-format-at-all, but I won't get there now). Having 348 test cases in the module and huge test classes, I started to think about splitting classes. Basically you have at least three obvious choises, if you are going for consistency in your test modules: Choise a:
10
370
by: Chiller | last post by:
Ok, this is a continuation of a problem I posted on an earlier thread. I've started another thread because my problem has progressed from the initial constructor problem into a general method problem. I'm trying to write a class (Distance.h & Distance.cpp) that will perform operations on distances. ie compare, add, subtract etc distance values. I'm still in the early stages of developing the class; however, I'm stuck with how best to...
11
44270
by: westplastic | last post by:
This one is driving me insane. The script works perfect on Firefox, but Internet Explorer keeps complaining about "Error Object Expected" and stuff like that. I've run it through Firefox's Java Console, and it comes back with no errors. Any pointers on this, would be much appreciated. <script type="text/javascript"> <!-- var p = new Array(0,0,0,0,0) var c = new Array(0,0,0,0,0,0,0,0,0)
9
2121
by: blackdog | last post by:
I compiled *.cs which contains public partial class xxx: System.Web.UI.Page I got errors as below: xxx_cs.aspx.cs: error CS1518: Expected class, delegate, enum, interface, or struck. Please help. Thanks
9
17392
by: Jack | last post by:
I get the following errors from the code ( CRM 3.0 ) below, whats wrong ? Any suggestions are welcome because i'm kinda stuck here. The first error is pointing on the last bracket ] <--- c:\inetpub\wwwroot\bredanaweb\jdshentlead.aspx.cs(18,35): error CS1001: Identifier expected
2
10363
by: nospam | last post by:
Hello - I am getting a compile error "Expected class, delegate, enum". I am trying to create a Class Library in C# which wraps around an unmanaged DLL that manages a MIDI interface. In my Class Library code, I have tried to put a DllImport to the Win32 function MessageBox. Just to test out the DllImport functionality before I add my custom functions that I want to wrap.
2
1999
by: A.J. Bonnema | last post by:
Hi all, I just started using Python. I used to do some Java programming, so I am not completely blank. I have a small question about how classes get instantiated within other classes. I have added the source of a test program to the bottom of this mail, that contains 3 methods within a testclass that each instantiate the same class and bind it to a local variable. My understanding was, that the local variable gets garbage collected as...
2
1062
by: parez | last post by:
Why should the following not compile? ( it does not) interface ISomething { Apples a {get;set;} } public class ChilieanApples:Apples
10
1462
by: hofer | last post by:
Hi, I have multiple objects all belonging to the same class (which I didn't implement and whose code I don't want to modify) Now I'd like to change one method for one object only (after it has been created) without adding any overhead to the call of the other object's methods.
2
3590
by: prw8864 | last post by:
I can not see what is causing this error.... iterator has been defined properly, but the error seems to point to the interator type. Errors I get with g++ svector.c++ -o svector 2> ./err_txt gcc version 4.3.2 svector.c++:38: error: expected constructor, destructor, or type conversion before ‘SVector’ svector.c++:53: error: expected constructor, destructor, or type conversion before ‘SVector’ svector.c++:63: error: expected...
0
9796
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11153
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...
0
10757
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9583
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...
1
7975
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5804
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
6002
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4620
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
3
3239
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.