tags:

views:

89

answers:

1

Hello I'm using c++ with embedded SQL trying to receive command line arguments as SQL statements.

For instance I want to be able to do: ./a.out proceedings(foo#bar) and tokenize the argument into: proceedings, foo, and bar with #, (, and ) as delimiters.

Anyways, I was just wondering if there is a way to use brackets in the argument because I receive Badly placed ()'s as an error.

+6  A: 

Nevermind, I've learned that I can use quotation marks in the command line which wont give me the error.

Dave
Yep. Have an upvote for figuring it out on your own.
Stephen
+1: Don't forget to accept your own answer!
Johnsyweb