HTML page split into files in c

This is a discussion on HTML page split into files in c within the C Programming forums, part of the General Programming Boards category; Hi to all, I am going to implement the HTML page contains no of paragraphs to no of files each ...

  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    5

    HTML page split into files in c

    Hi to all,
    I am going to implement the HTML page contains no of paragraphs to no of files each page should create individual folder.that contains the files ie paragraphs of the html page.suppose the page contains 3 paragraphs-it should create 3 files and placed in the folder .Suppose I have 1500 pages I need to copy and paste each page into each folder and each paragraph into each file.I dont know how many pages are there and how many paragraphs are there .
    I need to implement the through C language ,In Files Handling ,Please suggest me regarding this .How we can implement this through C files
    Thanx in advance.
    Igreately appreciate your responses.

    Munisamy Subramaniam

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,336
    > I need to implement the through C language
    Why C?

    I can think of much better languages for all this text handling than C
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    Yeah, perl would be a much better choice for this sort of project. If you insist on doing it in C, then get very comfortable with the functions in <string.h>

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  2. Trying to grab the HTML from a Page...
    By rloveless in forum Networking/Device Communication
    Replies: 6
    Last Post: 05-05-2007, 01:03 AM
  3. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 03:30 PM
  4. Files not updating in folder
    By BobS0327 in forum Tech Board
    Replies: 4
    Last Post: 06-06-2005, 05:55 PM
  5. reinserting htm files into chm help files
    By verb in forum Windows Programming
    Replies: 0
    Last Post: 02-15-2002, 08:35 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21