开发者

Badly placed ()'s error

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 Ba开发者_运维技巧dly placed ()'s as an error.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜