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 8917253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:26:26+00:00 2026-06-15T05:26:26+00:00

I was given and assignment to develop a cellphone simulation, part of the requirements

  • 0

I was given and assignment to develop a cellphone simulation, part of the requirements includes me using a queue to store the phone numbers that come from a txt file to simulate getting called. I have reviewed over and over again and including #include but the error message telling me “Queue” undeclared still shows up. I am using Bloodsehd Dev-C++, and I have included a sample I used to test the queue, if it is just the program not having the right information, any help would be appreciated. I have checked other sites most say add a #include or a #include neither seemed to solve the problem.

#include <queue>
#include <deque>
#include <iostream>
#include <fstream>
using namespace std;

class cell
{
    public:
        cell();
        ~cell();
        void upload( string item );//Insert in order
        void printnew();//Print call just recieved
        void printlater();//Print calls for later
        int Front(); //returns front element
        int Rear(); //returns rear element
        bool Empty();

    private:


};

int main()
{
    Queue Q;
    Q.Enqueue(54);
    cout << Q.front();


    system("Pause");
    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-15T05:26:27+00:00Added an answer on June 15, 2026 at 5:26 am

    queue is supposed to be lowercase.

    You can find info on using the queue here:
    http://www.cplusplus.com/reference/queue/queue/queue/

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

Sidebar

Related Questions

I was given the assignment to create a program that performs basic set operations.
I was given an assignment to write a program to print only even numbers
For a homework assignment I was given a Card class that has enumerated types
My boss has given me an assignment that I'm not sure is possible since
I've been given an assignment to create a program that might involve a quiz
I have been given an assignment in my CS class to come up with
A while back we were given an assignment to write a c program that
Good day, I have been given an assignment that gets data off a CSV
I have been given the following assignment: Write a function (documentation included) that given
I have been given a question on an assignment that has got me stumped.

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.