Mail Archives: djgpp/1997/07/02/08:33:20
From: | Chris <dingfam AT imag DOT net>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Parsing a string from a string
|
Date: | Wed, 02 Jul 1997 02:12:45 -0700
|
Organization: | NV Entertainment
|
Message-ID: | <33BA1B8D.F9DF7B6D@imag.net>
|
NNTP-Posting-Host: | queasy.imag.net
|
Mime-Version: | 1.0
|
Lines: | 16
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Heya
I'm writing a small script interpreter program, and I need to know
how to get a C-Like string from a line such as this:
var str = "This the string I want to get."
Right now, I'm using the .cfg file parser in sound.c that came with
Allegro 2.2 (I hope nobody minds). I want to get the parts in the quotes
in one argv[] for easy processing.
Anyway, its 2:09am, so I hope the above is coherent :) If you find
this lacking information, just email me back telling me so.
Any help is, as always, appreciated.
Thanks,
chris
- Raw text -