Tagged Questions
5
votes
2answers
374 views
Please review this C-style array class
I often use C API's in C++ that force me to use C-style arrays. I got sick of constantly using a dynamic vector with &vec[0], so I wrote this C-style array container. Please review and give ...
1
vote
2answers
67 views
Request for help to tidy up code involving arrays and loops
I posted the following code on here a few days ago:
public class Practical4_Assessed
{
public static void main(String[] args)
{
Random numberGenerator = new Random();
int[] ...
0
votes
1answer
334 views
Please critique my C++ Deck class
I have recently finished creating my own Deck class for my Poker game. It works the way I want it to, but I would like to know if I can make it better and/or more efficient. Here's what I have:
...