English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Programming & Design - September 2006

[Selected]: All categories Computers & Internet Programming & Design

If you have a string of text

(for example, "1234 quick 1234 brown 1234 fox")

and you wanted to use a regular expression to identify any words in that string of text, what is the c++ code that would do it?

Note: A word is defined as any sequence of letters that is not interrupted by a space.

I could really use an example of code.

What #include statements would I need? Is there a way to do it without including regex? Where do I get regex (if I try to include it now, my compiler gives me an error, so I assume I need to get it from somewhere)?

Please note, I don't need a tutorial on regular expressions. I understand regular expressions well enough as it is, I just need to know how to use them in C++.

2006-09-28 08:04:42 · 3 answers · asked by Anonymous

It has been said "If it does not use SQL, it is not relational". Is there validity to this statement? Why? Why Not?

2006-09-28 07:58:04 · 3 answers · asked by salme1315 1

2006-09-28 07:48:10 · 6 answers · asked by karen 1

what is it
what files are in it?
How do I get to it?
coutions about registry changes
I need this for a class if i could get some help thanks alot. I don't know alot this kind of stuff. thanks in advance

2006-09-28 07:42:57 · 4 answers · asked by crystal s 2

I got this feed from the BBC website. It shows the description and everything but how do these news events update and change? I mean wont these news events get old after a few days?


Honda creates 700 Swindon jobs
Japanese car giant Honda creates an extra 700 jobs at its Swindon plant, taking the workforce to 4,900.
http://news.bbc.co.uk/go/rss/-/1/hi/business/5387556.stm
http://news.bbc.co.uk/1/hi/business/5387556.stm
Thu, 28 Sep 2006 14:13:31 GMT
Business

2006-09-28 07:18:45 · 3 answers · asked by peter s 1

Ive made the XML document that contains all the stuff i want shown on peoples sites. But what is the code that people add to their sites to show the contents of my XML document on their site?
Also is XML just used for RSS feeds?
thanx

2006-09-28 07:10:16 · 4 answers · asked by peter s 1

I am using wordpad to try to make a simple sales flyer
this is the picture I need to insert,how do I do this?
http://www.casablancapartyrental.com/
thanks...also this is a family business,so yes, we have the rights to the picture....

2006-09-28 07:05:53 · 4 answers · asked by crystal 5

what can i do to save a falling relationship?

2006-09-28 07:00:29 · 13 answers · asked by cook a 1

Where can I find a company that you pay so they will make you an online multiplayer game?

2006-09-28 06:36:46 · 6 answers · asked by Anonymous

2006-09-28 06:29:47 · 5 answers · asked by bambaacha 2

I've tried selecting all, then re-name them, but they keep the original name just with a number 1 in a bracket. Please help

2006-09-28 05:24:58 · 7 answers · asked by king_sigh 3

If you have a string of text and you wanted to use a regular expression to identify any words in that string of text, what is the c++ code that would do it? What #include statements would I need?

Note: A word is defined as any sequence of letters that is not interrupted by a space.

Complete code would be helpful, but any help is appreciated.

2006-09-28 05:23:08 · 2 answers · asked by Anonymous

I have installed J2SDK1.5 in my pc & i have set path & class path.
When i m compiling & running my java program in bin directory of J2SDK then it is working fine.But when i m running that program from some other directory i m getting java.lang.UnsupportedVersionError while running the program.Plz tel me why i m getting this & how can i remove this error

2006-09-28 04:57:37 · 2 answers · asked by Anonymous

Is anyone aware of html which puts a page inside a page? For example on freewebs.com/example how would I be able to scroll down on MY page then inside my page be able to use another functioning website e.g. www.google.com? I think this can be done as I've seen it before. Please help!

2006-09-28 04:52:15 · 5 answers · asked by Jack 2

I Visit a Certain sites daily. and find its flash movies impressive. Can i one know how can we copy that flash content. Like we see the movie on www.yosmile.com and e-cards on www.santabanta.com

2006-09-28 04:49:38 · 6 answers · asked by Anonymous

I'm using CDOSYS (CDO.Message). The mailer worked perfectly well on the other server, but now that I've switched servers, it's telling me that my SendUsing value is invalid. I don't know anything about setting up configuration. The website is www.cliqimaging.com, the Ip Address is 64.68.234.20. I don't even know the difference between the different sendusing values. Here's the programming:

<%
Option Explicit

Dim strBody, objMail
Dim sMsg
Dim sTo
Dim sFrom
Dim sSubject
Dim sTextBody

sFrom = "contact@cliqimaging.com"
sTo = "jbromwell@contactimaging.com"
sSubject = "Online Contact Request from CliqImaging.com Website"
sTextBody = strBody

strBody = "Request recieved at: " & Now() & vbCrLf & vbCrLf
strBody = strBody & "Name: " & Request("namef") & vbCrLf
strBody = strBody & "Address: " & Request("addressf") & vbCrLf
strBody = strBody & "City: " & Request("cityf") & vbCrLf
strBody = strBody & "State: " & Request("statef") & vbCrLf

2006-09-28 04:41:04 · 2 answers · asked by Rockstar 6

for(int i=0; i<10; i++)
{

printf("----------");

}

The initialize statement is ended with ";" so is the condition but the incerement is not terminated,
So its a Expression and C compiler takes only Statement's but still it works without showing any ERROR...!!!!
Why is it???

2006-09-28 04:34:12 · 6 answers · asked by Abhax 1

Hi, I know HTML, JavaScript and Flash also Flashscript,Photoshop, soundforge,CSS,Dream weaver, front page. Now I am not that efficient in 3Ds max and premier.

Now, when u know my profile, what should be my salary demand?

2006-09-28 02:57:33 · 6 answers · asked by sreepuliyath 1

The word doc. contains text and clip art graphics, I was asked to convert the file to .jpg format. Any suggestions?

2006-09-28 02:45:49 · 11 answers · asked by Jersey Style 5

How can i declare a variable inside the function, so that i can update it example:
function
{
dim counter as integer
integer++
}
i mean something like this so everytime that i call the function it adds 1 to the integer
(@@$$** i dont want to use a global variable **$$@@)

2006-09-28 02:43:53 · 2 answers · asked by aryaxt 3

I am using Asp.net 2.0
Sql server 2005 express
Vb.net 2005
I have finished my site please I need A TRUSTED host for maximum 50$/year with the domain
please help 50$ for a student like me means a fortune

2006-09-28 02:42:14 · 7 answers · asked by Ali 1

2006-09-28 02:28:11 · 4 answers · asked by Violet 4

2006-09-28 02:24:24 · 2 answers · asked by Violet 4

fedest.com, questions and answers