开发者

Badly placed ()'s error

开发者 https://www.devze.com 2023-01-07 09:28 出处:网络
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: p

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

精彩评论

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