Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


C++ & perl & HTML

This topic is 7043 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there. Again I came with a question, and I'm seeking for a satisfying answer.
Like everybody here knows, there are perl scripts on the internet, which sends back HTML-information. And by use of those HTML-information you can give information to the perl file and get other information back. Now....there's a nice chatroom which uses a perl-script. But I hate using the interface. So, I was thinking about making a C++ program, which sends information to the perl-script located somewhere on the internet. And receives the information the perl-file sends back. That information, can then be written to a file.....or remains in memory, while the program looks for the information he's looking for (ie, the part where the chat starts) and stores the sentences said by the people in the chatroom, in a static textbox.
Then, after reading all those messages....I can click on a button which has certain values. Post, Reload and 1 on 1 (for private messages). That has to be included in the program too.....sending certain values and receives the file with the changed values......and so on.
Are there any useful functions in the Visual C++ language? or in java?
can anybody help me a little with this.....to get the html file, and to send values and receive the changed thing. please? I'm kinda desperate.

Maybe it's useful to see how the HTML file looks like.


L.A. Live Chatroom

L.A. Live Chatroom
# of mesgs

< !--:935827407:-->< !--begin--> < !--:935827407:--> < !--:935827401:--> < !--:935827399:--> < !--:935827396:--> < !--:935827394:--> < !--:935827385:--> < !--:935827384:--> < !--:935827380:--> < !--:935827378:--> < !--:935827378:--> < !--:935827376:--> < !--:935827375:--> < !--:935827373:--> < !--:935827371:--> < !--:935827367:--> < !--:935827365:--> < !--:935827356:--> < !--:935827352:--> < !--:935827345:--> < !--:935827327:-->
People Reload
< !--CJ; yes, it's you and me-->CJ; yes, it's you and me 01:03:27
< !--jonny_girl-->jonny_girl
< !--terence and phillip-->terence and phillip 01:03:19
< !--M. Foley-->M. Foley 01:03:16
< !--pancho-->pancho 01:03:14
< !--Breath-->Breath 01:03:05
< !--Lockies-->Lockies 01:03:04
< !--chickybabe-->chickybabe 01:03:00
< !--SaTaNsWhOrE-->SaTaNsWhOrE 01:02:58
< !--BuTteRflY-->BuTteRflY 01:02:58
< !--pain goddess-->pain goddess 01:02:56
< !--seth-->seth 01:02:55
< !--cHaRlOtTe-->cHaRlOtTe 01:02:53
< !--tiffany-->tiffany 01:02:51
< !--TINKLER-->TINKLER 01:02:47
< !--Princess-->Princess 01:02:45
< !--KingNothing™-->KingNothing™ 01:02:36
< !--skywalker-->skywalker 01:02:32
< !--Sparky-->Sparky 01:02:25
< !--stoned!!-->stoned!! 01:02:07

Change Rooms

You are currently in:
Public Rooms:

Private Rooms:

< !--:935827407:-->CJ; yes, it's you and me 01:03:27
Buttefly: no....it wasn't MY fault. I did everything right.....unlike she thinks. I haven't cheated on her at all.......
< !--:935827401:-->jonny_girl joined the chat at 01:03:21
< !--:935827396:-->M. Foley 01:03:16
tiffany-how are you?
< !--:935827394:-->pancho 01:03:14

< !--:935827385:-->Breath 01:03:05
Princess. . .
< !--:935827380:-->chickybabe 01:03:00
king nothing> well when I was on practical at the hospital I overdosed a patient on morphine, it was an accident, and my boyfriend broke up with me and today i had a car accident. I'm hoping next week is a week. That's no about your work. I hate it when you are understaffed. I hope everything gets better! *s*
< !--:935827378:-->SaTaNsWhOrE 01:02:58
SPARKY..Are your answers always one worded????
< !--:935827375:-->seth 01:02:55
satanswhore yeaa that too.. *s*
but if u knew what i wuz doing u would think i'm crazy, but witch thats all so true..
but i realli dont give a bout nuthin no more..

< !--:935827361:-->Princess 01:02:41

poetik will you talk to me?
are you really poetik?
< !--:935827356:-->KingNothing™ 01:02:36
char, 75 cents an hour, so thats .
< !--:935827352:-->skywalker 01:02:32
chicky>> no the reason i asked you to my formal is because you're my friend and i thought you deserved a night out on the town courtesy of me. it was always gonna be as friends. yeah i told him alot about you hehehehehe he laughed when he heard the overdose story heheheheh :-) my sis doesn't really know about my feelings :-) peters cool. i went with him to usyd today
< !--:935827350:-->CJ; yes, it's you and me 01:02:30
Tiffany: hi my name is CJ ...*bows*
< !--:935827345:-->Sparky 01:02:25
< !--:935827342:-->Breath 01:02:21
I believe "sex man" has returned. .*sigh*

Princess. . speak to me. .

< !--:935827321:-->tiffany 01:02:01
hey do any body want to talk to me
< !--:935827303:-->Princess 01:01:43

sorry i had to leave again the computer stuffed up
will you talk to me breath!?
< !--:935827295:-->Lockies 01:01:35
pancho>i take it u mean the game was last nite (fri) Im in Ireland and ive started watching baseball (only live on wed + sun nites)

< !--:935827294:-->BuTteRflY 01:01:34
CJ, that is your ing fault not mine.
< !--:935827293:-->pain goddess 01:01:33

i dont remember us fighting
i do howver remember yo ignoring me, never knew for what reason
do u know why?

< !--:935827292:-->cHaRlOtTe 01:01:32
by cj *HUGS*
< !--:935827282:-->Breath 01:01:22
ch*ckyb*be. . why hello. .

Dance with me......

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!