Problem in C++ programming

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Problem in C++ programming

1,293 次查看
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

标签 (1)
0 项奖励
回复
2 回复数

466 次查看
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 项奖励
回复

466 次查看
akr
Contributor I

Thanks for replying. I got my answer.

 

Thanks

 

akredhu

0 项奖励
回复