C & c+programming for beginner by tanbircox
14
Want more Updates http://facebook.com/tanbir.ebooks facebook /gmail/skype: - http://tanbircox.blogspot.com আনায ই”ফু ক ফা pdf রযডারযয Menu Bar এয View অনরি তে রিক করয Auto /Automatically Scroll অনরি ররর কন (অথফা যারয তমরে Ctrl + Shift + H )। এফায ↑ up Arrow ফা ↓ down Arrow তে রিক করয আনায ড়ায ু রফধা অনুারয র ীড রিক করয রনন। রভড তররবর বালা রররফ র একরি জনরিয় ফর ফযফে বালা। উরযয বালা রায ররড় রররফ রা িরোন ভূর র তখারনা য়। কর তিাগারভয রবরিই র র । োই ফু যা, র তক জবারফ উান কযাই আভায ভূর রয। তোভযা মরি আভায তরখা একি ু ভন:তমাগ রিরয় ড় এফং একি ু ক করয অনুীরন কয েরফ তোভযা রনরজয ভুরখই একথা ীকায কযরফ এফং অফাক রফ তম, র এে জ ! চররা ফু যা এফায তথরকই করয । আভযা এভনবারফ কযফ তমন রজই ফুঝরে ারয তকান তেিরভ তকন ফযফে য় ? রনরচয তিাাভরি রয কয : #include<stdio.h> #include<conio.h> void main() { printf(‚This is my first c programming‛); getch(); } Output: তিাাভরি যান কযরর রনরনা পরাপর তাায়া মারফ: This is my first c programming ভূর ফণনা : ১) আভযা রেই তিখরে ারি #include<stdio.h> এফং #include<conio.h> রিরয় কযা রয়রে। এখারন stdio.h এয ূনণ র standard input output header file এফং conio.h এয ূণ র control input output header file . এখন ি র এররা তকন ফযফায কযফ ? আিা োরর একিা গ তান। এয ভরধযই উিযরি যরয়রে। একজন তরাক গ রকনরফ। এখন গয ভারররকয কারে রগরয় তরাকরি ফররে, বাই আভায একরি গ রকনরে রফ । এখন আরন মরি আনায গরি আভায কারে রফরি করযন োরর আভায উকায ে। গয ভাররক গরি রফরি কযায রা রনরয় ফরর- রিক আরে আরন ঐ ভারি রগরয় গরি তিরখ আু ন, তিরখন আনায ে য় রকনা? তরাকরি ফরর- তখারন তো অরনক গ আরে । আরভ রচনরফা রকবারফ তকান গিা আনায । গয ভাররক ফরর- আভায গয ভাথায় ািা করয়করি ভ আরে আয াযা যীরযয তরাভ কাররা। তরাকরি োরক ধনযফাি জারনরয় চরর তগর । এখারন তরাকরি র কাইরায, তম তিাাভরি যীা কযরফ তকাথা বু র আরে রকনা । stdio.h এফং conio.h র গয ভাররক। stdio.h ফররে printf() আভায পাংন এফং conio.h ফররে getch() আভায পাংন। ুেযাং ফুঝরেই াযে ফু যা,
-
Upload
-useful-bangla-e-books -
Category
Education
-
view
568 -
download
12
description
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