Programos kodas

Dar žr. Nekeičiami simboliai


Jei norite publikuoti programos kodą, DokuWiki gali jį nuspalvinti naudodamas GeSHi. Pavyzdys:

/** 
 * Programa mandagiai pasisveikina su pasauliu.
 */
class LabasPasauli {
    public static void main(String[] args) {
        System.out.println("Labas, pasauli!");
    }
}
<code java>
/** 
 * Programa mandagiai pasisveikina su pasauliu.
 */
class LabasPasauli {
    public static void main(String[] args) {
        System.out.println("Labas, pasauli!");
    }
}
</code>

Galite naudoti šias kalbas: actionscript, actionscript-french, ada, apache, applescript, asm, asp, autoit, bash, blitzbasic, caddcl, cadlisp, c, c_mac, cfm, cpp, csharp, css, delphi, diff, d, div, dos, eiffel, freebasic, gml, html4strict, ini, inno, java, java5, javascript, lisp, lua, matlab, mpasm, mysql, nsis, objc, ocaml, ocaml-brief, oobas, oracle8, pascal, perl, php-brief, php, python, qbasic, scheme, sdlbasic, smarty, sql, tsql, robots, ruby, vb, vbnet, vhdl, visualfoxpro, xml

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information
 
Jei nenurodyta kitaip, šio wiki turinys ginamas tokia licencija: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki