Author Topic: A Little help for a little french man ... MSDN 's equivalent for CBlocks ???  (Read 14059 times)

Offline wismerhill

  • Single posting newcomer
  • *
  • Posts: 3
Hello, I'm sorry to ask such a (probably) idiot question but i am brand new in C++ after 2 years of VBA and I can't find the equivalent of MSDN for Visual C++ (an Help which can describes function by clicking or F1ing)
I'm sure I have to exist but I can managed to find where.

Thxx
Bye bye

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Two ways:

1) Add custom help files using "Settings->Environment->Help files".
Those will be accessible through the Help menu and when right-clicking on a word in the editor.

2) Ctrl-RightClick on a word in the editor ;)
Be patient!
This bug will be fixed soon...

Offline wismerhill

  • Single posting newcomer
  • *
  • Posts: 3
Yes thanxxxx but the fact is that it doesn't find anything for functions like printf, scanf and others very basic C function ... so I wonder if I haven't a patch to put ... or ...anything

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
it doesn't find anything for functions like printf, scanf and others very basic C function

I don't know why you say that. Ofcourse it finds them.

Press Ctrl (keep it pressed) and right-click on 'printf' in your code. Select "Search MSDN for printf" and there you go...
Be patient!
This bug will be fixed soon...

Offline wismerhill

  • Single posting newcomer
  • *
  • Posts: 3
Ok... feel dummie but here is what I get with CRTL + Rclic on printf for instance


Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
I see... You 're using 1.0rc2. That's why you should state the version you 're using. We could avoid this confusion ;).
Look here.
Be patient!
This bug will be fixed soon...

Offline BeerSlinger

  • Multiple posting newcomer
  • *
  • Posts: 36
Ok... feel dummie but here is what I get with CRTL + Rclic on printf for instance



Did you get anywhere with this......I'm asking myself the same question.........I can't figure it out either and I'm running W2k with Build Oct 24th 2005, 23:49:28 - wx2.6.1 (Windows, ANSI) because I can't find a darn thing on this....
Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5195
the one from 25th october is RC2. Try to download a nightly build :
http://forums.codeblocks.org/index.php?board=20.0

And here : http://wiki.codeblocks.org/index.php?title=Nightly_Cookbook
you can find some info about setting up Mingw compiler yourself and the nightly. All the other stuff you can forget about, unless you want to build cb yourself.


Offline BeerSlinger

  • Multiple posting newcomer
  • *
  • Posts: 36
the one from 25th october is RC2. Try to download a nightly build :
http://forums.codeblocks.org/index.php?board=20.0

And here : http://wiki.codeblocks.org/index.php?title=Nightly_Cookbook
you can find some info about setting up Mingw compiler yourself and the nightly. All the other stuff you can forget about, unless you want to build cb yourself.



Ok.......now I feel like a moron, I'm not talking about setting up code blocks or anything like that, I'm just trying to figure out how the help files work....

I looked on the Nightly Build and nothing is before January and you ask me to refur to October, and I went over the Nightly Cookbook and I didn't see anything over it specifically either.....I know that the help files seem to be in the (in windows) C:\Program Files\codeblocks\info\make.info but I don't see an organized way to pull it up......

Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.

Offline TDragon

  • Lives here!
  • ****
  • Posts: 936
    • Twilight Dragon Media
What they've been trying to get across to you is that the version you're using is outdated. It doesn't have the help functionality of the newer versions. Get a newer version.
http://tdm-gcc.tdragon.net/ - TDM-GCC compiler suite for Windows (GCC 5.1.0 2015-06-28, 32/64-bit, no extra DLLs)

Offline BeerSlinger

  • Multiple posting newcomer
  • *
  • Posts: 36
What they've been trying to get across to you is that the version you're using is outdated. It doesn't have the help functionality of the newer versions. Get a newer version.

Oh, I didn't realize, what you were driving at....

Yep, that worked well:



 :shock:
Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.

sethjackson

  • Guest
Well put the dll in the folder that your nightly build is in. :)

Offline TDragon

  • Lives here!
  • ****
  • Posts: 936
    • Twilight Dragon Media
http://tdm-gcc.tdragon.net/ - TDM-GCC compiler suite for Windows (GCC 5.1.0 2015-06-28, 32/64-bit, no extra DLLs)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9508
Yep, that worked well:
If you got the nightly out of the forum (which I assume) then in the very same post was also a link provided to download this DLL. Please read the post that provides the nightly. The "nightly" posts really provide everything, really!
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline BeerSlinger

  • Multiple posting newcomer
  • *
  • Posts: 36
A link to the unicode windows wxWidget dll for Code::Blocks : http://download.berlios.de/codeblocks/wxmsw26u_gcc_cb.7z

Sorry.......I didn't know what that meant so I didn't download it......

I'm really behind the curve on the language this this is only the third day that I have ran this program......

 :shock:
Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9508
I'm really behind the curve [...]
Code::Blocks is based on wxWidgets which is a cross platform C++ GUI framework. So C::B is based on the wxWidgets DLL. To save download bandwidht the DLL has been seperated from the C::B IDE itself. So once you've downloaded the DLL (maybe it's best to place it in the system32 folder, at least on Windows ;-)) you are basically able to run any application that is linked against this library. All nighlys of C::B will, until a new version of wxWidgets is released and C::B is adopted accordingly. You will probably also require the MinGW support library (mingwm10.dll) - in the nightly posts, too - if you haven't MinGW installed.
C::B shifted from wxWidgets 2.6.1 to 2.6.2 after RC2. That's why the nightly (which is BTW typically a Unicode application) will not work with the wxWidgets DLL that ships with RC2. So please - not only because of that - don't mix RC2 with any later version of C::B.
Maybe this clarifies things a little.
With regards, Morten.
« Last Edit: March 03, 2006, 07:52:40 pm by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline BeerSlinger

  • Multiple posting newcomer
  • *
  • Posts: 36
I'm really behind the curve [...]
Code::Blocks is based on wxWidgets which is a cross platform C++ GUI framework. So C::B is based on the wxWidgets DLL. To save download bandwidht the DLL has been seperated from the C::B IDE itself. So once you've downloaded the DLL (maybe it's best to place it in the system32 folder, at least on Windows ;-)) you are basically able to run any application that is linked against this library. All nighlys of C::B will, until a new version of wxWidgets is released and C::B is adopted accordingly. You will probably also require the MinGW support library (mingwm10.dll) - in the nightly posts, too - if you haven't MinGW installed.
C::B shifted from wxWidgets 2.6.1 to 2.6.2 after RC2. That's why the nightly (which is BTW typically a Unicode application) will not work with the wxWidgets DLL that ships with RC2. So please - not only because of that - don't mix RC2 with any later version of C::B.
Maybe this clarifies things a little.
With regards, Morten.


Yeah, this is a little fresh to me........Actually, the how I started this was the main download of the 1.0 was installed and then I just raw dumped the update into that file......and the mingwm10.dll was already installed so I didn't have to worry about that......Then actually I didn't put the wxWidgets to System32 file.....I read the error and just dumped it in the main directory of the code::blocks because that was the first path specified in the error....

I just got shook up because i'm not use to doing things manually...

 :?
Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.

Offline BeerSlinger

  • Multiple posting newcomer
  • *
  • Posts: 36
I don't mean to be a jerk (because I really must seem that way at this point) but I still don't see an access for the documentation?!?!.......I know with Microsoft if you are in a keyword and hit F1.....help will come up......and if you right click there is no help either........I go to the help menu and the options are "About, Tips and Plugins".....Well that's cool, but About only helps me to help you to find out what the problem is with my distrubution.......Tips are cool but just over the software usage....and plugins are stuff that is't even relivent to what i'm looking for.......

So where is the help? Maybe i'm just a MSVC++ spoon feed MSDN crybaby but I learn from that stuff......I'm just getting back in to C++ so this really would be helpfull....Because i'm not a programming newbie but I have only had two college classes over C++ and they were both bad so my ambitions are quite high in compairison....

If there isn't a sufficent programming guide i'm willing to help for the next guy.....but I wouldn't press and complain if I wasn't almost completely sold on what you guys are doing....because just the function of this software has been unreal since the update. Up to this point Code::Blocks has done almost everything I have wanted or could hope for so I believe in what your doing...

But I'm a little boggled on this...
Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
CTRL + RightButtonMouse.
You need a Nightly Build, it will not work on CodeBlocks 1.0 RC2.


Offline BeerSlinger

  • Multiple posting newcomer
  • *
  • Posts: 36
CTRL + RightButtonMouse.
You need a Nightly Build, it will not work on CodeBlocks 1.0 RC2.



I think your missing the point (because I did follow your email, and I have yesterday's build)........I'm now finding out that i'm complaining because code::blocks is better than this......it maybe a cool feature but seems to me that something better can be done...or maybe i'm just and idealist...

But I have MSDN and I frequent Google so much more then I would like to admit.....

Maybe i'm just expecting too much but it seems like a software that is so advanced would have a good documentation system.....

I'm mostly saying this out of concern rather than self interest.......because i really want to help....instead of complain.....

Giving into Microsoft is too easy........I've found.......
Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Ok, you might want to read my research on embedding help on C::B here: http://wiki.codeblocks.org/index.php?title=Research_on_doing_a_Plug-in_for_embedded_help_in_CB

Offline BeerSlinger

  • Multiple posting newcomer
  • *
  • Posts: 36
Ok, you might want to read my research on embedding help on C::B here: http://wiki.codeblocks.org/index.php?title=Research_on_doing_a_Plug-in_for_embedded_help_in_CB

Oh.......that gave me a moment of pause........now I understand......... :(

But that does raise a question (at least to me), take in mind, I don't know what the C::B resources are but it would seem that you didn't address in your research another obvious option.

Now, please remember that i'm still just starting back into C++ so I'm not quite sure how to tell you this because in this area I only know VB so there will be a bit of a language gap. But if wxHTML doesn't work efficently, then why not just skip the xCHM format all together and go to an external SHELL(sorry, about the VB reference) command and taylor the address to the Keyword then have the infomation on the C::B site?

I know that a browser launch is a little slow, but it would seem efficent to me considering that there would be one main hub for information which would increase accuracy in the information....

Or is this just an undesireable option?
Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Ok, you might want to read my research on embedding help on C::B here: http://wiki.codeblocks.org/index.php?title=Research_on_doing_a_Plug-in_for_embedded_help_in_CB

Oh.......that gave me a moment of pause........now I understand......... :(

But that does raise a question (at least to me), take in mind, I don't know what the C::B resources are but it would seem that you didn't address in your research another obvious option.

Now, please remember that i'm still just starting back into C++ so I'm not quite sure how to tell you this because in this area I only know VB so there will be a bit of a language gap. But if wxHTML doesn't work efficently, then why not just skip the xCHM format all together and go to an external SHELL(sorry, about the VB reference) command and taylor the address to the Keyword then have the infomation on the C::B site?

I know that a browser launch is a little slow, but it would seem efficent to me considering that there would be one main hub for information which would increase accuracy in the information....

Or is this just an undesireable option?

Because that's not "embedded help", that's external help.
And indeed it's another option, which is exactly what C::B haves currently, called "Help Plugin", and it's that what it does.

Also, the problem of having "external help" is that sometimes (most of times), there isn't any program installed on some systems to open some of the formats (usually not the case with HTML, but yes with CHM, DevHelp, HTB, PDF, Man pages, Info manuals, etc).

Regards,
Takeshi Miya

Offline BeerSlinger

  • Multiple posting newcomer
  • *
  • Posts: 36
Ok, you might want to read my research on embedding help on C::B here: http://wiki.codeblocks.org/index.php?title=Research_on_doing_a_Plug-in_for_embedded_help_in_CB

Oh.......that gave me a moment of pause........now I understand......... :(

But that does raise a question (at least to me), take in mind, I don't know what the C::B resources are but it would seem that you didn't address in your research another obvious option.

Now, please remember that i'm still just starting back into C++ so I'm not quite sure how to tell you this because in this area I only know VB so there will be a bit of a language gap. But if wxHTML doesn't work efficently, then why not just skip the xCHM format all together and go to an external SHELL(sorry, about the VB reference) command and taylor the address to the Keyword then have the infomation on the C::B site?

I know that a browser launch is a little slow, but it would seem efficent to me considering that there would be one main hub for information which would increase accuracy in the information....

Or is this just an undesireable option?

Because that's not "embedded help", that's external help.
And indeed it's another option, which is exactly what C::B haves currently, called "Help Plugin", and it's that what it does.

Also, the problem of having "external help" is that sometimes (most of times), there isn't any program installed on some systems to open some of the formats (usually not the case with HTML, but yes with CHM, DevHelp, HTB, PDF, Man pages, Info manuals, etc).

Regards,
Takeshi Miya

Well, I knew it wasn't embedded, I was just trying to find something else other then sheleping around on the internet or exclusively using MSDN….because I have already found Microsoft code that works in MSVC++ but not C::B with some of the macros and I was afraid that it was going to get even worse with MFC. Also, it seems to me that some of the more complex code is more difficult to find…

For some reason, I don’t have a help plugin installed…Could you direct me to it?
Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Ok, you might want to read my research on embedding help on C::B here: http://wiki.codeblocks.org/index.php?title=Research_on_doing_a_Plug-in_for_embedded_help_in_CB

Oh.......that gave me a moment of pause........now I understand......... :(

But that does raise a question (at least to me), take in mind, I don't know what the C::B resources are but it would seem that you didn't address in your research another obvious option.

Now, please remember that i'm still just starting back into C++ so I'm not quite sure how to tell you this because in this area I only know VB so there will be a bit of a language gap. But if wxHTML doesn't work efficently, then why not just skip the xCHM format all together and go to an external SHELL(sorry, about the VB reference) command and taylor the address to the Keyword then have the infomation on the C::B site?

I know that a browser launch is a little slow, but it would seem efficent to me considering that there would be one main hub for information which would increase accuracy in the information....

Or is this just an undesireable option?

Because that's not "embedded help", that's external help.
And indeed it's another option, which is exactly what C::B haves currently, called "Help Plugin", and it's that what it does.

Also, the problem of having "external help" is that sometimes (most of times), there isn't any program installed on some systems to open some of the formats (usually not the case with HTML, but yes with CHM, DevHelp, HTB, PDF, Man pages, Info manuals, etc).

Regards,
Takeshi Miya

Well, I knew it wasn't embedded, I was just trying to find something else other then sheleping around on the internet or exclusively using MSDN….because I have already found Microsoft code that works in MSVC++ but not C::B with some of the macros and I was afraid that it was going to get even worse with MFC. Also, it seems to me that some of the more complex code is more difficult to find…

For some reason, I don’t have a help plugin installed…Could you direct me to it?


It isn't available separately.

It's included in the 1.0RC2 installer, or in the latest nightly builds here: http://forums.codeblocks.org/index.php?board=20.0

Offline BeerSlinger

  • Multiple posting newcomer
  • *
  • Posts: 36
Ok, you might want to read my research on embedding help on C::B here: http://wiki.codeblocks.org/index.php?title=Research_on_doing_a_Plug-in_for_embedded_help_in_CB

Oh.......that gave me a moment of pause........now I understand......... :(

But that does raise a question (at least to me), take in mind, I don't know what the C::B resources are but it would seem that you didn't address in your research another obvious option.

Now, please remember that i'm still just starting back into C++ so I'm not quite sure how to tell you this because in this area I only know VB so there will be a bit of a language gap. But if wxHTML doesn't work efficently, then why not just skip the xCHM format all together and go to an external SHELL(sorry, about the VB reference) command and taylor the address to the Keyword then have the infomation on the C::B site?

I know that a browser launch is a little slow, but it would seem efficent to me considering that there would be one main hub for information which would increase accuracy in the information....

Or is this just an undesireable option?

Because that's not "embedded help", that's external help.
And indeed it's another option, which is exactly what C::B haves currently, called "Help Plugin", and it's that what it does.

Also, the problem of having "external help" is that sometimes (most of times), there isn't any program installed on some systems to open some of the formats (usually not the case with HTML, but yes with CHM, DevHelp, HTB, PDF, Man pages, Info manuals, etc).

Regards,
Takeshi Miya

Well, I knew it wasn't embedded, I was just trying to find something else other then sheleping around on the internet or exclusively using MSDN….because I have already found Microsoft code that works in MSVC++ but not C::B with some of the macros and I was afraid that it was going to get even worse with MFC. Also, it seems to me that some of the more complex code is more difficult to find…

For some reason, I don’t have a help plugin installed…Could you direct me to it?


It isn't available separately.

It's included in the 1.0RC2 installer, or in the latest nightly builds here: http://forums.codeblocks.org/index.php?board=20.0

Ok, I wasn't sure if was installed automatically or not, I updated from the March 02 to the March 03.....and I now even see that its even installed on the help=>Plugins=>help Plugin and is selected in the plugin manager......but I don't seem to see where the plugin is placed......

Also, I see that the wxmsw.dll wasn't updated......how often does that happen?
Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Ok, I wasn't sure if was installed automatically or not, I updated from the March 02 to the March 03.....and I now even see that its even installed on the help=>Plugins=>help Plugin and is selected in the plugin manager......but I don't seem to see where the plugin is placed......
It's in menu Settings->Environment->Help files (it's at the end).

Also, I see that the wxmsw.dll wasn't updated......how often does that happen?
Most likely, every 5 months or so, which is when wxWidgets team releases a new minor revision.

Offline BeerSlinger

  • Multiple posting newcomer
  • *
  • Posts: 36
Ok, I wasn't sure if was installed automatically or not, I updated from the March 02 to the March 03.....and I now even see that its even installed on the help=>Plugins=>help Plugin and is selected in the plugin manager......but I don't seem to see where the plugin is placed......
It's in menu Settings->Environment->Help files (it's at the end).

Also, I see that the wxmsw.dll wasn't updated......how often does that happen?
Most likely, every 5 months or so, which is when wxWidgets team releases a new minor revision.

Man, I would breezed over that the other day.......I guess that I really didn't realize what it was.....

Do it yourself help files......Interesting........not what I expected but interesting.....
Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.