Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
111 user(s) are online (105 user(s) are browsing Forums)

Members: 0
Guests: 111

more...

Support us!

Headlines

 
  Register To Post  

« 1 2 (3)
Re: GCC, Dynamic structure creation method ?
Quite a regular
Quite a regular


See User information
@abalaban
Do you think this source code should compiles under C++ ? Or is it too different ?

All we have to decide is what to do with the time that is given to us.
Go to top
Re: GCC, Dynamic structure creation method ?
Quite a regular
Quite a regular


See User information
@freddix

which source ? your C source ? Normally I don't see why it won't compile as C++ is a superset of C any correct C program is also a correct C++ program (but just not using C++ object capabilities)

Back to a quiet home... At last
Go to top
Re: GCC, Dynamic structure creation method ?
Quite a regular
Quite a regular


See User information
@abalaban
I'll try to understand your sample and will definitively look for a C++ book.
After a first look at your code, it seem really more interesting than mine :p

Thank you.

All we have to decide is what to do with the time that is given to us.
Go to top
Re: GCC, Dynamic structure creation method ?
Quite a regular
Quite a regular


See User information
@freddix

The code I wrote was only a sample I did not tried to compile it, however it should be globally correct, the point was to show you some of the advantages of C++.

Back to a quiet home... At last
Go to top
Re: GCC, Dynamic structure creation method ?
Quite a regular
Quite a regular


See User information
@abalaban
Ok

Thank you for everything.

All we have to decide is what to do with the time that is given to us.
Go to top
Re: GCC, Dynamic structure creation method ?
Just popping in
Just popping in


See User information
@abalaban

Many very correct C sources don't compile with a C++ compiler (most of the time for cast reasons, but not only). So, C++ is not a superset of C in this regard, else it would compile them without trouble.

Go to top
Re: GCC, Dynamic structure creation method ?
Quite a regular
Quite a regular


See User information
Hi,
Is there performance differencies between C and C++ ?
is it noticeable on Amiga ?

All we have to decide is what to do with the time that is given to us.
Go to top

  Register To Post
« 1 2 (3)

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project