a valid statement??

2008-04-29 Thread jalqa...@gmail.com
In my program I have the following statements void Person::setTitle(const Glib::ustring& str) { switch ( str ) { case "None" : { title = title_t::None; break; } case "Dr" : { title = title_t::Dr; break; } .. case "Rabbi" :{ titl

what is difference_type?

2006-12-14 Thread jalqa...@gmail.com
Does anyone know what is the value of ' _Iterator::difference_type ' as it is stated in: 'std::iterator_traits' i.e. typedef _Iterator::difference_type difference_type. Thanks in advance. ___ help-gplusplus mailing list [email protected] http://list

Re: what is difference_type?

2006-12-15 Thread jalqa...@gmail.com
Thanks for your prompt response, that was very helpful. Have a good one. John V Shahid wrote: > It is the type used to represent the difference between two iterators of > the same type. Usually it is ptr_diff for regular c/c++ pointers, since > they are considered random access iterators and ther

GDB, I know, I know, off topic

2007-01-25 Thread jalqa...@gmail.com
Sorry, but I don't know where else to find C++ programmers who, without a doubt, will be able to help me with this problem. I am developing a GUI [GTKMM] under MS Window XP, and since I am not familiar with the development aspect of MSW I am having problems with the GDB. The application has a 'runt

The value returned by the 'Esc' key

2007-04-24 Thread jalqa...@gmail.com
In the statement: while((ch = getch) =! ZERO) I would like to change the value ZERO to the value returned by the 'Esc' key, but I don't know how Linux maps the keys on the key words, as you know conio.h has a macro value for each of the function keys as well as other keys. Is there something simil

A DataBase

2007-05-03 Thread jalqa...@gmail.com
Hi folks! What would be the most common database used in Linux Debian? I have an app that uses MS-Access as its database. The reason I chose Access was because it is the most common Database in the MSWin World. I would like to know if the is one in Linux Debian's Data Base? Thanks folks!

Passing some values to the parent class

2007-06-21 Thread jalqa...@gmail.com
class Base{ private: int i; char* c; public: Base(const int, const char*); ... }; class Derive : virtual public Base{ private: ... public: Derive(const int x, const char* y){ pass_vars_to_base_class (x,y);} ... }; The class above shows something

A question on 'auto_ptr'

2007-08-25 Thread jalqa...@gmail.com
I would like to pass a variable pointer that has been instantiated using 'auto_ptr' to a class method, however, the compiler complains saying that it does not recognize the method call; gives me a number of options, basically the list of overloaded methods. So my question is, what is the proper way

compiling 'make' w/o 'make' (?)

2007-11-08 Thread jalqa...@gmail.com
Now that I am trying to install Debian from a CD, I found that the network card was not supported, I read that some dude had found a driver for the NIC in a MSI-M662 laptot, I myself don't know what kind of NIC is in this machine, I am going by what the dude claims. However, after downloading the