Thanks for the quick replies
Works great now! :D
Type: Posts; User: digitaltsai
Thanks for the quick replies
Works great now! :D
Is there some method to combine all these steps?
char char2num[10];
char2num[0] = '0';
char2num[1] = '1';
char2num[2] = '2';
char2num[3] = '3';
char2num[4] = '4';
does anyone know how i can make firefox always use port 21 as the incoming port?
Ah, found out what it does
It just does this in PHP
<?php
md5($key . $password . "AOL Instant Messenger (SM)");
?>
Adds the strings together then does md5 crap on it all combined
Can someone please explain to me what this means
It would be nice if someone could translate it to PHP
PHP only has a md5() function
#define AIM_MD5_STRING "AOL Instant Messenger (SM)"
...
Works now, thanks!
Tried it and didn't work
I should probably add that my control resource thing is this:
CHECKBOX "Auto", IDC_CHK_AUTO, 6,49,150,9
I have a dialog box with a check box
When the user clicks on the checkbox, it does not check. Why? I noticed that if I make the code check a different checkbox than the one thats being clicked, it...
doh! I should have listened the first time to the suggestion of including windows.h
I thought you were refering to something like main.h
Thanks, it works perfectly now! :D
defining IDC_STATIC does save some futures problems. Right now though, I still keep getting syntax error on this line (its highlighted when I try to compile it):
STYLE DS_MODALFRAME | WS_POPUP...
What is the proper syntax for this?
IDD_ABOUT DIALOG DISCARDABLE 0, 0, 239, 66
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "My About Box"
FONT 8, "MS Sans Serif"
BEGIN
...
You want to include the count++ in the IF where the grade is less than 101. You would use brackets.
http://www.cprogramming.com/tutorial/lesson2.html
You are doing count++ regardless of whether the grade is valid or not.
I wasn't planning to write a complete web browser, just seeing how to write a program which can send and receive data to and from other computers.
I'll stop working on this now since its not for...
I found the problem!
This is kind of dumb, since Tonto made a statement about the recv buffer not being null-terminated. I did not know what a string not being null-terminated meant before so I...
Is there a tutorial on how to program in both Linux and Windows? I do not even know how to have a form for users to input variables and stuff. Where can I learn all this?
buffer of the recv
It give me back the correct stuff, then a 0, then repeats part of the correct stuff again. <-all this is in the last buffer
How do I set the temporary buffer in the receive to be the size of the incoming data?
[edit]
Nevermind, figured that it doesn't matter
Now I just have to figure out why the last buffer is so...
O bleh.
I meant to put quotes around that
the include iostream works!
I don't see why we need to include all these files. Why not just include like one file that is a combination of everything?
Wow! Thanks, now I am finally getting some results! :D
I didn't even know I was just writing in pure C -.-
Unfortunately, since I am kind of a beginner to C, I do not really understand your...
I am trying to create a simple web browser, but I have not found any tutorials. I have read a socket tutorial (but it is not on creating a web browser), and the code I give below is what I have come...