First  |  Prev |  Next  |  Last
Pages: 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
Ada Hash
I need to use a hash table to store data using an integer as the key. I would like to use Ada.Containers.Hashed_Maps. Is there a default hash function for an integer that I can supply to the instantiation and could somebody provide a quick sample piece of code to do this? ... 29 Apr 2007 19:00
Hiding details and protected types
Hi, Let's say there is a protected type: protected type PT is procedure P; private A : T; end PT; where T is some type that is really an implementation detail of PT. It is not possible to declare this type in the private part of the protected type (why?), so it has to be declared outside PT: ... 24 Apr 2007 17:57
Wide Character Problem in Ada.Numerics
Hi, I'm new here and to Ada. I'm having a problem compiling code using greek letters as identifiers. The problem arises when I need to use the Ada.Numerics package. My source code is UTF-8, and I'm entering the characters using a greek keymap in vim. I'm using gnat/ gcc-4.1 and the -gnatiw and -gnatW8 switches.... 27 Apr 2007 15:25
Medical instruments don't use Ada
A technical recruiter for the medical devices industry told me a few months ago he had never even heard of Ada. He's been recruiting in the medical industry for 25 years. He operates near the west coast of the U.S. I was curious if you folks knew of any Ada driven medical devices - and in what country such devel... 26 Apr 2007 10:05
unifying arrays and records (was Re: Rational for not making cursor tagged in Containers)
"Randy Brukardt" <randy(a)rrsoftware.com> writes: The better question is why there are arrays at all. A homogeneous container is by definition more limited than a heterogeneous one. So, the ideal language would find a way to completely unify arrays and records. Perhaps the array syntax would have to remain, b... 21 Apr 2007 01:00
String literals and wide_string literals - how?
"Robert A Duff" <bobduff(a)shell01.TheWorld.com> wrote in message news:wccbqhjw0we.fsf(a)shell01.TheWorld.com... .... String literals are not necessarily of type String; they can be of any "string type". A string type is any one-dimensional array of some character type. You can even do weird things like this: ... 24 May 2007 17:11
Book for Learning Ada
Hello, I am wondering what people recommend when it comes to learning Ada? I know that Ada 2005 is around now so what do people advise? Learning Ada 2005 or Ada 95? Most importantly I'm looking for a book that is good. I am at the end of my 2nd year in college for Computer Science so I am decent with a few l... 4 May 2007 12:05
ANN: Strings edit v1.8
The software provides string editing based on a different from Text_IO concept. It supports formatting strings I/O for: - Integer numbers (generic, package Integer_Edit); - Integer sub- and superscript numbers; - Floating-point numbers (generic, package Float_Edit); - Roman numbers (the type Roman); - Strings; ... 20 Apr 2007 09:54
Rational for not making cursor tagged in Containers
I enjoy using the prefixed (object) notation when and where ever I can. However, when it comes to Containers, I can not use this notation on cursor because it is not tagged. It seems that it is not balanced between Container types and its cursors. I just want to know what rationale behind it for not making curso... 29 Apr 2007 04:52
Where is TASH, the Tcl/Tk binding?
Where is TASH, the Tcl/Tk binding? Actually, I have the binding and they are working for me (Mac OS X) but all of the links that I've found to TASH have gone stale. I'm just wondering (a) if there is documentation that I could benefit from and (2) has this project gone quiet and I shouldn't use it? Thanks, Jerr... 19 Apr 2007 17:39
First  |  Prev |  Next  |  Last
Pages: 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94