Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Translate Perl to C

by John M. Dlugosz (Monsignor)
on Aug 05, 2001 at 22:41 UTC ( #102329=note: print w/replies, xml ) Need Help??


in reply to Translate Perl to C

If you are asking for equivilent meaning in a C program, check out strtok for the first, then use strncmp to verify the beginning of the string on the second line, and atoi to convert the number (no need to copy it out, just point it at the first digit).

—John

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://102329]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2022-08-08 16:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?