Thank you .... I see it in the FAQs. Sorry.
muffin
Type: Posts; User: muffin
Thank you .... I see it in the FAQs. Sorry.
muffin
I have written a C program (MS 6.0) that is being used on now on a Windows 98 machine that does not have C installed. When they run the program, they do not get the message that I get when I run the...
Thank you both for your replies .... I only posted a part of my logic, so as not to confuse the question, but I ended up doing the opposite, because it caused both of you to question what I didn't...
This probably sounds like a dumb question, but I am just trying to write an integer to an output buffer, then write the output buffer to a file:
/* Declaratives */
char...
I didn't use gets or scanf because of the possibility of overflow problems ... pretty much of what I've read says to use fgets instead.
I'll give your suggestion a try, and post the results...
I have written this program, and it uses fgets to get data from the user keyboard. For some reason, my last question, which asks for them to enter the date and time, does not execute the fscanf and...
Thanks!!! :) :)
If I want to install this .exe on another machine that has MS C++, do I have to load just the .exe file, or do I have to have the other files that it creates as well .... i.e. the project workspace,...
I am using MS Visual C++ version 6.0. The program I have written is just written using C (not C++). I am wondering if I can compile and build this program permanently, so that it can just be...
I am in need of a way to read two files as input, and produce an output file. One file has a string in it that is a code ..... and the second file is a file containing a translation table for that...
It's ok, you don't have to, I am making some progress.
I might have a few more specific questions over the weekend or so, but the specs have changed today anyway, so it has to be a litttle bit...
I am trying to read in a text file, that contains multiple strings per record. Two of those strings have embedded blanks. I am trying to read in the string with fgets, and then split the strings...
Hey I completely understand .... good luck on your exams! :)
One more note .... I will not know how many spaces will be in-between fields, and I do not know how long the name or the description, or quantity or price will be. So, the records are all variable...
Also, can't remember if I mentioned it or not, but the '|' is used as a delimiter between every output field, and there needs to be a carriage return at the end of every output line. I couldn't show...
You are so helpful! Thank you so much. For the code numbers that you mentioned needed modification, you were right, they do. They are actually dates, that are coming in the input file as mddccyy...
This is great! Thanks so much!
My previous message became different that what I had sent. I intended to have more spaces between the fields on the input records. I must edit those out of the output, and there are multiple spaces...
Thanks ... explicit does work better than a bunch or words. Here we go:
Example Input:
-------------
0003328763 039485 Smith , MaryAnne M. 6/21/2001 5/22/2001 7/8/2001 Customer...
I might be going about this the wrong way, I'm fairly new to C. I don't have the code with me to post, but here is what I am trying to accomplish:
Problem: Read in a fixed length file, with...