Definition of read_record:
char read_record[256]
Loop structure:
while ((loop_check = in_file_stream1.peek()) != EOF )
Type: Posts; User: simonc2
Definition of read_record:
char read_record[256]
Loop structure:
while ((loop_check = in_file_stream1.peek()) != EOF )
My programme reads a line from a text file using
in_file_stream1.getline(read_record,255);
Each line in the file contains four fields, the numerical fields are right justified which means...
I found the answer. You put option -tW in the compiler command line.
Sorry for taking your time.
I am delving into Windows API programming using Borland's compiler.
When I try to compile sample programmes - for example:
#include <windows.h>
int WINAPI WinMain(HINSTANCE, HINSTANCE,...
I am writing a programme which creates a binary file, but because the programme is generating bits of information which need to go in different sections of the file I am trying to use seekp to jump...
I want to simplify user input of parameters to a programme by offering default values - ie if the user just presses Return the default value is assigned. The input section should be something like...
Is there a way you can specify in a console application the size of the command window which will be opened?
Many thanks for you rhelp.
I would never have worked out this simple correction in a million years of looking at online tutorials...
Here is the function which I want to use to write to the output file
(line_elements is a structure which is defined globally)
int ann_bln_out (line_elements point1, line_elements point2,...
I am writing a programme to open a file, do some reformating of the data and write the result to an output file. Within function main the input file name is deconstructed and used to create the...