Jump to content
rbairos

C++ Porting Issues

Recommended Posts

rbairos    0

Hi guys.

Porting some code, and coming across several small changes I had to make in order to make it compile.

Thought I'd list one or two here and see if they are known limitations, etc.

Cheers

Rob

 

 

issue#1

 

doesn't work:

 

Client::Client(char s) : _sock(s)

{

}

 

 

works:

 

Client::Client(char s)

{

_sock = s;

}

Share this post


Link to post
Share on other sites
Pavel    0

This is a compiler limitation: only default constructor of a base class can be used when construction an inherited object.

 

Regards,

Pavel

Share this post


Link to post
Share on other sites
WalterFax    0

IS this a bug ej?

 

Casting poison cloud cancels out spells and porting. Here are some videos to show what I mean. Try it.

Share this post


Link to post
Share on other sites
xetix    0
I tried this example program, but I do not work in the simulation.

Just not good for me?

"In Boostc pic Micro Programming For Beginners" - / * thermometer2.c


Pic16f877 and if it works adres = adresh.

But it does not work PIC16F72

Thanks

Share this post


Link to post
Share on other sites
JorgeF    0

Hi Xelix

 

 

First of all, you should open a new topic, not steal an old one.

Second, can you show us the code?

I could try to help, but I have no idea of what you are looking for.

 

 

Best regards

Jorge

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×