[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] C og regex



On Mon, 15 Mar 2004 12:52:31 +0100, Erwin S. Andreasen wrote:

> Christian Nielsen <sslug@sslug> writes:
> 
>> Tak. Jeg kender resultatet af mime beregninger, så derfor ved jeg at Perl
>> regner forkert. Den samme kode oversat til C regner rigtigt.
> 
> Din C kode er ikke komplet, og ser meget anderledes ud end Perl
> koden, så det er svært at sige noget afgørende her, men:
> 
>> while ($flag==0) {
>>   $punkt3=$offset+($n*$h-($h/2));
>>   $punkt2=$offset+($n*$h);
>>   $Ai=(-($punkt3^2)+10*$punkt3)*$h;
> 
> ^ operatoren i Perl udfører bitvis-XOR. Måske var det ** du ville
> bruge?

Det var det! Så blev jeg det klogere.
// Chr.



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:43 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *