By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,720 Members | 2,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,720 IT Pros & Developers. It's quick & easy.

error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)

P: n/a
Hi,
I have written this code, and at the end, I am trying to write a
vector of strings into a text file. However, my program is nor
compiling, and it gives me the following error when I try to write to
the file:

error C2679: binary '<<' : no operator found which takes a right-hand
operand of type 'std::string' (or there is no acceptable conversion)

I don't know what I am doing wrong. I have posted my entire program
here.
Thank you

#include <iostream>
#include <fstream>
#include <iterator>
#include <algorithm>
#include <vector>
#include <math.h>
#include "string.h"

using namespace std;

char n_str[2000];
char a_str[2000];

char n_char[2000];
char a_char[2000];
string achar, nchar;
int main(int argc, char* argv[])
{
vector<stringn_word_list;
vector<stringa_word_list;

ifstream in_a("10_a.txt");
if (!in_a)
{
cout << "Error opening abnormal file" << endl;
}
while (!in_a.eof())
{
in_a.getline(a_str,2000);
a_word_list.push_back(a_str);
}
cout << a_word_list.size()<< endl;

ifstream in_n("10_n.txt");
if (!in_n)
{
cout << "Error opening normal file" << endl;
}
while (!in_n.eof())
{
in_n.getline(a_str,2000);
n_word_list.push_back(a_str);
}
cout << n_word_list.size()<< endl;

for (unsigned int i=0; i<a_word_list.size(); i++)
{
for (unsigned int j=0; j<n_word_list.size();j++)
{
if (a_word_list[i].compare( n_word_list[j]))
{
a_word_list.assign(1,"aa");

n_word_list.assign(1,"aa");

}
}
}

ofstream out_a("10_a_new.txt");
if (!out_a)
{
cout << "Error opening new abnormal file" << endl;
}
for (unsigned int i=0; i<a_word_list.size(); i++)
{
achar = a_word_list.at(i);
out_a << achar << endl; //ERROR
}
ofstream out_n("10_n_new.txt");
if (!out_n)
{
cout << "Error opening new normal file" << endl;
}
for (unsigned int i=0; i<n_word_list.size(); i++)
{
out_n << n_word_list.at(i) << endl; //ERROR
}
return 0;
}

Jun 17 '07 #1
Share this Question
Share on Google+
29 Replies


P: n/a
On 17 juin, 11:52, aarth...@gmail.com wrote:
Hi,
I have written this code, and at the end, I am trying to write a
vector of strings into a text file. However, my program is nor
compiling, and it gives me the following error when I try to write to
the file:

error C2679: binary '<<' : no operator found which takes a right-hand
operand of type 'std::string' (or there is no acceptable conversion)

I don't know what I am doing wrong. I have posted my entire program
here.
Thank you

#include <iostream>
#include <fstream>
#include <iterator>
#include <algorithm>
#include <vector>
#include <math.h>
#include "string.h"

using namespace std;

char n_str[2000];
char a_str[2000];

char n_char[2000];
char a_char[2000];
string achar, nchar;

int main(int argc, char* argv[])
{
vector<stringn_word_list;
vector<stringa_word_list;

ifstream in_a("10_a.txt");
if (!in_a)
{
cout << "Error opening abnormal file" << endl;
}
while (!in_a.eof())
{
in_a.getline(a_str,2000);
a_word_list.push_back(a_str);
}
cout << a_word_list.size()<< endl;

ifstream in_n("10_n.txt");
if (!in_n)
{
cout << "Error opening normal file" << endl;
}
while (!in_n.eof())
{
in_n.getline(a_str,2000);
n_word_list.push_back(a_str);
}
cout << n_word_list.size()<< endl;

for (unsigned int i=0; i<a_word_list.size(); i++)
{
for (unsigned int j=0; j<n_word_list.size();j++)
{
if (a_word_list[i].compare( n_word_list[j]))
{
a_word_list.assign(1,"aa");

n_word_list.assign(1,"aa");

}
}
}

ofstream out_a("10_a_new.txt");
if (!out_a)
{
cout << "Error opening new abnormal file" << endl;
}
for (unsigned int i=0; i<a_word_list.size(); i++)
{
achar = a_word_list.at(i);
out_a << achar << endl; //ERROR
}

ofstream out_n("10_n_new.txt");
if (!out_n)
{
cout << "Error opening new normal file" << endl;
}
for (unsigned int i=0; i<n_word_list.size(); i++)
{
out_n << n_word_list.at(i) << endl; //ERROR
}
return 0;

}
Can you give your compiler version and the line of the error, please ?

Jun 17 '07 #2

P: n/a
aa******@gmail.com wrote:
Hi,
I have written this code, and at the end, I am trying to write a
vector of strings into a text file. However, my program is nor
compiling, and it gives me the following error when I try to write to
the file:

error C2679: binary '<<' : no operator found which takes a right-hand
operand of type 'std::string' (or there is no acceptable conversion)

I don't know what I am doing wrong.
It doesn't look like you are doing anything wrong, the code in question
looks fine to me.

--
Ian Collins.
Jun 17 '07 #3

P: n/a
Baltimore wrote:
On 17 juin, 11:52, aarth...@gmail.com wrote:
> for (unsigned int i=0; i<n_word_list.size(); i++)
{
out_n << n_word_list.at(i) << endl; //ERROR
}
return 0;

}

Can you give your compiler version and the line of the error, please ?
Did you have to quote the entire post to ask that?

--
Ian Collins.
Jun 17 '07 #4

P: n/a
I am using Visual Studio 2005, and I marked the two lines that are
giving me errors in my original post. I am re-posting the error
portion here.
Thank you

..
..
..
..
for (unsigned int i=0; i<a_word_list.size(); i++)
{
achar = a_word_list.at(i);
out_a << achar << endl; //ERROR
}

..
..
..

for (unsigned int i=0; i<n_word_list.size(); i++)
{
out_n << n_word_list.at(i) << endl; //ERROR
}
return 0;
..
..
..

Jun 17 '07 #5

P: n/a
Is there something else I can do to make this run? I don't know why I
am getting an error

Jun 17 '07 #6

P: n/a
On Sun, 17 Jun 2007 09:52:06 -0000, aa******@gmail.com wrote:
>I have written this code, and at the end, I am trying to write a
vector of strings into a text file. However, my program is nor
compiling, and it gives me the following error when I try to write to
the file:

error C2679: binary '<<' : no operator found which takes a right-hand
operand of type 'std::string' (or there is no acceptable conversion)

I don't know what I am doing wrong. I have posted my entire program
here.
Thank you

#include <iostream>
#include <fstream>
#include <iterator>
#include <algorithm>
#include <vector>
#include <math.h>
#include "string.h"
#include <string>
--
Roland Pibinger
"The best software is simple, elegant, and full of drama" - Grady Booch
Jun 17 '07 #7

P: n/a
aa******@gmail.com wrote:
:: Hi,
:: I have written this code, and at the end, I am trying to write a
:: vector of strings into a text file. However, my program is nor
:: compiling, and it gives me the following error when I try to write
:: to the file:
::
:: error C2679: binary '<<' : no operator found which takes a
:: right-hand operand of type 'std::string' (or there is no
:: acceptable conversion)
::
:: I don't know what I am doing wrong. I have posted my entire program
:: here.
:: Thank you
::
:: #include <iostream>
:: #include <fstream>
:: #include <iterator>
:: #include <algorithm>
:: #include <vector>
:: #include <math.h>
:: #include "string.h"
::
:: using namespace std;
::

The operators for std::string are found in the <stringheader.
Bo Persson
Jun 17 '07 #8

P: n/a
On 2007-06-17 11:52, aa******@gmail.com wrote:
Hi,
I have written this code, and at the end, I am trying to write a
vector of strings into a text file. However, my program is nor
compiling, and it gives me the following error when I try to write to
the file:

error C2679: binary '<<' : no operator found which takes a right-hand
operand of type 'std::string' (or there is no acceptable conversion)

I don't know what I am doing wrong. I have posted my entire program
here.
Thank you

#include <iostream>
#include <fstream>
#include <iterator>
#include <algorithm>
#include <vector>
#include <math.h>
#include "string.h"
That does not look right to me. What does "string.h" contain? If you
wanted to use the C string header you should have used <string.hor
<cstring>. However I suspect that you wanted to use C++ strings, in
which case you should use <string(notice that none of the standard C++
headers have a .h when including). If you use <stringinstead of
"string.h" your code will compiler just fine.

--
Erik Wikström
Jun 17 '07 #9

P: n/a
aa******@gmail.com wrote:
Hi,
I have written this code, and at the end, I am trying to write a
vector of strings into a text file. However, my program is nor
compiling, and it gives me the following error when I try to write to
the file:

error C2679: binary '<<' : no operator found which takes a right-hand
operand of type 'std::string' (or there is no acceptable conversion)

I don't know what I am doing wrong. I have posted my entire program
here.
Thank you
You are forgetting

#include <string>

No .h and <not ""

john
Jun 17 '07 #10

P: n/a
On Jun 17, 11:52 am, aarth...@gmail.com wrote:
I have written this code, and at the end, I am trying to write
a vector of strings into a text file. However, my program is
nor compiling, and it gives me the following error when I try
to write to the file:
error C2679: binary '<<' : no operator found which takes a right-hand
operand of type 'std::string' (or there is no acceptable conversion)
I don't know what I am doing wrong. I have posted my entire
program here.
It really would have been better if you'd have created a minimum
example.
#include <iostream>
#include <fstream>
#include <iterator>
#include <algorithm>
#include <vector>
#include <math.h>
#include "string.h"
As others have said, you haven't included <string>. So there's
no guarantee that you have all of the operations that are
normally provided for std::string.
using namespace std;
char n_str[2000];
char a_str[2000];
char n_char[2000];
char a_char[2000];
string achar, nchar;
int main(int argc, char* argv[])
{
vector<stringn_word_list;
vector<stringa_word_list;
ifstream in_a("10_a.txt");
if (!in_a)
{
cout << "Error opening abnormal file" << endl;
}
while (!in_a.eof())
This line is wrong. What you want is actually:

std::string a_str ; // No point in reading into a C style
// array...
while ( std::getline( in_a, a_str ) ) {
a_word_list.push_back( a_str ) ;
}

[...]
while (!in_n.eof())
Same comment as above.
cout << n_word_list.size()<< endl;
And of course, this whole loop can be written as:

std::copy( a_word_list.begin(), a_word_list.end(),
std::ostream_iterator< std::string >( out_a,
"\n" ) ) ;
out_a.close() ; // Since you're not using it any more...
if ( ! out_a ) {
std::cerr << "Write error in out_a" << std::endl ;
}

As above.
for (unsigned int i=0; i<n_word_list.size(); i++)
{
out_n << n_word_list.at(i) << endl; //ERROR
}
Since (rather exceptionally for a beginner) you are doing
correct error checking, don't forget to check that your writes
actually worked.

--
James Kanze (Gabi Software) email: ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34

Jun 17 '07 #11

P: n/a
aa******@gmail.com wrote:
Is there something else I can do to make this run? I don't know why I
am getting an error
Please include sufficient quotes from the previous message to provide
context for your message. Google Groups does this automatically now, so
you have no excuse.

Brian
Jun 17 '07 #12

P: n/a
Baltimore wrote:
On 17 juin, 11:52, aarth...@gmail.com wrote:
Hi,
I have written this code, and at the end, I am trying to write a
vector of strings into a text file. However, my program is nor
compiling, and it gives me the following error when I try to write
to the file:

error C2679: binary '<<' : no operator found which takes a
right-hand operand of type 'std::string' (or there is no acceptable
conversion)
out_a << achar << endl; //ERROR
out_n << n_word_list.at(i) << endl; //ERROR
>
Can you give your compiler version and the line of the error, please ?
If the first matters, then it's probably off-topic. For the second, he
flagged the lines with comments. You'd probably have noticed had you
gone through the post and trimmed down the quotes.

Brian

Jun 17 '07 #13

P: n/a
On Jun 17, 8:05 pm, "Default User" <defaultuse...@yahoo.comwrote:
Baltimore wrote:
On 17 juin, 11:52, aarth...@gmail.com wrote:
I have written this code, and at the end, I am trying to write a
vector of strings into a text file. However, my program is nor
compiling, and it gives me the following error when I try to write
to the file:
error C2679: binary '<<' : no operator found which takes a
right-hand operand of type 'std::string' (or there is no acceptable
conversion)
out_a << achar << endl; //ERROR
out_n << n_word_list.at(i) << endl; //ERROR
Can you give your compiler version and the line of the error, please ?
If the first matters, then it's probably off-topic.
Since when? Questions concerning the conformance of a compiler
are on topic. More importantly, the poster doesn't know the
answer to his problem; indicating the compiler version may allow
someone to say that it is just a compiler bug, and that his code
is correct, and save a lot of other people a lot of work trying
to figure out why the code doesn't work. In general, when
asking about a specific error message, indicating the compiler
and its version (and possibly the OS it's running on, in the
case of g++) is just considered correct posting etiquette.

--
James Kanze (Gabi Software) email: ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34

Jun 17 '07 #14

P: n/a
James Kanze wrote:
On Jun 17, 8:05 pm, "Default User" <defaultuse...@yahoo.comwrote:
Baltimore wrote:
On 17 juin, 11:52, aarth...@gmail.com wrote:
I have written this code, and at the end, I am trying to write a
vector of strings into a text file. However, my program is nor
compiling, and it gives me the following error when I try to
write to the file:
error C2679: binary '<<' : no operator found which takes a
right-hand operand of type 'std::string' (or there is no
acceptable conversion)
out_a << achar << endl; //ERROR
out_n << n_word_list.at(i) << endl; //ERROR
Can you give your compiler version and the line of the error,
please ?
If the first matters, then it's probably off-topic.

Since when? Questions concerning the conformance of a compiler
are on topic.
They CAN be, but seldom are, which is why I said "probably".

It's not usually the first question that needs to be asked.

Brian

Jun 17 '07 #15

P: n/a
On Jun 18, 1:01 am, "Default User" <defaultuse...@yahoo.comwrote:
James Kanze wrote:
On Jun 17, 8:05 pm, "Default User" <defaultuse...@yahoo.comwrote:
Baltimore wrote:
On 17 juin, 11:52, aarth...@gmail.com wrote:
I have written this code, and at the end, I am trying to write a
vector of strings into a text file. However, my program is nor
compiling, and it gives me the following error when I try to
write to the file:
error C2679: binary '<<' : no operator found which takes a
right-hand operand of type 'std::string' (or there is no
acceptable conversion)
out_a << achar << endl; //ERROR
out_n << n_word_list.at(i) << endl; //ERROR
Can you give your compiler version and the line of the error,
please ?
If the first matters, then it's probably off-topic.
Since when? Questions concerning the conformance of a compiler
are on topic.
They CAN be, but seldom are, which is why I said "probably".
I'm sorry, but questions along the lines of: "The following code
doesn't compile. Is this a problem with my compiler, or is the
code actually illegal?" are perfectly on topic. Always.
It's not usually the first question that needs to be asked.
Yes and no. It's standard etiquette in this group to indicate
the compiler and the version when there is a problem, because it
can make answering the question easier. From the FAQ, question
5.7:

How do I post a question about code that doesn't work
correctly?

[...]

5. Post the tools you used: compiler name, version
number, operating system, etc

6. Post the tool options you used: libraries, exact
compiler and linker options, etc

7. Post the exact messages you received; differentiate
between compiler, linker, and runtime messages

It's bad enough when we have people complaining about things
that are marginal (when in doubt, allow it), but to complain
about following the guidelines in the FAQ...

--
James Kanze (GABI Software, from CAI) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34

Jun 18 '07 #16

P: n/a
On Jun 17, 12:10 pm, aarth...@gmail.com wrote:
Is there something else I can do to make this run? I don't know why I
am getting an error
Maybe, you define a 'string' type in the "string.h" header.
So the 'achar' and 'nchar' variables could be of your own string type.
Write std::string for this variables and include <stringto use the
string library of C++.

Jun 18 '07 #17

P: n/a
James Kanze wrote:
On Jun 18, 1:01 am, "Default User" <defaultuse...@yahoo.comwrote:
James Kanze wrote:
Since when? Questions concerning the conformance of a compiler
are on topic.
They CAN be, but seldom are, which is why I said "probably".

I'm sorry, but questions along the lines of: "The following code
doesn't compile. Is this a problem with my compiler, or is the
code actually illegal?" are perfectly on topic. Always.
That wasn't the question, was it?
It's not usually the first question that needs to be asked.

Yes and no. It's standard etiquette in this group to indicate
the compiler and the version when there is a problem, because it
can make answering the question easier.
That's fine, and had the OP done so that would be reasonable. However,
it's pointless for a respondent to make that his only contribution to
ask. Especially when he full-quoted and was unable to read the original
post for context.
It's bad enough when we have people complaining about things
that are marginal (when in doubt, allow it), but to complain
about following the guidelines in the FAQ...
This is incorrect, as I didn't do that. You've made a strawman and
knocked it down. Congrats for going with the classics.
--
James Kanze (GABI Software, from CAI) email:ja*********@gmail.com
Conseils en informatique orientie objet/
Beratung in objektorientierter Datenverarbeitung
9 place Simard, 78210 St.-Cyr-l'Icole, France, +33 (0)1 30 23 00 34
BTW, if you can't get Google to post this correctly, consider dropping
it. I understand that some people have no choice but to use their
inadequate system, but it's incumbent upon you to work with the
problems.


Brian
Jun 18 '07 #18

P: n/a
On Jun 18, 8:18 pm, "Default User" <defaultuse...@yahoo.comwrote:
James Kanze wrote:
[...]
That's fine, and had the OP done so that would be reasonable.
However, it's pointless for a respondent to make that his only
contribution to ask. Especially when he full-quoted and was
unable to read the original post for context.
Just as pointless as for you to criticize the respondent for
doing so. His comment was technically correct. Your criticism
of it wasn't.
It's bad enough when we have people complaining about things
that are marginal (when in doubt, allow it), but to complain
about following the guidelines in the FAQ...
This is incorrect, as I didn't do that. You've made a strawman and
knocked it down. Congrats for going with the classics.
--
James Kanze (GABI Software, from CAI) email:james.ka...@gmail.com
Conseils en informatique orientie objet/
Beratung in objektorientierter Datenverarbeitung
9 place Simard, 78210 St.-Cyr-l'Icole, France, +33 (0)1 30 23 00 34
BTW, if you can't get Google to post this correctly, consider dropping
it. I understand that some people have no choice but to use their
inadequate system, but it's incumbent upon you to work with the
problems.
Modulo errors of manipulation on my part, my postings are
conform, even if they're not what I want. If OE can't quote
them correctly, it's not an acceptable newsreader. (Which
doesn't mean that I'll stop trying to get them to look like what
I want. I don't like quoted-ascii, and IMHO there's no need for
it today.)

--
James Kanze (Gabi Software) email: ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34

Jun 18 '07 #19

P: n/a
James Kanze wrote:
On Jun 18, 8:18 pm, "Default User" <defaultuse...@yahoo.comwrote:
James Kanze wrote:

[...]
That's fine, and had the OP done so that would be reasonable.
However, it's pointless for a respondent to make that his only
contribution to ask. Especially when he full-quoted and was
unable to read the original post for context.

Just as pointless as for you to criticize the respondent for
doing so. His comment was technically correct.
No, it wasn't. He completely missed the sections where the OP had
flagged the errors. At best, you could say it was half right.
Your criticism of it wasn't.
It certainly was.

BTW, if you can't get Google to post this correctly, consider
dropping it. I understand that some people have no choice but to
use their inadequate system, but it's incumbent upon you to work
with the problems.

Modulo errors of manipulation on my part, my postings are
conform, even if they're not what I want.
You're responsible for the broken software you use. If GG can't do
..sigs right, then don't use them.
If OE can't quote
them correctly, it's not an acceptable newsreader.
What does OE have to do with anything? I'm talking about your broken
..sig separator, not quoting.

Brian
Jun 18 '07 #20

P: n/a
On Jun 19, 12:27 am, "Default User" <defaultuse...@yahoo.comwrote:
James Kanze wrote:
[...]
Your criticism of it wasn't.
It certainly was.
If you don't know how to read (the FAQ), I can't help you.
BTW, if you can't get Google to post this correctly, consider
dropping it. I understand that some people have no choice but to
use their inadequate system, but it's incumbent upon you to work
with the problems.
Modulo errors of manipulation on my part, my postings are
conform, even if they're not what I want.
You're responsible for the broken software you use. If GG can't do
.sigs right, then don't use them.
Except that the .sig was correct in the original of the post you
quoted. I've fixed that so that it (normally) works.
If OE can't quote
them correctly, it's not an acceptable newsreader.
What does OE have to do with anything? I'm talking about your broken
.sig separator, not quoting.
The .sig separator shows up correct in the posting, at least in
Google groups. "-- \n". The space is there in what is
propagating via NNTP.

--
James Kanze (GABI Software, from CAI) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34

Jun 19 '07 #21

P: n/a
James Kanze wrote:
On Jun 19, 12:27 am, "Default User" <defaultuse...@yahoo.comwrote:
James Kanze wrote:

[...]
Your criticism of it wasn't.
It certainly was.

If you don't know how to read (the FAQ), I can't help you.
I did not admonish anyone for following the FAQ. Drop the strawman.
You're responsible for the broken software you use. If GG can't do
.sigs right, then don't use them.

Except that the .sig was correct in the original of the post you
quoted.
No, it wasn't. It's coming out without the space. I realize you pasted
it in with one, but Google is breaking it.
I've fixed that so that it (normally) works.
No, it doesn't. Never. Every .sig you put out is missing the space in
"-- ".

If OE can't quote
them correctly, it's not an acceptable newsreader.
What does OE have to do with anything? I'm talking about your broken
.sig separator, not quoting.

The .sig separator shows up correct in the posting, at least in
Google groups. "-- \n". The space is there in what is
propagating via NNTP.

Hmmm. That's not what I'm seeing here. I also checked it via Google
Groups, and I don't see the space there either (based on clicking
Reply).

Anybody else getting a correct .sig separator?

Brian
Jun 19 '07 #22

P: n/a
On Jun 19, 6:09 pm, "Default User" <defaultuse...@yahoo.comwrote:
James Kanze wrote:
On Jun 19, 12:27 am, "Default User" <defaultuse...@yahoo.comwrote:
James Kanze wrote:
You're responsible for the broken software you use. If GG can't do
.sigs right, then don't use them.
Except that the .sig was correct in the original of the post you
quoted.
No, it wasn't. It's coming out without the space. I realize you pasted
it in with one, but Google is breaking it.
I've fixed that so that it (normally) works.
No, it doesn't. Never. Every .sig you put out is missing the space in
"-- ".
If OE can't quote
them correctly, it's not an acceptable newsreader.
What does OE have to do with anything? I'm talking about your broken
.sig separator, not quoting.
The .sig separator shows up correct in the posting, at least in
Google groups. "-- \n". The space is there in what is
propagating via NNTP.
Hmmm. That's not what I'm seeing here. I also checked it via Google
Groups, and I don't see the space there either (based on clicking
Reply).
Google's wierd. If I click on Reply, the sig is quoted, and the
trailing space is stripped of. If I copy/paste the message into
another editor, however, the final space is there. If I click
on options, and then "show original posting", it's not.

My tests were based on copy/pasting the message into another
editor. Still, I suspect that if I get it anywhere, it is
present on the network; I can't quite imagine Google adding it
in in some cases.
Anybody else getting a correct .sig separator?
I'm curious as well. But when you normally don't see it, what
tool are you using?

(I'm also curious as to why this sort of thing has suddenly
started causing problems. For many, many years, I used "|>" for
citing, and didn't have the space, and it never caused anyone
problems anywhere.)

--
James Kanze (GABI Software, from CAI) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34

Jun 20 '07 #23

P: n/a
On Jun 20, 4:02 am, James Kanze <james.ka...@gmail.comwrote:
On Jun 19, 6:09 pm, "Default User" <defaultuse...@yahoo.comwrote:
Hmmm. That's not what I'm seeing here. I also checked it via Google
Groups, and I don't see the space there either (based on clicking
Reply).

Google's wierd. If I click on Reply, the sig is quoted, and the
trailing space is stripped of. If I copy/paste the message into
another editor, however, the final space is there. If I click
on options, and then "show original posting", it's not.
Hmmm, I did a cut and paste from Google's display, and I do see the
space that way.
My tests were based on copy/pasting the message into another
editor. Still, I suspect that if I get it anywhere, it is
present on the network; I can't quite imagine Google adding it
in in some cases.
I'm actually posting this from Google Groups. I'll add a manual .sig
and see how it looks to me with my regular newsreader.
Anybody else getting a correct .sig separator?

I'm curious as well. But when you normally don't see it, what
tool are you using?
My normal setup is XanaNews, with signatures set to "strict". That
means that it requires the space. It handles most other .sigs here.
It's fairly easy to tell because I have the fonts set to display .sigs
in a different color.
(I'm also curious as to why this sort of thing has suddenly
started causing problems. For many, many years, I used "|>" for
citing, and didn't have the space, and it never caused anyone
problems anywhere.)
--
Manual signature, dash dash space entered by hand.
Jun 20 '07 #24

P: n/a
Default User wrote:

I'm actually posting this from Google Groups. I'll add a manual .sig
and see how it looks to me with my regular newsreader.
--
Manual signature, dash dash space entered by hand.

I don't see this as a correct .sig either.


Brian
Jun 20 '07 #25

P: n/a

Default User <de***********@yahoo.comwrote in message ...
Default User wrote:
I'm actually posting this from Google Groups. I'll add a manual .sig
and see how it looks to me with my regular newsreader.
--
Manual signature, dash dash space entered by hand.

I don't see this as a correct .sig either.
Brian
Slaughtered here too.

I have checked my own OE generated sig. uploaded to my ISP, and back == OK.
So, it is another 'news' capable program, ISP, or Google doing it.
Really hard to check OE on a GNU/Linux. Does it work with 'Wine'?

<G>
Maybe *you* should use OE and AT&T!! [ got buck$? ]
( .... and 'hand quote' James' messages, like I do. ;-{ )
</G>

Maybe when converting '\n' they are stripping out trailing whitespace too.
This line has five spaces after the period.

--
Bob R
POVrookie
Jun 20 '07 #26

P: n/a
On Jun 21, 1:03 am, "BobR" <removeBadB...@worldnet.att.netwrote:
Default User <defaultuse...@yahoo.comwrote in message ...
Default User wrote:
I'm actually posting this from Google Groups. I'll add a manual .sig
and see how it looks to me with my regular newsreader.
--
Manual signature, dash dash space entered by hand.
I don't see this as a correct .sig either.
Slaughtered here too.
I have checked my own OE generated sig. uploaded to my ISP, and back == OK.
So, it is another 'news' capable program, ISP, or Google doing it.
Really hard to check OE on a GNU/Linux. Does it work with 'Wine'?
<G>
Maybe *you* should use OE and AT&T!! [ got buck$? ]
( .... and 'hand quote' James' messages, like I do. ;-{ )
</G>
Maybe when converting '\n' they are stripping out trailing whitespace too.
This line has five spaces after the period.
Not when I copy/paste it from Google news into my editor:-). It
has no spaces, where as the sig separator has one trailing
space.

The space in the .sig is probably there, in the messages
circulating in NNTP, but there is definitely some funny stuff
going on.

--
James Kanze (GABI Software, from CAI) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34

Jun 21 '07 #27

P: n/a
BobR <re***********@worldnet.att.netwrote:
I have checked my own OE generated sig. uploaded to my ISP, and back == OK.
[sig quoted intentionally]
--
Bob R
POVrookie
Hmm, your .sig delimiter is missing the space when I read it here. Many
other posts do not have this problem, so I don't think it's on my end.

The funny thing is that I *have* seen *some* of your posts with a
correct delimiter.
Maybe when converting '\n' they are stripping out trailing whitespace too.
This line has five spaces after the period.
Could be. When reading over here, there are no spaces after the period.

--
Marcus Kwok
Replace 'invalid' with 'net' to reply
Jun 21 '07 #28

P: n/a
BobR wrote:
>
Default User <de***********@yahoo.comwrote in message ...
Default User wrote:
I'm actually posting this from Google Groups. I'll add a manual
.sig and see how it looks to me with my regular newsreader.
--
Manual signature, dash dash space entered by hand.
I don't see this as a correct .sig either.
>
Slaughtered here too.
Hard to tell how widespread it is, as most GG users don't have .sigs.
<G>
Maybe you should use OE and AT&T!! [ got buck$? ]
Good grief, no.
( .... and 'hand quote' James' messages, like I do. ;-{ )
Well, I just have to trim the .sig manually, rather than have XanaNews
do it for me.
</G>

Maybe when converting '\n' they are stripping out trailing whitespace
too. This line has five spaces after the period.
I don't see that.
--
Bob R
POVrookie
Yours is missing the space in the .sig separator as well.


Brian
Jun 21 '07 #29

P: n/a

Marcus Kwok wrote in message...
BobR <re***********@worldnet.att.netwrote:
I have checked my own OE generated sig. uploaded to my ISP,
and back == OK.
Followup: To you and James [ I see default users post, will load on this
post]

I checked my outgoing posts (before send), and OE(5) *IS* stripping, but it
depends on the post I am replying to. I tried changing the 'encoding', no
soap.

Very strange. I may be forced to find a 'bootleg' OE6, and hope it will work
with win98se (the last ms for me! Debian!).
[sig quoted intentionally]
--
Bob R
POVrookie

Hmm, your .sig delimiter is missing the space when I read it here. Many
other posts do not have this problem, so I don't think it's on my end.

The funny thing is that I *have* seen *some* of your posts with a
correct delimiter.
Maybe when converting '\n' they are stripping out trailing whitespace
too.
This line has five spaces after the period.

Could be. When reading over here, there are no spaces after the period.
Here either. (stripped before I sent it. ;-{ )
>
[sig quoted intentionally]
--
Marcus Kwok
Yet, your sig is good here.

Did Gates do it to us again?
( ms: Send money, get upgrade. Buy 'vista' for a million bucks, or suffer a
horrible death! <G( Dictatorships and monopolys, BAH humbug!) )

--
Bob R
POVrookie
Jun 21 '07 #30

This discussion thread is closed

Replies have been disabled for this discussion.