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() আভায পাংন। ুেযাং ফুঝরেই াযে ফু যা,

C & c+programming for beginner by tanbircox

Embed Size (px)

DESCRIPTION

 

Citation preview

  • 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