Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Perl and C++/STL

by rg0now (Chaplain)
on Mar 10, 2005 at 23:24 UTC ( #438468=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #include <map> 
    #include <stdio.h> 
    ...
    
      printf("The number of primes below %i is %i\n", $UPPER, $count);
    }
    
  2. or download this
    #define our(x)  std::map<int,int> x
    
  3. or download this
    #include <vector> 
    #define our(x)  std::vector<int> x($UPPER)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://438468]
Approved by kvale
Front-paged by grinder
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2023-02-08 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (44 votes). Check out past polls.

    Notices?