Re: Binary

1998-08-29 Thread Moshe Zadka
On Fri, 28 Aug 1998, James wrote: How do you use binary numbers in C? i'm sure i once knew... i know you prefix 0x to numbers for Hex, 0 for octal, what's binary... There is none. One of the major problems in C... -- Moshe Zadka [EMAIL PROTECTED] |(\_/) What's Yellow and

No Subject

1998-08-29 Thread falcon1
ndarad.sylvania.com, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL

Re: Binary

1998-08-29 Thread Glynn Clements
Moshe Zadka wrote: How do you use binary numbers in C? i'm sure i once knew... i know you prefix 0x to numbers for Hex, 0 for octal, what's binary... There is none. One of the major problems in C... Huh? In all of the time that I've been using C, I have never felt any need to specify

C++ in Linux

1998-08-29 Thread Hernan Berinsky
Hello!, I want to code in C++ with gcc (using cin, cout, classes, etc.), in Turbo C++ I include iostream.h, but I didn´t found it in /usr/include/.. How can I compile a C++ source? Thanks in advance! Hernan.

Re: C++ in Linux

1998-08-29 Thread Ravindra Jaju
Probably the include files are somewhere else. But you could very well write C++ programs and compile them with gcc. Only that the file extension should be .cpp .cxx etc. I seem to have no problem compiling C++ progs. On Sat, 29 Aug 1998, Hernan Berinsky wrote: Hello!, I want to code

Re: Linux C Programming

1998-08-29 Thread Ravindra Jaju
"UNIX Network Programming" - R.W. Stevens I think that's the best book for sockets, IPC et al. Jaju On Sat, 29 Aug 1998, Hernan Berinsky wrote: Hello, I´m trying to learn about Linux C prgramming, I´ve experience in C programming in other plataforms, but I ´ve not used signals,

Re: Binary

1998-08-29 Thread Henrik Nordstrom
Moshe Zadka wrote: OK, I want the first and fourth bit of a byte (cause the flags there matter to me, say) x0x9 can be used, but x0b1001 seems a bit clearer. I prefer having flags defined.. /* Some hypotetical flags for a device called RTB */ #define RTB_FLAG_AAB(10) #define

Re: Linux C Programming

1998-08-29 Thread R. Brock Lynn
Hernan Berinsky wrote: Hello, I´m trying to learn about Linux C prgramming, I´ve experience in C programming in other plataforms, but I ´ve not used signals, sockets, process, etc. Could you recommend me a book or an Internet site to download a good tutorial? Thanks in advance!

A CVS question

1998-08-29 Thread Mojahedul Hoque Abul Hasanat
I am new to CVS. I committed a few changes. Now I want to revert the changes and go back to a tagged revision. Of course I can checkout that release and work on it. But what I want is to rollback the commits, and bring the repository to the previous state. In other words, I want to remove any