thanks, its sort of working now, thanks A LOT :D
Type: Posts; User: the_jugl3r
thanks, its sort of working now, thanks A LOT :D
I can't get this working :( arrgggggggghhhhhhhhhhhhhhhhhhh
I have to recieve one char at a time, and then when i get a newline compar what i got with the password so how could i use idnumber[0] :rolleyes: Hmm
and i can't compare idnumber[500] with a '\n'
so that means i would ave to get 1 char then put that char into idnumber then use like i++ thing
then compare it
:(:confused: :( :mad:
I did everything you said and it doesn't work
when i use
char idnumber[500];
my program recieves one char then closes connection, so that won't work
Arggggghhhhhhhhhhh
i don't get an error, sorry, it just crashes and asks if i want to send an error report to Micosoft
haha
This is what the debugger thnig said
'An Access Violation (Segmentation Fault) raised...
hehe, i need help, this code compiles on Dev-C++ but when i am running it i get an error, when i recieve the pass attempt thing
#include <iostream>
#include <fstream>
#include <winsock2.h>...