| | |
capturing text
![]() |
•
•
Join Date: Aug 2003
Posts: 1
Reputation:
Solved Threads: 0
heya guys I mud and I use a client that is not all that powerful I'm new to c+ but have spent the last 2 weeks reading hard on it, I'm trying to write a few scripts and my client doesnt have all the necesary commands heres what I need in c+
need a formula for where i get a repeated word in a string ie
somewhere-
somewhere-
somewhere-
somewhere-
now what i want to do is replace somewhere with
1-
2-
3-
4-
whats the fomula to do this?
also I want to capture certain line of text (room names) these room names always end with [obvious exits] 1 line directly below, any ideas how to do this?
hope to get some feed back thanks for reading
need a formula for where i get a repeated word in a string ie
somewhere-
somewhere-
somewhere-
somewhere-
now what i want to do is replace somewhere with
1-
2-
3-
4-
whats the fomula to do this?
also I want to capture certain line of text (room names) these room names always end with [obvious exits] 1 line directly below, any ideas how to do this?
hope to get some feed back thanks for reading
Last edited by dejaqkl; Aug 26th, 2003 at 10:29 pm.
I'm not sure about your question! Are those variables or constants?
enum (something that makes sense without the brackets) { somewhere=1,somewhere=2,somewhere=3,somewhere=4}---constants
and maybe u can use the typedef keyword for using one word as a synonym but u want them to be replaced by numbers so it's better to use const.
enum (something that makes sense without the brackets) { somewhere=1,somewhere=2,somewhere=3,somewhere=4}---constants
and maybe u can use the typedef keyword for using one word as a synonym but u want them to be replaced by numbers so it's better to use const.
![]() |
Similar Threads
- Saving radio button values as text (Visual Basic 4 / 5 / 6)
- Capturing data from txt file using JavaScript/HTML (JavaScript / DHTML / AJAX)
- connect to text file database (Visual Basic 4 / 5 / 6)
- News Story: 79 billion text messaging monkeys (Ad Space for Sale)
- News Story: I hate to say it but text to speech is a waste of time (Ad Space for Sale)
- How do we send captured text data to print spooler for printing it out (Windows NT / 2000 / XP)
- Split text and store it in arraylist [ problem with code] (Java)
- Using string variables in a label or text box? (VB.NET)
Other Threads in the C Forum
- Previous Thread: ATL Web Service
- Next Thread: file input and output
| Thread Tools | Search this Thread |
adobe api array arrays binarysearch calculate char cm convert copyanyfile copypdffile cprogramme createcopyoffile createprocess() csyntax directory dynamic feet fflush file floatingpointvalidation fork forloop frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking hardware highest homework i/o inches incrementoperators intmain() iso kernel kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives loopinsideloop. match matrix microsoft motherboard mqqueue mysql oddnumber odf open opendocumentformat opensource openwebfoundation owf pattern pdf performance pointer posix power probleminc program programming pyramidusingturboccodes read recursion recv recvblocked repetition research scanf scheduling segmentationfault send shape socketprograming socketprogramming stack standard strchr string suggestions systemcall test unix urboc user variable voidmain() wab win32api windows.h





