CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: l_r_mcglashan
Forum: OpenFOAM Programming & Development February 21, 2011, 04:50
Replies: 6
Views: 1,624
Posted By l_r_mcglashan
I'll let someone else find a more 'foam'...

I'll let someone else find a more 'foam' solution, but you can just do this, then you'll have no warnings:

double timeDump = atof(timeDir.c_str());
Forum: OpenFOAM Programming & Development February 21, 2011, 04:15
Replies: 6
Views: 1,624
Posted By l_r_mcglashan
Here's a C solution: ...

Here's a C solution:

http://www.cplusplus.com/reference/clibrary/cstdlib/atof/
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 13:34.