Vivek
Solution?????
Dima
/warn Read the rules for solution
I_Interface
My Lord, u have W10 and using Dev-Cpp ? Are u kidding ?
Talula
You do not have permission on your laptop...
Talula
Windows Defender or Anti-Virus issue.
Anonymous
https://paste.ubuntu.com/p/c4b6zRzskj/ whats wrong in my code?i dont want the sum of the outputs in any array.but when i input
Anonymous
1 1 10 1 2 3 4 5 6 7 8 9 10.it prints 1 1
Anonymous
Hello
Anonymous
Can anybody help me how to program C?
Anonymous
I mean I want to learn how to execute problems to program
scammer.xyz
You can try turning on the debugger feature to see where is the fault
correctmaninwrongplace
Maybe you could try to execute devcpp as admin or change the project folder ?
Anonymous
#include <bits/stdc++.h>
using namespace std;
int main() {
int n,u,i,j;
int ara[20];
int arr[20];
cin>>n;
for(i=0;i<n;i++)
{
cin>>arr[i];
}
cin>>u;
for(j=0;j<u;j++)
{
cin>>ara[j];
}
for(i=0;i<n;i++)
{
for(j=0;j<u;j++)
{
if(arr[i]+ara[j]!=arr[i] && arr[i]+ara[j]!=ara[i])
{
cout<<arr[i]<<endl<<ara[j]<<endl;
return 0;
}
}
}
}
why the if condition is not working
rex
Anonymous
even after giving bracket it doesnt work
Khan
Khan
i'm a newbie
Talula
printf("%d aritmatika %d = hasil \r\n",a,b);
Talula
Even your scanf is wrong...it wouldn't work.
Talula
scanf(&a);
Anonymous
/report
Anonymous
/report full hd screen photo
Anonymous
Anonymous
scanf("%d", &a);
Talula
Yeah sorry...
Dima
What the fuck with all these devcxx
correctmaninwrongplace
http://www.cplusplus.com/reference/cstdio/printf/
correctmaninwrongplace
In the same page you have the link to scanf
Anonymous
Anonymous
Only a good book can help here
Anonymous
Does anyone has a good ebook on C
Anonymous
Anonymous
#cbook
Actully I am a newbie to programming, so I am facing difficulty in building logics
Anonymous
Or if you can suggest a better way to practice coding
Ming
Taxation is theft
Ming
Time is just a construct
scammer.xyz
You need to work on your basic
Ming
You are using scanf wrong too
rex
rex
may be u have to write return 0; before the end of code {
rex
or use getch() to run output depend upon which ide r u running
rex
the prog.
Anonymous
Anonymous
How I resolve it
uncle
IN C..........pls... how can i delete a node from a link list....with a funtion that takes head of list and value to be deleted as parameter.
eg
void deletlist(struct **head, int value){
..........
........}
int main(){
list.1—>2—>3—>4—>5—>6—>7
deletelist(&head, 5);
new list 1—>2—>3—>4—>6—>7
}
Anonymous
Sandeep
How I can use tft lcd display with arduino in c++ coding
Dima
Simply.
Talula
Dima
Wim
Or do it in OT?
Wim
Perhaps others might like the info as well?
Wim
I know there are more people in here that do arduino stuff
Wim
wtf why did they ban you?
Talula
I haven’t got a clue lol… only if I knew.
Wim
You're amongst the small group that actually tries helping people and they ban you from an off-topic group?
Mat
Talula
?
Sorry? Didn’t understand.
Mat
Talula
Oh maybe that time it was flooded with these messages and maybe I got banned by mistake or something.
Mat
Talula
Do you remember the day?
Sorry I don’t… I think a month or two ago… I was in a meeting when I got the message.… let me recall where…
Wim
Can you do something about it, Mat? Tazz really is helpful for a lot of people; it would be sad is she'd be banned here because she can't help them there or others missing valuable information she has to share because she needs to do stuff in PM instead
Talula
I think it was 14th August… because 15th August I couldn’t be in office.
Talula
But definetly after 12th August.
Mat
Wim
thank you 😊
C.
https://pastebin.com/623nJjwf
Can someone explain me why line #14 makes my code close with stack smashing error, please?
I did find the solution, but not the reason
Anonymous
Anonymous
It must be: i < sentenca.size()
Anonymous
C.
C.
I just can't get why when I delete line #14 the error disappears
.
https://ideone.com/D2i6Ml