The Godfather talking
You can run, but you can't hide.
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 29, 2024, 01:20:58 13:20


Login with username, password and session length


Pages: [1]
Print
Author Topic: Keil ARM C++ string  (Read 6636 times)
0 Members and 1 Guest are viewing this topic.
alberto110
Junior Member
**
Offline Offline

Posts: 93

Thank You
-Given: 50
-Receive: 10


« on: April 09, 2012, 08:25:44 20:25 »

Hi ,
 i want to write application that use RTX os , also i need string like ANSI C++ with overloaded operator + = .
is there available library in keil RL-ARM ?
thanks
Logged
mgate
Inactive

Offline Offline

Posts: 5

Thank You
-Given: 0
-Receive: 4


« Reply #1 on: April 09, 2012, 09:39:53 21:39 »

Can't you use:
 #include <string.h>

??
Logged
alberto110
Junior Member
**
Offline Offline

Posts: 93

Thank You
-Given: 50
-Receive: 10


« Reply #2 on: April 18, 2012, 03:46:45 15:46 »

yes but it doesn't have + = operator , does it ?

also when i'm using KEIL RTX OS  can i use new operator for allocating memory to a pointer , like this .

char *value ;
value = new char[length];

 i think it couse problem with RTX .
Logged
aplank
Active Member
***
Offline Offline

Posts: 111

Thank You
-Given: 137
-Receive: 193


« Reply #3 on: April 18, 2012, 07:26:55 19:26 »

You can safely use memory allocation routines with RTX, but you must add the necessary protection.

It's detailed in http://www.keil.com/support/man/docs/armlib/armlib_chdfgjej.htm

Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC