Jump to content

[GR] programmatismos me C (EDIT)


Recommended Posts

Posted

paidia an kserei kapoios tin glossa programmatismou C as m pei pos mporo na trekso ena programma grammeno se C....

an xreiazetai kapoio prog as m dosei k ena link i na m to steilei to link se pm

ty gia tin help sas ;)

 

 

EDIT: elate re kaneis dn kserei????

Posted

codeblocks.org

katevase to ide me mingw

grapse to file s se C kai pata build (compile & link)

an xriastisteis opiadipote voithia pes edw

les na ktlve twra??? :D
Posted

to eixa katebasei auto to prog meta apo pl psaksimo sto google

omos dokimazo merika progs k pata F9 p brika se ena guide omos dn m kanei tpt ... m bgazei basika ena mnm an 8elo na kano na kano build .... ama patao anoigei ena .bat para8uro p dn exei tpt

ama patao to yes me afinei na sunexiso tin epeksergasia ....

Posted

to eixa katebasei auto to prog meta apo pl psaksimo sto google

omos dokimazo merika progs k pata F9 p brika se ena guide omos dn m kanei tpt ... m bgazei basika ena mnm an 8elo na kano na kano build .... ama patao anoigei ena .bat para8uro p dn exei tpt

ama patao to yes me afinei na sunexiso tin epeksergasia ....

Για κάνε μια επικόλληση τον κώδικα σου...
Posted

#include <stdio.h>

#include <stdlib.h>

 

int main()

{

    printf("Hello world!\n");

    return 0;

}

 

autos einai o main p eixe... sto guide p diabasa leitourgouse... dn ksero gt dn pianei se mena ....

Posted

Λειτουργεί απλά δεν προλαβαίνεις να το δείς γιατί με το που τελειώνει το πρόγραμμα, κατευθείαν κλείνει.

Απλώς τρέξτο από cmd(Έναρξη>εκτέλεση>cmd).

Posted

tecpa epeidi dn to pl katexo s dino ton kodika p m brika apo enan gnosto m k i8ela na dokimaso :

 

int recfact(int n)

{ if(!n)        / *if\n==0*/

  return 1;    / *0!=1*/

  else

      return n*recfact(n-1);/*n!=n*(n-1)!*/  }

 

8elo na m peis ti kanei an mporeis .....

Posted

tecpa epeidi dn to pl katexo s dino ton kodika p m brika apo enan gnosto m k i8ela na dokimaso :

 

int recfact(int n)

{ if(!n)        / *if\n==0*/

  return 1;    / *0!=1*/

  else

      return n*recfact(n-1);/*n!=n*(n-1)!*/  }

 

8elo na m peis ti kanei an mporeis .....

an boreis kalitera na to vazeis se code []

Den exei pause :/ Mipws kati tetoio

return 0;

enoei system("PAUSE");

 

 

  • 2 weeks later...
Guest
This topic is now closed to further replies.


×
×
  • Create New...