Григорий
By the way, it's hard to understand your code because I don't see the entire code. I see only one function.
Anonymous
ok I send it all
Anonymous
https://pastebin.com/PwmqJcgx
Григорий
https://pastebin.com/PwmqJcgx
I don't know the class MPI_Status, so I can't find the exact point of bug. But what I see: id_cons is always 3. Why? Because you do this in line 133 (in brackets). Now you should understand why estado.MPI_SOURCE is always 3.
Anonymous
I want to learn programing language. Which language is base for start career in programing language
Anonymous
After 12 th pass
Anonymous
Plz plz help Thanks
Anonymous
Anonymous
What i have to do?
exactly what the bot told you
Anonymous
exactly what the bot told you
I can't understand
Anonymous
Anonymous
Where is the pinned message
Anonymous
Where is the pinned message
It's saying to read
Surge.rs
I can't understand
It wasnt a reply to you
rex
#include <stdio.h> char *c[] = {"GeksQuiz", "MCQ", "TEST", "QUIZ"}; char **cp[] = {c+3, c+2, c+1, c}; char ***cpp = cp; int main() { printf("%s ", ++cpp); printf("%s ", *--*++cpp+3); printf("%s ", *cpp[-2]+3); printf("%s ", cpp[-1][-1]+1); return 0; }
rex
give the output and also with reason
rex
i am in doubt to second printf statement
Crush_my_love
give the output and also with reason
Why wouldnt you run this code in debagger and to look by yourself?
rex
as i am not in a loop it is better to get direct answers
Crush_my_love
as i am not in a loop it is better to get direct answers
No, you are trashing this chat with questions which you can get answer for your own self.
rex
ok i know ,let someone to do this
Crush_my_love
ok i know ,let someone to do this
I hope no one will do this job for you
Anonymous
Hello
Tom
We should avoid writing unreadable code like this.
rex
Surge.rs
mind your own business
yet here you are telling other people to run your codE?
Surge.rs
just run the damn code
rex
no i just had a doubt
rex
how this happens
rex
TEST sQuiz Z CQ
rex
it is the output
rex
but how it prints squiz
Surge.rs
because your indexing char arrays and printing them
Surge.rs
and doing really weird shit with horrible names and random operators just to throw them in there
rex
clarify me with somee brackets
Surge.rs
why should i clarify YOUR code lol
rex
it is not my code i copied it from a site
rex
advance pointer
rex
dont u go through this in your college course
rex
or somewhere else
Anonymous
No
rex
ok nice
Anonymous
It is data structue
rex
no
Surge.rs
advance pointer
specifically looks like pointer arithmetic with weird derefs
Dima
mind your own business
/warn Read the rules
Brian
Thanks Rose
Silvestr
Guys GCC -z defs works with static libraries?
Tom
/adminlist
Mar!o
Dima
Surge.rs
my life is complete, my message was purged
Anonymous
?
Raaj
Its prims algo using c program.. I cant understand .. While loop
Crush_my_love
If I'll enter value more than 10 to n variable it will be segfault in first block with loops
Crush_my_love
btw I would change naming of these variables. Can't read properly
Mat
Read the rules
Mat
Why people need to use those ugly names as int a, b, c1, c2, d, e, x, y, z;
Emilio
Its prims algo using c program.. I cant understand .. While loop
usually you would use a priority queue to improve performance, but I guess it doesn't matter in such small case
...
Why people need to use those ugly names as int a, b, c1, c2, d, e, x, y, z;
i dont see a problem with this, especially if you get a to a point where you get x, X, y, Y and z, Z
Raaj
Its prims algo using c program.. I cant understand .. While loop
In while loop, why "ne" is use ???
Crush_my_love
In while loop, why "ne" is use ???
ask someone who were write this code. not us
Emilio
that's for iterating each node
...
doesnt matter, single letter variable name will be funny if you get to a point where you get both upper and lowercase
...
https://github.com/Droogans/unmaintainable-code#ensure-a-job-for-life--
Emilio
In while loop, why "ne" is use ???
ok, I think I get that ugly code... you are looking for the smallest cost link to an unvisited node (that's the 2 inner loops), every time you get a link, you are basically adding one node to the solution, thus you need to repeat (n-1) times, because the initial node was already added, that's why ne goes from 1 to (n-1)
Mat
https://github.com/Droogans/unmaintainable-code#ensure-a-job-for-life--
A.C.R.O.N.Y.M.S. Use acronyms to keep the code terse. Real men never define acronyms; they understand them genetically.
Dima
like isHDR looks terrific, or HTTPRequest
Dima
isHdr or HttpRequest is much more sexier