13ย years, 6ย months ago
Highlights
Community contributions featured13ย years, 6ย months ago
13ย years, 6ย months ago
So here's the deal, I've been working on a roguelike game in c++ using the advanced windows console functions in wincon.h. I have a randomly generated map and I'm drawing it toโฆ
13ย years, 6ย months ago
#include <iostream> #include <string> class Item{ private: std::string m_name; int m_value; public: Item(std::string name, int value): m_name(name), m_value(value){}โฆ
14ย years, 6ย months ago
#include <iostream> #include <string> class Item{ private: std::string m_name; int m_value; public: Item(std::string name, int value): m_name(name), m_value(value){}โฆ
14ย years, 6ย months ago
Latest Activity
See all in DiscussionsMrP, That seems to have fixed it. I didn't think about that. I had set the minimum to (1,1) โฆ
13ย years, 6ย months ago
Unfortunately after doing that I still haven't come up with anything useful in helping me track down the error (it โฆ
13ย years, 6ย months ago
Thanks for the advice on the naming with the underscores and typedef. I don't have any of the room/map in โฆ
13ย years, 6ย months ago