Re: C (I think) to Perl Conversion
From: Santa Claus (santa_at_northpole.com)
Date: 10/16/04
- Next message: Santa Claus: "req: anybody have a pre-made script that does this?"
- Previous message: Jerry Preston: "Re: perl and time"
- In reply to: Uri Guttman: "Re: C (I think) to Perl Conversion"
- Next in thread: Sherm Pendley: "Re: C (I think) to Perl Conversion"
- Reply: Sherm Pendley: "Re: C (I think) to Perl Conversion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 16 Oct 2004 10:52:29 GMT
In article <x7llefgpwu.fsf@mail.sysarch.com>,
Uri Guttman <uri@stemsystems.com> wrote:
> >>>>> "BW" == Brad Walton <sammie-nospam@greatergreen.com> writes:
>
> BW> I'm stuck here... I have a sample script which accomplishes the
> BW> task I need done, but it's done in another programing language (of
> BW> which I have no understanding). I have researched this for hours
> BW> and hours, but no luck.
>
> BW> ----
>
> BW> This is a longshot.. but I don't know what else to do.
>
> hire a programmer.
>
> uri
Actually the only suggestion I have is RTFM. I'm having a time trying
to understand c language myself however there are basic programming
principles you can use to understand what needs to be done and rewrite
it in whatever language you need. Try to simply understand the syntax
of the c language and then you're a long way into understanding what
needs to be done, you don't need to learn c completely.
{ is begin block
} is end block
( is begin parameter sending to another routine or beginning of math
routine that needs to be done first
) is end parameter block sending or end of a math routine that needs to
be done first
/* is begin comment
*/ is end comment
! is single line comment not requiring an end comment
You get the idea, use what you know to try to understand whatever
symbols you already know and look online for the symbols you don't know.
There are c manuals online that will assist in the deciphering the code
for you.
The last thing I want to tell you is something odd in c that i really
hate which os an advanced feature called operator overload. There's a
way that a person can override the + sign and make it into whatever they
want including the - sign. This is meant for those that read a program
and try to take out parts of it and make it not work for them, sort of
like programmer protection.
Hope this helps
- Next message: Santa Claus: "req: anybody have a pre-made script that does this?"
- Previous message: Jerry Preston: "Re: perl and time"
- In reply to: Uri Guttman: "Re: C (I think) to Perl Conversion"
- Next in thread: Sherm Pendley: "Re: C (I think) to Perl Conversion"
- Reply: Sherm Pendley: "Re: C (I think) to Perl Conversion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|