I have tested the code on two other computers. My friend's computer had the same problem, but on a computer at my high school, another computer on the same network could access the site.
Here is...
Type: Posts; User: madmardigan53
I have tested the code on two other computers. My friend's computer had the same problem, but on a computer at my high school, another computer on the same network could access the site.
Here is...
I connect to the Internet through a cable modem from Charter. The IP I get from whatismyip.org is the same as what I get through ipconfig, which is 66.214.2.99.
I see what you mean about acceptNext not returning anything. However, this would not solve my problem. I do not know what you mean by "external IP address" or "forward port 80 to [my] local...
I am coding a webserver. At this moment, all the program does is accept connections on Port 80 and print out something to the console every time a connection is made.
#include<windows.h>...
XSquared's link was helpful. Thank you for your help.
I am attempting to create an HTTP server in C++. Right now, the program only accepts a connection on port 80 and displays recieved text. When I run the program and type "[my IP]/index.html" into...
I realize now that debugging is the solution to my problem.
I just realized that I do not need what I said I need. What I really need is a way to read and manipulate data in the child process.
From what I read on MSDN, it seems that the child process would have to call a hooking function. For what I want to do, I do not wish to modify the child process.
I need the input(keypresses, mouseclicks, etc.) and output (to a DC, etc.) redirected to the parent.
As far as I know, Stdin and Stdout refer to handles of the console.
How do I redirect child process I/O in a Win32 application? MSDN only covers console-mode redirection.
When I use the SetPixel function w/ dev-cpp, it gives me a linker error. The SetPixel prototype is in wingdi.h.
I added the & and the code now works-thx.
I wish to create a class for self-extracting setup files, but this code creates a stack overflow error, which I realize indicates lack of memory; how should I remedy this problem w/out sacrificing...
#include<func.h>
int main(int argc,char*argv[])
{
cout<<"laj\n";
gotoxy(1,1);
cout<<"f";
getch();
return 0;
}
/*Output:
dev-cpp
this also occurred when i attempted to change textcolor
#include<func.h>/*already includes conio.h*/
int main(int argc,char*argv[])
{
cout<<"laj\n";
gotoxy(1,1);
cout<<"f";
getch();
return 0;
}
/*Desired Output:
'\v' neither went up nor down one line.
I wish to output something, then a line break, then go back to the previous line to edit it.
#include<func.h>/*contains iostream & some of my own functions*/
int main(int argc,char*argv[])
{
cout<<"yo\n"<<'\v'<<'h';
getch();
return 0;
}
/* Output:
yo
(mars)h
I know that (char)8 is backspace, 13 is carriage return, and 10 is line break, but what is the ASCII equivalent of going up a line?
This now works:
#include <iostream.h>
#include <stdlib.h>
#include <time.h>
int fill_array(int array[][5],int low_dimension1,int low_dimension2,int high_dimension1,int high_dimension2,int...
I wish to define a random integer to an array or part of an array, then display it, but this does nothing.
#include <iostream.h>
#include <stdlib.h>
#include <time.h>
int fill_array(int...