output-file

writing 2d arrays to output files - c++

I'm trying to write a 2d array into an output file, it's all working fine except in creating the .getline function to draw the array back out of the file. My issue is putting the string length. My current code for the line is; inputFile.getline(myArray, [10][10], '\n'); but it doesn't like having the string length in square brackets it...

Should I put my output files in source control?

I've been asked to put every single file in my project under source control, including the database file (not the schema, the complete file). This seems wrong to me, but I can't explain it. Every resource I find about source control tells me not to put generated output files in a source control system. And I understand, it's not "source...

Why does "Copy if newer" not copy a file when the file is updated?

I have a solution in Visual Studio Express that looks like this: The LogicSchema class in C# that will parse a specified XML file at run-time. The following is in the main method of Program.cs: LogicSchema ls = new LogicSchema( XDocument.Load( "schemas\\C#Schema.xml", LoadOptions.PreserveWhitespace)); I created ...