Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8307813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:37:14+00:00 2026-06-08T18:37:14+00:00

Sorry for what is most likely a very ‘newbie’ question, but I’m having a

  • 0

Sorry for what is most likely a very ‘newbie’ question, but I’m having a slight problem with running C++ code in code::blocks. A little bit about what I’m doing then, basically I’m following Bjarne Stroustrup’s ‘Programming: Principles and Practice using C++’. I’m really just starting the book, and to do so I am using code::blocks on Ubuntu 12.04. Anyway for the first hello world example I did the following:

first set up a new project -> selected console application -> selected C++ as my language -> entered in the name of the project -> selected GNU GCC Compiler (from reading and searching around this might be the problem) -> and finally entered the code.

I’ve also made sure to properly download and save the ‘std_lib_facilities.h’ header file. After doing all this I entered in the simple hello world code as shown below. On building the code it produced the following warning (no errors though): ‘#warning This file includes at least one deprecated or antiqued header which may be removed…’ which when clicked on leads me to ‘backward_warning.h’. However I can still run the code which produces the hello world to appear fine, like it should. This might imply I don’t have a problem, but with the warning still present, I was just wondering if there is a fix or if it even means anything is wrong, as I don’t want to find that in later examples this proves to be a problem. This might all seem like a silly question, but I’m new to C++ and still quite new to programming in general, so apologies in advance. And here is my code:

#include "../std_lib_facilities.h"

int main()
{
cout<<"Hello World";
return 0;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T18:37:16+00:00Added an answer on June 8, 2026 at 6:37 pm

    It is most likely <hash_map> or <ext/hash_map>.

    A replacement would be C++11’s <unordered_map>, or C++03’s <tr1/unordered_map>.

    If you are using GCC, you can access C++11 functionality by adding the std=c++0x compilation flag. This will allow you to use <unordered_map>.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry if this is the most seen question on the web, but this is
Sorry for the long title, but it seems most descriptive for my question. Basically,
Sorry for the long post, but most of it is code spelling out my
Sorry for the completely newbie question, but I really do not seem to understand
I am really sorry to post this question, because most likely the solution will
Sorry I know similar question have been asked many times before but like most
Sorry for this most likely simple question. I would like to add some custom
Sorry for question but I can't find answer anywhere on internet. I couldn't find
Sorry for this simple question, but I can't solve it... There is an example:
Sorry, I know this question is easy, but I don't know how to get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.