Hello,
how do i explore library? is there a way to open a library code in CB or i have to find the files on OS level and just "more" them ?
in other words, i used to be able to "right click " on the name of the library and it would load it into IDE ( Borland Delphi). Does the functionality like this exists in CB/C++ world ?
What do you mean by library?
p.s. to answer you question either use the file manager plugin or create an empty project and add all library files in this project
Quote from: oBFusCATed on April 15, 2016, 09:04:34 PM
What do you mean by library?
p.s. to answer you question either use the file manager plugin or create an empty project and add all library files in this project
Example:
#include <iostream>
#include <string>
using namespace std ;
int main()
{
cout << "Please enter your name:";
std::string name;
std::cin >> name ;
string greeting = "Hello world, my name is " + name + "!" ;
std::cout << greeting << std::endl ;
const string spaces(greeting.size(),' ');
const string out_ = '*' + spaces + '*';
std::cout << out_ << std::endl;
return 0;
}
so what i want to find out is what the <string> "library" provides - what datatypes, functions etc.
i don't know any offline documentation of c++. And c::B also does not provide such a feature (at least what i know. there is a help plugin, but i really don't know what it does)
If you use a external library you can try the "right click->got to deceleration". If the library implements a doxygen documentation you can read it in the header. Also there should pop up reference window on code completion (but the library has to provide it. The std does not)
If you need a cpp reference you can look at this two sites:
http://www.cplusplus.com/reference/
http://en.cppreference.com/w/
greetings
Quote from: BlueHazzard on April 15, 2016, 09:56:48 PM
i don't know any offline documentation of c++. And c::B also does not provide such a feature (at least what i know. there is a help plugin, but i really don't know what it does)
If you use a external library you can try the "right click->got to deceleration". If the library implements a doxygen documentation you can read it in the header. Also there should pop up reference window on code completion (but the library has to provide it. The std does not)
If you need a cpp reference you can look at this two sites:
http://www.cplusplus.com/reference/
http://en.cppreference.com/w/
greetings
thank you !
There is an open source offline documentation browser called Zeal:
https://zealdocs.org/ (https://zealdocs.org/)
It can be configured to work with CB quite easily. I've made a post in their Github issue tracker how to do that, search for my nick in their issue tracker to find how. It works by keywords though, not right mouse clicks or other fancy stuff. I improved CB's help plugin to also work with the mouse and/or give me a list of 'docsets' to search so it's much more usable for me though.
Quote from: scarphin on April 17, 2016, 04:13:00 AM
There is an open source offline documentation browser called Zeal:
https://zealdocs.org/ (https://zealdocs.org/)
It can be configured to work with CB quite easily. I've made a post in their Github issue tracker how to do that, search for my nick in their issue tracker to find how. It works by keywords though, not right mouse clicks or other fancy stuff. I improved CB's help plugin to also work with the mouse and/or give me a list of 'docsets' to search so it's much more usable for me though.
this is great. Thank you scarphin.
I'll take a liberty to link https://github.com/zealdocs/zeal/issues/336 (https://github.com/zealdocs/zeal/issues/336)
That's the link, sorry for not providing this myself since I don't have much spare time recently.
Quote from: scarphin on April 22, 2016, 12:55:49 PM
That's the link, sorry for not providing this myself since I don't have much spare time recently.
BTW, i noticed that (at least in Apr 13 build of CB) i had to put "/path/to/zeal $(keyword)"; whereas "TIP" states "$$(keyword)". just a heads up.