•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 456,571 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,609 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser: Programming Forums
Views: 2146 | Replies: 1
![]() |
•
•
Join Date: Aug 2003
Posts: 1
Reputation:
Rep Power: 0
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.
•
•
Join Date: Sep 2003
Location: deep withing 100100010100
Posts: 201
Reputation:
Rep Power: 6
Solved Threads: 1
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.
![]() |
•
•
•
•
•
•
•
•
DaniWeb C Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Capturing data from txt file using JavaScript/HTML (JavaScript / DHTML / AJAX)
- edit text on a gif image in photoshop (Graphics and Multimedia)
- i = system ("cd c:\text"); :( (C)
- Using string variables in a label or text box? (VB.NET)
- connect to text file database (Visual Basic 4 / 5 / 6)
Other Threads in the C Forum
- Previous Thread: ATL Web Service
- Next Thread: file input and output


Linear Mode