Anonymous
YT?
YouTube
Daniel
Yeh, I watch the tutorial from yet
Daniel
Yt
Yaba
can some one add me in java discussion group? please.....
András
So, its number Look When you're writing int i = "dghj" You store memory address to the begging of the string in variable
András
And output depends on specifier that you've wrote
Daniel
Thanks buddy
Shvmtz
Hi
klimi
Hi
hi?
András
hi?
Ні‽
Shvmtz
What's wrong in this code ?
Anonymous
Anonymous
What's wrong in this code ?
What's the compilation error???
Shvmtz
What's the compilation error???
No, The code is not following the cases that i ask for
Shvmtz
Every time the default case is shown. Why so ?
Anonymous
What's wrong in this code ?
Instead of gets() , use scanf...just saying...
Anonymous
Why..?
Idk, just try every method...if you can't pinpoint the problem....also I'm too lazy to even look through that code..
Anonymous
😂🙃
U r in india right now??
Shvmtz
gets() is correct there.. The error exists in switch case 🙄
Ashish Bhushan
Every time the default case is shown. Why so ?
See the 20th line of code the syntax for scanf is wrong.. That's why error is happening...it should be scanf("%d",&method)
Anonymous
Yup
Stay safe and healthy...don't go out
Shvmtz
Thnq 😂
Ashish Bhushan
Thnq 😂
Yes dude😂
Anonymous
See the 20th line of code the syntax for scanf is wrong.. That's why error is happening...it should be scanf("%d",&method)
If that's the problem, then I'm pretty sure the compiler would have shown that syntax error...what compiler r u using.?
Anonymous
Dev C++
Windows??
Shvmtz
Window 10
Ashish Bhushan
It's better
Ashish Bhushan
Or gcc compiler
Ashish Bhushan
I use gcc
Anonymous
Ashish Bhushan
Yeah same
Ashish Bhushan
Dev C++
Code is running now???
Anonymous
Yeah same
I use gcc, cuz it suits linux...
Anonymous
It's simple
Ashish Bhushan
I use gcc, cuz it suits linux...
Ohh... I work in visual studio code in windows it works good for me too
Shvmtz
Code is running now???
Yes.. 😂 Now, i can understand the importance of compiler
Ashish Bhushan
Yes.. 😂 Now, i can understand the importance of compiler
Sure... But instead of compiler... You should be able to rectify the syntax error atleast it will help 😂
Shvmtz
Yes😁👍
Ashish Bhushan
Yup
Ashish Bhushan
How many languages you are practicing right now?
Shvmtz
In my dev C++, The compiler is set to.. MinGW GCC 4.7.3 32-bit release
Shvmtz
Actually, when i installed it on my lap. I did it along with gcc i guess🙄
Ashish Bhushan
Okk... Then do one thing
Shvmtz
Earlier, it used to give me the syntax or run error
Ashish Bhushan
Open cmd in your system
Ashish Bhushan
And write gcc
Shvmtz
Ashish Bhushan
And send the ss
Shvmtz
Wait..
Ashish Bhushan
After pressing enter obv
Ashish Bhushan
If gcc is installed in your system succesfully ot should give this error
Shvmtz
I think..Gcc is not present in my sys.
Shvmtz
Ashish Bhushan
Hm
Dima
read the rules
Dima
post screenshots instead of photos of screen
Ashish Bhushan
This is not the code... It was just a check
Ashish Bhushan
To see gcc is present in his system or not
Shvmtz
Yeah..
Ashish Bhushan
Then install gcc compiler.... And it would be better if you see a video on it on youtube
Ashish Bhushan
Coz it's a little bit messy for the first time setting up
Ashish Bhushan
You have to change the environment variable and stuff on your system to get it going!!! So i would recommend a youtube video for it
Shvmtz
Okey
Ashish Bhushan
Yup
Shvmtz
Can you please suggest me some editors
Shvmtz
Other than dev C
Ashish Bhushan
Visual studio is best in my opinion
Ashish Bhushan
Visual studio code not the other one
Ashish Bhushan
Just install some add ons from the in built store in it... And it's the best thing