15th April, 2003

void *

Tuesday, 6:22 am in CodeGirl

I swear… glitterfurs should be programmers. They’d be in symbolic heaven. I’ve been looking at so many goddamn asterisks lately…

#include <iostream.h>
#include "starwhore.h"
using namespace std;

struct xxstarxx {
char * star;
int x;
};

int main( void ) {

  xxstarxx * mine;
  mine = new xxstarxx;

  (*mine).star = '*';
  mine->x = 10;

  // void xxprintxx( void * );
  xxprintxx( mine );

  return void;

}

… that’s so gonna give me a bus error or something (not to mention not compile). Fuckin’ pointers…

Comments

Add Comment
auto insert line breaks
use log.code
use smilies
Verification
  • v-s.net v0.6 and all content (unless noted) © Dee.
  • sk.log v0.6 spat this out in 1.843 seconds.
  • 52 / 216,628
artistic-twobyfour