Message from C, C++ talks

July 2019

— Welcome

— That's 2/2 warnings; 𝓜𝔂 𝓞𝓻𝓰𝓪𝓷𝓲𝓬 𝓗𝓮𝓪𝓻𝓽 is out!
Reasons:
1: hacking
2: i want to use kali lunix os in my windows laptop how it is possible anybudy help..?

Message permanent page

— I ALWAYS get segmentation fault when i try to use 2D arrays or an array of strings. Any idea why?

— Show code

— 

Int main()
{
int ele,i,n,q;
int row,column;

cin>>n>>q;
int array[100][100];

for(i=0;i<n;i++)
{
cin>>ele;
for(int j=0;j<ele;j++)
{
cin>>array[i][j];
}
}
for(int k=0;k<q;k++)
{
cin>>row>>column;
cout<<array[row][column];
cout<<"\n";
}
return 0;
}

— Its sort of a 2D array but number of elements in each row is not the same.. the number of elements is the first input in each line which i've taken as ele

Message permanent page

— Im supposed to do dynamic memory allocation but i dont know how to do that in 2D

— Can anyone write the code to this program ina ny language

— No photo

— My eeeyeeeees

— /report read the rules

— Reported U$h_jujjuru to admins.​​​​​​​​​​​​​

— Well it is in the rules....

— Ha ya

— Can anyone write