FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
C++
Email
Print
Reprint

add to:
Del.icio.us
Digg
Google
Furl
Slashdot
Y! MyWeb
Blink
January 01, 2006

Ch: A C/C++ Interpreter for Script Computing

(Page 3 of 10)

January, 2006: Ch: A C/C++ Interpreter for Script Computing

Example 2: Using C Standard Library functions from the command line.

> srand(time(NULL)) 
> rand() 
4497 
> rand() 
11439 
> double add(double a, double b) {double c; return a+b+sin(1.5);} 
> double c 
> c = add(10.0, 20) 
30.9975 

Previous Page | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 Next Page
TOP 5 ARTICLES
No Top Articles.



MICROSITES
FEATURED TOPIC

ADDITIONAL TOPICS

INFO-LINK