SUJAY
Talula
Talula
There are other IDE, if I say the name, people will curse me for life.
olli
I can use any IDE?
Plz suggests
Visual Studio, Eclipse, Clion are probably the most common
Otherwise go for VS Code and gcc which works on every platform
V01D
V01D
And what's the size of a char in bytes?
8!
V01D
So sizeof(fruits) = the sizeof a char * the elements in the array, aka
8 * 6
Vlad
.....
Assignment help
V01D
You meant char*?
Nah, just a char data type.
I only spoke about it since his strings didn't exceed 8 bytes.
Vlad
Btw initing array of char* with const char* is totally wrong
Vlad
Vlad
Size of the stuff that those pointers point to doesn't matter for the sizeof
vinícius*
vinícius*
A single char is traditionally a single byte, not 8
V01D
vinícius*
Nope..
Vlad
vinícius*
8 bits, not 8 bytes
.....
Vlad
Anonymous
hi
Aniket
Why strrev function in string.h is not available now
Igor🇺🇦
In C++ you should use https://en.cppreference.com/w/cpp/algorithm/reverse
Aniket
But was included previously
brahim
install wmsAuthSign ?hash= for php player
brahim
What insatall method
Gulshan
man
vinícius*
Just use a replacement... it's not hard to reverse a string
Gulshan
Igor🇺🇦
But was included previously
It was, now it isn't. You can write your own. gets that even was a part of standard was removed too. It happens
Aniket
Yes by including string.h
Gulshan
can Anyone tell me that what should I use instead of "make ./raymond"
Gulshan
I know it is clearly written but I can't able to fire that command without encountering any error
Gulshan
Aniket
I want to participate in open source project then plz guid me how i will do that
Gulshan
should I make a new cmakelist.txt file or I should opt for the default file got from the plog repo ?
Anonymous
If you like data structures follow this repository https://github.com/CoolerVoid/Fortress-of-Solitude I share to help anyone that need study data structures algorithms
Anonymous
double control=2,no1,no2;
while( control==scanf("%lf %lf",no1,no2){
if(control==2){
...
}
else break;
}
Shaurya
Shaurya
vinícius*
vinícius*
If the user types in integers, C is just gonna cast it to double
vinícius*
Your current logic works when avoiding chars
vinícius*
But.. is that what you want?
Shaurya
In you want to handle integer and double separately then
#include<bits/stdc++.h>
using namespace std;
int main(){
string num1, num2;
double n1, n2;
int cnt,f;
do{
cnt = 2;
cin>>num1 >> num2;
f = 0;
for(auto n : num1){
if(n == '.') {
f++;
continue;
}
else if(n <'0' && n >'9'){
cnt--;
break;
}
}
if(f != 1) break;
for(auto n : num2){
if(n == '.') {
f++;
continue;
}
else if(n <'0' && n >'9'){
cnt--;
break;
}
}
if(f != 2) break;
if(cnt == 2){
n1 = stod(num1);
n2 = stod(num2);
}
}while(cnt == 2);
return 0;
}
Gustavo
Can someone please read my code? I really don't get what I've done wrong
Gustavo
https://pastebin.com/W6dUgR3A
Gustavo
I'm suppose to find the area and perimeter of a polygon, maybe the mistake is in the way i wrote the points in the for loop, but I have no idea
Anonymous
Hello
Anonymous
Hi
OZAIR
klimi
Hi
What do you need lady?
MilkBeforeCereal
klimi
Roxifλsz 🇱🇹
klimi
Roxifλsz 🇱🇹
Sagar
Can anyone tell me what is tight coupling and loose coupling?
Indolent
We need the manpower boys
Gustavo
Shaurya
Gulshan
彡( ⱤØɎ₳Ⱡ ₭ł₦₲ )彡 [FULLZ | PROS]
Gulshan
Ishikawa
how do i pass equality comparison signs into ( ) from a variable?
Ishikawa