Author Topic: Code::Block (std_lib_facilities.h)  (Read 14442 times)

Offline Mijiku

  • Single posting newcomer
  • *
  • Posts: 6
Code::Block (std_lib_facilities.h)
« on: July 10, 2014, 09:46:24 pm »
Hello i'm in need of help.....
I've bought the book  Programming: Principles and Practice Using C++ by Bjarne Stroustrup.
And i have a problem since they told me inside the bok to get (std_lib_facilities.h)  which i did... but i have no idea how to get it work with Code::Block

So i will be waiting for your help community  ;D

Mijiku


Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Code::Block (std_lib_facilities.h)
« Reply #1 on: July 10, 2014, 09:56:13 pm »
I am guessing this is what you mean.
http://www.stroustrup.com/Programming/std_lib_facilities.h
Edit: Found a link to the Book Webpage http://www.stroustrup.com/Programming/PPP1.html

I would create a CB Project and add that header to the project.

Do you need help with either of those two steps?

The CB FAQs will help you after you finish those two steps.
http://wiki.codeblocks.org/index.php?title=FAQ
User Doc Links http://wiki.codeblocks.org/index.php?title=User_documentation

The how to get "Build Log" FAQ http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

Tim S.

« Last Edit: July 10, 2014, 10:02:28 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Mijiku

  • Single posting newcomer
  • *
  • Posts: 6
Re: Code::Block (std_lib_facilities.h)
« Reply #2 on: July 10, 2014, 09:59:13 pm »
I've found the first link you send... but nothing seems to work If you want you can come to help me over team viewer i've been passing almost 16hours+  trying to make it work

I'm also avalaible to Chat on skype if you prefer and if your avalaible
« Last Edit: July 10, 2014, 10:03:38 pm by Mijiku »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Code::Block (std_lib_facilities.h)
« Reply #3 on: July 10, 2014, 10:04:06 pm »
I've found the first link you send... but nothing seems to work If you want you can come to help me over team viewer i've been passing almost 16hours+  trying to make it work

I do NOT have team viewer experience and no room to install it.

Have you been able create a CB C++ Project?

Edit: Link to http://wiki.codeblocks.org/index.php?title=Creating_a_new_project

Tim S.

 
« Last Edit: July 10, 2014, 10:05:41 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Mijiku

  • Single posting newcomer
  • *
  • Posts: 6
Re: Code::Block (std_lib_facilities.h)
« Reply #4 on: July 10, 2014, 10:05:07 pm »
I've been able to run out a Hello_world without any problem but nothing seem to work out when it comes to the std_lib_facilities.h  and i need it for my book

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Code::Block (std_lib_facilities.h)
« Reply #5 on: July 10, 2014, 10:06:26 pm »
I've been able to run out a Hello_world without any problem but nothing seem to work out when it comes to the std_lib_facilities.h  and i need it for my book

Post the "build log".
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Code::Block (std_lib_facilities.h)
« Reply #6 on: July 10, 2014, 10:08:56 pm »
Please post Code::Blocks version, OS name and Compiler name and version?

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

Offline Mijiku

  • Single posting newcomer
  • *
  • Posts: 6
Re: Code::Block (std_lib_facilities.h)
« Reply #7 on: July 10, 2014, 10:11:26 pm »
The code::block version is the lastest one avalaible on the web site.. i'm working with a window 7 professional edition and the compiler is the one provide in code::block

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Mijiku

  • Single posting newcomer
  • *
  • Posts: 6
Re: Code::Block (std_lib_facilities.h)
« Reply #9 on: July 10, 2014, 10:19:31 pm »
That is the code i'm trying out from the book
http://prntscr.com/41d4q7
and this is the folder
http://prntscr.com/41d5tz

Those are the print screen of what i've been receving.
http://prntscr.com/41d3my
http://prntscr.com/41d40u
« Last Edit: July 10, 2014, 10:22:11 pm by Mijiku »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Code::Block (std_lib_facilities.h)
« Reply #10 on: July 10, 2014, 10:24:46 pm »
That is the code i'm trying out from the book
http://prntscr.com/41d4q7
and this is the folder
http://prntscr.com/41d5tz

Those are the print screen of what i've been receving.
http://prntscr.com/41d3my
http://prntscr.com/41d40u

Please use code tags in the future; I will try to duplicate the error and find the fix.

My guess is you are missing a compiler version option likely --std=??? where the ??? questions needs to be changed or set to the proper value.

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

Offline Mijiku

  • Single posting newcomer
  • *
  • Posts: 6
Re: Code::Block (std_lib_facilities.h)
« Reply #11 on: July 10, 2014, 10:29:32 pm »
Well i have no idea of what happend BUT ITS WORKING!

http://prntscr.com/41d8w5

Thank you very much for the help  ;D ;D ;D ;D
It's amazing to have a nice support like that