| | |
find string in file
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Nov 2009
Posts: 5
Reputation:
Solved Threads: 0
0
#11 Nov 5th, 2009
although this thread has been marked solved, but I want to tell some of my ideas, hope it can be help to u.
We can suppose a pane which is as long as the pattern.
first, the pointer of the pane and the file are the same, so we can use the "strcmp" function to mesure them, then the pointer of pane slow move(is the pointer++).
In this way, we can get the times now!
Am I right?
We can suppose a pane which is as long as the pattern.
first, the pointer of the pane and the file are the same, so we can use the "strcmp" function to mesure them, then the pointer of pane slow move(is the pointer++).
In this way, we can get the times now!
Am I right?
![]() |
Similar Threads
- find string in file (Python)
- Find a string in a file (C)
- Read And write string from file (code) (C++)
- search for string in text file then find a different string after (C++)
- find string in txt file (C++)
- Find word in file!! (C++)
Other Threads in the C Forum
- Previous Thread: Simple Problem give me solution
- Next Thread: Detect Multicore processors
Views: 640 | Replies: 10
| Thread Tools | Search this Thread |
Tag cloud for C
* api append array arrays bash binarysearch changingto char character cm copyanyfile copypdffile createcopyoffile createprocess() csyntax database directory drawing dynamic executable execv feet fgets file floatingpointvalidation fork frequency function functions getlogicaldrivestrin givemetehcodez global graphics gtkwinlinux histogram homework i/o ide include infiniteloop initialization input interest intmain() iso keyboard kilometer lazy license linked linkedlist linux list lowest matrix meter microsoft mqqueue mysql oddnumber odf open openwebfoundation overwrite pause pdf pointer pointers posix power program programming pyramidusingturboccodes read recursion recv recvblocked reversing scheduling segmentationfault send single socketprogramming spoonfeeding standard strchr string student suggestions system test testautomation testing unix urboc user whythiscodecausesegmentationfault win32api windowsapi





