Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


markspend001

Member Since 16 Apr 2013
Offline Last Active Apr 25 2013 07:46 AM

Posts I've Made

In Topic: How to copy a 1-D array into a 2-D array

20 April 2013 - 07:56 AM

Hey Guys according to that i find a code like:

 

include <iostream>
using namespace std;
#define MAX 10
int A1D[MAX];
int A2D[MAX][MAX];
int main()
{
//Init A1D Array
for (int i=0;i<MAX;i++) A1D[i]=i+1;
//Convert to A2D
for (int i=0;i<MAX;i++)
for (int j=0;j<MAX;j++)
if (j+1<=A1D[i]) A2D[i][j]=A1D[i];
else A2D[i][j]=0;
return 0;
}


In Topic: What to do in an evolution game?

18 April 2013 - 11:12 AM

Hello Guys i think that Evolution is an interesting simulator game in which the gamer must develop, generate and reproduce beetles with the objective of developing the greatest beetle. They will have to management what insects they buy from a shop, nourish them, keep them interested with actions and even washing up after the beetles.Thanks!!


In Topic: How to use ostream?

17 April 2013 - 06:37 AM

Hey Guys according to that topic i find the coding related to that topic like:

 

#ifndef SET_
#define SET_

typedef int EType;

using namespace std;

#include <iostream>

class Set
{
private:

struct Node
{
EType Item; // User data item
Node * Succ; // Link to the node's successor
};

unsigned Num; // Number of user data items in the set
Node * Head; // Link to the head of the chain

public:

// Various functions performed on the set

// Display the contents of the set
//
void display( ostream& ) const;

};

#endif


In Topic: How would I get started with java and Libgdx?

16 April 2013 - 09:33 AM

Hey Guys my name is Mark.According to that topic i think that to able to understand the primary ideas in C++, a developer must have a good information of the primary language in object-oriented development.Object is the primary unit of object-oriented development. 

For more knowing about C++ must visit that url:

 

cplusplus.com/files/tutorial.pdf

 

 

PARTNERS