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?
...
Type: Posts; User: johnybe
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?
...
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...
oh my god! yes... thxxx!!
Open a console window and type the path to your program, too.
what do you mean?
Thx! i dont have anymore this warning... but it stills not printing my entry...
thx you all!
i am writing this:
#include <stdio.h>
#include "header.h"
struct account_info sendinfo;
ok..
then, which function should i use?
what's this?
i wrote this:
// sendinfo is a struct.
.
.
thxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
exaclty!!!
what do you mean?
i wrote this, but i have the same problem..
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.
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?
I have this:
#include <stdio.h>
main()
{
int d,choice;
thx! it was very usefull!
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.
...
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?
Helloo!!
Is there a command , that tells me if a variable (int a;) has a value ?
int a;
main()
{
ok...!! thx you tooo!!!!!!!!!!!!
thx you!!!!!
:)
thxxxxxxxxxxxxxxxxxxxxxx
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
you have right..
I change it char -> char* and then i put %s...
but now the exit is
you gave (null)
Hello@
i have written this
#include <stdio.h>
struct account_info
{