What am i doing wrong here?
#1

pawn Код:
main()
{

            new Ranks[3][7][] =
            {
                {{"Nothing\t"},{"Nothing\t"},{"Nothing\t"},{"Nothing\t"},{"Nothing\t"},{"Nothing\t"},{"Nothing\t"}},
                {{"Nothing\t"},{"Cadet\t"},{"Officer"},{"Corporal"},{"Sergeant"},{"Lieutenant"},{"Chief\t"}},
                {{"Nothing\t"},{"Outsider"},{"Associate"},{"Soldier"},{"Capo\t"},{"Underboss"},{"Godfather"}}
            };
           
            printf("Ranks[2][6] = %s", Ranks[2][6]);



}
The code should print: 'Ranks[2][6] = Godfather' but it doesn't, it prints 'Ranks[2][6] = ther'.

What did i do wrong, please help.
Reply
#2

Sorry for bumping so quick, but i need this fast. :/
Reply
#3

BUMP!
Reply
#4

Please help, bumping again (second page).
Reply
#5

Quit bumping your thread! Read the forum rules and grow up!
Reply
#6

Tell that to the other X users in this sub-forum who are doing the same thing.

Once my thread hits the second page the likelihood of me getting any answers is zero to none.

So, BUMP.
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)