Jump to content
Sign in to follow this  
jknickel

Arrays

Recommended Posts

It would be very useful for my projects to have arrays of integers. This still seems to be a problem with BoostC and C2C compilers.

Share this post


Link to post
Share on other sites

jknickel,

 

It would be very useful for my projects to have arrays of integers. This still seems to be a problem with BoostC and C2C compilers.
Arrays of integers are supported in BoostC and C2C compilers.

 

Please provide some code that illustrates what you are talking about.

 

Regards

Dave

Share this post


Link to post
Share on other sites

Hi Dave

 

Please provide some code that illustrates what you are talking about.

 

short[ NUM_TIMERS ] TimerVal;
short[ NUM_TIMERS ] TimerPreset;

 

My silly mistake (above). I have been writing a lot of C# code for the PC application which does things a little different.

 

This is what itr should have been.

 

short TimerVal[ NUM_TIMERS ];
short TimerPreset[ NUM_TIMERS ];

 

This is where the function pointer would be useful, to execute a function on timer expire.

 

Regards

Jeff

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji 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...
Sign in to follow this  

×
×
  • Create New...