Re: Is this OK in C++ and C?

2013-01-02 Thread Zbigniew Komarnicki
On Wednesday 02 of January 2013 16:00:50 you wrote: I wanted to prohibit user to assign negative value to a variable. This variable is later passed to a recurrence function as argument and of course I got segmentation fault, because the function is called 4294967291 times. I guess you

Re: Is this OK in C++ and C?

2013-01-01 Thread Zbigniew Komarnicki
On Tuesday 01 of January 2013 08:23:05 you wrote: C lessons today? (There are newsgroups for C and C++ questions, but, why not?) Yes :-) I wanted to prohibit user to assign negative value to a variable. This variable is later passed to a recurrence function as argument and of course I got

Re: Is this OK in C++ and C?

2013-01-01 Thread Zbigniew Komarnicki
On Wednesday 02 of January 2013 05:25:19 Tixy wrote: On Tue, 2013-01-01 at 11:41 -0700, Joe Pfeiffer wrote: Looking into it a bit more, I can't find a place where the C99 standard requires *any* warnings. In particular: Annex I

Is this OK in C++ and C?

2012-12-31 Thread Zbigniew Komarnicki
Is this OK or is this a bug, when the wariable 'n' is initializing by negative value? There no any warning. Is this normal? I know that value -5 is converted to unsigned but probably this should by printed a warning, when this is a constant value. What do you think about this? // prog.cpp

Re: why g++ this not compile

2012-06-20 Thread Zbigniew Komarnicki
On Tuesday 19 of June 2012 18:40:53 you wrote: There is a work a round (included for completeness). //instead of these 2 lines e.C::A::out(); e.D::A::out(); //use the following (obvious work a round for the previous 2 line, though it should be unnecessary) // C c=e; //

why g++ this not compile

2012-06-19 Thread Zbigniew Komarnicki
Hello Why this below program do not compile under g++. What is the reason, that g++ do not compile ? //-- // file: problem.cpp #includeiostream using namespace std; class A { public: void out() { cout A endl; } }; class B: public A {

Re: Problem with booting - Debian testing

2012-05-12 Thread Zbigniew Komarnicki
On Friday 11 of May 2012 14:04:59 you wrote: Have you tried to boot into Single Mode? Try to remove quiet option from your boot string and add there acpi=off or noapic. After using the option acpi=off the system boot successful. Thank you very much. Zbigniew -- To UNSUBSCRIBE, email to

Re: Problem with booting - Debian testing

2012-05-11 Thread Zbigniew Komarnicki
On Thursday 10 of May 2012 13:11:08 you wrote: Hello, Last week, I install Debian testing on my computer and everything went ok. After reboot, the system boots and stop at some point of the process. Please see the text from monitor: --- Loading,

Problem with booting - Debian testing

2012-05-10 Thread Zbigniew Komarnicki
Hello, Last week, I install Debian testing on my computer and everything went ok. After reboot, the system boots and stop at some point of the process. Please see the text from monitor: --- Loading, please wait... [ 1.817773] xhci_hcd :02:00.0: Failed to

Re: temperature

2012-03-01 Thread Zbigniew Komarnicki
On Sunday 26 of February 2012 19:40:16 Camaleón wrote: On Tue, 21 Feb 2012 19:56:20 +0100, Zbigniew Komarnicki wrote: which package to use to see the hardware temperature on AMD FX(tm)-6100 Six-Core Processor and GPU using Debian Squeeze, Linux 2.6.32-5-amd64 lm-sensors? :-) I have

Re: How to direct output into the LibreOffice Calc

2012-03-01 Thread Zbigniew Komarnicki
On Tuesday 28 of February 2012 15:06:48 lina wrote: Hi, I wonder: 1] can the output like: 5 3 1 5 3 What about 'num-utils' ? There is 'numsum'. Zbigniew -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

temperature

2012-02-21 Thread Zbigniew Komarnicki
Hello, which package to use to see the hardware temperature on AMD FX(tm)-6100 Six-Core Processor and GPU using Debian Squeeze, Linux 2.6.32-5-amd64 I use 'sensors' (first I use 'sensors-detect' to detect it) and widgets on KDE Desktop, but there no information about CPU temperature and

Re: scilab crashed

2011-03-18 Thread Zbigniew Komarnicki
On Friday 18 of March 2011 11:26:33 Chris Bannister wrote: On Thu, Mar 17, 2011 at 04:24:33PM +0100, Zbigniew Komarnicki wrote: Thank you. The problem is with atlas package. I removed all atlas packages and now scilab (and also octave, see my message: http://lists.debian.org/debian-user

Re: [Pkg-octave-devel] Octave crashed

2011-03-18 Thread Zbigniew Komarnicki
On Thursday 17 of March 2011 21:44:20 Thomas Weber wrote: It's not necessary to start a new thread, just give a short summary. I'm offline most of the time, though. So at the time I read your mail, I usually don't have net access. I have one more question: where first to signal if given

Re: [Pkg-octave-devel] Octave crashed

2011-03-17 Thread Zbigniew Komarnicki
On Wednesday 16 of March 2011 20:19:30 Thomas Weber wrote: Hi, guys, if you forward a mail from a thread to a new recipient (in this case the pkg-octave-devel list), please include *all* relevant information in the first mail. I actually thought that we received that mail in error, because

Re: spell checker in kde, in which file store new words

2011-03-17 Thread Zbigniew Komarnicki
On Thursday 17 of March 2011 12:52:22 Camaleón wrote: On Mon, 14 Mar 2011 17:12:53 +0100, Zbigniew Komarnicki wrote: where, to which file are added new words from example kwrite, kile, kate, when I add new word to dictionary in Debian Squueze under kDE? (...) If KDE uses aspell

Re: scilab crashed

2011-03-17 Thread Zbigniew Komarnicki
On Thursday 17 of March 2011 11:39:44 Camaleón wrote: (next time you can consider using www.pastebin.com or such services to send big logs...) Have you tried with Oracle's java? Or try by running it with no java (--without-javasci) and check if it crashes. Greetings, Thank you. The

spell checker in kde, in which file store new words

2011-03-14 Thread Zbigniew Komarnicki
Hello, where, to which file are added new words from example kwrite, kile, kate, when I add new word to dictionary in Debian Squueze under kDE? I couldn't find in which file the new words are added. If I add by mistake some words where I can correct it or remove it? Thank you in advance.

Re: Octave crashed

2011-03-13 Thread Zbigniew Komarnicki
On Saturday 12 of March 2011 22:56:48 you wrote: 2011/3/12 Zbigniew Komarnicki cblas...@gmail.com I do this but with no success. Thank you anyway. Zbigniew Hmm. But i dont think the problem has to do with the processor, since I am running octave in a very similar one (athlon xp 2600

Octave crashed

2011-03-10 Thread Zbigniew Komarnicki
Hello, I have a problem with octave, see the following session from octave, it is very simple (I want to compute eig(a) and then crash): --- $ octave GNU Octave, version 3.2.4 Copyright (C) 2009 John W. Eaton and others. This is free software;

Re: Octave crashed

2011-03-10 Thread Zbigniew Komarnicki
On Thursday 10 of March 2011 11:35:14 George wrote: I had the same problem, but on a non-Debian system. On my system the problem was caused by using the SSE3 atlas libraries and was fixed by installing with SSE2 libraries. Thank you for your help. I try to search atlas with sse, because my

The classic KDE mouse cursor theme in Squeeze

2011-01-24 Thread Zbigniew Komarnicki
Hi, why If I choose in KDE System Settings - Keyboard and Mouse - Mouse - Cursor Theme - KDE Classic the KDE Classic cursor theme it is not preserved after log out and also in many other applications is not preserved e.g. on Krusader, Kile etc. Do you observe also such behavior? What to do

Re: [Maxima] Bug in 'for', Maxima, Debian ?

2010-07-09 Thread Zbigniew Komarnicki
On Thursday 08 of July 2010 23:09:55 you wrote: Greetings! I know that is very old, but I try compile in Debian (Lenny) Maxima from source, but without success. First, the GCL in Debian is not compiled with ANSI standard, so, I download the latest GCL from

Re: [Maxima] Bug in 'for', Maxima, Debian ?

2010-07-08 Thread Zbigniew Komarnicki
On Wednesday 07 of July 2010 22:49:38 Raymond Toy wrote: Maybe is here somebody who will be show me and maybe others how to compile GCL from source and then Maxima from source the latest version? I think it best to ask on the gcl mailing lists for how to compile gcl. I have compiled gcl and

Bug in 'for', Maxima, Debian ?

2010-07-07 Thread Zbigniew Komarnicki
Hello, I try to write fuction that return a list of number in range [a,b] with step k, but first i try in command window this code: /* This work in command window without variables */ kill(all); m:[]; for i:0 step -3 thru 10 do (m:append(m, [i]), display(i)); display(m); Here is OK, but this

Re: [Maxima] Bug in 'for', Maxima, Debian ?

2010-07-07 Thread Zbigniew Komarnicki
On Wednesday 07 of July 2010 19:46:38 you wrote: Zbigniew Komarnicki escribió: Hello, I try to write fuction that return a list of number in range [a,b] with step k, but first i try in command window this code: /* This work in command window without variables */ kill(all); m

Re: [Maxima] Bug in 'for', Maxima, Debian ?

2010-07-07 Thread Zbigniew Komarnicki
On Wednesday 07 of July 2010 20:20:19 Raymond Toy wrote: kill(all); m:[]; for i:0 step -3 thru 10 do (m:append(m, [i]), display(i)); display(m); What were you expecting? I get m being an empty list. Empty list is OK. /* This does NOT work in command window with variables */

Re: Jadro nie widzi dysku sata I 250GB po kompilacji

2007-07-15 Thread Zbigniew Komarnicki
Mysle ze odpowiedz na twoje pytanie lezy w slowach wydaje mi sie ;) W koncu sie udalo. Rzeczywiscie przeoczylem opcje SATA nVidia. Dziekuje za pomoc :-) Pozdrowienia, Zbyszek -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: Jadro nie widzi dysku sata I 250GB po kompilacji

2007-07-13 Thread Zbigniew Komarnicki
On Thursday 12 of July 2007 23:55:35 Wojciech Ziniewicz wrote: wystarczy obsluga twojego czipsetu + twojej szyny (czipsetu) odpowiedzialnego za komunikacje SATA z systemem. pozdr. p.s. daj lspci jak nie znajdziesz rzowiązania. Wydaje mi sie, ze wlaczylem obsluga nVidia SATA, ale nadal dysku

Jadro nie widzi dysku sata I 250GB po kompilacji

2007-07-12 Thread Zbigniew Komarnicki
Witam, mam problem z widocznoscia dysku po kompilacji jadra 2.6.22.1. Dysk Sygate 250 GB, podlaczony na sata I. Czy wiecie moze jaka opcje zaznaczyc w jadrze by dysk byl widoczny (w jakiej sekcji jaka opcje). Domyslne jadro debiana 2.6.18-4 wykrywa dysk, natomiast moje po kompilacji nie.

Re: Jadro nie widzi dysku sata I 250GB po kompilacji

2007-07-12 Thread Zbigniew Komarnicki
Dnia czwartek, 12 lipca 2007 15:56, napisałeś: Witam, mam problem z widocznoscia dysku po kompilacji jadra 2.6.22.1. Dysk Sygate 250 GB, podlaczony na sata I. Czy wiecie moze jaka opcje zaznaczyc w jadrze by dysk byl widoczny (w jakiej sekcji jaka opcje). Domyslne jadro debiana 2.6.18-4

Jak nadac etykiete na przenosnym dysku

2007-06-27 Thread Zbigniew Komarnicki
Witam! Mam pytanie, jak nadac etykiete na dysku przenosnym jednej z partycji np. /dev/sda2, na ktorym mam system plikow ReiserFS? Tak aby po zamontowaniu w KDE (lub automatycznym zamontowaniu) na pulpicie pojawila sie ikona tego dysku z nazwa tej partycji np. USB-Dane? Czy mozna to zrobic bez

Re: Jak nadac etykiete na przenosnym dysku

2007-06-27 Thread Zbigniew Komarnicki
Dnia środa, 27 czerwca 2007 14:57, Krondar napisał: ... reiserfstune --label Etykieta /dev/sdxy ... Aczkolwiek prosto po tworzeniu systemu plików, więc nie wiem czy czyści dane.. czy nie. Dziekuje. Dziala super. Dane sa nietkniete. Pozdrawiam, K. Pozdrowienia, Zbyszek