[ create a new paste ] login | about

Link: http://codepad.org/rRMnve0C    [ raw code | output | fork ]

C, pasted on Mar 12:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
bool BFS::solve()
{
	cout << "THINGY::::: " << States.at(0).state<<endl;
	vector<string> temp_strings;
	for(int a=0; a < States.size(); a ++)
	{
		if(States.size() !=1)tempor.s_struct(States.at(a).state, tempor);
		if(tempor.win_condition())
		{
			return true;
		}
		temp_strings  = get_states(tempor);
		for(int b=0; b< temp_strings.size(); b++)
			States.push_back(m_s(ID, ID+1, temp_strings.at(b)));
		tempor.print_table();
		if(a > pow((double)root.list_T.size(), 4)) return false;
	}
	return false;
}


Output:
1
Line 1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'BFS'


Create a new paste based on this one


Comments: