开发者

Why is jIndent breaking my C++ syntax?

I've got a weird problem where jIndent seems to be stripping spaces be开发者_C百科tween 'new' and type names, thus breaking the code.

For example,

Ball* b = new Ball[numBalls]; --->  Ball* b = newBall[numBalls];

Has anyone got any idea why? Could someone please export their working settings and post them here?

Thanks.


No obvious reason from what you have told us as to why jindent should be misbehaving.

Standard first things to try/check:

  • do you have the latest version of the product (which should have the most bugfixes)
  • does the provider of the product have a public bug tracking system you can search for a similar problem (and assocaited fix)
  • can you reproduce the error in a minimalist source code, which could be submitted to the provider as a bug report.

.PMCD.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜