Alright, I have just now found I have a problem with char and int. If I wanted to enter an IP like 127.0.0.1 as Int it would read it as a charecter, if i had char it would read as an Integer. How do...
Type: Posts; User: mattbbx
Alright, I have just now found I have a problem with char and int. If I wanted to enter an IP like 127.0.0.1 as Int it would read it as a charecter, if i had char it would read as an Integer. How do...
Thanks ill read. By the way... I dont complain
Hmm, im having troubble with winsock. How would I Go into programming my Program so it would be like
open socket and send string blahblahblah
Any help would be appriceated
RealityFusion, thanks but for some reason it wont compile it complains about the variables in main()
Ok i changed int to char but now the window flashes up real quick and I dont see anything
ahhhhhhhhhh i see, even a small thing matters
Thank you
There is never a no. I was horrable at math but im going at a progressave pace. If you really want to do something you work on it untill you can. Have hope, do homework, work hard and youll always...
Sorry that was a bit too fast paced for me could you simple it out?
#include <iostream.h>
#include <stdio.h>
int main()
{
int name()
{
int nam;
cout<<"Enter your name: ";
cin>>nam;
}
That explains it, The newest version is beta so it is not all complete and there are bugs, download version 4 it should work fine then.
Thanks ill try that, Stoned_coder, some of the header files arent used because the prog isnt done. :)
EDIT: I got the same error using the other code
topf=rand()%5+1;
This wont compile correctly, it says "implicit declaration of function `int random(...)'"
#include <stdio.h>
#include <math.h>
#include <iostream.h>
int main()
{
int topf;