User profile: lockandstrike

User info
User name:lockandstrike
Old user name:jonhy31
Location:Lisbon
Bio:I'm a self-taught 13 year old programmer. I only know C++ but I mess a little with HTML.
Statistical data
Birthdate:Dec 21, 2000
Gender:Male
Occupation:Student
Skills:C++
History
Joined:
Number of posts:132
Latest posts:

How would you do your If and else statements
I usually do it like so: [code]if(condition){ .... } else{ .... }[/code]

code for finding number of accurrences in arrays
Here's how I would do it: [code]#include <iostream> #include <array> int main(){ std::array<T,...

Adoption by Homosexual Couples
I'm back. I decided not to post in this thread and merely watch the debate but this has fallen out o...

Inventory system
*bump*

Inventory system
So I'm writing an RPG and I'm in need of an inventory system. Of course as an relatively old member ...