Type: Posts; User: parksie; Keyword(s):
Search took 0.01 seconds.
November 21st, 2002, 02:30 PM
That C++ link is fairly horrific...nobody uses 16-bit systems any more unless they *really* need to, and in that case they're usually people who have been forced to write something for it.
November 21st, 2002, 02:27 PM
I believe raw sockets are available in Win2K as well, but you have to be Administrator. IIRC, Raw sockets are enabled for any user in WinXP? *shudder* Horrible security hole...
July 21st, 2002, 11:14 PM
Some of those were valid points, but here's where I pick out the techie one ;)
Devices. I don't know what's worse, /dev or ploughing through the Win2K registry trying to find exactly what "PCI...
July 21st, 2002, 10:59 PM
Probably no limits (on a 32-bit compiler) up to around a couple of gigs, might hit problems with more than a few tens of megabytes due to memory fragmentation - after about a megabyte you're better...
July 21st, 2002, 10:16 PM
For the trouble it causes, either keep comments up to date or get rid of them ;)
Otherwise, people just end up ignoring them because they're too cynical to think they'll be of any use.
July 21st, 2002, 09:43 PM
What if they supply more than 20 characters (null terminator!)?
Easier and safer to use a string:
using namespace std;
July 21st, 2002, 08:38 PM
Thinking in C++, www.bruceeckel.com :cool:
Great stuff :)
July 21st, 2002, 08:26 PM
Not from main() you don't ;)
Somewhere in the standard, it says that if you don't have an explicit return statement, the compiler should substitute code for "return 0" at the end :D
July 21st, 2002, 06:31 PM
It should be in conio.h for the Borland compiler. There's no mention of it in Visual C++.
PS: Always use <iostream> not <iostream.h> which is the older, deprecated style.
PPS: cgkanchi -- why...
July 21st, 2002, 05:19 PM
Clear Screen: clrscr() with Borland, only way I found with VC++ was system("cls") or one of the Console functions. For Unix, look at curses.
File: I would suggest using the file streams with C++,...