No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
A high schooler that loves C++ and wishes to go to MIT.
- Interests
- Programming, Track, School, Band
- PC Specs
- 2.7 Ghz Intel core i7 dual core, Intel HD 3000, 500GB SATA, 16 GB 1333Mhz memory
Hi there, I'm encountering an error when I'm trying to make a EntityManager for an Entity class. My problem arises when I'm trying to return the second value of a map (data). Here's my code: EntityManager.hpp: #include <iostream> #include <SFML/Graphics.hpp> #include <map> #include <memory> #include "CEntity.hpp" class CEntityManager { public: … |
|
Re:
I am trying to make an ATM program in C++, I was able to make one 1 C# but decided to try and implemment it int C++. I basicly have this .ini file #constant format: ACCOUNT_NUMBER PIN BALANCE 123 123 123.12 456 456 456.45 And this code: #include <iostream> #include … |
|
Re:
Hey i have no clue what to put in the ReduceFration and CommonDemoninator sections. I know that you call the gcd function for ReduceFration and lcm function for CommonDenominator. Should be easy few lines of code but I'm a Beginner! Here's the code: #include <iostream> using namespace std; int gcd(int … |
|
Re:
Hello, I have a problem using Qt 4.8.4 on VS2012. I manage to compile the code but when I run it, it says: Qt: Could not initialize OLE <error 80010106> on the console but since it has reached the end of the program where it says 'press any key to … |