Search:

Type: Posts; User: xphoenix

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: FREAD error

    by xphoenix
    Replies
    4
    Views
    1,674

    just a way to understand what was wrong in fread,...

    just a way to understand what was wrong in fread, removed the first fopen :P
  2. Thread: FREAD error

    by xphoenix
    Replies
    4
    Views
    1,674

    ? where plz?

    ? where plz?
  3. Thread: FREAD error

    by xphoenix
    Replies
    4
    Views
    1,674

    FREAD error

    #include <stdio.h>
    #include <stdlib.h>

    // struct containing recipe
    typedef struct {
    char recipeName[40];
    char recipeHowTo[1000];
    int howManyPerson;
    int level;
    int timeToEat;
  4. Replies
    27
    Views
    3,619

    it doesnt charge the list at the start :(

    it doesnt charge the list at the start :(
  5. Replies
    27
    Views
    3,619

    ty :) i'm using the program, when i insert...

    ty :)

    i'm using the program, when i insert recipes all is ok, but when i go to see what it is inserted, i saw only the first recipe, no other inserted, why?


    #include <stdio.h>
    #include...
  6. Replies
    27
    Views
    3,619

    i got ur hint, but it doesnt run #include...

    i got ur hint, but it doesnt run


    #include <stdio.h>
    #include <stdlib.h>

    void menu();

    // struct containing recipe
    typedef struct {
  7. Replies
    27
    Views
    3,619

    @imalc can u better explain what u mean plz? ...

    @imalc can u better explain what u mean plz?

    @claudiu can u show me plz how to put that * ? i tried but always compile error... can u correct the code directly? so i can better understand

    ty
  8. Replies
    27
    Views
    3,619

    heeeelp plz

    heeeelp plz
  9. Replies
    27
    Views
    3,619

    i dont get the 3rd point, i'm following an online...

    i dont get the 3rd point, i'm following an online example can u explain be better plz?

    this is the example i'm following Guida C
  10. Replies
    27
    Views
    3,619

    when i try to use the program, i first chose...

    when i try to use the program, i first chose option 3 to insert a recipe, then i press 2 to view all recipes, but it says that it has no recipe why???



    #include <stdio.h>
    #include <stdlib.h>
    ...
  11. Replies
    27
    Views
    3,619

    great! i removed ANY \n and works... tnx a lot :D

    great! i removed ANY \n and works... tnx a lot :D
  12. Replies
    27
    Views
    3,619

    no, i tried with removing the \n but it's the...

    no, i tried with removing the \n but it's the same, i'm going to read the faq but i dont think that it depends from the new line
  13. Replies
    27
    Views
    3,619

    loool yeah i had the opposite now i noticed the...

    loool yeah i had the opposite now i noticed the error :DD

    btw i have a problem yet on this program...

    during the filling info he ask the first 2 question, accept values, and then he ask all...
  14. Replies
    27
    Views
    3,619

    my mistake is corrected!! xPtr = listPtr; this...

    my mistake is corrected!!

    xPtr = listPtr; this was the only thing i needed... not the other things... ( now it works )
    i had the contrary before...


    but i have a lil problem too
    ...
  15. Replies
    27
    Views
    3,619

    btw it says that my error is in xPtr ...

    btw it says that my error is in xPtr

    structure has no member named xPtr
  16. Replies
    27
    Views
    3,619

    sorry i'm not getting it... can't understand ...

    sorry i'm not getting it... can't understand



    #include <stdio.h>
    #include <stdlib.h>

    void menu();

    // struct containing recipe
  17. Replies
    27
    Views
    3,619

    mmm it look i put the *... where i missed it?

    mmm it look i put the *... where i missed it?
  18. Replies
    27
    Views
    3,619

    can u correct directly the code plz? i cant...

    can u correct directly the code plz? i cant understand well... i passed the head of the list to the pointer...
  19. Replies
    27
    Views
    3,619

    dont but it has error the same...

    dont but it has error the same...
  20. Replies
    27
    Views
    3,619

    Error with a pointer

    #include <stdio.h>
    #include <stdlib.h>

    void menu();

    // struct containing recipe
    typedef struct {
    char recipeName[40];
    char recipeHowTo[1000];
    int howManyPerson;
  21. Replies
    13
    Views
    1,909

    ty all :) i have c programming by...

    ty all :)

    i have c programming by deitel&deitel, but on strings and vector it really sucks:P i'm gonna reading the website u gave me :)
  22. Replies
    13
    Views
    1,909

    float getCard(float myCard, float myPoints){ ...

    float getCard(float myCard, float myPoints){
    myPoints = myCard;
    char boolcard[] = "";
    while ( strcmp(boolcard,"aa") != 0 ){
    printf("Your current points is...
  23. Replies
    13
    Views
    1,909

    float getCard(float myCard, float myPoints){ ...

    float getCard(float myCard, float myPoints){
    myPoints = myCard;
    char boolcard = "aq";
    while ( strcmp(boolcard, "aa") != 0 ){
    printf("Your current points is...
  24. Replies
    13
    Views
    1,909

    i put something there put it crash the same

    i put something there put it crash the same
  25. Replies
    13
    Views
    1,909

    95...

    95 C:\Users\Antonio\Desktop\desktop\programmazione\DEV\main es1 1.c [Warning] passing arg 1 of `strcmp' makes pointer from integer without a cast
Results 1 to 25 of 46
Page 1 of 2 1 2