Search:

Type: Posts; User: johnybe

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    5,713

    "Broken Pipe" issue...

    Hello...!

    I have written a programme using sockets ( Server-Client model) and while i am running the prorgamme it prints "Broken pipe"

    Do you know why i have that..? ANy recommedations?
    ...
  2. Replies
    16
    Views
    2,683

    gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)...

    gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for...
  3. Replies
    16
    Views
    2,683

    oh my god! yes... thxxx!! Open a console...

    oh my god! yes... thxxx!!



    Open a console window and type the path to your program, too.


    what do you mean?
  4. Replies
    16
    Views
    2,683

    Thx! i dont have anymore this warning... but it...

    Thx! i dont have anymore this warning... but it stills not printing my entry...
  5. Replies
    16
    Views
    2,683

    thx you all! i am writing this: #include...

    thx you all!
    i am writing this:



    #include <stdio.h>
    #include "header.h"

    struct account_info sendinfo;
  6. Replies
    16
    Views
    2,683

    ok.. then, which function should i use?

    ok..

    then, which function should i use?
  7. Replies
    16
    Views
    2,683

    what's this?

    what's this?
  8. Replies
    16
    Views
    2,683

    is gets dangerous?

    i wrote this:





    // sendinfo is a struct.

    .
    .
  9. Thread: wizzard...(!)

    by johnybe
    Replies
    10
    Views
    1,143

    thxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...

    thxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  10. Thread: wizzard...(!)

    by johnybe
    Replies
    10
    Views
    1,143

    exaclty!!! what do you mean? i wrote...

    exaclty!!!



    what do you mean?

    i wrote this, but i have the same problem..
  11. Thread: wizzard...(!)

    by johnybe
    Replies
    10
    Views
    1,143

    I just want to ensure, that the user will able to...

    I just want to ensure, that the user will able to give only these entries : 1 or 2 or 3 or 4 or 5.

    Any other entry, is not acceptable.
  12. Thread: wizzard...(!)

    by johnybe
    Replies
    10
    Views
    1,143

    ok... but it prints the message many time, as...

    ok...

    but it prints the message many time, as the characters i give.

    for example
    i give sdf
    it prints the message 3 times...

    can i avoid this?
  13. Thread: wizzard...(!)

    by johnybe
    Replies
    10
    Views
    1,143

    wizzard...(!)

    I have this:



    #include <stdio.h>

    main()
    {

    int d,choice;
  14. Thread: Check input!

    by johnybe
    Replies
    2
    Views
    1,591

    thx! it was very usefull!

    thx! it was very usefull!
  15. Thread: Check input!

    by johnybe
    Replies
    2
    Views
    1,591

    Check input!

    Hello!

    i want to check, if the user gives the right type in the input.

    For example, i want to increase a float variable, so i want the input to be a number and not a character.


    ...
  16. Replies
    4
    Views
    1,135

    well, i thought to check it with if( a==...

    well, i thought to check it with

    if( a== NULL).

    But the compiler gets:

    warning: comparison between pointer and integer


    I know that this is a warning, but how can i fix it?
  17. Replies
    4
    Views
    1,135

    check the value of the variable

    Helloo!!

    Is there a command , that tells me if a variable (int a;) has a value ?



    int a;

    main()
    {
  18. Thread: Help me ...

    by johnybe
    Replies
    8
    Views
    1,070

    ok...!! thx you tooo!!!!!!!!!!!!

    ok...!! thx you tooo!!!!!!!!!!!!
  19. Thread: Help me ...

    by johnybe
    Replies
    8
    Views
    1,070

    thx you!!!!! :) thxxxxxxxxxxxxxxxxxxxxxx

    thx you!!!!!

    :)

    thxxxxxxxxxxxxxxxxxxxxxx
  20. Thread: Help me ...

    by johnybe
    Replies
    8
    Views
    1,070

    Well, you had right!!! Thxxx!!! But now i have...

    Well, you had right!!! Thxxx!!!

    But now i have problem with this. If i want to do the same thing not for the name, but forthe account




    #include <stdio.h>

    typedef struct account_info
  21. Thread: Help me ...

    by johnybe
    Replies
    8
    Views
    1,070

    you have right.. I change it char -> char* and...

    you have right..

    I change it char -> char* and then i put %s...

    but now the exit is

    you gave (null)
  22. Thread: Help me ...

    by johnybe
    Replies
    8
    Views
    1,070

    Help me ...

    Hello@

    i have written this


    #include <stdio.h>


    struct account_info
    {
Results 1 to 22 of 22