New paste›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • Mine

    926405·c·661 B·2008-03-03 18:16 UTC
    #define ED 1
    
    void ball_collision (poolBall *one, poolball *two)
    {
     float d, ax, ay;
     
     d = distance (one->x, two->x, one->y, two->y);
     ax = (two->x-one->x)/d;
     ay = (two->y-one->y)/
  • broken multimap?

    926403·text·5.6 KB·2008-03-03 18:16 UTC
    #include <map>
    #include <string>
    
    struct comparestrings
    {
     bool operator()(const std::string & left, const std::string & right) const { return left.compare(right); }
    };
    
    main()
    {
     std::mul
  • broken multimap?

    926402·text·5.6 KB·2008-03-03 18:15 UTC
    #include <map>
    #include <string>
    
    struct comparestrings
    {
     bool operator()(const std::string & left, const std::string & right) const { return left.compare(right); }
    };
    
    main()
    {
     std::mul
  • Stuff

    926400·text·3.0 KB·2008-03-03 18:15 UTC
    [19:51:38] Tom.J *mssoc a rejoint la conversation
    [19:51:40] ... dit: 
    boo?
    [19:51:47] panthere_away dit: 
    hello :)
    [19:52:09] panthere_away dit: 
    http://www.darkstars.co.uk/about/ you project ?
  • Mine

    926399·text·2.5 KB·2008-03-03 18:15 UTC
    (06:51:16 PM) wigwam: caf oblachick :)
    (06:51:18 PM) Shade: zdravicko :)
    (06:51:34 PM) Shade: mozem mat na teba jednu zakernu otazku? :)
    (06:52:21 PM) wigwam: akukolvek :)
    (06:52:39 PM) Shade: na
  • Stuff

    926398·text·5.6 KB·2008-03-03 18:14 UTC
    #include <map>
    #include <string>
    
    struct comparestrings
    {
     bool operator()(const std::string & left, const std::string & right) const { return left.compare(right); }
    };
    
    main()
    {
     std::mul
  • Stuff

    926397·text·2.1 KB·2008-03-03 18:13 UTC
    stef@plop:~/Desktop/wmcoincoin$ sloccount ./
    Creating filelist for pkg
    Have a non-directory at the top, so creating directory top_dir
    Adding /home/stef/Desktop/wmcoincoin/.//PKGBUILD to top_dir
    Ad
  • Miscellany

    926393·text·915 B·2008-03-03 18:10 UTC
    vetch music # emerge --config mysql
    
    Configuring pkg...
    
     * You have already a MySQL database in place.
     * (///var/lib/mysql/*)
     * Please rename or delete it if you wish to replace it.
     *
  • Something

    926392·text·1.2 KB·2008-03-03 18:10 UTC
    cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/i386/usr/src/tmp/usr\" -I/usr/obj/i3 86/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc1obj/../cc_tools -I/usr/src/g
  • Stuff

    926390·cpp·1.1 KB·2008-03-03 18:09 UTC
    #include <iostream>
    #include <stdlib.h>
    using namespace std;
    void main()
    {
     const int maxvarde = 10; // max antal siffror för inmatning, kan ej ändras.
     double medel, summa = 0;
     double varde[1
  • Stuff

    926384·text·3.6 KB·2008-03-03 18:07 UTC
    localhost whisper # emerge xmlto
    Calculating dependencies... done!
    >>> Verifying ebuild Manifests...
    >>> starting parallel fetching
    
    >>> Emerging (1 of 2) sys-apps/coreutils-6.10-r1 to /
     * core
  • Lakario

    926383·text·2.3 KB·2008-03-03 18:07 UTC
    <style>
    #overlayForm {
     position: absolute;
     background-color: white;
     border: solid 2px black;
     width: 400px;
     height:
  • 無題

    926382·text·5.6 KB·2008-03-03 18:06 UTC
    #include <map>
    #include <string>
    
    struct comparestrings
    {
     bool operator()(const std::string & left, const std::string & right) const { return left.compare(right); }
    };
    
    main()
    {
     std::mul
  • Miscellany

    926381·text·1003 B·2008-03-03 18:06 UTC
    -- 
    -- Table structure for table 'lines'
    -- 
    
    CREATE TABLE `lines` (
     id int(10) unsigned NOT NULL auto_increment,
     msg text NOT NULL,
     PRIMARY KEY (id),
     KEY msg (msg(32))
    ) ENGINE=MyIS
  • Someone

    926380·text·649 B·2008-03-03 18:06 UTC
    Function XYpairs(){
     $back = 0;
     if (isset($_SESSION["path"])){
     for ($i = 0; $i < count($_SESSION["path"]) ; $i++) {
     if (($_SESSION["path"][$i]["x"] == $this->x) && ($_SESSION["path"][$i]["y"
  • Stuff

    926378·text·1.1 KB·2008-03-03 18:05 UTC
    #include <iostream>
    #include <stdlib.h>
    using namespace std;
    void main()
    {
     const int maxvarde = 10; // max antal siffror för inmatning, kan ej ändras.
     double medel, summa = 0;
     double varde[1
  • Miscellany

    926377·text·1.3 KB·2008-03-03 18:05 UTC
    [root@drwily koan]# python app.py --virt --server=mdehaan.rdu.redhat.com --profile=F8b-i386 --virt-type=vmware
    - reading URL: http://127.0.0.1/cblr/kickstarts/F8b-i386/ks.cfg
    libvirt_qemud (pid 3372
  • Something

    926375·text·43.9 KB·2008-03-03 18:05 UTC
    
        
  • 無名

    926373·text·5.6 KB·2008-03-03 18:04 UTC
    #include <map>
    #include <string>
    
    struct comparestrings
    {
     bool operator()(const std::string & left, const std::string & right) const { return left.compare(right); }
    };
    
    main()
    {
     std::mul
  • Stuff

    926369·text·359 B·2008-03-03 18:01 UTC
    class (mediaconfig,dialog){
     constructor(){
     $$->%l=$new(layout,$$)
     $$->%btn_cancel=$new(button,$$)
     $$->%btn_cancel->$settext("no way")
     $$->%l->$addWidget($$->%btn_cancel,1,2)

older pastes →