代码搜索:stdlib
找到约 10,000 项符合「stdlib」的源代码
代码结果 10,000
www.eeworm.com/read/136879/13356655
cpp fig14_04.cpp
// Fig. 14.4: fig14_04.cpp
// Create a sequential file
#include
#include
#include
int main()
{
// ofstream constructor opens file
ofstream outClie
www.eeworm.com/read/136690/13365668
jc faculty.jc
import stdlib;
// function main()
function float main( const array& args )
{
if( args.length != 2 )
{
stdlib::Print("Usage: jilrun faculty.jc n\n");
stdlib::Print("Where 0 < n < 171
www.eeworm.com/read/136690/13365669
jc typeof.jc
/*
* typeof.jc
*
* In this file we test the typeof operator, which allows us to determine the
* actual type of a variable or expression during compile time, as well as during run time.
* Thi
www.eeworm.com/read/136690/13365672
jc urlfilter.jc
/*
* urlfilter.jc
*
* A demonstration script for the JewelScript language.
* Filters all link locations from all input html files and
* writes them into output html files.
*
* usage: jil
www.eeworm.com/read/136690/13365675
jc file.jc
/* File.jc: A script file for testing the File object. */
import stdlib;
import File;
// file mode constants
const long kRead = 0;
const long kWrite = 1;
const long kAppend = 2;
const long kB
www.eeworm.com/read/136690/13365679
jc string.jc
/* Testing the new string methods */
import stdlib;
function test( const string& s, const var& a )
{
stdlib::Print( s + " = \"" );
stdlib::Print( stdlib::ToString(a) );
stdlib::Print( "
www.eeworm.com/read/136690/13365681
jc interface.jc
/*
* interface.jc
*
* The language allows (currently very simple) inheritance from a single interface.
* An interface can only have methods, no static functions and no data. All methods
*
www.eeworm.com/read/136690/13365685
jc perftest.jc
/*
* perftest.jc
*
* A simple performance test. Counts 10 times from 0 to 1.000.000 and takes average time.
*/
/*
* Import Typelibs
*/
import stdlib;
/*
* function main
*/
www.eeworm.com/read/136690/13365686
jc chargen.jc
/*
* chargen.jc
*
* Output 10,000 random characters to console
*/
import stdlib;
// function main()
function string main()
{
stdlib::RandInit();
for( long i = 0; i < 10000; i++ )
www.eeworm.com/read/136690/13365688
jc fib.jc
// fib.jc
// Calculate Fibonacci sequence for benchmarking purposes.
// imports
import stdlib;
// function main
function long main(const array& args)
{
long ticks;
stdlib::Print("***