Anonymous
C programmer
Abhi
#cpp
Ritu Raj
attachInterrupt(0,falling,Falling)
Ritu Raj
attachInterrupt(0,falling,Falling)
What does this mean in C?
Ritu Raj
Is it part of C or it is some other kind of thing?
Ariana
its for arduino
Ritu Raj
What does this mean??
Ariana
https://www.arduino.cc/reference/en/language/functions/external-interrupts/attachinterrupt/
Ritu Raj
Can you plz explain?
Ritu Raj
Thanks in Advance
Ariana
you got to point out which part do you not understand
Ritu Raj
My friend had this project
Ritu Raj
He connected GSM module with Atmega328
Ritu Raj
He sent me code
Ritu Raj
Btw thanks... I will try to figure it out😇
Talula
Can you plz explain?
It's from the setup part of the program it sets the pins which are defined somewhere above as OUTPUT and initilize the GSM modem and writes on lcd screen (16x2) connecting and then connected when it's connected.
Talula
Ritu Raj
Ohk
Steve
Thanks
Ritu Raj
What does first argument 0 means in attachinterrupt(0,falling,Falling);
Ritu Raj
Is it Pin no.?
Hatim
Is qt good for making android apps
Alessio
Hi!
Kostadin
Hello all, Any ideas why -D flag in gcc is not working for me? Command is: gcc -D MANUAL -std=c99 -Wall -Werror -pedantic -ggdb -Ilibarr/ main.o err.o -o dynamic_manual.exe -ldl
Abubakar Ali Sadik
Hi
Abubakar Ali Sadik
Am Sadick
klimi
Am Sadick
Sure you are
Abubakar Ali Sadik
Can I ask any questions on c++
klimi
Sure
Abubakar Ali Sadik
What's the function of #include
klimi
It includes header for the lib
klimi
Like .. it takes one file and puts it where it is
Abubakar Ali Sadik
Okay thanks
klimi
Yes
Abubakar Ali Sadik
Nice to meet you
klimi
Nice not knowing you
Dima
/ban no
Millennium Mukul
http://projects.icbse.com/cpp-219
Millennium Mukul
http://projects.icbse.com/cpp-219
Plz somebody remove all the graphics and drawing and dm me the text actually i'm in hostel and my pc is at home
Mihail
That means you're passing the address of the variable to scanf, not it's value
Mihail
Also next time take a proper screenshot
Anonymous
Bro best book for developing app from c++
Talula
& means you're passing the variable by reference and not by Value. By Value means you're passing the value of the variable. By Reference means you're passing the address of the location were the variable data is stored. So when you use & it means the variable can be changed in the function.
Talula
So saying scanf("%c",a); Will mean that scanf can see the value of a but it can't change the variable a. While scanf("%c",&a); means it gets the location of the memory where value of a is stored and thus it can change it.
Anonymous
is it because i'm taking input to an array?
Talula
Because char is by itself a pointer, it's never passed as by value in C
Mihail
Stop it with the bad pictures
Talula
It's always passed as by reference.
Anonymous
thanks much brother.
Anonymous
Stop it with the bad pictures
sorry. i'll be careful next time.
Talula
I'm a sister... (why the hell do I have to tell everyone that)?
Ariana
Don’t even send pictures
Anonymous
🤐 never again.
Talula
Older than most people here though.
Леонтий
Hi there! Does someone use VS2017? I had some troubles with IntelliSence (autocomplete) - it stopped to work in several minutes. (It was on version ~15.6). Is it actual on latest version?
Mr. Mahesh
/warn
- Raymond
Is there a color code reference in Visual studio where I can see the meaning of each color codes within my codes? So like #include gets written in pink. Does that mean it's a statement or a function or whatever. So I just need a table where it shows the meaning of each color being used within the codes?
BinaryByter
on vscode, you can edit some json file that has the color theme
BinaryByter
or you just download one ¯\_(ツ)_/¯
aa
Is it any one who know about Google admob earning?
Ariana
wut
BinaryByter
^
BinaryByter
how can a programmer be a bodybuilder?
B K Sachin
Can anyone explain the c library functions ?
- Raymond
I wasn't asking how can I color my code. I was asking to see how can I find out what are the meanings of each color for my code?
- Raymond
like pink for statement, blue for functions etc?
BinaryByter
ehh... that exact file I wa talking about?
BinaryByter
LMAO xDD
Ariana
at least more consistent than mine
Azrul
#include<stdio.h> int main() { int start,row,column,i; int split; float stop,kilo; printf("please enter start ;"); scanf("%f",&start); printf("please enter stop :"); scanf("%f",&stop); split=(start+stop)/2; printf("%d",split); for(i=1;i<=10;++i) { printf("\n\n\n"); printf("--------------------------------------------------------------------------------"); printf("\n|\tmile\t|\tkilometer\t|\tmile\t|\tkilometer\t|"); for(row=1;row<=split;row++){ for(column=1;column<=2;column++){ kilo=start*1.61; printf("--------------------------------------------------------------------------------"); printf("|\t%d\t|\t%.2f\t|",start,kilo); if(column=1){ start=start+split; } else{ start=start-split; } } printf("\n"); } } }
Azrul
can someone check for me its infinite loop
Azrul
??
Azrul
Anonymous
you are doing column =1 in if statement which means you are assigning column a volue = 1.
Anonymous
you must use column==1
Azrul
ouhhh
Azrul
thank you
Azrul