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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:25:31+00:00 2026-06-15T13:25:31+00:00

I am new to C++ and wanted to know what’d this declaration mean: typedef

  • 0

I am new to C++ and wanted to know what’d this declaration mean:

typedef pair<double,double> pairD;
pair<pairD, long> unknown;

what’d unknown be?

And more specifically, what’d these operators do:

unknown.FF.FF;
unknown.FF.SS;

Can you provide an example on what data one could initialize or fill in in such unknown data structure?

Thanks!

  • 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-15T13:25:32+00:00Added an answer on June 15, 2026 at 1:25 pm

    unknown is a pair<pair<double, double>, long>.

    Impossible to guess what FF and SS mean with any certainty though. The obvious interpretation would be something about FirstFirst and SecondSecond — but those don’t fit with how they’re being used (and while FirstFirst sort of makes sense, SecondSecond really doesn’t, since unknown.second is a long, not a pair).

    Having ruled that out, about all that’s left is that they just stand for first and second, so unknown.FF.SS is equivalent to unknown.first.second and unknown.FF.FF is equivalent to unknown.first.first.

    As to how to put data into an unknown like this, one possibility would be something like:

    unknown x = std::make_pair(std::make_pair(1.0, 2.0), 3L);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just wanted to know more about analytics. I am new to this thing.
I wanted to know how to use threads in Cocoa. I'm new to this
I'm very new to facebook and wanted to know if this is even possible
I saw this code snippet: $(ul li).text().search(new RegExp(sometext, i)); and wanted to know if
am new to this java world.. i just wanted to know how to convert
I'm very new to Scala and wanted to know if this is the correct
I wanted to know if I have to create a new ViewController for each
I'm new to PHP programming and I wanted to know that is it possible
I'm using the new AAA syntax and wanted to know the syntax to do
Hello I am new to MATLAB , I wanted to know how can I

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.