Thank you all for the help I have not tried writing to the file in binary but that sounds like the correct path.
the
char lf = 10;
outputfile << field[1] << lf;
did not work.
I was reading from the MSDN and found that ofstream forces the CRLF
I am trying to create an output file to be used on an AIX system which does not want to see a CRLF at the end of line. How do I tell my program to only give me the LF? I have tried '\n', "\n", and #define "\x0a" none of these work. Is there a way or does microsoft know best...
AIX version 4.3.3
g++ version 2.95.3.0
when I try to compile my program it gives me an error Collect2: Library libm not found. I can not find a library libm on bulls freeware where I had gotten g++ from.
here is my code, any help would be appreciated.
the command I used to compile was "g++...
Version number of g++ is incorrect that was a version of anothe package I loaded at the same time I do not have the version number with me it is at the office
Yes I guess that might be some good information - running on AIX 4.3.3 compiled with g++ 2.0.7 - initially I wrote it with Visual C++ version 6 without any problems, the only headers I included were iostream, fstream, and string. Also I used namespace std
when I try to compile a simple program written in C++ I get the error:"collect2: Library libm not found"
this is a simple parsing utlility which takes a "|" delimited file reads each segment into a string array and writes it back out as a "|" delimeted file. (it...
After installing Samba using the Bull's freeware install, which completed successfully, I tried to test using the smbclient and received the following error. Can anyone tell me what I am doing wrong?
# /usr/local/bin/smbclient -L servername
exec(): 0509-036 cannot load program...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.