4 Topics

Member Avatar for
Member Avatar for karthikprs

I am trying to extract the number in the string "(c) 2010 Elsevier Ltd" from a PDF document . I found that the textsearch method of PDFtron package would help me find the string as stated in the example code: [CODE]import pdftron.Common.PDFNetException; import pdftron.PDF.*; import pdftron.SDF.SDFDoc; // This sample illustrates …

Member Avatar for karthikprs
0
3K
Member Avatar for venky019

I got a problem regarding searching for a string in a file.txt. Program takes input from user and searches for the string and outputs the first string that finds. Ex: user enters NIW and program should output the string DANIWEB(DA'NIW'EB) I can get the input from user and I dont …

Member Avatar for Lerner
0
221
Member Avatar for Smartflight

The aim is simple: Input a string from the user, input a word that is to be searched in the string, and return "Found" or "Not found" I have worked down the following code, and it works. [CODE]#include <iostream.h> #include <stdio.h> #include <string.h> void main () { char para[200], word[20]; …

Member Avatar for Smartflight
0
15K
Member Avatar for D33wakar

I am trying to write a program for searching strings(one at a time)in a text file. To start things off, I wrote this one. [CODE] #include <stdio.h> #include <string.h> #include <stdlib.h> #include <ctype.h> int main() { FILE *txt_file; int chr;/*char read by fgetc*/ int word_match=0; const char* substring ="window";/*search word*/ …

Member Avatar for Narue
0
218

The End.