-
Notifications
You must be signed in to change notification settings - Fork 0
Overloaded Operators
Icho edited this page May 20, 2024
·
5 revisions
Just simple overloaded operators in order to make life easier.
There are currently six Overloaded Operators:
| Operator | Function | Example |
|---|---|---|
= |
Assignment operation | nstring nstr = "Smile!" |
+= |
Appending operation | nstr += " Its good for you!" |
+ |
Addition operation | nstr3 = nstr1 + nstr2 |
[] |
Indexing operation | nstr[3] |
== |
Equiveillance operation | if(nstr1 == nstr2) |
!= |
Not equivalent operation | if(nstr1 != nstr2) |
Revisions underway
This project is still in very early stages. Documentation will be updated with code to the best of my ability.