Close
Faqja 2 prej 2 FillimFillim 12
Duke shfaqur rezultatin 11 deri 17 prej 17
  1. #11
    i/e regjistruar Maska e NORTONI
    Anėtarėsuar
    31-03-2008
    Postime
    116
    E provova dhe me nxjer te njejtin problem sa here qe e hap.Gjithsesi nese mund te me ndihmosh faleminderit shume sepse po me lodh.E kisha mare me qejf po nuk po kompiloj dot asgje
    Gjuha jone sa e mir',
    sa e embel sa e dlir......

  2. #12
    i/e regjistruar
    Anėtarėsuar
    16-11-2005
    Postime
    8,691
    ok, por jo tani se nuk kam kohe, do te kthej pergjigje neser ose pasneser.

  3. #13
    i/e regjistruar Maska e NORTONI
    Anėtarėsuar
    31-03-2008
    Postime
    116
    Kur kompiloj kodin:

    /*programi qe shtyp tungjatjeta*/

    #include

    /*shtype Tungjatjeta !/*

    void main(void)



    printf("Tungjatjeta !\n");

    }

    Kompilatori me nxjer keto errore:



    'main' must return 'int'
    in function 'int main(...)':
    syntax error before '('token
    ISO c++ forbids declaractions of 'printf' with no type
    `int printf' redeclared as different kind of symbol
    previous declaration of `int printf(const char*, ...)'
    invalid conversion from `const char*' to `int'
    syntax error before `}' token
    [Warning] no newline at end of file
    Gjuha jone sa e mir',
    sa e embel sa e dlir......

  4. #14
    i/e regjistruar
    Anėtarėsuar
    16-11-2005
    Postime
    8,691
    perveē faktit qe duhet ta deklarosh si "int main()" dhe jo "void main()"
    dhe duhet nje newline pra vije boshe ne fund te kodit,
    problemet e tjera jane te lidhura me konfigurimin e kompilatorit.

    Une ate kodin me siper e perpilova pa problem me te njejtin version qe te dhashe dhe ty.

    Kontrollo tek Preferences Compilator Options
    aty ke mundesi te konfigurosh standartet qe duhet te ndjeke perpiluesi.

    Une me sa pashe tek ambienti im i kam te gjitha ne "NO",
    tek Tools/Compilator options/ C Compiler
    te gjitha opcionet veri ne NO.
    pastaj provoje prap.

  5. #15
    i/e regjistruar Maska e Borix
    Anėtarėsuar
    17-01-2003
    Postime
    2,316
    Provo kete version:

    Kodi:
    #include
    
    /*shtype Tungjatjeta !/*
    
    int main(void)
    {
    
    
    printf("Tungjatjeta !\n"); return 0;
    }
    "The rule is perfect: in all matters of opinion our adversaries are insane." (M. Twain)

  6. #16
    i/e regjistruar Maska e NORTONI
    Anėtarėsuar
    31-03-2008
    Postime
    116
    Kur shkruaj kodin qe eshte me larte me thote:

    missing terminating > character
    Gjuha jone sa e mir',
    sa e embel sa e dlir......

  7. #17
    i/e regjistruar Maska e NORTONI
    Anėtarėsuar
    31-03-2008
    Postime
    116
    Jo kisha shkruajtur gabim kodin me larte
    Ai qe me dhe ti funksionoi faleminderit
    Gjuha jone sa e mir',
    sa e embel sa e dlir......

Faqja 2 prej 2 FillimFillim 12

Regullat e Postimit

  • Ju nuk mund tė hapni tema tė reja.
  • Ju nuk mund tė postoni nė tema.
  • Ju nuk mund tė bashkėngjitni skedarė.
  • Ju nuk mund tė ndryshoni postimet tuaja.
  •