Transcript of C & c+programming for beginner by tanbircox
- 1. Want more Updates http://facebook.com/tanbir.ebooksfacebook
/gmail/skype: - http://tanbircox.blogspot.com pdf Menu Bar View
Auto /Automatically Scroll ( Ctrl + Shift + H ) up Arrow down Arrow
, : , ! ? :#include#includevoid main(){printf(This is my first c
programming);getch();}Output: :This is my first c programming :)
#include #include stdio.h standard input output header file conio.h
control input output header file . ? , - , ? - - , stdio.h conio.h
stdio.h printf() conio.h getch() ,
- 2. Want more Updates http://facebook.com/tanbir.ebooksfacebook
/gmail/skype: - http://tanbircox.blogspot.comstdio.h conio.h
#include stdio.h conio.h ) void main() , { } main() void } return ;
) printf() ; ( ) output ) getch() output output windowmenu output
#include#includevoid main(){int a;int b;int Result;printf(First
Number:);scanf(%d,&a);printf(Second
Number:);scanf(%d,&b);Result=a+b;printf(Result=%d,Result);getch();}
: , - , ? - - , ? - - , ? - - :
- 3. Want more Updates http://facebook.com/tanbir.ebooksfacebook
/gmail/skype: - http://tanbircox.blogspot.com. :. : - : ? ?) , int
a; int b; int Result int integer () int ? - , a , b , Result ) - :
printf() :(First Number) scanf() a scanf(%d,&a); %d , int int
float %f %d &a a input ) - : printf() (Second Number:) b
scanf(%d,&b) statement %d ? b %d &b ) Result=a+b; statement
a b Result ) printf(Result=%d,Result); statement () Result=%d ,
Result= %d %d ? Result %d OUTPUT: :First Number:10Second Number:
20Result=30
- 4. Want more Updates http://facebook.com/tanbir.ebooksfacebook
/gmail/skype: - http://tanbircox.blogspot.com #include#includevoid
main(){int a,b,Result;printf(First and Second
Number:);scanf(%d%d,&a,&b);Result=a+b;printf(Result=%d,Result);getch();}
int a; int b; int Result; int int a,b,Result; printf() First and
Second Number: scanf() a b : int long int long int int -32768
+32768 long int -217483648 -2147483647 %d %ld ,
#include#includevoid main(){getch();} { } , ?
- 5. Want more Updates http://facebook.com/tanbir.ebooksfacebook
/gmail/skype: - http://tanbircox.blogspot.com :.. . ( ) . :#include
int main(){printf( I am alive! Beware.n );getchar();return 0;}:.
#include stdio.h . main(){.} , . printf( I am alive! Beware.n ); I
am alive! Beware. . n . getchar();
- 6. Want more Updates http://facebook.com/tanbir.ebooksfacebook
/gmail/skype: - http://tanbircox.blogspot.com . Tc tc c: tc bin
tc.exe c , tc.exe
- 7. Want more Updates http://facebook.com/tanbir.ebooksfacebook
/gmail/skype: - http://tanbircox.blogspot.com*..* :
http://bn.wikipedia.org/wiki/1. Keyword:
- 8. Want more Updates http://facebook.com/tanbir.ebooksfacebook
/gmail/skype: - http://tanbircox.blogspot.com
- 9. Want more Updates http://facebook.com/tanbir.ebooksfacebook
/gmail/skype: - http://tanbircox.blogspot.com
- 10. Want more Updates http://facebook.com/tanbir.ebooksfacebook
/gmail/skype: - http://tanbircox.blogspot.com
- 11. Want more Updates http://facebook.com/tanbir.ebooksfacebook
/gmail/skype: - http://tanbircox.blogspot.com/*shapes.cexample
1.1*/#include#includevoid main(){int gd=DETECT, gm;int
poly[12]={350,450, 350,410, 430,400, 350,350, 300,430, 350,450
};initgraph(&gd, &gm,
);circle(100,100,50);outtextxy(75,170,
Circle);rectangle(200,50,350,150);outtextxy(240, 170,
Rectangle);ellipse(500, 100,0,360, 100,50);outtextxy(480, 170,
Ellipse);line(100,250,540,250);outtextxy(300,260,Line);sector(150,
400, 30, 300, 100,50);outtextxy(120, 460, Sector);drawpoly(6,
poly);outtextxy(340, 460, Polygon);getch();closegraph();} :
- 12. Want more Updates http://facebook.com/tanbir.ebooksfacebook
/gmail/skype: - http://tanbircox.blogspot.com
- 13. Want more Updates http://facebook.com/tanbir.ebooksfacebook
/gmail/skype: - http://tanbircox.blogspot.comBLACK: 0BLUE: 1GREEN:
2CYAN: 3RED: 4MAGENTA: 5BROWN: 6LIGHTGRAY: 7DARKGRAY: 8LIGHTBLUE:
9LIGHTGREEN: 10LIGHTCYAN: 11LIGHTRED: 12LIGHTMAGENTA: 13YELLOW:
14WHITE: 15 http://electrosofts.com/cgraphics/index.html
- 14. Want more Updates http://facebook.com/tanbir.ebooksfacebook
/gmail/skype: - http://tanbircox.blogspot.com
http://techtunes.com.bd/tuner/tanbir_cox
http://tunerpage.com/archives/author/tanbir_cox
http://somewhereinblog.net/tanbircox
http://pchelplinebd.com/archives/author/tanbir_cox
http://prothom-aloblog.com/blog/tanbir_coxhttp://facebook.com/tanbir.coxhttp://facebook.com/tanbir.ebookshttp://tanbircox.blogspot.com