ada
How to determine the modulus of a Float in Ada 95
I need to determine the amount left of a time cycle. To do that in C I would use fmod. But in ada I can find no reference to a similar function. It needs to be accurate and it needs to return a float[详细]
2022-12-23 23:46 分类:问答Why are my attempts to open a file using open for writing failing?
When I attempt to open a file to write, I get an error: Ada.IO_Exceptions.Name_Error. The procedure call is Ada.Text_IO.Open; the file name is C:\\CC_TEST_LOG.TXT. This file does not exist.[详细]
2022-12-23 23:43 分类:问答Simulating a 6-faced die in Ada-2005
I have very definitively come across the \'simulating a 6-faced die\' (which produces a random integer between 1 and 6, all outcomes are equally probable) in Java, Python, Ruby and Bash. However, I am[详细]
2022-12-22 20:13 分类:问答In Ada, why are my attempts to open a file for writing failing?
When I attempt to open a file to write to I get an Ada.IO_Exceptions.N开发者_StackOverflow中文版ame_Error.[详细]
2022-12-22 16:17 分类:问答Can i get any advantage from Athlon 64 3800 writing a concurrent program on Ada?
I\'m limited to ObjectAda 7.2 for particular reason. Do i need to 开发者_StackOverflow社区install a 64 bit OS (Win 64x in my case) to write and run such programs?Is your goal just to write multi-threa[详细]
2022-12-21 11:55 分类:问答Find character in string in Ada
Is there a simple way of checking whether a given charac开发者_运维百科ter is in a string? I know that if the string was simply a range (say \'a\'..\'z\') then I could have used the in operator, but I[详细]
2022-12-21 07:07 分类:问答How to I build a string from other strings in Ada?
I want to output a header line in a log file and then a line of \'-\' before the data. To do this I create a string of the header and then outpout the same number of \'-\'.[详细]
2022-12-19 23:49 分类:问答Crashing C++ application including ada dll does not generate core dump
How do I get a C++ application including a loaded ada shared library to generate a core dump when crashing?[详细]
2022-12-19 14:19 分类:问答Ada compilers for Linux
I\'m doing a trade study for Ada development on Linux. Do you have any good compiler/OS recommendations?[详细]
2022-12-17 12:33 分类:问答Ada/Eclipse Integration
Are there any freely available Ada plu开发者_如何学Cgins eclipse. Eclipse is my main IDE and I occasionally need to read and modify some Ada, having it all in the one IDE would be ideal.For Eclipse, A[详细]
2022-12-14 09:42 分类:问答