Re: C++: a constructor can not operate on a private static map object?

2002-04-04 Thread Oleg Goldshmidt
Gold Edward [EMAIL PROTECTED] writes: Regarding Oleg Goldshmidt message quoted bellow   Look, I really did not want to get bogged down in a flame war like the ones that (saddly) errupted here and there on this list. No one flamed anyone. I suggested staying away from Schildt's books, and

winex

2002-04-04 Thread Tzahi Fadida
Hi, I hope its not ot, a friend asked me if he can run games specifically starcraft on linux, since he wish to ditch windows. i searched the net and came across winex. my question is, how well it works by measure of: performance. stability. and also, if it comes ready to work with the redhat

c question

2002-04-04 Thread Erez Doron
hi I'm programming in c, and crearing a progress bar i.e : while(!done) { .. .. printf(#) .. .. } the problem is that printf does not sync it's buffers until a newline so no progress bar is displayed until the job ends. how do i solve this ?

Re: c question

2002-04-04 Thread Sagi Bashari
From: Erez Doron [EMAIL PROTECTED] the problem is that printf does not sync it's buffers until a newline so no progress bar is displayed until the job ends. how do i solve this ? Try fflush(stdout); Sagi = To unsubscribe,

RE: c question

2002-04-04 Thread Omer Musaev
-Original Message- From: Sagi Bashari [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 12:39 PM To: Erez Doron; ilug Subject: Re: c question From: Erez Doron [EMAIL PROTECTED] the problem is that printf does not sync it's buffers until a newline so no progress

Re: c question

2002-04-04 Thread Erez Doron
thanks to all who replied i mistakfully tried fsync instead of fflush fflush solved my problem erez. On Thu, 2002-04-04 at 13:39, Sagi Bashari wrote: From: Erez Doron [EMAIL PROTECTED] the problem is that printf does not sync it's buffers until a newline so no progress bar is displayed

Re: Slightly OT: yellow pages blocks our browsers

2002-04-04 Thread Dan Kenigsberg
On Thu, Apr 04, 2002 at 01:02:13AM +0300, Herouth Maoz wrote: [...] I intend to sent the complaint not just to YP themselves, but also to some newspapers. I don't know, Captain Internet, y-net, whatever. FWIW, I intend to protest against this braindead restriction, do you have a

Re: c question

2002-04-04 Thread Nadav Har'El
On Thu, Apr 04, 2002, Omer Musaev wrote about RE: c question: Instead of using buffered output and flushing it on every char, you can use raw output. .. --- write(1, #, 1 ) ; /* man write(2) */ sleep( 1 ) ; This is getting into

Re: Slightly OT: yellow pages blocks our browsers

2002-04-04 Thread Nadav Har'El
On Thu, Apr 04, 2002, Dan Kenigsberg wrote about Re: Slightly OT: yellow pages blocks our browsers: They claim they can be reached on [EMAIL PROTECTED], or by phone 03-753. The email doesn't work: Date: Thu, 4 Apr 2002 13:42:13 +0200 From: System Administrator [EMAIL PROTECTED] To:

Re: Slightly OT: yellow pages blocks our browsers

2002-04-04 Thread Yotam Rubin
On Thu, Apr 04, 2002 at 02:29:48PM +0300, Dan Kenigsberg wrote: On Thu, Apr 04, 2002 at 01:02:13AM +0300, Herouth Maoz wrote: [...] I intend to sent the complaint not just to YP themselves, but also to some newspapers. I don't know, Captain Internet, y-net, whatever. FWIW, I

Re: Slightly OT: yellow pages blocks our browsers

2002-04-04 Thread Sagi Bashari
From: Nadav Har'El [EMAIL PROTECTED] On Thu, Apr 04, 2002, Dan Kenigsberg wrote about Re: Slightly OT: yellow pages blocks our browsers: They claim they can be reached on [EMAIL PROTECTED], or by phone 03-753. The email doesn't work: They have a feedback form at

Re: Slightly OT: yellow pages blocks our browsers

2002-04-04 Thread mulix
On Thu, Apr 04, 2002 at 03:16:32PM +0300, Yotam Rubin wrote: P.S.: Fellas, RTFH (Headers), do not CC me on list replies. It clogs up my spool and serves no useful purpose. man procmailex | col -b | vi - /duplicates -- The ill-formed Orange Fails to satisfy the eye:

Re: Slightly OT: yellow pages blocks our browsers

2002-04-04 Thread Nadav Har'El
On Thu, Apr 04, 2002, mulix wrote about Re: Slightly OT: yellow pages blocks our browsers: On Thu, Apr 04, 2002 at 03:16:32PM +0300, Yotam Rubin wrote: P.S.: Fellas, RTFH (Headers), do not CC me on list replies. It clogs up my spool and serves no useful purpose. man procmailex |

Re: Slightly OT: yellow pages blocks our browsers

2002-04-04 Thread Yotam Rubin
On Thu, Apr 04, 2002 at 03:28:57PM +0300, mulix wrote: On Thu, Apr 04, 2002 at 03:16:32PM +0300, Yotam Rubin wrote: P.S.: Fellas, RTFH (Headers), do not CC me on list replies. It clogs up my spool and serves no useful purpose. man procmailex | col -b | vi - /duplicates I already

Re: Slightly OT: yellow pages blocks our browsers

2002-04-04 Thread Yotam Rubin
On Thu, Apr 04, 2002 at 03:42:44PM +0300, Nadav Har'El wrote: On Thu, Apr 04, 2002, mulix wrote about Re: Slightly OT: yellow pages blocks our browsers: On Thu, Apr 04, 2002 at 03:16:32PM +0300, Yotam Rubin wrote: P.S.: Fellas, RTFH (Headers), do not CC me on list replies. It clogs up

lost and found

2002-04-04 Thread Matitiahu Allouche
Excuse the non-technical posting, but it is Linux-related, sort of. At the meeting of the Jerusalem Linux Club which took place a few days before Pessah at the IBM office in Jerusalem, somebody forgot a gray pull-over. The owner is hereby invited to contact me by e-mail or by phone (see

RE: c question

2002-04-04 Thread Iftach Hyams
It has nothing to do with C (except the fact that most of the O.S. I know has API is in C). It has to do with the implementation by the OS + runtime library of the printf and stderr. Anyhow, fputc is your friend. It doesn't solve your problem but is more likely to use when writing single non

Re: c question

2002-04-04 Thread Nadav Har'El
On Thu, Apr 04, 2002, Iftach Hyams wrote about RE: c question: It has nothing to do with C (except the fact that most of the O.S. I know has API is in C). It has to do with the implementation by the OS + runtime library of the printf and stderr. This is not true. The standard IO library

Re: winex

2002-04-04 Thread Ely Levy
winex needs wine, in general the new version suppose to be stable but I suggest waiting for wine 1.0 before really moving.. Ely Levy System group Hebrew University Jerusalem Israel On Thu, 4 Apr 2002, Tzahi Fadida wrote: Hi, I hope its not ot, a friend asked me if he can run games

Re: c question

2002-04-04 Thread Oleg Goldshmidt
Nadav Har'El [EMAIL PROTECTED] writes: I'm not sure, however, whether stdout's default buffering (see my previous email) is mandated in the standard (Harbison Steele and Kernighan Ritchie are very vague on this issue). I doubt that buffering is specified in ANSI C. It is more likely to be

[C++] What is wrong with mapstring, string ?

2002-04-04 Thread Shaul Karl
Attached a short program and a longer compilation output. If I understand it correctly then the type mapstring, string is not acceptable. But why? The compilation output mentions `reference to reference'. Can you elaborate on this or do these 3 words say it all? Is this up to me or is

Re: c question

2002-04-04 Thread Shlomi Fish
On Thu, 4 Apr 2002, Nadav Har'El wrote: On Thu, Apr 04, 2002, Omer Musaev wrote about RE: c question: Instead of using buffered output and flushing it on every char, you can use raw output. .. --- write(1, #, 1 ) ; /* man write(2)

Re: c question

2002-04-04 Thread Nadav Har'El
On Thu, Apr 04, 2002, Shlomi Fish wrote about Re: c question: When I worked in Smart-Link and asked a more experienced fellow programmer how I can, in the Win32 RTL, convert an open() filehandle to its Windows HFILE equivalent, he told me that mixing IO for two different kinds of handles is

Re: c question

2002-04-04 Thread mulix
On Thu, Apr 04, 2002 at 06:00:36PM +0300, Shlomi Fish wrote: write(1, World!\n, 7); please use fileno(stdout). daemon writers everywhere will thank you. -- The ill-formed Orange Fails to satisfy the eye: http://vipe.technion.ac.il/~mulix/ Segmentation fault.

Re: c question

2002-04-04 Thread Nadav Har'El
On Thu, Apr 04, 2002, mulix wrote about Re: c question: On Thu, Apr 04, 2002 at 06:00:36PM +0300, Shlomi Fish wrote: write(1, World!\n, 7); please use fileno(stdout). daemon writers everywhere will thank you. You're right about the existance of the fileno() function, but I'm not

Re: c question

2002-04-04 Thread mulix
On Thu, Apr 04, 2002 at 06:17:16PM +0300, Nadav Har'El wrote: On Thu, Apr 04, 2002, mulix wrote about Re: c question: On Thu, Apr 04, 2002 at 06:00:36PM +0300, Shlomi Fish wrote: write(1, World!\n, 7); please use fileno(stdout). daemon writers everywhere will thank you.

Re: [C++] What is wrong with mapstring, string ?

2002-04-04 Thread Oleg Goldshmidt
Shaul Karl [EMAIL PROTECTED] writes: Attached a short program and a longer compilation output. If I understand it correctly then the type mapstring, string is not acceptable. But why? The compilation output mentions `reference to reference'. Can you elaborate on this or do

Re: c question

2002-04-04 Thread Nadav Har'El
On Thu, Apr 04, 2002, mulix wrote about Re: c question: On Thu, Apr 04, 2002 at 06:17:16PM +0300, Nadav Har'El wrote: stdout = fopen(/my/logging/file); stderr = fopen(/my/other/logging/file); Ok, I get your point. I don't remember seeing any program doing something like that, but

Re: c question

2002-04-04 Thread mulix
On Thu, Apr 04, 2002 at 06:47:13PM +0300, Nadav Har'El wrote: On Thu, Apr 04, 2002, mulix wrote about Re: c question: On Thu, Apr 04, 2002 at 06:17:16PM +0300, Nadav Har'El wrote: stdout = fopen(/my/logging/file); stderr = fopen(/my/other/logging/file); Ok, I get your point. I

Re: c question

2002-04-04 Thread Shachar Shemesh
Just wanted to quote an amuzing experience I had in the single haifux club meeting I attended. I made a comment about something only working on Linux, and having to use X in order to make it Unix compatible, and got bemused looks from everyone around me saying This is a Linux meeting. Sigh.

Re: c question

2002-04-04 Thread mulix
On Thu, Apr 04, 2002 at 06:03:40PM +0200, Shachar Shemesh wrote: Just wanted to quote an amuzing experience I had in the single haifux club meeting I attended. I made a comment about something only working on Linux, and having to use X in order to make it Unix compatible, and got bemused

RE: [C++] What is wrong with mapstring, string ?

2002-04-04 Thread Omer Musaev
-Original Message- From: Shaul Karl [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 4:57 PM To: [EMAIL PROTECTED] Subject: [C++] What is wrong with mapstring, string ? Attached a short program and a longer compilation output. If I understand it correctly then the

Re: winex

2002-04-04 Thread Hetz Ben Hamo
Needs wine? it is a version of wine ;) As for stability and performance - it's MUCH better then the standard Wine. Of course - it's a commercial release - so you'll need to subscribe at least for a month ($5) in order to download it. The CVS version of WIneX doesn't have the copy protection

RE: winex

2002-04-04 Thread Tzahi Fadida
It seems though, that you can download the source code (winex) and compile it yourself without the need to subscribe (and end up with the same result of the prepackaged deal, with ms*.dll,etc..). Did i understand that correctly? and how hard will it be to compile? or are there rtfms for that

Re: winex

2002-04-04 Thread Hetz Ben Hamo
On Thursday 04 April 2002 09:49 pm, Tzahi Fadida wrote: It seems though, that you can download the source code (winex) and compile it yourself without the need to subscribe (and end up with the same result of the prepackaged deal, with ms*.dll,etc..). Did i understand that correctly? and how

DMCA, SSSCA/CBDTPA related laws in Israel?

2002-04-04 Thread Omer Zak
1. Is there anyone with legal background and familiarity with the lawmaking work in the Knesset, who can tell us if there is any risk that laws like the DMCA or SSSCA/CBDTPA will be enacted in Israel? 2. Are there any international treaties, to which Israel is signatory, which require

Re: DMCA, SSSCA/CBDTPA related laws in Israel?

2002-04-04 Thread Shachar Shemesh
Omer Zak wrote: 1. Is there anyone with legal background and familiarity with the lawmaking work in the Knesset, who can tell us if there is any risk that laws like the DMCA or SSSCA/CBDTPA will be enacted in Israel? 2. Are there any international treaties, to which Israel is signatory,

Re: DMCA, SSSCA/CBDTPA related laws in Israel?

2002-04-04 Thread Omer Zak
Hello Shachar, It's great that you agree to contribute some of your time to this important cause instead of just sitting on your hands. I believe that the first step is to assess the current situation. The biggest threats to intellectual freedom in Israel come from the following directions: 1.

Re: DMCA, SSSCA/CBDTPA related laws in Israel?

2002-04-04 Thread Nadav Har'El
Given the political question, the answer was bound to be political too, so people who are sensitive about that, please pass on to the next posting... Thanks you. On Thu, Apr 04, 2002, Omer Zak wrote about DMCA, SSSCA/CBDTPA related laws in Israel?: 1. Is there anyone with legal background and

Re: winex

2002-04-04 Thread Diego Iastrubni
On Thursday 04 April 2002 12:29, Tzahi Fadida wrote: p.s: if any1 plays starcraft, can u tell me if you can play it on the internet with the winex? starcraft runs perfectly on wine. just compile --enable-opengl. i use an empty windows/system directory and the game works off the box (where the

haifux lectures (was: Re: c question)

2002-04-04 Thread guy keren
On Thu, 4 Apr 2002, mulix wrote: all too true, however, i doubt you'll find many haifux members on that particular list of people. oh, i think i can name at least one :) looking at the list of last ten lectures, i would classify 5 as linux specific, although in a broad sense of the word,

Re: KDE 3 on MDK 8.1, 8.2

2002-04-04 Thread Hetz Ben Hamo
Here's a fast answer - they screwed in the first time - wait few more days (and check the RPM dates!) for a new RPMS... I informed them Tal's problem with kpersonalizer and the arts problem (no sound)... Maybe the 2nd time they'll make it work - I'm using RH 7.2 RPMS here and it works

Re: KDE 3 on MDK 8.1, 8.2

2002-04-04 Thread Diego Iastrubni
On Friday 05 April 2002 02:24, Hetz Ben Hamo wrote: Here's a fast answer - they screwed in the first time - wait few more days (and check the RPM dates!) for a new RPMS... I informed them Tal's problem with kpersonalizer and the arts problem (no sound)... Maybe the 2nd time they'll make it