error with reading file name

Suliman evermind at live.ru
Thu Dec 6 10:45:15 PST 2012


I had put next try-catch block yo my code

	void readfile(string name)
	{
		try
		{
			auto filearray = read(name);
			writeln(name);
			
			writeln(filearray);
		}

	catch (Exception e)
		{
		writeln("CATHCHED %s", e.msg);
		}
	}

Am I right with it's place? I get to console only some crap.


More information about the Digitalmars-d-learn mailing list