Menu

C with Classes (sanoC) / Blog: Recent posts

a very basic and clean garbage collector for object to be added soon

I am planning to add the following idea,

creation of a GC class which creates within the current scope a collection (whithin the current function), where I call it after class declaration, and simple call _(GC, gc).watch(...) with arglist where I can add all of them in one line.

next I'll be able to call the gc.clean(); which will manage to handle all the objects created within the scope and release the memory reserved, ... this idea is still cooking inside my mind, where still I am thinking of how to manage scope and merge it within the same new() macro. it might be easy if I define the gc variable as a hidden one, and use the same name inside all fucntions.... read more

Posted by Sanousy Ali Howari 2016-05-17 Labels: garbage collector ansi C plain manual simple

added enum with very nice look and funtionality

I've added a special enum as const struct, where it could be used easily inside objects with variable type, and enum values, thank you C you have a lot.

still cannot decide best for gui, but I am playing aroud GTK+3 , need help on windows to find out a better way to do it.

Posted by Sanousy Ali Howari 2016-05-17 Labels: elegant enum in C language
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.