Problem Closed. This question is off-topic. It is not currently accepting answers. Questions containing broken code or asking for advice […]
Tag: memory-management
Random permutation of int[] and ArrayList
Problem I wrote a simple program using int[] and ArrayList<Integer> which aims to get a random permutation output between 1 […]
Memory searcher function test
Problem This is part of the project I started just now. It is a function that returns the offset address […]
Handling of memorystream with streamwriter efficiency
Problem My little program I’m working on generates charts (GUI) and (on another tab) lists the values my chart is […]
Drawing superellipses
Problem Here is a piece of code that draws superellipses: #include “std_lib_facilities.h” #include <iostream> #include “Simple_window.h” #define PI 3.14159265359 template […]
Memory leak in Java’s stack implementation
Problem Recently I was asked to implement a stack specifically for storing ‘int’ type data and find memory leaks. Isn’t […]
View programming pattern in C++ without raw pointers
Problem I’m trying to achieve, for lack of a better term, a “view” pattern in C++. It’s probably most comparable […]
NSAutoreleasePool with Json Data
Problem Just need to know if I’m doing something wrong in this code. my app seem work fast now with […]
Smart/Dynamic array in C
Problem I attempted to make a smart/dynamic array implementation in C which is supposed to be a hybrid between a […]
Generic dynamic array
Problem Here is the interface of my generic dynamic array; /* dynamic array interface */ #ifndef DA_HEADER #define DA_HEADER #include […]