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

  • Home
  • SEARCH
  • 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 9000431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:18:38+00:00 2026-06-16T00:18:38+00:00

Possible Duplicate: Operator overloading Is it possible you define symbols like ‘+, -, *,

  • 0

Possible Duplicate:
Operator overloading

Is it possible you define symbols like ‘+, -, *, /’ for objects in C++? I can’t find any docs on it, and it would be useful/exciting to do this!

  • 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-16T00:18:38+00:00Added an answer on June 16, 2026 at 12:18 am

    One thing you will have to learn when programming is that subtle distinctions matter. Often they matter a great deal. It behooves you to become familiar with the technical jargon and its precise meaning.

    You called those ‘symbols’. In C++, symbols are one of several different possible things:

    • Either you are referring to the thing the linker uses to connect parts of your program up. The names of functions and global variables become ‘symbols’.
    • Or you are referring to a class of individual characters typically called ‘symbols’. This is a very fuzzy set, but generally includes most things you would get by holding down shift and typing all the numbers on a US english keyboard. But as a symbol these are meaningless to C++.

    From the context of your question, it’s clear that you do not mean either of those two things when referring to the word ‘symbol’. You think you’re referring the second case I list above. But while it might superficially seem to be the case, it’s not. What you are referring to are called ‘operators’. Operators are things that tell the compiler that you’re trying to operate on a value. They occur as parts of expressions. C++ has a very large number of them compared to most languages.

    A symbol can be interpreted by the compiler as an operator. But a symbol is not an operator and an operator is not a symbol. For example && is an operator. But it’s also two & symbols. As another example, @ is a symbol, but there is no operator @ in standard C++.

    If you search for ‘operator overloading’, you will get the information you’re looking for.

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

Sidebar

Related Questions

Possible Duplicate: Operator overloading I didn't find any thing that could help me in
Possible Duplicate: Java operator overload In c++, we can perform the operator overloading. But
Possible Duplicate: Operator[][] overload I've looked on the internet but can't find a definitive
Possible Duplicate: Operator Overloading with C# Extension Methods How can i overload those operators,
Possible Duplicate: Operator overloading Hi guys can some one please suggest a good tutorial
Possible Duplicate: Operator overloading The member access operator -> can be overloaded to return
Possible Duplicate: overload operator<< within a class in c++ Operator overloading Is there any
Possible Duplicate: Operator overloading I was wonder how can I over load the Conditional
Possible Duplicate: Can I overload an == operator on an Interface? I do understand
Possible Duplicate: Python Ternary Operator If Python would support the (x ? a :

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.