thanx man.. i will give it a try again soon.. you have been a great help.. right now im having a bad day at work :( so.. i sure hope i can get this working when i get home
Type: Posts; User: xlordt
thanx man.. i will give it a try again soon.. you have been a great help.. right now im having a bad day at work :( so.. i sure hope i can get this working when i get home
Ok i got it working now.. :) thanx.. mind for one more questions..
what im tring to do.. is once they have inputed the wrong, numbers or letters... i what the programm to show me the letter or...
hehe that must of been my post :)
hey guys.. thanx for the reply.. I have done what you told me to do but i keep getting the WRONG part of my code.. can anyone tell me what im doing wrong?
int main( )
{
int index;
int ...
Ok what i want to start coding is a program that will open a file for reading.. so that i can compare it with the users inputs...
the user will be able to enter upto 256 char's.. but im a bit...
=) i will be back you will see!
heh... wtf... im getting flamed by a punk ass $$$$$?
and gayol???? $$$$ you for one i dont use gayol
for 2 c is the only lang i dont know yet... for 3 STFU YOU GOOD FOR NOTHING HORSE $$$$!
hammer its not me.. i tried telling them that what is the diffrence.. but.. i get a reply back like this "Because on windows we will be coding other stuff that you can't code on linux" so i was...
I kinda understand pointers after reading and reading... i know that pointers allocate memory spaces for type blah.. etc
but.. there is one thing that i dont understad..
why is it that on some...
these aswhipes protect m$ i dont know why.. but.. i heh it sux.. but anyways... what im doing is.. im coding it in linux.. then porting it to win.. double work.. but its better then an f ... i had to...
heh sux.. i whent back to windows... cause my class teach wont let me code in linux.. else i would of =( but.. anyways.. its true of what you said.. maybe while its still simple i probably still can...
=( thanx.. then this means that i should go back to linux :(
Are there something like man page's for windows?
Ya i know.. i got that part working.. i was just getting an error before.. but i realized what i was doing wrong =) thanx anyways
nm lame questions sorry.. thanx =) im just tring new things out.. for better coding
how can i use the switch statment for char's
is this valid.. i mean.. it doesnt really work.. but can i code something like this
struct modes {
char *sbuf;
};
int main( int argc, char *argv[] )
{
Ok i created this irc bot( finaly got it working ) but i have one problem... when i want to get a certain input let's say.. hey
then i want it to say you, but for some reason i have to send this ...
thank you.. i get it now =) ( well better then before )
i didnt understand not a word you just said hehe
anyways.. take this for example
static char textBuffer[1024];
va_list args;
va_start(args, words);
...
what is that static used for.. and when is a good time to use it?
thank you hammer that worked.. but.. now i realized that gethostbyaddr does not recognize irc address..
anythin i can readup for this?
ya it has to be my code.. cause.. i ran nslookup and it works... heh here is my hole code, see what im tring to do is.. let the users input the ipaddres( irc for now ) to connect to (argv[1] as you...
Im tring to get the hostname of argv[1] but i keep getting an error
gethostbyname:: unknown host
mysock.sin_family = AF_INET;
mysock.sin_port = htons( MYPORT );
...
Ya in a way your right.. but.. when i post something that i get from a book.. to test it out.. and it doesnt work.. i get questions like... why you do that ... why you did this... :( kinda...