reverse a string in subscriber node [closed]

asked 2021-09-24 16:17:30 -0500

MPR gravatar image

updated 2022-04-17 10:56:19 -0500

lucasw gravatar image

i want to write a program which reverses the string received and print it in c++

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by gvdhoorn
close date 2021-09-25 06:17:08.925036

Comments

1

Right now this doesn't sound like it's an actual ROS-related question. Would you agree?

If you do, please try and find a more appropriate venue for it, such as a forum about C++.

gvdhoorn gravatar image gvdhoorn  ( 2021-09-25 00:33:51 -0500 )edit

it is related to ROS.I want to do it using ROS framework(roscpp). Do you have any idea on this?

MPR gravatar image MPR  ( 2021-09-25 00:41:41 -0500 )edit
1

This is not something roscpp changes, or adds to.

Reversing a string is a basic C++ operation.

There is nothing in roscpp which helps you here.

gvdhoorn gravatar image gvdhoorn  ( 2021-09-25 00:47:10 -0500 )edit