Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

mdp_prompt.h File Reference

Go to the source code of this file.

Functions

double val (string s)
 Converts string to float.
string prompt (string filename, string variable, string def_val="0.0", int p=0)

Variables

const char STD_INPUT [] = ""
const char STD_INPUT_FILE [] = "<stdin>"


Detailed Description

Version:
3-1-2005
Author:
Massimo Di Pierro <mdipierro@cs.depaul.edu>
Functions to parse user input of parameters in a way safe to parallel programs

This file is copyrighted by MetaCryption LLC Read attached license in file mdp_license.pdf This file cannot be distributed without file mdp_license.pdf


Function Documentation

string prompt string  filename,
string  variable,
string  def_val = "0.0",
int  p = 0
 

Try prompt("<stdin>","VALUE","4.0") It will prompt the user for variable VALUE and take 4.0 as default


Generated on Sun Feb 27 15:12:23 2005 by  doxygen 1.4.1