Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~9K People Reached
Favorite Tags
Member Avatar for Tycellent

Hey everyone, In addition to... Lazy Foo's Tutorial http://lazyfoo.net/tutorials/SDL/index.php "SDL Game Development" - Shaun Mitchell book are there any other recommended resources (does not have to be SDL) people could suggest? I've already created a console-based text adventure game and am really interested in expanding it into a text-adventure game …

Member Avatar for wafa_1
0
292
Member Avatar for Tycellent

Hey everyone, I'm trying to convert some values to ASCII characters. I understand that this is possible through means of something like this: std::cout << (char)0x31 << std::endl; // prints 1 std::cout << (char)0x4C << std::endl; // prints L However, my problem is that i have char array that contains …

Member Avatar for マーズ maazu
0
289
Member Avatar for Tycellent

Hey everyone, Got 2 questions here that i'm hoping will be answered. Say i have 2 variables int iValue; int iValueArray[300]; and later on init. them in the constructor Banana::Banana(): ival(0), ivalArray() {} 1. What would the ivalArray() indicate? Would it be the same as initializing every element to null/empty? …

Member Avatar for Tycellent
0
325
Member Avatar for Tycellent

Hey guys, Not sure if i should be posting this here so i'll just give it a shot. I've been planning a board game but as of this moment i'm just thinking of concepts for the movement of a player. Because it is an Alien theme where aliens invade earth …

Member Avatar for janissantony
0
180
Member Avatar for Tycellent

Hey Guys, Really want to learn Java and hope you guys could recommended some Beginner, Intermediate and Expert books/resources (e.g. websites) As of this moment i'm thinking of... Beginner: Java for Dummies, Thinking in Java Intermediate: Effective Java Expert: In addition, it'd be also be awesome if any recommendations of …

Member Avatar for Tycellent
0
179
Member Avatar for Tycellent

std::endl vs \n Are any particular one which should be used at specific times? I understand endl flushes the stream (although i'm not 100% what this means) while \n is simply a newline.

Member Avatar for rubberman
0
400
Member Avatar for Tycellent

Is anyone familiar with "removing" an image from screen with SDL? It's just simply a toggle on/off function that i'm looking for. I don't really want to free/release the image, since i intend on using it again throughout the program. switch (e.key.keysym.sym) { case SDLK_a: drawSDL_RenderFillRect(...); break; case SDLK_b: **remove …

0
112
Member Avatar for Tycellent

Hey guys, Was wondering if someone could assist me in elaborating the c_str() function... I understand that it returns a pointer to an array that contains a null-terminated sequence of character but could someone further elaborate upon this, perhaps with a simple example. Cheers,

Member Avatar for Lerner
0
178
Member Avatar for Tycellent

So i've decided to use SFML and i'm just trying to figure out its advantages and disadvantages...I've looked around and this is what i've got so far. Advantages: * Cross Platform * OO Design * Simple and fast (subjective) Disadvantages: * Quite new Any additional thoughts will again appreciated

Member Avatar for Sarkurd
0
661
Member Avatar for Tycellent

Hey everybody, As of this moment i'm trying to work out how to approach a state design. I've come across Source Makers' site [http://sourcemaking.com/design_patterns/state/cpp/1](http://sourcemaking.com/design_patterns/state/cpp/1) and am testing out the example. The program works fine when it's all in 1 file, although i had to change some stuff in main, but …

Member Avatar for rubberman
0
3K
Member Avatar for Tycellent

Sup everyone, Does anyone have any recommended tutorials/sites for Hash maps? I'm planning to use it to create and link "locations" in a basic text-based game but i've looked around and there seems to be a lot of description on hashmaps but not much tutorial/examples for them. Any sort of …

Member Avatar for Tycellent
0
282
Member Avatar for Tycellent

Hey guys, I'm interested in learning about simple multithreading in C++ for Windows. Does anyone have any reccommended tutorials/links thats quite good?

Member Avatar for dinad578
0
412
Member Avatar for Tycellent

Just wanted to say hello to everyone on this forum! I'm very excited to join this community and hope everyone is nice :P I'll try my best to help people though i am only an Beginner-intermediate programmer in C++ and C#

Member Avatar for mattster
0
162
Member Avatar for Tycellent

Hey everyone, Just trying to add to a scoreboard from a different class. The problem is that i'm not sure how to add to a scoreboard that has been previously defined in a different class. As i've instantiatied i'm assuming that has made a whole new Game (with a new …

Member Avatar for tinstaafl
0
877
Member Avatar for tentrabyte

Write a program that will ask for two integer numbers. Assign the first integer to the first operand and assign the second integer to the second operand. Use the following assignment operators: =, *=, /=, %=, +=, and -= Display the result of each operation. Consider the following sample output: …

Member Avatar for Tycellent
0
514
Member Avatar for new_developer

Hi there, How to set vector size in Class ? I have set vector size at time of daclaration but it does not work. And should we have to deallocate vector memory in destructor ? #include <iostream> #include <vector> //included to use vector using namespace std; class VectorDemo { private: …

Member Avatar for Moschops
0
522
Member Avatar for Tycellent

Hey Guys, Was wondering if anyone could help me with this sort function for a vector of struct type. What i'm aiming to do is to make a score board being based on a player's score and print out the scores (along with the name) in descending order. I've looked …

Member Avatar for Tycellent
1
445