Pavel
I'm not very familiar with coroutines, but if you don't return from a non-void function, this is UB, and basically anything can happen
To avoid that you can enable warnings and make them be treated as errors (I don't remember exact compiler flags for that)
Martin
Ohh and co_await too. Compiler generates an awaiter when it sees co_return, co_await and co_yield.
Martin
The sample can build with no warnings with -Wall
zdmrr
Selamün aleyküm arkadaşlar
Ananthu
#include <stdio.h> #include <stdlib.h> int main(){ char name; int age; int date; printf("LOGIN FORM FOR VOTER QUALIFICATION\n"); printf("enter your name="); scanf("%c",&name); printf("enter your age="); scanf("%d",&age); printf("enter login date="); scanf("%d",&date); printf("your name is%c\n",name); printf("your age is%d\n",age); printf("registred date%d\n",date); return 0; } i am a bigginer i have doubt // running C in vs code // the out put of this programme is not getting in correct order// LOGIN FORM FOR VOTER QUALIFICATION enter your name=ananthu enter your age=enter login date=your name isa your age is4194304 registred date0 PS C:\Users\DELL\Desktop\\\\\ this is the result\\ after i entered name the all code will execute automatically please help if anyone know the problem \\sorry for bad english
Anonymous
Hi! So i want a particular user's tweet to be saved automatically in offline mode or archive. Is there any way to do this without manually saving and archiving it?
Anonymous
/getbooks
Anonymous
/getbooks
19:50 AndroidDAW: !give me books 19:50 nolyc: me: A nice C++ book guide and list can be found at http://stackoverflow.com/q/388242/1090079
Henry
The format you used is to receive a single character
Henry
Don't add the ampersand in the scanf function. Use scanf("%s",name); s is for string i.e group of chars
Pavel
Also better to use "%15s" in scsnf (with buffer size) to avoid buffer overflow
Ananthu
thanks all of you for helping me....❤️❤️
Anonymous
Thx ,surely i will follow all rules
Anonymous
Actually I 'm new to c coding so can you plz help me for that i have just started to code with c
Nayanraj
Hi
Nayanraj
Hi guys , I m biginer in coding & c/c++ & help guys,
Pavel
@Jai_shree_ram1255, Nayanraj , you can ask specific questions here, without specific questions people are unable to help you
zdmrr
Hello
Anonymous
Hello
!report criminal
Hanz
!report criminal
He is just a Raid Shadow Legends advertiser, nothing suspicious
HaiNahi
What is the best way to print a frame buffer in sdl? I am currently using setrendetdrawcolor and renderdrawpoint
Anonymous
Hello bro
Anonymous
For robotic C or c++ Which is better
Anonymous
Thanks bro
Hanz
I think arduino is good
Anonymous
Y sure
Anonymous
Maybe arduino using c programming lang
zdmrr
Merhaba
zelika
just english
Diego
I think Python it is
Python's good but remember that it's a scripting language I'm not sure how good the compiler is against C++ or even if it's a compiler at all and not a lightweight JIT
Diego
Specially on embedded systems, C++ should be the go-to
Diego
In my opinion, at least
Mar!o
Python is only there to call libraries implemented in C/C++
Mar!o
So Python itself is not even that useful
Igor🇺🇦
Python is only there to call libraries implemented in C/C++
Using the same logic we can that all high level programming languages are not useful. They are just interpreters for assembly.
Mar!o
Many people also use Python only for it's libraries... The language itself is basically trash... Using def instead of function? A pass keyword? Come on... look at Julia they did so much better
Nisim
i need hekp on assembly mips how can help me
Igor🇺🇦
Python is only good because of it's libraries
You're in a minority https://www.zdnet.com/article/python-now-as-popular-as-java-as-typescript-climbs/ https://www.tiobe.com/tiobe-index/
Mar!o
You're in a minority https://www.zdnet.com/article/python-now-as-popular-as-java-as-typescript-climbs/ https://www.tiobe.com/tiobe-index/
I don't care actually... I'm often in a minority - there are many people liking JS or Python because it's easy and that's fine.
Diego
You're in a minority https://www.zdnet.com/article/python-now-as-popular-as-java-as-typescript-climbs/ https://www.tiobe.com/tiobe-index/
Ehh, I agree with him, but I wouldn't call Python trash, it is really good and useful; speaking about the libraries then the same can be said for every high level language, as you said ...But I don't care either about being a minority in a world where people want to make back ends using JavaScript ffs lmao
Igor🇺🇦
Millions of satisfied python developers don't really care too... You're free to be wrong. Anyway - it's C/C++ group. So other languages are offtopic.
Anonymous
What is meant by static member ❓ Can anyone explain please
Anonymous
Anonymous
Vlad
What is meant by static member ❓ Can anyone explain please
struct Foo { static int bar; }; Foo::bar = 42;
Vlad
I didn't understand
By the namespace of the struct lies data member
Vlad
That is common to all Foo objects
z
I didn't understand
It is just something like global variable, but you have to specify the class name to access it.
Anonymous
Is static member/static data member same ❓
Anonymous
Is static member/static member function same ❓
Anonymous
I'm confused totally 😥
z
I'm confused totally 😥
Where did you read that?
z
Static function works different way wih static member in class, of course. Depends, if it is a method of class, then you don't have to initialize the class to call it. Because of 'static'. If it is just static function, not in class, then the static function is a function that is only visible from file where it is written.
Anonymous
Then they are not same ❓
z
Then they are not same ❓
Frankly, they are not.
Anonymous
Is their any trick to get frée rdp ?
Anonymous
Whut?
Remote control desktop !
Vlad
Remote control desktop !
Windows has it built in
z
It is an open source software, you can compile it for free https://github.com/neutrinolabs/xrdp
Vlad
As for Linux I'm pretty sure there are plenty of open source rdp's
Anonymous
Vlad
R u sure ?
Link above
Anonymous
Can i take of it in Android