Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Anonymous
Anonymous asked in Computers & InternetProgramming & Design · 1 decade ago

code::blocks code completion help?

when i import math file: #include <cmath> it does not give me a list of fuctions within that file. for example in python if i import the math library and type math. it gives me a list of all function within it. but in code blocks i have ode completion turned on and it does nothing any help or advice on this matter will be greatly appreciated

2 Answers

Relevance
  • Hex
    Lv 5
    1 decade ago
    Favorite Answer

    C++ compilers/IDE such as Code::Blocks is based off of a vast library of header files which contain the prototypes of the functions you're referring to. If you want to see them for yourself you can go to the root directory of Code::Blocks and goto the lib folder. In there you'll find an assortment of all the header files available to you. Also if you go to the link below it will show you all of the available function prototypes.

    http://www.cliftonlabs.com/savant/docs/archive/war...

    Since C++ is considered a higher classed programming language than Python. Developers expect you to have a high enough knowledge base to think that far ahead.

    Words of Wisdom,

    - Hex

  • 1 decade ago

    In addition to the other answer. cmath most probably will include math.h. So have a look at the math.h file to find out the functions available.

    cmath is the c++ version of math, that is all.

Still have questions? Get your answers by asking now.