Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Inline CPP undefined subroutine

by Alessandro (Acolyte)
on Nov 05, 2018 at 13:20 UTC ( #1225262=note: print w/replies, xml ) Need Help??


in reply to Re: Inline CPP undefined subroutine
in thread Inline CPP undefined subroutine

Thanks that puts me on the way to solve it! There was a C++ mistake left, I ended up with this
use Inline 'CPP' => << 'END'; int countGC(char * _gcString) { std::string gcString(_gcString); int res(0); for (int i = 0; i < gcString.length(); i++) { if (gcString[i] +== 'C' || gcString[i] == 'G') { res++; } } return res; } END

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (15)
As of 2019-03-26 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How do you Carpe diem?





    Results (125 votes). Check out past polls.

    Notices?