MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
maybe even to C++23
Nomid Íkorni-Sciurus
MᏫᎻᎯᎷᎷᎬᎠ
Nomid Íkorni-Sciurus
I wish C++ to just die really
but many things still run C++, so welp, I guess it won't happen soon.
MᏫᎻᎯᎷᎷᎬᎠ
Language comparison is not in the scope of this talk
MᏫᎻᎯᎷᎷᎬᎠ
Nomid Íkorni-Sciurus
Nomid Íkorni-Sciurus
Talking about Rust?😂
Not necessarily
I'm talking about D, Go, Rust, any other modern language
MᏫᎻᎯᎷᎷᎬᎠ
Nomid Íkorni-Sciurus
Nomid Íkorni-Sciurus
because that much flexibility means confusion
Nomid Íkorni-Sciurus
dynamic_cast<> means you can turn a Table into a Penguin
Nomid Íkorni-Sciurus
void* 's existence is just pointless and error-prone
Nomid Íkorni-Sciurus
MᏫᎻᎯᎷᎷᎬᎠ
Nomid Íkorni-Sciurus
Also C++ lies about consts which is one of the worst thing ever
MᏫᎻᎯᎷᎷᎬᎠ
Nomid Íkorni-Sciurus
MᏫᎻᎯᎷᎷᎬᎠ
Nomid Íkorni-Sciurus
but really, they should do something for C++ Lambdas
they make my eyes bleed
MᏫᎻᎯᎷᎷᎬᎠ
Nomid Íkorni-Sciurus
I wish both Java and C++ to die ahah
Nomid Íkorni-Sciurus
like?🤔
reference state
I mean the [&,=] syntax
MᏫᎻᎯᎷᎷᎬᎠ
what was it
Do you mean it's an ugly syntax?
Nomid Íkorni-Sciurus
Nomid Íkorni-Sciurus
Nomid Íkorni-Sciurus
if I'm ever doing native applications, it will be D unless I'll have to work with actual C++ code.
Nomid Íkorni-Sciurus
Well, D, or Rust, I still have to decide.
Gianla.
hi guys, does anyone knows a good tutorial on c++? I can find lot on the internet, i just want to know your opinion.
MᏫᎻᎯᎷᎷᎬᎠ
/report
Nomid Íkorni-Sciurus
Nomid Íkorni-Sciurus
but just for beginning
Tony
Hello everyone. Can someone write a driver for the printer?
Anonymous
Hey
Anonymous
Is anyone available?
Anonymous
I have some college level questions to solve
Anonymous
Declare and initialize an array with eight integer elements. Use the random function to initialize the
values with random integers between 100 and 150 (both inclusive). Print the whole array. Now Find the
3rd largest element in array and print it.
Now take the all elements of the array one by one, find the square root of the every element and
update every index of the array with the square root value. Do not use extra array. Print the updated
array.
Anonymous
So you want us to solve it?
Anonymous
If anyone could help I would be grateful
Anonymous
Write the program that prints the following shapes by using loops.
*
*
Ibrahim
Why i cant send any photo 😣😣
Ibrahim
Hi Can anyone help me im writing code for asking about the name and printing the name
Ibrahim
#include <stdio.h>
char main()
{
char n1 ;
printf("enter your name \n");
scanf("%c" , & n1 );
printf( "your name is \n" ,&n1 );
}
Anonymous
Yes sir
Anonymous
Anonymous
Anonymous
Not even a warning
> Asking to solve an assignment/test/whatever without trying it first yourself will get you a warn or will get you BANNED. We won’t write a code for you, but we can push you forward and suggest something.
> Asking for something that is in the pinned message right after joining WILL GET YOU BANNED
Anonymous
Dima
Anonymous
Anonymous
I love you
✨ Anatolii
Roxifλsz 🇱🇹
tox
Yes. All of the admins here are required to be toxic
Ajay
hi everyone i have a question cane you solve it plz 🙏🙏
which library to use in python to use praser senser in respberry pi
Rabbit
Ok
AK
#include<iostream>
using namespace std;
int main ()
{
int primenumber[25]={2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97};
int guess;
int totaltries=0;
int guesslimit=2;
bool remainingguess = true;
while (guess != primenumber[] && remainingguess)
{
if (totaltries<=guesslimit)
{
cout<<"Guess the number between 1-100:"<<endl;
cin>>guess;
totaltries++;
}
else
{
remainingguess = false;
}
}
if (!remainingguess)
{
cout<<"You lose :(";
}
else
{
cout<<"You Win :)"<<endl<<"Tries = "<<totaltries;
}
}
AK
#include<iostream>
using namespace std;
int main ()
{
int primenumber[25]={2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97};
int guess;
int totaltries=0;
int guesslimit=2;
bool remainingguess = true;
while (guess != primenumber[] && remainingguess)
{
if (totaltries<=guesslimit)
{
cout<<"Guess the number between 1-100:"<<endl;
cin>>guess;
totaltries++;
}
else
{
remainingguess = false;
}
}
if (!remainingguess)
{
cout<<"You lose :(";
}
else
{
cout<<"You Win :)"<<endl<<"Tries = "<<totaltries;
}
}
What should i do to check the input whether it is present in array or not ?
Anonymous
You could do a binary search since it is already sorted
AK
Vedant
Hey, is using Vim helpful? or just another burden?
Vedant
klimi
It has to offer nice features to faster edit text, yes
Vedant
Anonymous
Hey, is using Vim helpful? or just another burden?
you become a system administrator for a huge company, one midnight you are sleeping but you get a call from your company , shit just went down in the chaotic way possible. You need to ssh into your server quickly and fix a few configurations etc
internet is down, its raining. You have to drive over to your mainframe or whatever they are called and work on the machine directly. There's no gui, no fancy ide, no fancy editors.
klimi