Need
Thank you😘
klimi
Okay
klimi
Weird... Whatever bye
Need
I can not write a program
Need
Heeeelllppp
Need
I_Interface
Need
Rishabh
Chup re
Pau
Hi, anyone knows how to "modify" drand48 to choose your own interval?
Austin-sama
I have another probleeem
Austin-sama
I have a struct with the intergers length and *array
Austin-sama
typedef struct Better_Array{ int length; int *array; } Better_Array;
Austin-sama
Now I'm trying to get the intersection of both arrays
Daniele°
It's all text man
it's all bits boy
Austin-sama
Better_Array intersect(int *array_a, int length_a, int* array_b, int length_b){ Better_Array ret_arr; int i, j, k = 0; while (i < length_a && j < length_b) { if (array_a[i] < array_b[j]) { i++; } else if (array_a[i] > array_b[j]) { j++; } else { //array_a[i] == array_b[j]) ret_arr.array[k] = array_a[i]; i++; j++; k++; } } return ret_arr; }
Austin-sama
And my code looks like this but it ain't working
数学の恋人
it's all bits boy
yeah, go open executable files with your text editor then
Austin-sama
Been stuck on this for ages
Austin-sama
Ilya
in int main
No, it can't be there
Austin-sama
int a1[] = {1, 2, 3, -4, 8, 9}; int length_a1 = 6;
Austin-sama
No, it can't be there
then i don't know what you mean 😢😭
Ilya
in int main
Where is memory allocation for the result?
Ilya
then i don't know what you mean 😢😭
If so, read books more... Before coding
Anonymous
Having issues with turbo c++
It is a piece of shit
Anonymous
Sir
What
Serhii
Yeah but i need an good ide for my college lab.
Visual Studio or Clion(for linux) also you can check if you college provides licenses for these products
Serhii
What
language)
Anonymous
Visual Studio or Clion(for linux) also you can check if you college provides licenses for these products
Visual Studio Community is free for everyone who doesn't use it for commercial purposes (for more details check out the website) CLion is free for every student if a student provides proofs, afaik
Ilya
Sir
how else you can name a non-standard, outdated 20 years ago c++ compiler for operating system that you can't install on your computer ?
Ludovic 'Archivist'
It is a piece of shit
I made a similar proposal on another network, but why not just making a separate (like the off-topic one) channel dedicated to turbocpp to even avoid the idea of conflict with people that don't look to understand the issue of it and just tell them to go to that channel?
Ибраги́м
Too bad it's named after India
Ибраги́м
While the problem exist else where also
Ludovic 'Archivist'
Too bad it's named after India
Yeah, I was meaning as a complete passive aggressive solution and hence making it look really serious
pratheep
How to read 2 line of input string as a single string
Anonymous
klimi
How to read 2 line of input string as a single string
Conjugate 2 inputs or make your own input function
pratheep
How to read 2 line of input string as a single string
Is there any predefined things were available for that
klimi
No
pratheep
Tq bro
数学の恋人
Yeah but i need an good ide for my college lab.
Hey go to this group, http://t.me/c_cpp_india
Ludovic 'Archivist'
Hey go to this group, http://t.me/c_cpp_india
The issue is naming it caricaturally after India makes it look really bad, which is why I would just have named it Turbo C/C++
数学の恋人
Turbo India C/C++ by 2020
you should stop doing that
数学の恋人
do they use turbo C++ other than India in colleges?
Dima
数学の恋人
You already know that
Dima
indeed
数学の恋人
lol I forgot I'm not admin of this group
klimi
Hmmmm happens
Dima
lol I forgot I'm not admin of this group
you have no power here *Dukem Nukem’s voice*
数学の恋人
😂 I know that
Ludovic 'Archivist'
do they use turbo C++ other than India in colleges?
Yes, It also happens quite a bit in Africa, and I still think some cranky teachers in universities elsewhere still use it
数学の恋人
that's serious, even after knowing that such tools are useless
Anonymous
Can I open the file at the end of the code instead of the first one?
Anonymous
Turbo India C/C++ by 2020
Make India Turbo Again
Dima
Make India Turbo Again
make a warn for me again
Dima
🤣
Surge.rs
Make India Turbo Again
God damnit, I'm in
Surge.rs
Can I open the file at the end of the code instead of the first one?
You want to open the file before you do operations on it. You cant say "hey write to this file" if you aren't using it. So what you have right now is fine
Surge.rs
You mean that the file is always in the beginning and after the loop arry ..etc
It doesnt matter, before you read/write/whatever to a file, you need a file stream or a file descriptor open to deal with it