All pastes #930525 Raw Edit

Stuff

public text v1 · immutable
·published 2008-03-06 17:47 UTC
rendered paste body
#pragma once

#ifndef MISC_H
#define MISC_H

#include <iostream>
#include <vector>

int indexOf(char *str, char c);
int indexOf(char *str, char *search);
int lastIndexOf(char *str, char c);
int lastIndexOf(char *str, char *search);
char* substring(char *str, int beg);
char* substring(char *str, int beg, int end);
vector<char*> splitArgs(char *command);

#endif