Talk:Computer Programming/Function overloading

operator command
In programming the operator command is used to overload basic mathmatical functions... for example if you create your own data type using typedef ie like a:

typedef struct { int digit; int repeatXtimes; } moreF;

you would not be able to perform math Like + contantenation of strings "Hello" + "World" without operator+;

The MoreF morefunction idea is to allow digits to be repeats X times so 5555 could be "5 moreF 4" moreF numRep; numRep.digit=5; numRep.repeatXtimes=4;

I am not making much effort to describe it here. It would need show functiontion to perform string +s so the "5"+"5"+"5"+"5" would equal "5555" in this case

I was creating this idea for this kind of math 857142/999999 or 1337/9999 69/99 420/999 with repeating irrationals.

see tiny.cc/openInvent1 for a shorter blurb and other ideas.