Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.h « src « irstlm - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5005879892e11ca82404d03af60fe4e729157706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


#pragma once

#ifdef WIN32

inline const char *index(const char *str, char search)
{
	int i=0;
	while (i< strlen(str) ){
		if (str[i]==search) return &str[i];	
	}
	return NULL;
}


#endif