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...
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...
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...
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...
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...
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...
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...
cluelessNewbie
This is the result on Solaris 5.9
$ cc -o ten ten.c
"ten.c", line 24: warning: improper pointer/integer combination: op "<"
$ gcc -o ten ten.c
$
Unfrotunately although gcc succeeds I get a "segmentation fault' when I execute...
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...
icrf
Your program compiles no problem but yes I have a feeling I require to use your suggestion -
char temp[6];
sscanf(source,"r%[acdefghiklmnpqrstvxy]r%[acdefghiklmnpqrstvxy]%[acdefghiklmnpqrstvxy]t",temp);
As otherwise nowhere have we defined what 's' and 't' can be in our...
Hi xwb
Thought you might be interested
Tried on Solaris 5.9 - result below
$ cc -o eight eight.c
"eight.c", line 23: undefined or not a type: Pattern
"eight.c", line 23: syntax error before or at: *
"eight.c", line 23: warning: old-style declaration or incorrect...
CluelessNewbie please enlighten me as to what *nixies is/are
You refer to it -
"anywho... there are c-libs for doing full blown pattern search in the *nixies."
Thanks
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.