Skip to main content

Questions tagged [classes]

Core to Object-Oriented Programming (OOP), a class is a template for creating new objects that describes the common state(s) and behavior(s).

4 votes
1 answer
276 views

Lightweight Objects implementation in VBA7 (32/64-bit) As shown here, VB* class instance deallocation becomes exponentially slower the more instances of a particular class module there are. Cristian ...
MDragon's user avatar
  • 51
1 vote
0 answers
114 views

In VBForums I found the following post: Is there a way of retrieving the number of instances of a VB* class from within the class itself? One could store an instance counter in a Public variable in a ...
MDragon's user avatar
  • 51
1 vote
0 answers
56 views

(See the previous iteration here.) This time, I have incorporated the answer from YawarRaza7349. Now, my code looks like this: ...
coderodde's user avatar
  • 32.2k
1 vote
1 answer
65 views

(See the previous iteration here.) (See the next iteration here.) This time, I improved the iterator such that there is no chance of numeric overflow when computing the total number of iterations. To ...
coderodde's user avatar
  • 32.2k
2 votes
1 answer
231 views

This is a follow-up question for An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++, histogram Template Function Implementation for Image in C++, Histogram of ...
JimmyHu's user avatar
  • 7,575
1 vote
0 answers
52 views

I created the following class to ease UserDefaults get/set within my Swift project. ...
geohei's user avatar
  • 275
8 votes
4 answers
1k views

...
LMays's user avatar
  • 341
1 vote
1 answer
119 views

This is a follow-up question for draw_if_possible Template Function Implementation for Image in C++. In G. Sliepen's answer, set member function has been mentioned. ...
JimmyHu's user avatar
  • 7,575

15 30 50 per page
1
2 3 4 5
30