Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: nevj
  • Order by date
  1. nevj

    A C prog to do pattern searching

    cluelessNewbie The above post should not look teh way it is and should read- This is starting to look very good but ofcourse I will continue testing and keep you posted. I made one change on line 61 as it failed and all it required was comment markers at the comment. $ sixteen sample pos:107...
  2. nevj

    A C prog to do pattern searching

    cluelessNewbie This is starting to look very good but ofcourse I will continue testing and keep you posted. I made one change on line 61 as it failed and all it required was comment markers at the comment. $ sixteen sample pos:107...
  3. nevj

    A C prog to do pattern searching

    cluelessNewbie One other essential that my wife wishes which (my aplogies) I forgot when I posted the possible refinements earlier is that when the result is presented; for each pattern found - 1. At least the character count from character 1 to start of each pattern found be shown 2. The...
  4. nevj

    A C prog to do pattern searching

    cluelessNewbie I have dealt with your commenst from the earlier posting - OK some success, good... & I'm learning what I need to... even better! Okay so my wife gets a nifty C program and u learn C and something about Bioinformatics. It sounds good. 1) Realize that I'm taking you down a...
  5. nevj

    A C prog to do pattern searching

    cluelessNewbie Things are progressing. I have first dealt with the piece of code which is your last posting. It compiled no problem. Although I made one change to Line 18 of the code for accuracy of pattern matching. I changed - /*char pat[256] = "R.R..[RS]"; */ to /*char...
  6. nevj

    A C prog to do pattern searching

    cluelessNewbie Okay result on Solaris 5.9 and it is good progress. $ cc -o twelve twelve.c $ twelve beg:236 end:242 rgrwls pep is a variable string and can be upper or lower case and one line or many lines. Can we present it as a file in...
  7. nevj

    A C prog to do pattern searching

    icrf Here's the latest result on Solaris 5.9. $ cc -o eleven eleven.c "eleven.c", line 27: newline in string literal "eleven.c", line 28: syntax error before or at: yespslgshstykpskleflmrstskktrkel...
  8. nevj

    A C prog to do pattern searching

    cluelessNewbie This is the result on Solaris 5.9 $ cc -o ten ten.c &quot;ten.c&quot;, line 24: warning: improper pointer/integer combination: op &quot;<&quot; $ gcc -o ten ten.c $ Unfrotunately although gcc succeeds I get a &quot;segmentation fault' when I execute...
  9. nevj

    A C prog to do pattern searching

    icrf The patterns to be searched are - r?r??s OR r?r??t This can be upper or lower case and the search is to be made on a set of alphabetic characters which contain from A to Y (excepting B,J,O,U,W) This can be presented as upper/lower case, on one line or many lines. So I guess in answer to...
  10. nevj

    A C prog to do pattern searching

    icrf Your program compiles no problem but yes I have a feeling I require to use your suggestion - char temp[6]; sscanf(source,&quot;r%[acdefghiklmnpqrstvxy]r%[acdefghiklmnpqrstvxy]%[acdefghiklmnpqrstvxy]t&quot;,temp); As otherwise nowhere have we defined what 's' and 't' can be in our...
  11. nevj

    A C prog to do pattern searching

    Hi xwb Thought you might be interested Tried on Solaris 5.9 - result below $ cc -o eight eight.c &quot;eight.c&quot;, line 23: undefined or not a type: Pattern &quot;eight.c&quot;, line 23: syntax error before or at: * &quot;eight.c&quot;, line 23: warning: old-style declaration or incorrect...
  12. nevj

    A C prog to do pattern searching

    CluelessNewbie please enlighten me as to what *nixies is/are You refer to it - &quot;anywho... there are c-libs for doing full blown pattern search in the *nixies.&quot; Thanks
  13. nevj

    A C prog to do pattern searching

    I have to solve a problem for my wife who is engaged in Research in Breast Cancer. 1. She has frequently to search a list of alphabetic characters for an exact match of a pattern. This pattern can be pasted into a file.Sometimes the characters are presented to her as a single line but other...
  14. nevj

    passing pointer of array on heap to a function

    A C program required for portability I have to solve a problem for my wife who is engaged in Research in Breast Cancer. 1. She has frequently to search a list of alphabetic characters for an exact match of a pattern.This pattern can be pasted into a file.Sometimes the characters are...

Part and Inventory Search

Back
Top