[ create a new paste ] login | about

Project: ec
http://efnetcpp.org/
Language:
Description:
EFnet #C++

Recent Pastes:

C++, pasted on Jul 28:
1
2
3
4
5
void Move(SDL_Surface * screen, Computer comp)
	{
		comp.showHealth(); //Trying to get this to work
		switch(action)
		{
...
view (31 lines, 2 lines of output)
C++, pasted on Jul 25:
1
2
3
4
SDL_Surface *load_image( std::string filename )
{
    //The image that's loaded
    SDL_Surface* loadedImage = NULL;
...
view (21 lines, 2 lines of output)
C++, pasted on Jul 25:
1
2
3
4
5
			if( x >= 564 && x <= 767 && y >= 213 && y <= 245 )
			{
				image = load_image("\Homescreen\Start Game.png");
				apply_surface(0,0,image,screen);
				SDL_Flip(screen);
...
view (6 lines, 2 lines of output)
C++, pasted on Jul 23:
1
2
3
4
5
{
        string a = "Bond, James";
	string temp = "";
	while (!a.empty())
	{
...
view (11 lines, 2 lines of output)
C++, pasted on Jul 20:
1
2
3
4
5
#include <cstdlib>
#include <iostream>
#include <string>

using namespace std;
...
view (28 lines, 3 lines of output)
C++, pasted on Jul 20:
1
2
3
4
5
#include <cstdlib>
#include <iostream>
#include <string>

using namespace std;
...
view (23 lines, 1 line of output)
C++, pasted on Jul 20:
1
2
3
4
// h4v0k @ irc.syztem.org 
// h4v0k@syztem.org

#include <iostream>
...
view (27 lines, 4 lines of output)
C++, pasted on Jul 20:
1
2
3
4
5
#include <iostream>

using namespace std;

int main()
...
view (15 lines)
C++, pasted on Jul 18:
1
2
3
4
00AE105A  mov         cl,byte ptr [esp+2] 
00AE105E  cmp         cl,byte ptr [esp+3] 
00AE1062  jne         main+69h (0AE1069h) 
00AE1064  mov         byte ptr [esp+4],1 
view (4 lines)
C++, pasted on Jul 16:
1
2
3
4
5
void CSchwarzschildGraphDlg::OnBnClickedOk()
{
	CClientDC dc(this); 
	
	RECT rect;
...
view (148 lines)
C++, pasted on Jul 15:
1
2
3
4
5
#include "globals.h"

//  Function prototypes

int WINAPI WinMain( HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpszCmdLine, int nCmdShow );
...
view (89 lines, 3 lines of output)
C++, pasted on Jul 15:
1
2
3
4
5
	    CoInitialize( NULL );

	    // Register the child window class
	    ZeroMemory( &wc, sizeof( wc ) );
	    wc.cbSize = sizeof( wc );
...
view (36 lines, 2 lines of output)
C++, pasted on Jul 12:
1
2
3
4
5
typedef struct ip_header{
    u_char  ver_ihl;        // Version (4 bits) + Internet header length (4 bits)
    u_char  tos;            // Type of service 
    u_short tlen;           // Total length 
    u_short identification; // Identification
...
view (18 lines)
C++, pasted on Jul 10:
1
2
3
4
// Connection.h

#ifndef CONNECTION_H
#define CONNECTION_H
...
view (112 lines)
C++, pasted on Jul 10:
1
2
3
4
// Machine.h

#ifndef MACHINE_H
#define MACHINE_H
...
view (74 lines, 5 lines of output)
C++, pasted on Jul 10:
1
2
3
4
5
#include <stdlib.h>
#include <cmath>
#include <cinttypes>
#include <iostream>
#include <set>
...
view (192 lines)
Plain Text, pasted on Jul 9:
1
2
3
4
5
0000000: 5043 0a32 3030 2032 3030 0a35 2e30 3838  PC.200 200.5.088
0000010: 3439 370a 53da 86bf 3d84 41be fa5e 86bf  497.S...=.A..^..
0000020: 0b96 3fbe dde4 85bf dda7 3dbe fe6b 85bf  ..?.......=..k..
0000030: b5b9 3bbe 5bf4 84bf 91cb 39be f57d 84bf  ..;.[.....9..}..
0000040: 73dd 37be cc08 84bf 58ef 35be e094 83bf  s.7.....X.5.....
...
view (964 lines)
C++, pasted on Jul 9:
1
2
3
4
5
// Read_Synthetic.cpp 

#include "stdafx.h"
#include <bitset>
using namespace std;
...
view (48 lines)
C++, pasted on Jul 8:
1
2
3
4
/*
 * pcm.c - contains the methods for the PCM class
 *
 * Author: Dion Crannitch (adapted from Dave Mason's complexMap class)
...
view (227 lines)
C++, pasted on Jul 8:
1
2
3
4
/*
 * pcm.c - contains the methods for the PCM class
 *
 * Author: Dion Crannitch (adapted from Dave Mason's complexMap class)
...
view (227 lines, 4 lines of output)