Problem in C++ programming

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem in C++ programming

1,295 Views
akr
Contributor I

Hi,

 

First time I tried C++, but couldn't make my program working. Can anyone suggest me how to write program in C++. I am using CW v4.5 special edition. I tried to create a class  and make output of Port H high. I always keep on getting errors.

 

Can anyone suggest me with possible small example.

 

Thanks

Labels (1)
0 Kudos
Reply
2 Replies

468 Views
CrasyCat
Specialist III

Hello

 

Are you using a special edition of CodeWarrior for HC12 V4.5?

 

If this is the case you have to keep in mind that you are limited to 1024 bytes of C++ code in your application.

 

Special edition does not allow unlimited C++ programming. You need the professional edition to get unlimited C++ support.

Also keep in mind that due to the HC12 architecture the compiler does not support full C++, but mainly embedded C++.

 

You can find a small example of C++ programming in the layout. Look at

{Install}\(CodeWarrior_Examples)\HC12\HC12 SIMULATOR\HC12 C++_Simple

 

I hope this helps.

 

CrasyCat

0 Kudos
Reply

468 Views
akr
Contributor I

Thanks for replying. I got my answer.

 

Thanks

 

akredhu

0 Kudos
Reply