ada
Type conversion in ada
I have a package where I convert a string to an integer with this : param: integer; begin param:= Integer\'Value(param_string);[详细]
2023-02-22 23:55 分类:问答Dump current stack in GNAT compiled Ada?
In java I use this method sometimes to see where I am in the current stack: http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Thread.html#dumpStack()[详细]
2023-02-22 08:20 分类:问答C++ vs. D , Ada and Eiffel (horrible error messages with templates)
One of the problems of C++ are horrible error messages that we are gettingfrom code which intensively uses templates and template metaprogramming. The concepts are designed to solve this problem, but[详细]
2023-02-22 05:32 分类:问答Ada Generic Averaging Function
I have a function which averages a certain numeric value from an array of records. This value is either a natural or an enumerated type delta. I have it summing up the values correctly but my question[详细]
2023-02-15 08:02 分类:问答How to finalize an Ada protected type
Given an Ada protected type: protected type A is procedure Foo; ... private M : Map; ... end A; How would you开发者_Python百科 implement or emulate a Finalize procedure that is called when[详细]
2023-02-14 16:20 分类:问答How can I check to see if a element of an array exists in Ada
How can I check the to see if an element of an array exists in Ada. Also is there any good documented site for Ada like python\'s or php\'s documentation sites, so that I can search for all the types[详细]
2023-02-10 11:59 分类:问答Ada Slicing with Strings
I\'m a long time C++ programmer learning Ada for fun.If any of the following is bad form, please feel free to point it out.I\'m trying to learn the Ada way to do things, but old habits are hard to bre[详细]
2023-02-09 06:33 分类:问答Ada entry and when statement usage
I am a newbie in Ada programming language and I am working on concurrent programming, but I am having a problem with one implementation. This might be very dummy question. The code is:[详细]
2023-02-08 04:19 分类:问答How does rendezvous work?
I am study开发者_C百科ing for an exam and am having a difficult time understanding Rendezvous. Here\'s an example I\'m looking a[详细]
2023-02-06 14:51 分类:问答How can I provoke multiple calls to Finalize?
In a recent AdaCore Gem there\'s a statement The implementation of Finalize is slightly more complicated: the Ada reference manual indicates that a Finalize procedure should always be idempotent. An[详细]
2023-02-05 08:42 分类:问答