Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Perl and C++/STL

by rg0now (Chaplain)
on Mar 10, 2005 at 23:24 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2024-04-16 08:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found