🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.learn.c-c++
Article #119

convert *char to string

#119
From: Jarne Cook
Date: Fri, 14 Jan 2000 00:00
13 lines
1413 bytes
Can anyone tell me how to convert a char* to a string or get access to each
charater one by one.

I am trying to get char* argv[1] ( the first argument) so that I can
manipulate each character.  Can someone PLEEEZE tell me if there is a
standard c++ call to do that.
----------------------------------------------------------------------------
----
Jarne Cook Public Email: jarne_cook@hotmail.com
Uni Email : j2.cook@student.qut.edu.au
ICQ # : 27100420
----------------------------------------------------------------------------
----
Technical Details
Message-ID: <387ed1c7@grissom>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109fba,9c3f098f257151c0,start
X-Google-Attributes: gid109fba,public
X-Google-Thread: 114592,9c3f098f257151c0,start
X-Google-Attributes: gid114592,public
X-Google-Thread: 10d4ba,9c3f098f257151c0,start
X-Google-Attributes: gid10d4ba,public
From: "Jarne Cook" <jarne@powerup.com.au>
Subject: convert *char to string
Date: 2000/01/14
Message-ID: <387ed1c7@grissom>
X-Deja-AN: 572462743
Distribution: world
X-Original-NNTP-Posting-Host: ae01035.powerup.com.au
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Trace: ozemail.com.au 947835336 203.32.8.130 (Fri, 14 Jan 2000 18:35:36 EST)
Organization: OzEmail Pty Ltd, Australia
X-MSMail-Priority: Normal
NNTP-Posting-Date: Fri, 14 Jan 2000 18:35:36 EST
Newsgroups: alt.comp.lang.learn.c-c++,att.lang.c++,comp.lang.c++