klimi
:3
Anonymous
how can i take screenshot of my screen?
Badugar
With a screenshot-software.
Badugar
Like scrot
klimi
With a gun
Anonymous
Press on print screen if you're on Linux
Anonymous
but am using Telegram on phone
klimi
Like M4-A1
Anonymous
With a gun
Honestly the best solution
Anonymous
(windows + prtsc )
Anonymous
If you're on windows
klimi
(windows + prtsc )
Like .... FreeBSD + prtsc
klimi
Anonymous
but source code was also visible in the picture of screen🙄
Anonymous
#ot
Anonymous
ok wait then i have to transfer pic then
Anonymous
Anonymous
/rules
Anonymous
at is throwing an exception because you're trying to access non existing element
Anonymous
oh okie
Anonymous
but 6 th element should exist?
Francisco
When you do v.ssign(6, 25);, your vector ends up holding {25,25,25,25,25,25}, so the last element is v[5]
Anonymous
I tried printing it it has value 0
Anonymous
I tried printing it it has value 0
Yes cuz it's empty;
Anonymous
thank you 😁
Anonymous
Calling admin.
Anonymous
😁
Francisco
oh okie gotcha 👍
I don't know what you were trying to do, but I bet it wasn't that. For the next time, read the documentation carefully
Anonymous
Ive putted my code in pastebin but the bot wont allow me to send the message because it detects it as spam. According to the rules, codes should be paste in an external link like pastebin
Anonymous
there isn't any objective of this program 😁
Francisco
https://pastebin.com/3NUWyyd7
Anonymous
https://pastebin.com/3NUWyyd7
This is mine. How to identify what is the divisor of number if it is not prime. P.s. Ive searched the problem on google but havent found the answer to my question
Anonymous
Yup, but according to the instruction of the book only first 11 prime numbers should be used as a divisor
Anonymous
What's going on
Anonymous
store all the divisor and check wether they are prime take a int count and increase count by 1 if divisor is prime and print number and execute loop till value of count is = 11
Anonymous
ik am not good at explaining 😷
Francisco
Anonymous
Well, prime numbers are infinite. Any number can be used as a divisor
no of divisor of number will be less than the number so how it's infinite?
Anonymous
Anonymous
This is a should be the output of the program
Francisco
no of divisor of number will be less than the number so how it's infinite?
The prime numbers are infinite. The divisors of a composite number are not, but to find those, you'll need to loop
Anonymous
This is a should be the output of the program
you have to tell only prime divisors?
Anonymous
if you can understand what am trying to say 😂😅
Well, Im not good at comprehending either 😂
Anonymous
Anonymous
ok wait
Dima
@K11M1 quiet
Anonymous
Is @K11M1 serious??? O.o Im using telegram on my phone...
Anonymous
I am
lol.. whatever..
Maria33
Hi! I‘m trying to make a function in C that solves Ux=b for x, where b is a vector and U an upper triangular matrix, but when I run the program it says “segmentation fault:11”. What does it mean?
Maria33
I have google it but I still don’t figure out the mistake
Anonymous
Are you always solving for x?
Maria33
And this is my function
Maria33
Are you always solving for x?
Yes, U is a given matrix, and b is a given vector
Anonymous
Then try x = b/u
Rekha
Why switched case is important of programming with c?
Anonymous
Why switched case is important of programming with c?
Hi, you can see the answer when you search it
Maria33
Then try x = b/u
It still say Segmentation fault 11
Anonymous
It still say Segmentation fault 11
Remove the first formula and replace it with the that
Anonymous
Why switched case is important of programming with c?
Because it saves a lot of time writing if else statements just to compare
Ludovic 'Archivist'
Why switched case is important of programming with c?
Because when it is possible, the compiler may transform it into a jump table, a structure that is pretty good at branching rapidly around lots of branches
Ariana
We can’t figure out why unless you show us the code