Jump to content


Photo

C++ Porting Issues


4 replies to this topic

#1 rbairos

rbairos

    Newbrie

  • EstablishedMember
  • 5 posts

Posted 27 February 2011 - 03:47 AM

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;
}

#2 Pavel

Pavel

    Super Maniac

  • Administrators
  • PipPipPipPipPip
  • 1,451 posts
  • Gender:Male
  • Location:Melbourne, Australia

Posted 28 February 2011 - 03:36 AM

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

Regards,
Pavel

#3 WalterFax

WalterFax

    Newbrie

  • EstablishedMember
  • 5 posts
  • Gender:Male
  • Location:143040
  • Interests:WalterFaxFB

Posted 03 March 2016 - 03:19 PM

IS this a bug ej? Casting poison cloud cancels out spells and porting. Here are some videos to show what I mean. Try it.

#4 xetix

xetix

    Newbrie

  • Members
  • 1 posts

Posted 11 September 2016 - 07:16 AM

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


#5 JorgeF

JorgeF

    Super Enthusiast

  • EstablishedMember
  • PipPipPip
  • 276 posts
  • Gender:Male
  • Location:ES @ Europe, third rock from the Sun

Posted 26 September 2016 - 06:13 PM

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





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users