Похожие чаты

What kind of error is that, and why its coming?

17 ответов

28 просмотров

I think it's because you haven't returned anything from main()

Aditya Tiwari- Автор вопроса
Ujjawal Gupta
I think it's because you haven't returned anything...

when I tried return count; , it didnt return anything if not the error

arraynum is uninitialized, make sure that all objects are initialized

Aditya Tiwari- Автор вопроса

Of course you'll smash the stack. arraynum could have any garbage value since you don't initialize it. \(_-_)/ What do you think will happen if arraynum is -1?

Use RUST... and it wouldn't compile.

Talula
Use RUST... and it wouldn't compile.

That's not a good advice imo, using another language doesn't prevent from footguns. Rust does it to a large extent but not always.

Manav | avoid unnecessary messaging me
That's not a good advice imo, using another langua...

Also, always preventing suspicious code is not always desirable

Talula
Use RUST... and it wouldn't compile.

I am pretty sure I just need 1 extra keyword to make this kind of thing compile in Rust, just as easy to type by an inexperienced beginner

Thomas
Also, always preventing suspicious code is not alw...

Yes, for example, implementing stackful coroutines is mighty suspicious looking

Ludovic 'Archivist' Lagouardette
Yes, for example, implementing stackful coroutines...

It is pretty much what your personality routines for exception handlers do. So basically the coroutine handle will have a pointer to the stack frame and everytime an await is called in the current async function, the caller is returned to the stack frame corresponding to the function that called this async function. There are some corner cases of course but nothing that can't be handled.

Aditya Tiwari
screenshot

Int array[arraynum] should come after cin>> arraynum or use pointers

Madhu
It is pretty much what your personality routines f...

Not to mention the handling of calling convention. I have to admit to cheating on that in my own implementation by forcing a normal pseudo function call with no argument that forces register preservation for caller side

Aditya Tiwari
screenshot

What are you using to write code?

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта