This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

dynamica allocation in keil with c++

1). how to solve the problem of auto segment to large.?

2)how to dynamically allocate memory in keil? malloc etc. functions are concerned with c. but can we use 'new' operator in keil when programing using C++.
is there any other method with c++ in keil to dynammically allocate memory?

Parents
  • 1) malloc is wisely outlawed by MISRA and IMHO blatantly violating MISRA is fools errand
    2) using malloc in C51 is ridiculous, the underlying processor is singularly unsuitable for this.
    3) is sounds as if you need to switch to an ARM

Reply
  • 1) malloc is wisely outlawed by MISRA and IMHO blatantly violating MISRA is fools errand
    2) using malloc in C51 is ridiculous, the underlying processor is singularly unsuitable for this.
    3) is sounds as if you need to switch to an ARM

Children