I know Perl, and I'm so used to the operators for it.
For example, in perl..
What is the C equivalent?Code:if($input =~ /help (.*)/) { $command = $1; if($command eq "echo") { #Example } else { print "Command not found.\n"; } }
Thanks,
Austin B.
I know Perl, and I'm so used to the operators for it.
For example, in perl..
What is the C equivalent?Code:if($input =~ /help (.*)/) { $command = $1; if($command eq "echo") { #Example } else { print "Command not found.\n"; } }
Thanks,
Austin B.