Original Post
🔒 Locked
Overloading...
Advertisement
If we''re talking overloading functions, you can bet I use it =)
Here''s a common example for a graphics library:
(presudo code)
void DrawRect(CRGB rgb, CRect rect);
void DrawRect(int r, int g, int b, int x1, int y1, int x2, int y2);
"So much fun, so little time."
~Michael Sikora
Here''s a common example for a graphics library:
(presudo code)
void DrawRect(CRGB rgb, CRect rect);
void DrawRect(int r, int g, int b, int x1, int y1, int x2, int y2);
"So much fun, so little time."
~Michael Sikora
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement