News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Code::Blocks and C++ Code Completion.

Started by Zachary1234, October 15, 2019, 01:33:26 AM

Previous topic - Next topic

Zachary1234

I am aware that Code::Blocks has a code completion pop-up for C++ via the SmartSense setting.

-Will this code completion detect classes, methods and fields from library files, as well as non-compiled
.cpp files, both, too?

stahta01

Quote from: Zachary1234 on October 15, 2019, 01:33:26 AM
I am aware that Code::Blocks has a code completion pop-up for C++ via the SmartSense setting.

-Will this code completion detect classes, methods and fields from library files, as well as non-compiled
.cpp files, both, too?

"library files" no. But, there is a way to detect classes from header files.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Zachary1234

-Does this mean that code completion inside Code::Blocks will work for fields and methods,
involving (.cpp file classes or .lib or .a class) so long as there is the correct header
file present and #include  -ed?