razoe's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
11 (0.02 per day)
Joined:
19-December 12
Profile Views:
127
Last Active:
User is offline Jan 27 2014 03:53 AM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   razoe has not set their status

Posts I've Made

  1. In Topic: About a game in rpg using c language 2

    Posted 16 Jan 2013

    thanks any way
  2. In Topic: About a game in rpg using c language 2

    Posted 16 Jan 2013

    the code is this
    int frente2(int op11)
    {
    	printf("A tua frente encontras o troféu. Parabéns acabas-te o jogo\n");
    	printf("Escolhe uma opção:\n");
    	printf("                   |      1-Jogar de Novo                       |\n");
        printf("                   |      0-Acabar                              |\n");
    	do
          {
          scanf("%d", & op11);
          }while(op11!=0 && op11!=1);//pede a opçao pertendida 
          
          switch(op11)//switch case... abre a escolha pertendida pelo utilizador, case 1 para opçao 1 e case 0 para 0
          {
          case 1://jogar de novo
          int crazy();
    	  break;
    	  case 0://opçao k permite ao utilizador sair do jogo
          int finish();
          break;
          }while(op11!=0);//ciclo do while. fica em ciclo continuo ate que o utilizador introduzir 0
    }
    
  3. In Topic: About a game in rpg using c language

    Posted 19 Dec 2012

    I no about that but between the three of us we decide is better repeat the code instead do things that we are not sure about. best regards to all.
  4. In Topic: About a game in rpg using c language

    Posted 19 Dec 2012

    Sorry about that i'm portuguese so english isn't my first language
  5. In Topic: About a game in rpg using c language

    Posted 19 Dec 2012

        printf("\n\n\n                                   ------------------------------------------\n");
                                    printf("                  |                    |    Bedroom         |\n");
                                    printf("                  |                                         |\n");
                                    printf("                  |                    |-------|            |\n");
                                    printf("                  |      Hall          |    O  |  f=5       |\n");
                                    printf("                  |                    |   /|\ |  e=5       |\n");
                                    printf("                                       |   / \ |            |\n");
                                    printf("                                       |--------------------|\n");
                                    printf("                  |                    |                    |\n");
                                    printf("                  |                                         |\n");
                                    printf("                  |                    |                    |\n");
                                    printf("                  |                    |    kitchen         |\n");
                                    printf("                  |                    |                    |\n");
                                    printf("                   -----------------------------------------\n\n\n")
                                      printf("                  --------------------------------------------\n");
                                    printf("                   |                                            |\n");
                                    printf("                   |      1-Kitchen                             |\n");
                                    printf("                   |      0-Go Out                              |\n");
                                    printf("                   |                                            |\n");
                                    printf("                    --------------------------------------------        \n\n");;
                                    system("cls");
                                     do
                               {
                               scanf("%d", & op1);
                               }while(op1!=0 && op1!=1);
                               switch(op1)//switch case... 
                                       {
                                                         
                                         case 1:
                                   
                                          printf("\n\n\n             -----------------------------------------\n");
                                    printf("                  |                    |    Bedroom         |\n");
                                    printf("                  |                                         |\n");
                                    printf("                  |                    |-------|            |\n");
                                    printf("                  |      Hall          |       |            |\n");
                                    printf("                  |                    |       |            |\n");
                                    printf("                                       |       |            |\n");
                                    printf("                                       |--------------------|\n");
                                    printf("                  |                    |                    |\n");
                                    printf("                  |                                         |\n");
                                    printf("                  |                    |              O f=5 |\n");
                                    printf("                  |                    |    kitchen  /|\E=6 |\n");
                                    printf("                  |                    |             / \    |\n");
                                    printf("                   -----------------------------------------\n\n\n")
                                      printf("                  --------------------------------------------\n");
                                    printf("                   |                                            |\n");
                                    printf("                   |      1-Bedroom                             |\n");
                                    printf("                   |      0-Go Out                              |\n");
                                    printf("                   |                                            |\n");
                                    printf("                    --------------------------------------------   \n\n\n");;
                                       system("cls");
                                        do
                               {
                                scanf("%d", & op1);
                               }while(op1!=0 && op1!=1)
                                      switch(op1)//switch case
                                       {
                                         case 1:
                                   
                                    printf("\n\n\n             -----------------------------------------\n");
                                    printf("                  |                    |    Bedroom         |\n");
                                    printf("                  |                                         |\n");
                                    printf("                  |                    |-------|            |\n");
                                    printf("                  |      Hall          |    O  |  f=5       |\n");
                                    printf("                  |                    |   /|\ |  e=6       |\n");
                                    printf("                                       |   / \ |            |\n");
                                    printf("                                       |--------------------|\n");
                                    printf("                  |                    |                    |\n");
                                    printf("                  |                                         |\n");
                                    printf("                  |                    |                    |\n");
                                    printf("                  |                    |    kitchen         |\n");
                                    printf("                  |                    |                    |\n");
                                    printf("                   -----------------------------------------\n\n\n")
                                      printf("                  --------------------------------------------\n");
                                    printf("                   |                                            |\n");
                                    printf("                   |      0-Go Out                              |\n");
                                    printf("                   |                                            |\n");
                                    printf("                    -------------------------------------------   \n\n\n");;
                                   
                                    system("cls");
    
    


    that is our problem and we are trying to go to the previous menu without do that same code over and over again.

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Click here to e-mail me

Friends

razoe hasn't added any friends yet.

Comments

razoe has no profile comments yet. Why not say hello?