klimi
Hello lunatic hero
MᏫᎻᎯᎷᎷᎬᎠ
Hello lunatic hero
Hi klimi I'm not a hero
MᏫᎻᎯᎷᎷᎬᎠ
Hmm
klimi
Hi klimi I'm not a hero
You're hero, or legend ... Your choice
MᏫᎻᎯᎷᎷᎬᎠ
I didn't look at every line of the code
MᏫᎻᎯᎷᎷᎬᎠ
klimi
klimi
My Most favorite dot
MᏫᎻᎯᎷᎷᎬᎠ
Yeah
MᏫᎻᎯᎷᎷᎬᎠ
Dot is everywhere
MᏫᎻᎯᎷᎷᎬᎠ
.com
MᏫᎻᎯᎷᎷᎬᎠ
v.push_back
klimi
Dot.dot
MᏫᎻᎯᎷᎷᎬᎠ
Yup
Niko
/get findprojects
klimi
klimi
We are joking
MᏫᎻᎯᎷᎷᎬᎠ
I was talking about other thing
MᏫᎻᎯᎷᎷᎬᎠ
Not related to your program
klimi
I'm friend here with lunatic
Anonymous
hey guys
klimi
Hey
Mihail
Mihail
Very descriptive Much wow
klimi
MᏫᎻᎯᎷᎷᎬᎠ
Oh no
Huh?
Mihail
Huh?
Please never name your vectors with very descriptive names like that
Mihail
And I was joking
Mihail
But nvm
klimi
Nvm.push_back()
MᏫᎻᎯᎷᎷᎬᎠ
Okay
MᏫᎻᎯᎷᎷᎬᎠ
klimi
.
..
MᏫᎻᎯᎷᎷᎬᎠ
You seem happy :-)
MᏫᎻᎯᎷᎷᎬᎠ
Very good
Anonymous
guys im trying to make a 2d array, where the user has to introduce the numbers
Anonymous
the array is very simple
Anonymous
should be something like COLS = 2 and for ROWS = 5
MᏫᎻᎯᎷᎷᎬᎠ
Me?
Yeah
klimi
Yeah
Me not
Anonymous
the thing is that everything should be in functions
MᏫᎻᎯᎷᎷᎬᎠ
Me not
Sadly
klimi
Sadly
I'm sorry
MᏫᎻᎯᎷᎷᎬᎠ
the thing is that everything should be in functions
Then Define a global array variable
MᏫᎻᎯᎷᎷᎬᎠ
I'm sorry
No I'm sorry
klimi
No I'm sorry
Don't be
MᏫᎻᎯᎷᎷᎬᎠ
Then Define a global array variable
That is used by your functions But be careful
Anonymous
like #define COLS 2 #define ROWS 5 main { void randomWord [COLS][ROWS]
MᏫᎻᎯᎷᎷᎬᎠ
Anonymous
Don't use void Neither macros
so I should use int and the numbers?
Anonymous
George, [17.01.19 16:33] like #define COLS 2 #define ROWS 5 main { int randomWord [2][5]
MᏫᎻᎯᎷᎷᎬᎠ
Any data type you want
MᏫᎻᎯᎷᎷᎬᎠ
Wait
Roxifλsz 🇱🇹
MᏫᎻᎯᎷᎷᎬᎠ
Aren't you want your array to be seen by other function?
MᏫᎻᎯᎷᎷᎬᎠ
Anonymous
I want to create a switch menu
Anonymous
and the user has to itroduce the numbers of the variables
Anonymous
ok for example
Anonymous
this is the switch menu A) enter numbers (they have to be stored in the 2d array) B) show the user the highest numbers of the array C) take the lowest number D) avg of all numbers E) quit
Anonymous
it is a game I have to create
Anonymous
I already have the menu and the switch, and almost everything
Anonymous
but I need the 2D array
Anonymous
cause in having a problem with the array
Anonymous
it is a game i have to create
Anonymous
let me copy it
Anonymous
A) Enter game results B) Current Record C) Display results from all games won D) Display results ordered by opponent score from low
Anonymous
the record is the wins, losses and ties
Anonymous
My question is, how can I do to allow the user to enter a value?
Anonymous
thank you!!!
Anonymous
yes
Anonymous
exactly
Anonymous
or if you know any tutorial i can follow
Anonymous
yes i m on it!