ADMB Documentation
-a65f1c97
Main Page
Function Reference
Classes
Source Code
Related Pages
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
tools99
atoi.cpp
Go to the documentation of this file.
1
9
#include <sstream>
10
using
std::istringstream;
11
12
#include <
fvar.hpp
>
13
20
int
atoi
(
adstring
& s)
21
{
22
istringstream is((
char
*)s);
23
int
i = 0;
24
is >> i;
25
return
i;
26
}
adstring
Definition:
adstring.hpp:70
atoi
int atoi(adstring &s)
Returns a integer converted from input s.
Definition:
atoi.cpp:20
fvar.hpp
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Generated on Wed Sep 7 2022 00:01:26 for ADMB Documentation by
1.8.5