Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Easy translation in ada.
Can anyone translate this pseudocode in Ada :) ?  I made it in C++, but
having no documentation or reference on ada, it would be really nice if some
could spare 10 min of their life :)

I have to rewrite this pseudocode in Ada
///////////
k= (j+13)/27
loop: if k>10
then goto out
k=k+1
i=j+k-1
goto loop
out:

Ada
///////////????










in C++
//////////////
void main(){
int k=0, i=0, j=0;

k=(j+13)/27;

while(true){
if(k>10)
break;//goto out;
k=k+1;
i=j+k-1;
}
}



Report this thread to moderator Post Follow-up to this message
Old Post
news.videotron.ca
11-19-04 08:56 PM


Re: Easy translation in ada.
"news.videotron.ca" <ada@ada.com> wrote in message
news:BYpnd.60618$De5.765695@wagner.videotron.net...
> Can anyone translate this pseudocode in Ada :) ?  I made it in C++, but
> having no documentation or reference on ada, it would be really nice if
> some
> could spare 10 min of their life :)

I doubt you'll be able a lot of support (plenty of sympathy though) if you
ask this question in comp.lang.apl. I browsed through an ADA manual a while
ago but I don't remember enough to be able to help you. Sorry...
--
WildHeart'2k4



Report this thread to moderator Post Follow-up to this message
Old Post
Stefano Lanzavecchia
11-19-04 08:56 PM


Re: Easy translation in ada.
"Stefano Lanzavecchia" <wildstf@hotmail.com> wrote in message
news:306pvcF2rud0oU1@uni-berlin.de...
> "news.videotron.ca" <ada@ada.com> wrote in message
> news:BYpnd.60618$De5.765695@wagner.videotron.net... 
>
> I doubt you'll be able a lot of support (plenty of sympathy though) if you
> ask this question in comp.lang.apl. I browsed through an ADA manual a
while
> ago but I don't remember enough to be able to help you. Sorry...
> --
>   WildHeart'2k4
>
>

just a good url link about Ada would be nice :) with basic exemples.



Report this thread to moderator Post Follow-up to this message
Old Post
Apl quick fly Over
11-19-04 08:56 PM


Re: Easy translation in ada.
"Stefano Lanzavecchia" <wildstf@hotmail.com> wrote in message
news:306pvcF2rud0oU1@uni-berlin.de...
> "news.videotron.ca" <ada@ada.com> wrote in message
> news:BYpnd.60618$De5.765695@wagner.videotron.net... 
>
> I doubt you'll be able a lot of support (plenty of sympathy though) if you
> ask this question in comp.lang.apl. I browsed through an ADA manual a
while
> ago but I don't remember enough to be able to help you. Sorry...
> --
>   WildHeart'2k4
>
>

just a good url link about Ada would be nice :) with basic exemples.



Report this thread to moderator Post Follow-up to this message
Old Post
Apl quick fly Over
11-23-04 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

APL archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:18 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.