All pastesPublic feed

Public feed

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

    2092424·text·371 B·2011-10-22 05:28 UTC
    struct item {
     int c, f, p, o;
     string name;
    };
    
    void LoadItems(vector<item>& items, int& maxC, int& maxF, int& maxP)
    {
     cin >> maxC;
     cin >> maxF;
     cin >> maxP;
    
     int k;
     cin >> k;
    
     fo
  • Untitled

    2092423·text·785 B·2011-10-22 05:16 UTC
    void MultipleSolution()
    {
     cout << "No Unique Solution";
     exit(0);
    }
    
    bool solutionFound = false;
    void CheckSolutions(vector<NumberCell*>& cells, int index)
    {
     if (index == cells.size())
     {
  • Unnamed

    2092421·c·10.8 KB·2011-10-22 04:51 UTC
    ######################### -*- Mode: Makefile-Gmake -*- ########################
    ## version_vars.mk --- 
    ## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) 
    ##
  • Unnamed

    2092420·text·10.8 KB·2011-10-22 04:50 UTC
    ######################### -*- Mode: Makefile-Gmake -*- ########################
    ## version_vars.mk --- 
    ## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) 
    ##
  • Unnamed

    2092419·c·10.8 KB·2011-10-22 04:50 UTC
    ######################### -*- Mode: Makefile-Gmake -*- ########################
    ## version_vars.mk --- 
    ## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) 
    ##
  • Unnamed

    2092418·c·468 B·2011-10-22 04:45 UTC
    UTS_RELEASE_HEADER=$(call doit, if [ -f include/generated/utsrelease.h ]; then \
     echo include/generated/utsrelease.h; \
     else if [ -f include/linux/utsrelea
  • Something

    2092416·text·195 B·2011-10-22 04:23 UTC
    sudo find / -name version_vars.mk
    /usr/share/kernel-package/ruleset/misc/version_vars.mk
    sudo find / -name utsrelease.h
    /usr/src/linux-headers-3.0.0-12-generic/include/generated/utsrelease.h
  • Something

    2092415·text·673 B·2011-10-22 04:22 UTC
    vector<int> primes(14642);
    
    void seive()
    {
     int i = 5;
    
     vector<int> candidates(160907, 1);
     
     candidates[0] = 0;
     candidates[1] = 0;
     candidates[2] = 1;
     candidates[3] = 1;
    
     int current
  • Something

    2092414·text·284 B·2011-10-22 04:22 UTC
    en1gma@ubuntu:/usr/src/Linu$ sudo find / -name version_vars.mk
    /usr/share/kernel-package/ruleset/misc/version_vars.mk
    en1gma@ubuntu:/usr/src/Linu$ sudo find / -name utsrelease.h
    /usr/src/linux-head
  • Anonymous

    2092413·text·857 B·2011-10-22 04:20 UTC
    deskmenu-menu.c: In function 'pipe_menu_recreate':
    deskmenu-menu.c:133: error: expected identifier or '(' before '&' token
    deskmenu-menu.c:134: error: invalid lvalue in unary '&'
    deskmenu-menu.c: I
  • Something

    2092412·c·51.1 KB·2011-10-22 04:17 UTC
    
        
  • Something

    2092411·c·45.8 KB·2011-10-22 04:16 UTC
    
        
  • Mine

    2092410·c·2.7 KB·2011-10-22 04:01 UTC
    include/linux/vmstat.h: In function ‘__count_vm_event’:
    include/linux/vmstat.h:81:1: warning: variable ‘pto_tmp__’ set but not used [-Wunused-but-set-variable]
    include/linux/vmstat.h:81:1: warning:
  • Mine

    2092409·text·3.6 KB·2011-10-22 04:01 UTC
    #include <vector>
    #include <iostream>
    
    using namespace std;
    
    enum CellType
    {
     blankCell,
     ruleCell,
     numberCell
    };
    
    class Cell
    {
    public:
     virtual CellType type(){return blankCell;};
    };
  • Anonymous

    2092408·text·502 B·2011-10-22 04:00 UTC
    [meway@meway ~]$ sudo yum install gimp
    Loaded plugins: langpacks, presto, refresh-packagekit
    http://linuxdownload.adobe.com/linux/i386/repodata/repomd.xml: [Errno 14] curl#6 - "Couldn't resolve host
  • Stuff

    2092407·java·1.1 KB·2011-10-22 03:44 UTC
    import java.util.Scanner;
    
    /**
    A program to calculate the area of a box, given the length of 3 sides
    */
    
    public class AreaOfBox
    {
     /**
     Prompt the user to input the length of a given side and
  • Untitled

    2092406·text·20 B·2011-10-22 03:38 UTC
    deroderoderoderodero
  • Untitled

    2092405·text·4 B·2011-10-22 03:38 UTC
    derp
  • Miscellany

    2092404·text·100.0 KB·2011-10-22 03:31 UTC
    
        
  • Anonymous

    2092403·text·1.0 KB·2011-10-22 03:22 UTC
    deskmenu-menu.c: In function 'pipe_menu_recreate':
    deskmenu-menu.c:133: error: expected identifier or '(' before '&' token
    deskmenu-menu.c:149: error: invalid lvalue in unary '&'
    deskmenu-menu.c:16

older pastes →