News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

A suggestion for CC

Started by jixiangqd, April 20, 2011, 05:41:54 PM

Previous topic - Next topic

jixiangqd

With using Code::Blocks I find that Code Complete cannot help me to convert "." to "->" while before it there is a pointer.
But in VC with Visual Assist X, it can be done automaticly.
Or,can it be done with some settings?Help me do the setting!Thank you!

P.S:I'm using the newest nightly release!

ollydbg

#1
No such setting here, and We have discussed this kind of conversion before. You can search the forum, and there are many objections.

PS: unless CC will do a Full parse like a compiler, we can't get full precise type information of a variable. Even Visual Assist will report some fake errors, Visual assist's parser is quite good though.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

jixiangqd

Quote from: ollydbg on April 21, 2011, 02:42:26 AM
No such setting here, and We have discussed this kind of conversion before. You can search the forum, and there are many objections.

PS: unless CC will do a Full parse like a compiler, we can't get full precise type information of a variable. Even Visual Assist will report some fake errors, Visual assist's parser is quite good though.
Thanks for your answer.