I'm writing a program to go through one of the arguments and store them in a variable, but I get a segmentation error right in this loop:
for(int i=0; argv[1][i] != " for(int i=0; argv[1][i] != "%pre%" ;i++){
}
" ;i++){
}
How else could argv walk to avoid this error?