- Strength to Increase Rep
- +2
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 3
- Posts with Downvotes
- 1
- Downvoting Members
- 3
Re: Look at [url=http://curl.haxx.se/]cURL[/url]. You'll need the first PHP script to be running on a web server. If you're not running a server, look at [url=http://php.net/manual/en/reserved.variables.argv.php]$argv[/url] and/or [url=http://www.php.net/manual/en/function.getopt.php]getopt[/url]. | |
Re: [QUOTE=Yupiop102;1643640]installed Wine and tried running Windows XP setup[/QUOTE] Wine is for running specific programs, not installing Windows. If there's a program you're trying to run, you just do something like "wine steaminstaller.exe" (where steaminstaller.exe can be any .exe file). You would use winesetup to configure wine (select sound options, add … | |
Re: Got a dedicated server that doesn't have 24/7 load? Put Folding@Home on it so this might be curable in the future. Didn't know Dave, but I survived a brain tumor myself and had a close friend die from one. R.I.P. | |
[url=http://cc.byexamples.com/2007/04/08/non-blocking-user-input-in-loop-without-ncurses/]code from this blog[/url] [code]int kbhit() { struct timeval tv; fd_set fds; tv.tv_sec = 0; tv.tv_usec = 0; FD_ZERO(&fds); FD_SET(STDIN_FILENO, &fds); //STDIN_FILENO is 0 select(STDIN_FILENO+1, &fds, NULL, NULL, &tv); return FD_ISSET(STDIN_FILENO, &fds); }[/code] [code]void nonblock(int state) { struct termios ttystate; //get the terminal state tcgetattr(STDIN_FILENO, &ttystate); if (state==NB_ENABLE) { //turn … | |
Re: [QUOTE=greatunknown;1177063][CODE] cout << i++ << ":" << setw(5) << "Open the program." << endl << i++ << ":" << setw(5) << "Click \"File\" and then\"New\"." << endl; [/CODE][/QUOTE] Default alignment is right (probably locale-based, but I've never used any RTL locale, so don't know), using char(32) for fill. If the … |