Beck
My way
Anonymous
Man, as i said, write algorithm on paper or somewhere else. Then try to impliment it into the code
Yes write an algorithm, draw a flow chart if needed and write some pseudo code if possible, that'll help you write it in other languages too
I_Interface
Homework
And use debuger for finding ur mistakes
Satyam
Is here any Android app developer
I_Interface
I sant it
set the breakpoint at p and look its value
Satyam
I have some query
Anonymous
#ot
S.
I wanna know that from where and how I can start problems on dala structures and algorithms?
S.
*data
Dima
#googleit
S.
Why not here?
I_Interface
Why not here?
Coz u can google it...
S.
But i want filtered answers
Dima
no photos of screens please
Beck
I have done it
I_Interface
I_Interface
I have done it
delete ur screenshots pls
Anonymous
Hii
Sanidhya
Hi
klimi
Hi
Ибраги́м
https://www.reddit.com/r/cpp/comments/btjgbf/compiler_explorer_now_with_early_execution/?utm_medium=android_app&utm_source=share
🐰🐾 سمیه
Hi, here I want to first, cast pointer array h to void * and then pass it to *g[ ] in function s(), and after cast of g to int ** agian, print the ultimate value which is an int. why won't it work?
Anonymous
Anonymous
Can someone please tell me what is wrong
Anonymous
And how can I fix it
Mat
Can someone please tell me what is wrong
The errors. You have them on the bottom-right of the image
Mat
And how can I fix it
Learning how to google simple stuff and how to do a question would be awesome
Mat
Assign (int**) g to g
🐰🐾 سمیه
Assign (int**) g to g
like : g = (int**)g; ?
🐰🐾 سمیه
got this error
Mat
Can you copypaste your code inside some pastebin service?
🐰🐾 سمیه
1
🐰🐾 سمیه
#include <stdio.h> void s(void ); int main() { int a[] = {1,2,3,4,5}; int *b = a; int **h[4]; h[0] = b; s((void)h); return 0; } void s(void *g[]) { g= (int**)g; printf("%16d\n", **g); }
🐰🐾 سمیه
that worked👌
Azrul
Guys can i ask something?
Azrul
Guys can i ask something?
What is this sort name?
olli
What is this sort name?
some variant of a modified bubble sort
Muhamed
Dima
What the f...
Anonymous
??
Muhamed
Hey guys whatsup this program doesn't work correctly i try to fix it but i can't anyone can help me
Dima
why you always have to meta
Muhamed
these assignments… why can’t you tell the proper error
It doesen't save datas that is the problem
Anonymous
U haven't mentioned the path where to save file thats the problem ig 🙄
Anonymous
Guys can someone explain me what does flag stands for in this picture.
Anonymous
Dima
no screen photos
klimi
Nothing
klimi
There is no definition
Anonymous
no screen photos
Ops.. sorry. Ive seen from previous messages that some members are sending photos.
Francisco
Ops.. sorry. Ive seen from previous messages that some members are sending photos.
That doesn't mean they're doing the right thing. That's why rules are made for so you don't have to follow other members
Dnyaneshwar
Flag is used as a counter when flag becomes 1 it means no is not prime using break cones out of loop and it fails if condition of flag==0... Hence use of flag is just as that of any counter
Dnyaneshwar
Why are you using dos.h?? Second thing is program will run but not smooth and mannerwise
Anonymous
terminate called after throwing an instance of 'std::out_of_range' what(): vector::_M_range_check: __n (which is 6) >= this->size () (which is five)
klimi
klimi
Syntax error on line 0
Anonymous
6 != 5;
what does this means?
Anonymous
A Hint
Anonymous
but i resized vector from 5 to 10
Anonymous
Anonymous
How can I know what you're doing without looking at source code.😕
Anonymous
Anonymous
😅
Anonymous
Screenshot
Anonymous
yupZ
klimi
Banz
Anonymous
Banz
😳
Anonymous
I said screenshot, not picture of your screen
Anonymous
screenshot?