Thanx for the info... If you cannot tell from my code i am trying to make a muti user domanin and this is the coloring part. Tell me if you need more/less information:

Code:
do
			{
				fin>>data;
				if(strcmp(data,"{title")==0)
				{
					SetConsoleTextAttribute (hStdout, 3 | FOREGROUND_INTENSITY);
					fin.getline(data,500, '^');
					printf("%s",data);
				}
				if(strcmp(data,"{zdescription")==0)
				{
					do
					{
						if(i == 0)
						{
							fin.getline(data,500, '^');
							i=1;
						}
						SetConsoleTextAttribute (hStdout, 7 | FOREGROUND_INTENSITY);
						printf("%s\n",data);
						fin>>data;
					} while(strcmp(data,"}zdescription")!=0);
				}
				i = 0;
				if(strcmp(data,"{exits")==0)
				{
					fin>>up;
					fin>>down;
					fin>>north;
					fin>>south;
					fin>>east;
					fin>>west;
					SetConsoleTextAttribute (hStdout, 3 | FOREGROUND_INTENSITY);
					printf("Exits[ ");
					if(up != 0)
						printf("-up ");
					if(down != 0)
						printf("-down ");
					if(north != 0)
						printf("-north ");
					if(south != 0)
						printf("-south ");
					if(east != 0)
						printf("-east ");
					if(west != 0)
						printf("-west ");
					if((up == 0) && (down == 0) && (north == 0) && (south == 0) && (east == 0) && (west == 0))
						printf("None! ");
					printf("]\n");
					SetConsoleTextAttribute (hStdout, 7);
				}
			} while(strcmp(data,"}")!=0);
		fin.close();
		start2 = start;
		}
	
		cin.getline(data, 100, '\n');
		
		if(strcmp(data,"u")==0)
		{
			if(up != 0)
				start = up;
			else
				printf("alas, you cannot go that way\n");
		}
		if(strcmp(data,"d")==0)
		{
			if(down != 0)
				start = down;
			else
				printf("alas, you cannot go that way\n");
		}
		if(strcmp(data,"n")==0)
		{
			if(north != 0)
				start = north;
			else
				printf("alas, you cannot go that way\n");
		}
		if(strcmp(data,"s")==0)
		{
			if(south != 0)
				start = south;
			else
				printf("alas, you cannot go that way\n");
		}
		if(strcmp(data,"e")==0)
		{
			if(east != 0)
				start = east;
			else
				printf("alas, you cannot go that way\n");
		}
		if(strcmp(data,"w")==0)
		{
			if(west != 0)
				start = west;
			else
				printf("alas, you cannot go that way\n");
		}
well, there it is. And yes i am using all of the correct headers. And i did define hstdout and bla bla bla. In other words, the color works fine for a while then it freaks out... One other thing... Why is it that i dont need an endline after i display the title?