Sunday, May 31, 2009

[jQuery] Re: Losing the form values in Firefox 2/3 only

hi arif,
          what i understood from your sample page and explanation that is you cannot get the values of those elements which were generated dynamically after the page is loaded. If that is the case , you can use jQuery live() event to solve this problem, google it

I hope it will help you.

On Mon, Jun 1, 2009 at 9:07 AM, Mohammed Arif <arif.mohammed@gmail.com> wrote:

I am attaching the sample code to debug the issue:

http://www.mohammedarif.com/test/index.html

Steps to reproduce in FF 2/3:

1. Click on "Add" button, this will clone the entire piece of code and
append in DOM
2. Put some values in form fields in both the tables/divs
3. Click on "Move up" button, entire current table shifted to top but
form values get lost
4. Same behavior is coming on "Move down" and "Move to top" also.

But the entire piece of code is working fine in IE 6/7

Would appreciate some quick help to retain form values.

Thanks in advance
Mohammed Arif

On May 29, 1:59 pm, Arif <arif.moham...@gmail.com> wrote:
> Hi,
>
> Unexpectedly it's not happening in IE 6/7 :)
>
> So looking for form jQuery plugin which can save and deserialize form
> values on a event.
>
> Already using form plugin which saves form values in an Array but it
> doesn't write back the values, need to write back those values after
> some manipulation to the individual form.
>
> But the case is bit different here; we have been using multiple forms
> on a single page.
>
> Looking for quick reply.
>
> Thanks
> Mohammed Arif

[jQuery] Re: json format

Hi ,
var name = 'Peter Wraae Marino';
var data ="name="+name;
$.ajax({
type: "GET",
data: data,
cache: false,
dataType:  "json",
success: function(msg){
alert( msg);
},
error: function( XMLHttpRequest, textStatus, errorThrown ){
var t = "XMLHttpRequest: "+XMLHttpRequest+"\n";
t+= "textStatus: "+textStatus+"\n";
t+= "errorThrown: "+errorThrown+"\n";
alert( t );
}
});


in php file
just echo ur post variable like this
echo $_POST['name'];

Now u can get ur post name into alert pop up

Hope this code u wanted?


On Mon, Jun 1, 2009 at 11:39 AM, Peter Marino <marino.peter@gmail.com> wrote:
Hi jQuery,

I'm very new to the json stuff (so warned)...

when I try the following:

var data =
{
"member" :
{
"name" : "Peter Wraae Marino"
}
}

$.ajax({
type: "GET",
data: data,
cache: false,
dataType: "json",
success: function(msg){
alert( msg );
},
error: function( XMLHttpRequest, textStatus, errorThrown ){
var t = "XMLHttpRequest: "+XMLHttpRequest+"\n";
t+= "textStatus: "+textStatus+"\n";
t+= "errorThrown: "+errorThrown+"\n";
alert( t );
}
});

I get an error message saying parsing error, I assume this means my data format is wrong.
but when I see how other people have used json data format then I think the way I did it is right?

can someone help me out here?

regards,
Peter

--
Power Tumbling - http://www.powertumbling.dk
OSG-Help - http://osghelp.com



--
---| Regard |---

Mohd.Tareque

[jQuery] json format

Hi jQuery,

I'm very new to the json stuff (so warned)...

when I try the following:

var data =
{
"member" :
{
"name" : "Peter Wraae Marino"
}
}

$.ajax({
type: "GET",
data: data,
cache: false,
dataType: "json",
success: function(msg){
alert( msg );
},
error: function( XMLHttpRequest, textStatus, errorThrown ){
var t = "XMLHttpRequest: "+XMLHttpRequest+"\n";
t+= "textStatus: "+textStatus+"\n";
t+= "errorThrown: "+errorThrown+"\n";
alert( t );
}
});

I get an error message saying parsing error, I assume this means my data format is wrong.
but when I see how other people have used json data format then I think the way I did it is right?

can someone help me out here?

regards,
Peter

--
Power Tumbling - http://www.powertumbling.dk
OSG-Help - http://osghelp.com

[jQuery] Re: Losing the form values in Firefox 2/3 only

I am attaching the sample code to debug the issue:

http://www.mohammedarif.com/test/index.html

Steps to reproduce in FF 2/3:

1. Click on "Add" button, this will clone the entire piece of code and
append in DOM
2. Put some values in form fields in both the tables/divs
3. Click on "Move up" button, entire current table shifted to top but
form values get lost
4. Same behavior is coming on "Move down" and "Move to top" also.

But the entire piece of code is working fine in IE 6/7

Would appreciate some quick help to retain form values.

Thanks in advance
Mohammed Arif

On May 29, 1:59 pm, Arif <arif.moham...@gmail.com> wrote:
> Hi,
>
> Unexpectedly it's not happening in IE 6/7 :)
>
> So looking for form jQuery plugin which can save and deserialize form
> values on a event.
>
> Already using form plugin which saves form values in an Array but it
> doesn't write back the values, need to write back those values after
> some manipulation to the individual form.
>
> But the case is bit different here; we have been using multiple forms
> on a single page.
>
> Looking for quick reply.
>
> Thanks
> Mohammed Arif

[jQuery] Edittable plugin problem

Hi All, 

Am using the editable plug in ,

When i edit the values , i want to check the already exist and also want to pass the unique key to the query , for the Update WHERE condition ,

<script type="text/javascript" charset="utf-8">
var oTable;

$(document).ready(function() {
/* Apply the jEditable handlers to the table */
$('#example tbody td').editable( 'edit_update.php?id='(i want the getID value here ), {
"callback": function( sValue, y ) {
var aPos = oTable.fnGetPosition( this );
oTable.fnUpdate( sValue, aPos[0], aPos[1] );
}
} );
/* Init DataTables */
oTable = $('#example').dataTable();
} );
</script>


<tbody>
<?php
  while($row=mysql_fetch_object($result)){
$id = $row->id;
echo "<tr>";
echo "<td onclick = getID($id) >$row->value</td>";
echo "</tr>";
}
 ?>
</tbody>


How i do this ,

Thanks 
--
Regards
B.S.Bharanikumar
http://php-mysql-jquery.blogspot.com/

[jQuery] Re: accessing dom from different domain ?

Ricardo ,
thank you for replay
but I'm getting the same exception "Permission denied to
get property"

jq13("#open-oauth-button").click(function(event){
TwitterService.getAuthUrl(function(url){
var myRef = window.open(url,'mywin',
'left=20,top=20,width=1000,height=400,toolbar=0,resizable=0');
var win=window;
jq13(myRef.document).ready(function(){
var self = win.jq13(this);
self.jq13("div.buttons#deny").click(function(event){

alert("lala");

});

});


});
});


I think the problem is in
jq13(myRef.document). Main window has localhost domain but myRef
window has twitter.com domain so there is cross domain security work .
I'm wondering is the any ability to monitor events in myRef window?
http://friendfeed.com/ seems made it work but dont know how :)

On Jun 1, 2:50 am, Ricardo <ricardob...@gmail.com> wrote:
> does the document in the other window also have a "jq13" object? If
> not you have to use the one in your main window and pass the other
> window's document as context:
>
> jq13(myRef.document).ready(function(){
>    // grab the document in a jq object
>    var self = this.parentWindow.jq13(this);
>    self.find("div.buttons#deny").click(function(event){
>         alert("lala");
>    });
>
> });
>
> Not tested, might not work but you get the idea.
>
> On May 31, 3:38 pm, kaspar <kaspar...@gmail.com> wrote:
>
> > Hello
> > I'm trying to make Twitter OAuth  and getting "Permission denied to
> > get property"
>
> > here is the code
>
> >         jq13("#open-oauth-button").click(function(event){
> >                 TwitterService.getAuthUrl(function(url){
> >                         var myRef = window.open(url,'mywin',
> >                         'left=20,top=20,width=1000,height=400,toolbar=0,resizable=0');
>
> >                         jq13(myRef.document).ready(function(){
>
> >                                 myRef.jq13("div.buttons#deny").click(function(event){
> >                                         alert("lala");
> >                                 });
>
> >                         });
> >                 });
> >         });
>
> > is it possible to create event listeners on dom from different
> > domain ?

[jQuery] The Assignment of the Return Value of a jQuery Method/Plug-in to a Reference Variable

QUESTION: Please find below three blocks of code and try to answer
the question in all-caps that precedes this code.

CODE DESCRIPTION: The first block of code uses a jQuery method/plug-
in called toDate( ) that I created. This code has been thoroughly
tested in Firefox, Opera, and Safari. It works superbly.

The second and third blocks of code work in tandem and are labeled
unworkable, because I am unable to assign the returned value of the
toDate( ) method/plug-in to the citationDate reference variable. In
an effort to prove that the rest of the code works I have assigned the
Javascript Date( ) object to the citationDate variable instead. It
works.

I have tried a variety of assignment techniques, but have yet to
stumble on the correct one for toDate( ). WHAT IS THE CORRECT METHOD
OF ASSIGNMENT?

NOTE: If you would like to see how the Date( ) object functions, open
to the HTML source document, clear the pop-up menu, pass your cursor
over the Copyright item in the horizontal menubar, and click on the
item labeled Bibliographical Citation.

The behavior of the toDate( ) method/plug-in is visible in the Preface
panel of the HTML source document and appears automatically


KNOWN WORKABLE CONTEXT (HTML Document only)

<script type="text/javascript">
$(document).ready(function() {
$('#today').toDate();
$('#clock').JSClock();
$('#duration').timePassed();
$('body').SVG_RoundiesIntializer();
$().getBrowserInformation();
});
</script>

HTML SOURCE: http://homepage.mac.com/moogoonghwa/Imagine_Prototype/Content/
JS SOURCE: http://homepage.mac.com/moogoonghwa/Imagine_Prototype/JavaScript/jQ_Imagine.js

TENTATIVELY UNWORKABLE CONTEXT (JS Document)

function citationPrompt() {
var pageTitle = document.title;
var citationDate = new Date();
var pageReference = this.location.href;
var citation = new Object();
citation = {pageCitation: 'Hashimori Iwato. 2000. Imagine: Bridging
Japan\'s Historical Gap. ' + pageTitle + ' &lt;' + pageReference +
'&gt; (' + citationDate + ').'};
var temp = {
state0: {
html: citation.pageCitation,
buttons: {Continue: true},
focus: 1,
opacity:0.6,
submit:function(v,m,f){
if(v) {
return true;
}
return false;
}
}
}
$.prompt(temp);
}

JS SOURCE: http://homepage.mac.com/moogoonghwa/Imagine_Prototype/JavaScript/popUpBoxConfiguration.js

TENTATIVELY UNWORKABLE CONTEXT (HTML Document)

<li><a href="javascript:citationPrompt()">Bibliographical Citation</
a></li>

HTML SOURCE: http://homepage.mac.com/moogoonghwa/Imagine_Prototype/Content/

Roddy

[jQuery] superfish prob in IE 7 when loading PDF

Hello there,
I have a problem here when using superfish menus. I used the menu
on top of the page and below it, i place an iframe to load a PDF. My
problem is that the menus are overlapped by the opened PDF in IE 7 and
Firefox. IT works fine in IE 6.
Hope anybody encountered this baffling phenomenon. :D

[jQuery] Re: help with accordion with IE (strange flickering)

another issue is, again with IE 6/7. at the same example page
http://www.project.gp.sg/jquery, for the first loading of the page,
you'll notice that the height of the accordion exceed the height that
i had set.

it is supposed to be somewhere above the the orange retangular height.
only when you click on any of the drawers, then it will be adjusted to
the correct height.

with Opera, this problem will only appear if the browser window is
loading the page for the first time. once hit refresh, it will be at
the correct height.

i am not sure what when wrong this time. i had set the panel's height,
tried setting the height of the accordion content, and even the
header. but it still doesn't help.

any guide here? thanks in advance.

[jQuery] Re: Advanced Syntax Questions

this should do it:

$('a[href^=css]:first')

Don't forget to put quotes around the selector.


--Karl

____________
Karl Swedberg




On May 31, 2009, at 1:55 AM, ProfCrazyHorse wrote:


I'm still trying to get the hang of the syntax.  For example, if I
want to select the first anchor tag on the page whose href begins with
"css", this doesn't work:

(a[href^=css](a:first))

What's the right way to do this?

Thanks!

[jQuery] Re: How to remove unneeded functions of jquery?

You could check out a copy of the SVN version and build it yourself from its component parts:


Once you've downloaded it, you'll see a src directory, which has the separate files that make up jQuery core:

src/
ajax.js
attributes.js
core.js
css.js
data.js
dimensions.js
event.js
fx.js
intro.js
manipulation.js
offset.js
outro.js
selector.js
support.js
traversing.js


Good luck.

--Karl

____________
Karl Swedberg




On May 31, 2009, at 4:26 AM, Jquery user wrote:


Hello Jquery members ,
I'm wondering how to remove unneeded functions out of jquery.
This could strongly reduce the file size!
Can somebody tell me more about it?

[jQuery] Re: a jQuery solution for an MSIE problem?

On May 31, 8:56 am, "planetv...@gmail.com" <planetv...@gmail.com>
wrote:
> Hi everyone, I have been struggling with a MSIE related problem and I
> was wondering if using jQuery will help me find an asnwer. Basically,
> the code words wonderfully in all other browsers except MSIE.
>
> Basically, I want to render something like bars on a graph. Vertical
> bars. The bars are CSS div blocks with specific lengths (with an icon
> inside at the top). They are placed on top of horizontal rules like
> rules of a book. These rules are also div, with a border style. Can
> the browser issue be solved using jQuery or is there another solution
> you guys can think of, I have been really having a hard time with
> this.

Your problem seems to be realted to HTML and CSS, it makes more sense
to try and fix it using HTML and CSS. Ask in a group that specialises
in those technologies:

CSS:
<URL: http://groups.google.com/group/comp.infosystems.www.authoring.stylesheets/topics
>

HTML:
<URL: http://groups.google.com/group/comp.infosystems.www.authoring.html/topics
>


[...]
> <!DOCTYPE html
> PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

I am not up to speed on various DOCTYPEs and their effect in various
browsers, however since IE doesn't understand XHTML, you are likely
serving this document as text/html, which may be related to your issue
in at least some versions of IE. Ask in one of the groups above.


--
Rob

[jQuery] Re: a jQuery solution for an MSIE problem?

not much to go on here. Google "IE problem" and there are a little more than a few  issues show up

pretty hard to troubleshoot a bunch of empty div's, an unknown image and a generic "problem", all packed into a 100px tall container . The underlying concept though sounds like jQuery would help a lot....whatever it is

planetvirx@gmail.com wrote:
Hi everyone, I have been struggling with a MSIE related problem and I was wondering if using jQuery will help me find an asnwer. Basically, the code words wonderfully in all other browsers except MSIE.   Basically, I want to render something like bars on a graph. Vertical bars. The bars are CSS div blocks with specific lengths (with an icon inside at the top). They are placed on top of horizontal rules like rules of a book. These rules are also div, with a border style. Can the browser issue be solved using jQuery or is there another solution you guys can think of, I have been really having a hard time with this.   So here is the code:  [code] .row { 	border-bottom: 1px solid #000; 	height: 34px; }  .name {  }   .bar { 	background: red; }  #bar1 { 	display: block; 	height: 136px; 	width: 32px; 	border: 1px solid blue; 	position: absolute; }  #container { 	height: 100px; 	overflow: scroll; }  [/code]   [code] <!DOCTYPE html      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">  	<head> 		<title>Bars</title> 		<link rel="stylesheet" type="text/css" href="style.css" type="text/ css" title="default" />  	</head>  	<body> 		<div id="container"> 			<div class="row"> 				<span class="bar" id="bar1"> 					<span> 						<img src="i32px.gif"> 					</span> 				</span> 				<span class="name"> 					NAME 				</span> 			</div> 			<div class="row"> 				&nbsp; 			</div> 			<div class="row"> 				&nbsp; 			</div> 			<div class="row"> 				&nbsp; 			</div> 			<div class="row"> 				&nbsp; 			</div> 			<div class="row"> 				&nbsp; 			</div> 			<div class="row"> 				&nbsp; 			</div> 			<div class="row"> 				&nbsp; 			</div> 			<div class="row"> 				&nbsp; 			</div> 			<div class="row"> 				&nbsp; 			</div> 			<div class="row"> 				&nbsp; 			</div> 			<div class="row"> 				&nbsp; 			</div> 		</div> 	</body>   </html>  [/code]    

[jQuery] Re: accessing dom from different domain ?

does the document in the other window also have a "jq13" object? If
not you have to use the one in your main window and pass the other
window's document as context:

jq13(myRef.document).ready(function(){
// grab the document in a jq object
var self = this.parentWindow.jq13(this);
self.find("div.buttons#deny").click(function(event){
alert("lala");
});
});

Not tested, might not work but you get the idea.

On May 31, 3:38 pm, kaspar <kaspar...@gmail.com> wrote:
> Hello
> I'm trying to make Twitter OAuth  and getting "Permission denied to
> get property"
>
> here is the code
>
>         jq13("#open-oauth-button").click(function(event){
>                 TwitterService.getAuthUrl(function(url){
>                         var myRef = window.open(url,'mywin',
>                         'left=20,top=20,width=1000,height=400,toolbar=0,resizable=0');
>
>                         jq13(myRef.document).ready(function(){
>
>                                 myRef.jq13("div.buttons#deny").click(function(event){
>                                         alert("lala");
>                                 });
>
>                         });
>                 });
>         });
>
> is it possible to create event listeners on dom from different
> domain ?

[jQuery] fancy box or css issue

i am using the fancy box light box plugin but cant figure out one
small issue

problem:
the container div for fancy box scales up to defined size but the ajax
loaded file inside the lightbox container does not scale

I thought it might be a css issuse but nothing seems to work. Could
anyone shed a little light on this.


Thanks
terry

[jQuery] fancy box or css issue

i am using the fancy box light box plugin but cant figure out one
small issue

problem:
the container div for fancy box scales up to defined size but the ajax
loaded file inside the lightbox container does not scale

I thought it might be a css issuse but nothing seems to work. Could
anyone shed a little light on this.


Thanks
terry

[jQuery] [bug] jCarousel: breaks in rtl design

Hi, if the direction of the website is rtl (<html dir="rtl"> aka
arabic websites) the .jcarousel-list aligns different from the ltr
design.

Its right border will align with the right border of the container
(.jcarousel-clip) so when i push the next button it will push the
whole list further to the right, making it not visible.

Can you guys provide a fix for rtl design please? maybe make the next
button behave like the previous button from lrt design?

It would be greatly appreciated.

Many thanks

[jQuery] Re: $.post form don't post

Sent from my iPhone

On May 31, 2009, at 10:16 AM, mar4eva mar4eva <mar4eva@gmail.com> wrote:

>
> var value = $('#ListaCliente).val();
> $.post("teste.php", { selectvalue: ""+value});
>
> 2009/5/30, _zeh_ <lcpgbrasil@gmail.com>:
>>
>> I have the following select:
>>
>> <select name="ListaCliente" id="ListaCliente" title="$row_RSCliente
>> ['CodCliente']">
>> <option value="4">ABA</option>
>> <option value="1">CARLOS</option>
>> <option value="3">LUIZ</option>
>> <option value="2">SILVIO</option>
>> </select>
>>
>> and may
>>
>> and my post is this:
>> $.post('teste.php',
>> [$("#ListaCliente option:selected")],
>> function(data){
>> $('#ResultEsq').show();
>> $('#AtriEsq').show();
>> $('#ResultEsq').empty().html(data);
>> }
>> );
>>
>>
>>
>> });
>>
>> but the destination is not enough any value:
>>
>> $_POST (array)
>> undefined undefined
>>
>>
>> for better understanding, I see that the files:
>>
>> http://www.4shared.com/file/108741536/64cd3f34/btest.html
>>

[jQuery] Getting previous AJAX submit response to current Submit button click.

I have an advanced search page with two buttons. One button is a
standard submit button. The other button is bound to JQuery.
Clicking that button submits the form in the background, putting the
search criteria in the HTTP session, and then performs some other AJAX
work. It works correctly.

The problem is that if you click the standard submit button after
having used the button with the AJAX button, then the browser will
display the last response received from the previous AXAX submit
rather than the response for the current Submit.

For now I will change the JQuery code to refresh the page when it is
done to see if that circumvents the problem, but I'm curious how I
might change my code so that the submit button gets only its response
instead of the last response received by the previous AJAX submit.
Here is my code.

$(document).ready( function()
{
$('#ajaxBtn').click( function()
{
$('#saveOnly').val( 'Y' );
$('#searchForm').ajaxSubmit(
{
beforeSubmit: loading,
target: '#output',
async: true,
success: downloadFiles,
error: submitError
});
return false;
});
}); "

Steve Mitchell
http://www.ByteworksInc.com

[jQuery] [autocomplete] matchContains in multiple words

http://docs.jquery.com/Plugins/Autocomplete

Say I have the following entry in a data array:

"Quick brown fox"

Is it possible to return this entry when I search for e.g. "qui fox"?
At this moment I can only get this result when searching for "qui" or
"fox", but not "qui fox". I guess what I'm looking for is a way to
split the input, and match each part against the data entries.

Thanks in advance for your help.

[jQuery] Re: help with accordion with IE (strange flickering)

markup isn't correct for accordion, also page doesn't validate on w3c validator. Fix the markup and should work fine

sadist wrote:
hi,  i am developing a site, which i intend to use accordion at my frontpage.  everything works good with all browsers except for in IE 6 or even 7, it is behaving a bit weird which I don't see that in the demo (http:// docs.jquery.com/UI/API/1.7/Accordion)  here's the example that i'd uploaded on my test server http://www.project.gp.sg/jquery  using Internet Explorer, if you click at any of the accordion drawer, you'll notice the strange behaviour that something is flickering, and the word "FOOTER" will start jumping. this won't happen in all other browsers that I'd tried (Firefox, Chrome, Safari, Opera).  does anyone had encountered this before? i hope someone can help me on this.  thank you so much.    

[jQuery] SlideToggle using <dl> not working in FireFox (Mac)

Hello,
I just included some Jquery on my portfolio page. Every project slide
open and close when you click on it.
http://wopij.com/work
But I just found out that it doesn't work in Firefox on my mac. It
does in Safari (I can't test on windows).
I put everything in a <dl id=workcontent>, so the project names in a
<dt> and the content in <dd>. I let Jquery look for the <dt> and if
you click on it, it will slide open.

$('#workcontent').find('dd').hide().end().find('dt').click(function
() {
$(this).next().slideToggle();
});

Just like in the tutorial on the jquery page.
Also all the subheadings are missing, you can only see the first one
(video), but there are more (animation, web, other).

Now where does the problem lie? Should I use all <a> links instead of
<dt> ? And how can I let Jquery act the same way then as it does now?
Thank you very much in advance,
Jip
~wopij.com

[jQuery] Re: jQuery Cycle Plugin: Implement Pager on existing navigation anchors

> I would like cycle to use my existing anchors

These demos show how to use existing markup for the pager links:

http://www.malsup.com/jquery/cycle/pager3.html
http://www.malsup.com/jquery/cycle/pager4.html

[jQuery] What is this type of UI widget called?

http://secretmountain.org/images/headline_widget.jpg

You've seen them all over the place: Yahoo! Movies, CNet, Gamespot,
etc. Usually they scroll through the items automatically like a
slideshow, while a mouseover of one of the right-hand controls will
pause the slideshow and reveal the selected item. A mouseout may
resume the slideshow.

I am looking for a JQuery plugin of this, but it's hard as I don't
even know what to call it. I've looked at some of the carousel and
slideshow plugins, and they are all very close but I haven't found any
that let you define your own controls. They all generate the controls
automatically as numbered links, which wouldn't work in this case.

Any thoughts? Thanks!

[jQuery] accessing dom from different domain ?

Hello
I'm trying to make Twitter OAuth and getting "Permission denied to
get property"

here is the code

jq13("#open-oauth-button").click(function(event){
TwitterService.getAuthUrl(function(url){
var myRef = window.open(url,'mywin',
'left=20,top=20,width=1000,height=400,toolbar=0,resizable=0');

jq13(myRef.document).ready(function(){

myRef.jq13("div.buttons#deny").click(function(event){
alert("lala");
});

});
});
});

is it possible to create event listeners on dom from different
domain ?

comp.lang.c++ - 26 new messages in 15 topics - digest

comp.lang.c++
http://groups.google.com/group/comp.lang.c++?hl=en

comp.lang.c++@googlegroups.com

Today's topics:

* Return value of functor object in for_each algorithm - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/684394bf92375bf6?hl=en
* GNU C++ Profiling under Linux - 2 messages, 2 authors
http://groups.google.com/group/comp.lang.c++/t/ac18eab174350eac?hl=en
* static array declaration in flyweight pattern - 2 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/b4df4db8ab107e11?hl=en
* const across multiplely linked files - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/0502a7a5e7c946f9?hl=en
* Wholesale chanel handbags,prada handbags,fendi handbags,coach handbags,louis
vuitton handbags,gucci handbags and wallets,paypal payement - 2 messages, 1
author
http://groups.google.com/group/comp.lang.c++/t/099e2337fc1f8ac4?hl=en
* <www.shoesspring.com> New louis vuitton real leather shoes,gucci handbags on
sale,paypal payment - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/a8072e661a7fcd38?hl=en
* C++ way to convert ASCII digits to Integer? - 3 messages, 2 authors
http://groups.google.com/group/comp.lang.c++/t/c6620161a9dfea0b?hl=en
* the last element in a container, (std::vector, std:map ... ) - 3 messages, 2
authors
http://groups.google.com/group/comp.lang.c++/t/cd0fbe9e1f01bdb9?hl=en
* vector stl destruct - 5 messages, 3 authors
http://groups.google.com/group/comp.lang.c++/t/9675399059078ffb?hl=en
* >>>Paypal Payment- China Wholesaler Fashion Brand Handbags CUCCI.LV.ED Hardy.
..<<<-www.guomeitrade.com - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/dd79425e35025de2?hl=en
* Discount LV sunglasses Louis Vuitton Handbag clothes at : www.topsellingnow.
com - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/cf440fe9b484464d?hl=en
* Wholesale nike shox NZ ( www.topsellingnow.com ) Wholesale nike shox R4,
Wholesale Nike Dunk SB sneakers - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/4389b8d240d28be6?hl=en
* china nike shox r3 r4 nike shox nz nike shox oz new styles models nike (www.
topsellingnow.com) wholesale sneakers jordan sneakers at factory wholesale - 1
messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/c32942732844ffbb?hl=en
* discount hoody,A&F hot clothes,artful dodger hoody china online shop www.
topsellingnow.com - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/a5fd9e1f4dba919e?hl=en
* (www.topsellingnow.com) sell ed hardy t-shirts hoodies,sell Newest authentic
NFL,NBA,MLB jerseys with tags - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/caf1f297aa2c6120?hl=en

==============================================================================
TOPIC: Return value of functor object in for_each algorithm
http://groups.google.com/group/comp.lang.c++/t/684394bf92375bf6?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, May 31 2009 6:17 am
From: Jerry Coffin


In article <5602b353-1abd-411d-965b-
af68c9fdcc6d@s21g2000vbb.googlegroups.com>, james.kanze@gmail.com
says...

[ ... ]

> In general, it's best to make all copies of functional objects
> idempotent, using an additional level of indirection if
> necessary. For functional objects with mutable state, there are
> two more or less standard solutions:
>
> -- The client defines an instance of the state, and passes an
> address of it to the constructor of the functional object,
> which contains a pointer to it. This is the simplest and
> most efficient solution; if there is mutable state which the
> client doesn't need to know about, however, it breaks
> encapsulation.
>
> -- The functional object defines a nested class type with
> state. The non-copy constructors allocate an instance of
> the state dynamically, and the functional object uses
> reference counting (boost::shared_ptr works fine here,
> although other reference counted pointers may be more
> efficient) so that copies share the instance of the state.

Option C: Consider using std::accumulate instead of std::for_each. Most
times that people want to maintain state across invocations, they're
accumulating something in their functor, and they'd be better off using
std::accumulate to do the job.

--
Later,
Jerry.

The universe is a figment of its own imagination.

==============================================================================
TOPIC: GNU C++ Profiling under Linux
http://groups.google.com/group/comp.lang.c++/t/ac18eab174350eac?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, May 31 2009 6:24 am
From: Rolf Magnus


Markus Raab wrote:

> Ignoramus17844 wrote:
>
>> Is there something like that for Linux?
>
> Have you tried valgrind?

If the performance with gprof is an issue, valgrind isn't really an
alternative.

== 2 of 2 ==
Date: Sun, May 31 2009 7:04 am
From: Andrew Tomazos


On May 29, 4:13 pm, Ignoramus17844 <ignoramus17...@NOSPAM.
17844.invalid> wrote:
> I wanted to see if I can find a profiler that would stop my
> app once in a while, examine stack, and continue to run immediately
> after taking a call stack snapshot.

It may be easier than you think to roll your own programmatically by
setting up an asynchronous periodic signal interrupt, and within the
signal handler calling the glibc 'backtrace' call.

In the glibc manual see "Signal Handling" and "Backtraces":

http://www.gnu.org/s/libc/manual/html_node/Signal-Handling.html
http://www.gnu.org/s/libc/manual/html_node/Backtraces.html

Enjoy,
Andrew.

--
Andrew Tomazos <andrew@tomazos.com> <http://www.tomazos.com>

==============================================================================
TOPIC: static array declaration in flyweight pattern
http://groups.google.com/group/comp.lang.c++/t/b4df4db8ab107e11?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, May 31 2009 6:34 am
From: pauldepstein@att.net


I'm concerned about this code which I saw from sourcemaking.com pasted
below. In particular, I question the line -- Icon
*FlyweightFactory::_icons[]; I have marked this line out below by //
************* so that those interested can easily find it in
context. My question is quite simple, and only a tiny fraction of the
pasted code is probably relevant. (But I provided full context just
in case.)

The line Icon *FlyweightFactory::_icons[]; seems a strange definition
of an array. In the class Icon, this array is declared as having
dimension 5 but the definition doesn't specify the size.
The definition of the array also appears to be uninitialized. In
particular, I would be interested to know if the static array
declaration ensures that all the int-pointer members of the array are
null pointers. They are either null pointers or uninitialized
pointers but which?

I would probably have written Icon *FlyweightFactory::_icons[] = {0,
0, 0, 0, 0};

but it's possible that the code does this anyway. Do the int-pointers
initialize to 0 anyway even if this is not made explicit as I did?

Thanks very much for your help.

Paul Epstein


#include <iostream.h>
#include <string.h>

class Icon
{
public:
Icon(char *fileName)
{
strcpy(_name, fileName);
if (!strcmp(fileName, "go"))
{
_width = 20;
_height = 20;
}
if (!strcmp(fileName, "stop"))
{
_width = 40;
_height = 40;
}
if (!strcmp(fileName, "select"))
{
_width = 60;
_height = 60;
}
if (!strcmp(fileName, "undo"))
{
_width = 30;
_height = 30;
}
}
const char *getName()
{
return _name;
}
draw(int x, int y)
{
cout << " drawing " << _name << ": upper left (" << x << ","
<< y <<
") - lower right (" << x + _width << "," << y + _height <<
")" <<
endl;
}
private:
char _name[20];
int _width;
int _height;
};

class FlyweightFactory
{
public:
static Icon *getIcon(char *name)
{
for (int i = 0; i < _numIcons; i++)
if (!strcmp(name, _icons[i]->getName()))
return _icons[i];
_icons[_numIcons] = new Icon(name);
return _icons[_numIcons++];
}
static void reportTheIcons()
{
cout << "Active Flyweights: ";
for (int i = 0; i < _numIcons; i++)
cout << _icons[i]->getName() << " ";
cout << endl;
}
private:
enum
{
MAX_ICONS = 5
};
static int _numIcons;
static Icon *_icons[MAX_ICONS];
};

int FlyweightFactory::_numIcons = 0;
Icon *FlyweightFactory::_icons[]; //
**********************************************************************************

class DialogBox
{
public:
DialogBox(int x, int y, int incr): _iconsOriginX(x), _iconsOriginY
(y),
_iconsXIncrement(incr){}
virtual void draw() = 0;
protected:
Icon *_icons[3];
int _iconsOriginX;
int _iconsOriginY;
int _iconsXIncrement;
};

class FileSelection: public DialogBox
{
public:
FileSelection(Icon *first, Icon *second, Icon *third): DialogBox
(100, 100,
100)
{
_icons[0] = first;
_icons[1] = second;
_icons[2] = third;
}
void draw()
{
cout << "drawing FileSelection:" << endl;
for (int i = 0; i < 3; i++)
_icons[i]->draw(_iconsOriginX + (i *_iconsXIncrement),
_iconsOriginY);
}
};

class CommitTransaction: public DialogBox
{
public:
CommitTransaction(Icon *first, Icon *second, Icon *third):
DialogBox(150,
150, 150)
{
_icons[0] = first;
_icons[1] = second;
_icons[2] = third;
}
void draw()
{
cout << "drawing CommitTransaction:" << endl;
for (int i = 0; i < 3; i++)
_icons[i]->draw(_iconsOriginX + (i *_iconsXIncrement),
_iconsOriginY);
}
};

int main()
{
DialogBox *dialogs[2];
dialogs[0] = new FileSelection(FlyweightFactory::getIcon("go"),
FlyweightFactory::getIcon("stop"), FlyweightFactory::getIcon
("select"));
dialogs[1] = new CommitTransaction(FlyweightFactory::getIcon
("select"),
FlyweightFactory::getIcon("stop"), FlyweightFactory::getIcon
("undo"));

for (int i = 0; i < 2; i++)
dialogs[i]->draw();

FlyweightFactory::reportTheIcons();
}


== 2 of 2 ==
Date: Sun, May 31 2009 6:43 am
From: pauldepstein@att.net


On May 31, 3:34 pm, pauldepst...@att.net wrote:
> I'm concerned about this code which I saw from sourcemaking.com pasted
> below.  In particular, I question the line -- Icon
> *FlyweightFactory::_icons[];    I have marked this line out below by //
> *************  so that those interested can easily find it in
> context.  My question is quite simple, and only a tiny fraction of the
> pasted code is probably relevant.  (But I provided full context just
> in case.)
>
> The line Icon *FlyweightFactory::_icons[];  seems a strange definition
> of an array.  In the class Icon, this array is declared as having
> dimension 5 but the definition doesn't specify the size.
> The definition of the array also appears to be uninitialized.  In
> particular, I would be interested to know if the static array
> declaration ensures that all the int-pointer members of the array are
> null pointers.  They are either null pointers or uninitialized
> pointers but which?
>
> I would probably have written Icon *FlyweightFactory::_icons[] = {0,
> 0, 0, 0, 0};
>
> but it's possible that the code does this anyway.  Do the int-pointers
> initialize to 0 anyway even if this is not made explicit as I did?
>
> Thanks very much for your help.
>
> Paul Epstein
>
> #include <iostream.h>
> #include <string.h>
>
> class Icon
> {
>   public:
>     Icon(char *fileName)
>     {
>         strcpy(_name, fileName);
>         if (!strcmp(fileName, "go"))
>         {
>             _width = 20;
>             _height = 20;
>         }
>         if (!strcmp(fileName, "stop"))
>         {
>             _width = 40;
>             _height = 40;
>         }
>         if (!strcmp(fileName, "select"))
>         {
>             _width = 60;
>             _height = 60;
>         }
>         if (!strcmp(fileName, "undo"))
>         {
>             _width = 30;
>             _height = 30;
>         }
>     }
>     const char *getName()
>     {
>         return _name;
>     }
>     draw(int x, int y)
>     {
>         cout << "   drawing " << _name << ": upper left (" << x << ","
> << y <<
>           ") - lower right (" << x + _width << "," << y + _height <<
> ")" <<
>           endl;
>     }
>   private:
>     char _name[20];
>     int _width;
>     int _height;
>
> };
>
> class FlyweightFactory
> {
>   public:
>     static Icon *getIcon(char *name)
>     {
>         for (int i = 0; i < _numIcons; i++)
>           if (!strcmp(name, _icons[i]->getName()))
>             return _icons[i];
>         _icons[_numIcons] = new Icon(name);
>         return _icons[_numIcons++];
>     }
>     static void reportTheIcons()
>     {
>         cout << "Active Flyweights: ";
>         for (int i = 0; i < _numIcons; i++)
>           cout << _icons[i]->getName() << " ";
>         cout << endl;
>     }
>   private:
>     enum
>     {
>         MAX_ICONS = 5
>     };
>     static int _numIcons;
>     static Icon *_icons[MAX_ICONS];
>
> };
>
> int FlyweightFactory::_numIcons = 0;
> Icon *FlyweightFactory::_icons[];   //
> **********************************************************************************
>
> class DialogBox
> {
>   public:
>     DialogBox(int x, int y, int incr): _iconsOriginX(x), _iconsOriginY
> (y),
>       _iconsXIncrement(incr){}
>     virtual void draw() = 0;
>   protected:
>     Icon *_icons[3];
>     int _iconsOriginX;
>     int _iconsOriginY;
>     int _iconsXIncrement;
>
> };
>
> class FileSelection: public DialogBox
> {
>   public:
>     FileSelection(Icon *first, Icon *second, Icon *third): DialogBox
> (100, 100,
>       100)
>     {
>         _icons[0] = first;
>         _icons[1] = second;
>         _icons[2] = third;
>     }
>     void draw()
>     {
>         cout << "drawing FileSelection:" << endl;
>         for (int i = 0; i < 3; i++)
>           _icons[i]->draw(_iconsOriginX + (i *_iconsXIncrement),
> _iconsOriginY);
>     }
>
> };
>
> class CommitTransaction: public DialogBox
> {
>   public:
>     CommitTransaction(Icon *first, Icon *second, Icon *third):
> DialogBox(150,
>       150, 150)
>     {
>         _icons[0] = first;
>         _icons[1] = second;
>         _icons[2] = third;
>     }
>     void draw()
>     {
>         cout << "drawing CommitTransaction:" << endl;
>         for (int i = 0; i < 3; i++)
>           _icons[i]->draw(_iconsOriginX + (i *_iconsXIncrement),
> _iconsOriginY);
>     }
>
> };
>
> int main()
> {
>   DialogBox *dialogs[2];
>   dialogs[0] = new FileSelection(FlyweightFactory::getIcon("go"),
>     FlyweightFactory::getIcon("stop"), FlyweightFactory::getIcon
> ("select"));
>   dialogs[1] = new CommitTransaction(FlyweightFactory::getIcon
> ("select"),
>     FlyweightFactory::getIcon("stop"), FlyweightFactory::getIcon
> ("undo"));
>
>   for (int i = 0; i < 2; i++)
>     dialogs[i]->draw();
>
>   FlyweightFactory::reportTheIcons();
>
> }
>
>

Sorry, in the above, I said int-pointers. They are of course Icon-
pointers. So my question is whether these pointers are 0.

Thanks,

Paul Epstein

==============================================================================
TOPIC: const across multiplely linked files
http://groups.google.com/group/comp.lang.c++/t/0502a7a5e7c946f9?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, May 31 2009 6:53 am
From: SG


On 31 Mai, 13:23, "Aaron Gray" <ang.use...@gmail.com> wrote:
> I am trying to declare a const in a header file but have forgetten how.
>
> I have a class and I want a Null value for that struct to pass as an
> argument when it is not being used. Now it used to be done passing a '0',
> but the class now has an iheriting child class e.g. :-
>
> class A {...}
>
> fn( ..., A a, ...)

What's that supposed to be? A function declaration?

> and
>
> fn( ..., 0, ...)

And that? A function call expression? Or is this supposed to be an
overload?

> But now we have :-
>
> class B : public A {...}
>
> and fn(..., 0, ...) is declaring that parameter 2 is now ambiguous.

This all seems /very/ strange in terms of design. Why would you want
to pass an object that's part of an inheritance hierachy by value? Are
you sure that you don't misuse public inheritance and/or overloading
and/or pass-by-value?

> So what I wanted was to declare a 'NullA'.
>
> But it has to be declared in a header and there are multiple C++ files using
> the header and they all get linked to gether. So declaring in the header :-
>
>    const NullA* = 0;
>
> is out.

Did you mean something like this?

A* const NullA = 0;

There's no problem with putting this definition inside a header that's
included in many files. This is a pointer constant and has internal
linkage.

> The only way I have found is :-
>
> class A {
> public:
>     const Null;
> };
>
> then is one C++ file :-
>
> const A::Null = 0;

There's a lot wrong this this piece of code. C++ is statically typed
language. It doesn't let you declare variables without a type. Also,
you forgot to add "static" as a storage qualifier.

> [...]
> I am probably forgetting something very basic about C++.

Yes. You should brush up your C++ knowledge. C++ is not Java where a
declaration

void foo(A a) {...}

passes a reference to an object. There is no implied indirection in C+
+. If you want to pass objects by reference or by address you need to
declare it (&, *). Also, post more details about what you're trying to
do (not just how) including a bit of code without any "..."s.

Cheers!
SG

==============================================================================
TOPIC: Wholesale chanel handbags,prada handbags,fendi handbags,coach handbags,
louis vuitton handbags,gucci handbags and wallets,paypal payement
http://groups.google.com/group/comp.lang.c++/t/099e2337fc1f8ac4?hl=en
==============================================================================

== 1 of 2 ==
Date: Sun, May 31 2009 6:59 am
From: footwear world trade


cheap jordan sneakers (www.shoesspring.com)

GUCCI bags ( paypal payment)
LV bags D&G bags CLOTHES


COACH bags ( paypal payment ) (www.shoesspring.com)

JIMMY CHOO bags ( paypal payment ) (www.shoesspring.com)

JUICY bags LV bags (www.shoesspring.com)

PRADA bags ( paypal payment ) (www.shoesspring.com)

BAPE bags ED Handy bags AF bags ( paypal payment )
(www.shoesspring.com)

fashion jeans cheap wholesaler
(paypal payment)

denim jeanscheap wholesaler (paypal payment) (www.shoesspring.com)

men's jeans brand jeans cheap wholesaler (paypal payment)
(www.shoesspring.com)

women jeans' jeans cheap wholesaler (paypal payment)
(www.shoesspring.com)

branded jeans cheap wholesaler (paypal payment)
(www.shoesspring.com)

designer jeans men jeans cheap wholesaler (paypal payment)
(www.shoesspring.com)

blue jeans cheap wholesaler (paypal payment) (www.shoesspring.com)

Cotton Shirting Fashion Shirts Dress Shirts cheap wholesaler (paypal
payment)

Casual Shirts Brand Shirtscheap wholesaler (paypal payment)
(www.shoesspring.com)

Long Sleeve Shirt


== 2 of 2 ==
Date: Sun, May 31 2009 7:19 am
From: footwear world trade


juicy suit wholesale (www.shoesspring.com)

wholesale armani shirt (www.shoesspring.com)

buy nike shoes at wholesale cheap price (www.shoesspring.com)

wholesale discount nike air force one shoes (www.shoesspring.com)

cheapest nike air max90 shoes nike maxltd shoes (paypal payment)

cheap gucci sneakers,prada sneakers (paypal payment)
(www.shoesspring.com)

cheap jordan sneakers (www.shoesspring.com)

GUCCI bags ( paypal payment)
LV bags D&G bags CLOTHES


COACH bags ( paypal payment ) (www.shoesspring.com)

JIMMY CHOO bags ( paypal payment ) (www.shoesspring.com)

JUICY bags LV bags (www.shoesspring.com)

PRADA bags ( paypal payment ) (www.shoesspring.com)

BAPE bags ED Handy bags AF bags ( paypal payment )
(www.shoesspring.com)

fashion jeans cheap wholesaler
(paypal payment)

denim jeanscheap wholesaler (paypal payment) (www.shoesspring.com)

men's jeans brand jeans cheap wholesaler (paypal payment)
(www.shoesspring.com)

women jeans' jeans cheap wholesaler (paypal payment)
(www.shoesspring.com)

branded jeans cheap wholesaler (paypal payment)
(www.shoesspring.com)

designer jeans men jeans cheap wholesaler (paypal payment)
(www.shoesspring.com)

blue jeans cheap wholesaler (paypal payment) (www.shoesspring.com)

Cotton Shirting Fashion Shirts Dress Shirts cheap wholesaler (paypal
payment)

Casual Shirts Brand Shirtscheap wholesaler (paypal payment)
(www.shoesspring.com)

Long Sleeve Shirt

Artful dodger man jeanscheap wholesaler (paypal payment)
(www.shoesspring.com)

BAPE man jeanscheap wholesaler (paypal payment) (www.shoesspring.com)

BBC man jeanscheap wholesaler (paypal payment) (www.shoesspring.com)

Christian Audigier man jeanscheap wholesaler (paypal payment)
(www.shoesspring.com)

COOGI man jeans

==============================================================================
TOPIC: <www.shoesspring.com> New louis vuitton real leather shoes,gucci
handbags on sale,paypal payment
http://groups.google.com/group/comp.lang.c++/t/a8072e661a7fcd38?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, May 31 2009 7:08 am
From: footwear world trade


cheap gucci sneakers,prada sneakers (paypal payment)
(www.shoesspring.com)

cheap jordan sneakers (www.shoesspring.com)

GUCCI bags ( paypal payment)
LV bags D&G bags CLOTHES


COACH bags ( paypal payment ) (www.shoesspring.com)

JIMMY CHOO bags ( paypal payment ) (www.shoesspring.com)

JUICY bags LV bags (www.shoesspring.com)

PRADA bags ( paypal payment ) (www.shoesspring.com)

BAPE bags ED Handy bags AF bags ( paypal payment )
(www.shoesspring.com)

fashion jeans cheap wholesaler
(paypal payment)

denim jeanscheap wholesaler (paypal payment) (www.shoesspring.com)

men's jeans brand jeans cheap wholesaler (paypal payment)
(www.shoesspring.com)

women jeans' jeans cheap wholesaler (paypal payment)
(www.shoesspring.com)

branded jeans cheap wholesaler (paypal payment)
(www.shoesspring.com)

designer jeans men jeans cheap wholesaler (paypal payment)
(www.shoesspring.com)

blue jeans cheap wholesaler (paypal payment) (www.shoesspring.com)

Cotton Shirting Fashion Shirts Dress Shirts cheap wholesaler (paypal
payment)

Casual Shirts Brand Shirtscheap wholesaler (paypal payment)
(www.shoesspring.com)

Long Sleeve Shirt

Artful dodger man jeanscheap wholesaler (paypal payment)
(www.shoesspring.com)

BAPE man jeanscheap wholesaler (paypal payment) (www.shoesspring.com)

BBC man jeanscheap wholesaler (paypal payment) (www.shoesspring.com)

Christian Audigier man jeanscheap wholesaler (paypal payment)
(www.shoesspring.com)

==============================================================================
TOPIC: C++ way to convert ASCII digits to Integer?
http://groups.google.com/group/comp.lang.c++/t/c6620161a9dfea0b?hl=en
==============================================================================

== 1 of 3 ==
Date: Sun, May 31 2009 7:22 am
From: "osmium"


James Kanze wrote:

> On May 29, 3:08 pm, Gerhard Fiedler <geli...@gmail.com> wrote:
>> James Kanze wrote:
>>> (Given that ASCII is for all intents and purposes dead, it's
>>> highly unlikely that they really want ASCII.)
>
>> I'm not sure, but I think in the USA there is quite a number
>> of programmers who don't think beyond ASCII when thinking of
>> text manipulation.
>
> In just about every country, there are quite a number of
> programmers who don't think:-). The fact remains that the
> default encoding used by the system, even when configured for
> the US, is not ASCII. Even if you're not "thinking" beyond
> ASCII, your program must be capable of reading non-ASCII
> characters (if only to recognize them and signal the error).

Is it your point that an ASCII compliant environment would have to signal an
error if the topmost bit in a byte was something other than 0? Or do you
have something else in mind? I don't have the *actual* ASCII standard
available but I would be surprised if that was expressed as a *requirement*.
After all, the people that wrote the standard were well aware that there was
no such thing as a seven-bit machine.


== 2 of 3 ==
Date: Sun, May 31 2009 7:52 am
From: "Alf P. Steinbach"


* osmium:
> James Kanze wrote:
>
>> On May 29, 3:08 pm, Gerhard Fiedler <geli...@gmail.com> wrote:
>>> James Kanze wrote:
>>>> (Given that ASCII is for all intents and purposes dead, it's
>>>> highly unlikely that they really want ASCII.)
>>> I'm not sure, but I think in the USA there is quite a number
>>> of programmers who don't think beyond ASCII when thinking of
>>> text manipulation.
>> In just about every country, there are quite a number of
>> programmers who don't think:-). The fact remains that the
>> default encoding used by the system, even when configured for
>> the US, is not ASCII. Even if you're not "thinking" beyond
>> ASCII, your program must be capable of reading non-ASCII
>> characters (if only to recognize them and signal the error).
>
> Is it your point that an ASCII compliant environment would have to signal an
> error if the topmost bit in a byte was something other than 0?

I think James is perhaps referring to routines like isdigit family.

Some of them take int argument and have UB if the argument value is outside
0...(unsigned char)(-1).

So with most implementations you get UB if you simply pass a char directly as
argument and that char is beyond ASCII range, because then it will be negative.


> Or do you
> have something else in mind? I don't have the *actual* ASCII standard
> available but I would be surprised if that was expressed as a *requirement*.

See above.


> After all, the people that wrote the standard were well aware that there was
> no such thing as a seven-bit machine.

On the contrary, the seven bit nature of ASCII was to facilitate communication
over e.g. serial links with software parity check, where each byte was
effectively seven bits (since one bit was used for parity).


Cheers & hth.,

- Alf

--
Due to hosting requirements I need visits to <url: http://alfps.izfree.com/>.
No ads, and there is some C++ stuff! :-) Just going there is good. Linking
to it is even better! Thanks in advance!


== 3 of 3 ==
Date: Sun, May 31 2009 7:54 am
From: "Alf P. Steinbach"


* Alf P. Steinbach:
> * osmium:
>> James Kanze wrote:
>>
>>> On May 29, 3:08 pm, Gerhard Fiedler <geli...@gmail.com> wrote:
>>>> James Kanze wrote:
>>>>> (Given that ASCII is for all intents and purposes dead, it's
>>>>> highly unlikely that they really want ASCII.)
>>>> I'm not sure, but I think in the USA there is quite a number
>>>> of programmers who don't think beyond ASCII when thinking of
>>>> text manipulation.
>>> In just about every country, there are quite a number of
>>> programmers who don't think:-). The fact remains that the
>>> default encoding used by the system, even when configured for
>>> the US, is not ASCII. Even if you're not "thinking" beyond
>>> ASCII, your program must be capable of reading non-ASCII
>>> characters (if only to recognize them and signal the error).
>>
>> Is it your point that an ASCII compliant environment would have to
>> signal an error if the topmost bit in a byte was something other than 0?
>
> I think James is perhaps referring to routines like isdigit family.
>
> Some of them take int argument and have UB if the argument value is
> outside 0...(unsigned char)(-1).
>
> So with most implementations you get UB if you simply pass a char
> directly as argument and that char is beyond ASCII range, because then
> it will be negative.
>
>
>> Or do you have something else in mind? I don't have the *actual*
>> ASCII standard available but I would be surprised if that was
>> expressed as a *requirement*.
>
> See above.
>
>
>> After all, the people that wrote the standard were well aware that
>> there was no such thing as a seven-bit machine.
>
> On the contrary, the seven bit nature of ASCII was to facilitate
> communication over e.g. serial links with software parity check, where
> each byte was effectively seven bits (since one bit was used for parity).

Forgot to add, one of the early PDPs had, as I recall, configurable byte size... :-)

--
Due to hosting requirements I need visits to <url: http://alfps.izfree.com/>.
No ads, and there is some C++ stuff! :-) Just going there is good. Linking
to it is even better! Thanks in advance!

==============================================================================
TOPIC: the last element in a container, (std::vector, std:map ... )
http://groups.google.com/group/comp.lang.c++/t/cd0fbe9e1f01bdb9?hl=en
==============================================================================

== 1 of 3 ==
Date: Sun, May 31 2009 8:36 am
From: "Simon"


Hi,

Using a vector as a example, if I have a something like:

std::vector<int> myNumbers;
// ... add items to the vector

and I iterate thru them all,

for( std::vector<int>::const_iterator it = myNumbers.begin();
it != myNumbers.end();
++it )
{
if( it == myNumbers.begin() )
{
// do some stuff with the first element
}
else if( it == /* last element in the container */ )
// <------
{
// do something because this is the last element.
}
else
{
// do something else for elements that are neither first nor last.
}
}

In the code above, how do I tell that this is the last element in the
container?

Many thanks

Simon

== 2 of 3 ==
Date: Sun, May 31 2009 8:47 am
From: joecook@gmail.com


On May 31, 11:36 am, "Simon" <spambuc...@example.com> wrote:
> Hi,
>
> Using a vector as a example, if I have a something like:
>
> std::vector<int> myNumbers;
> // ... add items to the vector
>
> and I iterate thru them all,
>
> for( std::vector<int>::const_iterator it = myNumbers.begin();
>        it != myNumbers.end();
>        ++it )
> {
>    if( it == myNumbers.begin() )
>   {
>       // do some stuff with the first element
>    }
>    else if( it == /* last element in the container */ )
> // <------
>   {
>       // do something because this is the last element.
>   }
>    else
>   {
>        // do something else for elements that are neither first nor last.
>    }
>
> }
>
> In the code above, how do I tell that this is the last element in the
> container?

For a random access iterator like vector, you can use end()-1

I don't see the need to check for begin() and back() when iterating
through a vector everytime through the loop, since you know the first
one will be the first one, and the last one will be the last one.

Why not:
if (!myNumbers.empty())
{
std::vector<int>::const_iterator it = myNumbers.begin();
std::vector<int>::const_iterator backIter = myNumbers.end()-1
doBeginStuff(it)
for(++it; it != backIter; ++it)
{
// doMiddleStuff;
}
doBackStuff(it);
}

Joe

== 3 of 3 ==
Date: Sun, May 31 2009 8:57 am
From: "Simon"


> For a random access iterator like vector, you can use end()-1

That's what I thought, I wonder if there would be a sizeable performance
degradation if I check for begin and end all the time.

> I don't see the need to check for begin() and back() when iterating
> through a vector everytime through the loop, since you know the first
> one will be the first one, and the last one will be the last one.

My code was over simplified, in the real implementation I do some common
tasks as well as 'specialized' tasks for the begin/end stuff.
But I guess it would be trivial to add a function to do the common work.

Thanks

Simon


==============================================================================
TOPIC: vector stl destruct
http://groups.google.com/group/comp.lang.c++/t/9675399059078ffb?hl=en
==============================================================================

== 1 of 5 ==
Date: Sun, May 31 2009 10:14 am
From: irinalipov@gmail.com


typedef
vector<string> pipeline;
typedef
vector<pipeline> subPipelineStrings;
subPipelineStrings* m_subPipelineStrings
m_subPipelineStrings =
new subPipelineStrings(3);
string *s1 = new string("s1");
string *s2 = new string("s2");
string *s3 = new string("s3");


for (int i = 0; i < m_subPipelineStrings ->size();++i)
{
pipeline &p = m_subPipelineStrings->at(i);
p.push_back(*s1) ;
p.push_back(*s2) ;
p.push_back(*s3) ;
}


The question : How do i destruct m_subPipelineStrings ?


== 2 of 5 ==
Date: Sun, May 31 2009 10:35 am
From: "Ron AF Greve"


hi,

You have to do that yourself just before the vector is destroyed (or earlier
of course) (probably in the destructor of your class).

That is the price you have to pay for not using something like.

std::vector<std::string>

Regards, Ron AF Greve

http://informationsuperhighway.eu

<irinalipov@gmail.com> wrote in message
news:62a3ee44-4e4c-417c-b7f5-4e1f383fcc28@z19g2000vbz.googlegroups.com...
> typedef
> vector<string> pipeline;
> typedef
> vector<pipeline> subPipelineStrings;
> subPipelineStrings* m_subPipelineStrings
> m_subPipelineStrings =
> new subPipelineStrings(3);
> string *s1 = new string("s1");
> string *s2 = new string("s2");
> string *s3 = new string("s3");
>
>
> for (int i = 0; i < m_subPipelineStrings ->size();++i)
> {
> pipeline &p = m_subPipelineStrings->at(i);
> p.push_back(*s1) ;
> p.push_back(*s2) ;
> p.push_back(*s3) ;
> }
>
>
> The question : How do i destruct m_subPipelineStrings ?


== 3 of 5 ==
Date: Sun, May 31 2009 10:40 am
From: "Ron AF Greve"


Hi sorry,


I thought you were storing pointers (my mistake).

in this case you can immediately destroy them since the vector makes a copy
of them.

However apparently there is no need to dynamically allocate them first just
push the strings right away.

p.push_back( "string" ) ;

Regards, Ron AF Greve

http://informationsuperhighway.eu

"Ron AF Greve" <me@localhost> wrote in message
news:4a22bfd3$0$182$e4fe514c@news.xs4all.nl...
> hi,
>
> You have to do that yourself just before the vector is destroyed (or
> earlier of course) (probably in the destructor of your class).
>
> That is the price you have to pay for not using something like.
>
> std::vector<std::string>
>
>
>
> Regards, Ron AF Greve
>
> http://informationsuperhighway.eu
>
> <irinalipov@gmail.com> wrote in message
> news:62a3ee44-4e4c-417c-b7f5-4e1f383fcc28@z19g2000vbz.googlegroups.com...
>> typedef
>> vector<string> pipeline;
>> typedef
>> vector<pipeline> subPipelineStrings;
>> subPipelineStrings* m_subPipelineStrings
>> m_subPipelineStrings =
>> new subPipelineStrings(3);
>> string *s1 = new string("s1");
>> string *s2 = new string("s2");
>> string *s3 = new string("s3");
>>
>>
>> for (int i = 0; i < m_subPipelineStrings ->size();++i)
>> {
>> pipeline &p = m_subPipelineStrings->at(i);
>> p.push_back(*s1) ;
>> p.push_back(*s2) ;
>> p.push_back(*s3) ;
>> }
>>
>>
>> The question : How do i destruct m_subPipelineStrings ?
>
>


== 4 of 5 ==
Date: Sun, May 31 2009 11:11 am
From: SG


On 31 Mai, 19:14, irinali...@gmail.com wrote:
> typedef vector<string> pipeline;
> typedef vector<pipeline> subPipelineStrings;
> subPipelineStrings* m_subPipelineStrings =
> new subPipelineStrings(3);
> string *s1 = new string("s1");
> string *s2 = new string("s2");
> string *s3 = new string("s3");
>
> for (int i = 0; i < m_subPipelineStrings ->size();++i)
> {
>     pipeline &p = m_subPipelineStrings->at(i);
>     p.push_back(*s1) ;
>     p.push_back(*s2) ;
>     p.push_back(*s3) ;
> }
>
> The question : How do i destruct m_subPipelineStrings ?

Simple:
delete m_subPipelineStrings;

But you also should delete the objects *s1, *s2, and *s3 at some
point:
delete s1;
delete s2;
delete s3;

You should ask yourself why you allocated the string objects *s1, *s2,
*s3, and the vector *m_subPipelineStrings on the heap.

Also, make sure you understand what vector<string>::push_back really
does. A vector of T manages its own /copies/ of T. push_back will copy-
construct a new element from the given one. So, you could have just
written the following:

typedef vector<string> pipeline_t;
vector<pipeline_t> pipelines (3);
if (!pipelines.empty()) {
pipeline_t & p = pipelines[0];
p.push_back("s1");
p.push_back("s2");
p.push_back("s3");
}
for (int i=1, s=pipelines.size(); i<s; ++i) {
pipelines[i] = pipelines[0]; // copy-assigns vector
}

Cheers!
SG


== 5 of 5 ==
Date: Sun, May 31 2009 11:25 am
From: irinalipov@gmail.com


On May 31, 9:11 pm, SG <s.gesem...@gmail.com> wrote:
> On 31 Mai, 19:14, irinali...@gmail.com wrote:
>
>
>
>
>
> > typedef vector<string> pipeline;
> > typedef vector<pipeline> subPipelineStrings;
> > subPipelineStrings* m_subPipelineStrings =
> >     new subPipelineStrings(3);
> > string *s1 = new string("s1");
> > string *s2 = new string("s2");
> > string *s3 = new string("s3");
>
> > for (int i = 0; i < m_subPipelineStrings ->size();++i)
> > {
> >     pipeline &p = m_subPipelineStrings->at(i);
> >     p.push_back(*s1) ;
> >     p.push_back(*s2) ;
> >     p.push_back(*s3) ;
> > }
>
> > The question : How do i destruct m_subPipelineStrings ?
>
> Simple:
>   delete m_subPipelineStrings;
>
> But you also should delete the objects *s1, *s2, and *s3 at some
> point:
>   delete s1;
>   delete s2;
>   delete s3;
>
> You should ask yourself why you allocated the string objects *s1, *s2,
> *s3, and the vector *m_subPipelineStrings on the heap.
>
> Also, make sure you understand what vector<string>::push_back really
> does. A vector of T manages its own /copies/ of T. push_back will copy-
> construct a new element from the given one. So, you could have just
> written the following:
>
>   typedef vector<string> pipeline_t;
>   vector<pipeline_t> pipelines (3);
>   if (!pipelines.empty()) {
>     pipeline_t & p = pipelines[0];
>     p.push_back("s1");
>     p.push_back("s2");
>     p.push_back("s3");
>   }
>   for (int i=1, s=pipelines.size(); i<s; ++i) {
>     pipelines[i] = pipelines[0]; // copy-assigns vector
>   }
>
> Cheers!
> SG- Hide quoted text -
>
> - Show quoted text -

10x

==============================================================================
TOPIC: >>>Paypal Payment- China Wholesaler Fashion Brand Handbags CUCCI.LV.ED
Hardy...<<<-www.guomeitrade.com
http://groups.google.com/group/comp.lang.c++/t/dd79425e35025de2?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, May 31 2009 10:18 am
From: tessa123@126.com


>>>Paypal Payment- China Wholesaler Fashion Brand Handbags CUCCI.LV.ED Hardy...<<<-

www.guomeitrade.com


VERSACE True leather AAA Wholesale (www.guomeitrade.com)
VERSACE bags Wholesale (www.guomeitrade.com)
Chanel Purse Wholesale (www.guomeitrade.com)
CHANEL bags Wholesale (www.guomeitrade.com)
CHANEL True leather AAA Wholesale (www.guomeitrade.com)
PRADA Purse Wholesale (www.guomeitrade.com)
PRADA bags Wholesale (www.guomeitrade.com)
PRADA True leather AAA Wholesale (www.guomeitrade.com)
GUCCI Purse Wholesale (www.guomeitrade.com)
GUCCI True leather AAA Wholesale (www.guomeitrade.com)
Gucci bags Wholesale (www.guomeitrade.com)
Gucci Purse True leather AAA Wholesale (www.guomeitrade.com)
Gucci bag Wholesale (www.guomeitrade.com)
BURBERRY Purse Wholesale (www.guomeitrade.com)
BURBERRY bags Wholesale (www.guomeitrade.com)
pauesmitl bags Wholesale (www.guomeitrade.com)
HERMES True leather AAA Wholesale (www.guomeitrade.com)
HERMES Purse True leather AAA Wholesale (www.guomeitrade.com)
HERMES bags Wholesale (www.guomeitrade.com)
LV bags Wholesale (www.guomeitrade.com)
LV Purse True leather AAA Wholesale (www.guomeitrade.com)
LV Purse Wholesale (www.guomeitrade.com)
LV True leather AAA Wholesale (www.guomeitrade.com)
D&G bag Wholesale (www.guomeitrade.com)
D&G Purse Wholesale (www.guomeitrade.com)
D&G bags Wholesale (www.guomeitrade.com)
D&G Purse True leather AAA Wholesale
(www.guomeitrade.com)
ED Purse Wholesale (www.guomeitrade.com)
EDHardy bags Wholesale (www.guomeitrade.com)
UGG bag Wholesale (www.guomeitrade.com)
CHLOE True leather AAA Wholesale (www.guomeitrade.com)
CHLOE bags Wholesale (www.guomeitrade.com)
Chloe Purse True leather AAA Wholesale
(www.guomeitrade.com)
JIMMY CHOO Purse True leather AAA Wholesale
(www.guomeitrade.com)
JIMMYTOO bags Wholesale (www.guomeitrade.com)
JIMMY THOO True leather AAA Wholesale
(www.guomeitrade.com)
paul smith bags Wholesale (www.guomeitrade.com)

VERSACE True leather AAA Wholesale (www.guomeitrade.com)
VERSACE bags Wholesale (www.guomeitrade.com)
Chanel Purse Wholesale (www.guomeitrade.com)
CHANEL bags Wholesale (www.guomeitrade.com)
CHANEL True leather AAA Wholesale (www.guomeitrade.com)
PRADA Purse Wholesale (www.guomeitrade.com)
PRADA bags Wholesale (www.guomeitrade.com)
PRADA True leather AAA Wholesale (www.guomeitrade.com)
GUCCI Purse Wholesale (www.guomeitrade.com)
GUCCI True leather AAA Wholesale (www.guomeitrade.com)
Gucci bags Wholesale (www.guomeitrade.com)
Gucci Purse True leather AAA Wholesale (www.guomeitrade.com)
Gucci bag Wholesale (www.guomeitrade.com)
BURBERRY Purse Wholesale (www.guomeitrade.com)
BURBERRY bags Wholesale (www.guomeitrade.com)
pauesmitl bags Wholesale (www.guomeitrade.com)
HERMES True leather AAA Wholesale (www.guomeitrade.com)
HERMES Purse True leather AAA Wholesale (www.guomeitrade.com)
HERMES bags Wholesale (www.guomeitrade.com)
LV bags Wholesale (www.guomeitrade.com)
LV Purse True leather AAA Wholesale (www.guomeitrade.com)
LV Purse Wholesale (www.guomeitrade.com)
LV True leather AAA Wholesale (www.guomeitrade.com)
D&G bag Wholesale (www.guomeitrade.com)
D&G Purse Wholesale (www.guomeitrade.com)
D&G bags Wholesale (www.guomeitrade.com)
D&G Purse True leather AAA Wholesale
(www.guomeitrade.com)
ED Purse Wholesale (www.guomeitrade.com)
EDHardy bags Wholesale (www.guomeitrade.com)
UGG bag Wholesale (www.guomeitrade.com)
CHLOE True leather AAA Wholesale (www.guomeitrade.com)
CHLOE bags Wholesale (www.guomeitrade.com)
Chloe Purse True leather AAA Wholesale
(www.guomeitrade.com)
JIMMY CHOO Purse True leather AAA Wholesale
(www.guomeitrade.com)
JIMMYTOO bags Wholesale (www.guomeitrade.com)
JIMMY THOO True leather AAA Wholesale
(www.guomeitrade.com)
paul smith bags Wholesale (www.guomeitrade.com)

More detail land, address:www.guomeitrade.com


==============================================================================
TOPIC: Discount LV sunglasses Louis Vuitton Handbag clothes at : www.
topsellingnow.com
http://groups.google.com/group/comp.lang.c++/t/cf440fe9b484464d?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, May 31 2009 11:29 am
From: topsellingnow@gmail.com


www.topsellingnow.com

We have so many handbag shoes,such as louis vuitton shoes,louis
vuitton handbags,louis vuitton purse,louis vuitton sunglasses,lv
sneakers,women's louis vuitton shoes,men's louis vuitton shoes,lv
clothes,louis vuitton LV WATCHES,LV louis vuitton Jewelry,LV louis
vuitton purses.

cheap Louis Vuitton shoes bag at factory wholesale: www.topsellingnow.com

discount Louis Vuitton purses at:www.topsellingnow.com

Cheap Gucci Handbags at : www.topsellingnow.com

Replica Louis Vuitton Handbag www.topsellingnow.com

Discount Chanel Handbag on : www.topsellingnow.com

Wholesale Louis Vuitton Bag : www.topsellingnow.com

Cheap Louis Vuitton Shoes : www.topsellingnow.com

Wholesale LV shoes on: www.topsellingnow.com

Discount LV sunglasses at : www.topsellingnow.com

wholesale Louis Vuitton watches,LV sunglasses

sale trade wholesale Louis Vuitton Jewelry

Louis Vuitton Shoes & Handbag,bags,purses,sunglasses watches Louis
Vuitton Jewelry at Cheap and discount Price

Discount Dolce&Gabbana (D&G) Handbag on : www.topsellingnow.com

==============================================================================
TOPIC: Wholesale nike shox NZ ( www.topsellingnow.com ) Wholesale nike shox R4,
Wholesale Nike Dunk SB sneakers
http://groups.google.com/group/comp.lang.c++/t/4389b8d240d28be6?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, May 31 2009 11:31 am
From: topsellingnow@gmail.com


Wholesale nike shox R3 ( w ww.topsellingnow.com )
Wholesale nike shox R4 ( www.topsellingnow.com )
Wholesale nike shox NZ ( www.topsellingnow.com )
Wholesale nike shox R5 ( www.topsellingnow.com )
Wholesale nike shox Monser ( w ww.topsellingnow.com )
Wholesale nike shox OZ ( www.topsellingnow.com )
Wholesale Nike Trainers ( www.topsellingnow.com )
Wholesale Air Rift Shoes Air Max 87 Air Max 90 Air Max Ltd Air Max 95
Air Max 97 ( www.topsellingnow.com )
Wholesale Air Max 2003 Air Max 360 ( www.topsellingnow.com )
Wholesale Air Max Tn Nike Air Max 180 ( w ww.topsellingnow.com )
Wholesale Nike Dunk SB Nike Men Dunk Low Nike Men Dunk High Nike Dunk
Woman ( www.topsellingnow.com )
Nike Kids Shoes Nike Air Jordan Boy Shoes Nike Air Force Ls ( w
ww.topsellingnow.com )
Wholesale Timberland Boots Timberland Kid Boots Timberland Mens Boots
Womens Timberland Boots ( www.topsellingnow.com )
Puma Trainers Womens Puma Shoes Puma Mens Shoes Louis Vuitton Sneakers
Louis Vuitton Shoes ( www.topsellingnow.com )

==============================================================================
TOPIC: china nike shox r3 r4 nike shox nz nike shox oz new styles models nike (
www.topsellingnow.com) wholesale sneakers jordan sneakers at factory wholesale
http://groups.google.com/group/comp.lang.c++/t/c32942732844ffbb?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, May 31 2009 11:33 am
From: topsellingnow@gmail.com


prada shoes amercas cup (www.topsellingnow.com)
hip hop clothing shoes wholesale (www.topsellingnow.com)
coogi, coogi clothing, coogi polo, coogi polo shirts, coogi polo shirt
wholesale,
coogi polo style shirts, discount coogi clothing
(www.topsellingnow.com)
Wholesale sunglasses,gucci shoes wholesale wholesale prada
sneakers,nike shoes (www.topsellingnow.com)
china nike shox r3 r4 nike shox nz nike shox oz new styles models
nike (www.topsellingnow.com)
wholesale sneakers jordan sneakers at factory wholesale handbag
sneakers Many
red monkey jeans evisu jeans sell offers from China red monkey jeans
evisu jeans true religion jeans (www.topsellingnow.com)
cheap Bape hoody,LRG hoody,BBC hoody,(www.topsellingnow.com)
discount Evisu hoody,Coogi hoody,Kidrobot (www.topsellingnow.com)
discount hoody,A&F hot clothes,artful dodger hoody china online
shop www.topsellingnow.com
cheape wholesale,ed hardy hoody for men and women,Artful Dodger
hoodies,A&Fsportwear,A&F men hoodies,ED Hardy,GGG Hoodies,BAPE ...
GGG
Hoodies,Artful Dodger hoodies,A&F Women Hoodie,CA Hoodies,

(www.topsellingnow.com) ed hardy t-shirts Ed hardy t-shirts,Evisu

jeans Ed hardy t-shirts,hoodie,maxmara jacket,number line men hoodie,

(www.topsellingnow.com) polo women hoodies at cheap discount
price,Girbaud jackets,Girbaud hoody,Girbaud jeans,Girbaud hoodies.

(WWW.topsellingnow.COM)cheap wholesale red monkey,evisu,Ed hardy
jeans,shorts,hoodies outlet online ed hardy hoodies for men and women
for cheap (www.topsellingnow.com)

==============================================================================
TOPIC: discount hoody,A&F hot clothes,artful dodger hoody china online shop
www.topsellingnow.com
http://groups.google.com/group/comp.lang.c++/t/a5fd9e1f4dba919e?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, May 31 2009 11:35 am
From: topsellingnow@gmail.com


prada shoes amercas cup (www.topsellingnow.com)
hip hop clothing shoes wholesale (www.topsellingnow.com)
coogi, coogi clothing, coogi polo, coogi polo shirts, coogi polo shirt
wholesale,
coogi polo style shirts, discount coogi clothing
(www.topsellingnow.com)
Wholesale sunglasses,gucci shoes wholesale wholesale prada
sneakers,nike shoes (www.topsellingnow.com)
china nike shox r3 r4 nike shox nz nike shox oz new styles models
nike (www.topsellingnow.com)
wholesale sneakers jordan sneakers at factory wholesale handbag
sneakers Many
red monkey jeans evisu jeans sell offers from China red monkey jeans
evisu jeans true religion jeans (www.topsellingnow.com)
cheap Bape hoody,LRG hoody,BBC hoody,(www.topsellingnow.com)
discount Evisu hoody,Coogi hoody,Kidrobot (www.topsellingnow.com)
discount hoody,A&F hot clothes,artful dodger hoody china online
shop www.topsellingnow.com
cheape wholesale,ed hardy hoody for men and women,Artful Dodger
hoodies,A&Fsportwear,A&F men hoodies,ED Hardy,GGG Hoodies,BAPE ...
GGG
Hoodies,Artful Dodger hoodies,A&F Women Hoodie,CA Hoodies,

(www.topsellingnow.com) ed hardy t-shirts Ed hardy t-shirts,Evisu

jeans Ed hardy t-shirts,hoodie,maxmara jacket,number line men hoodie,

(www.topsellingnow.com) polo women hoodies at cheap discount
price,Girbaud jackets,Girbaud hoody,Girbaud jeans,Girbaud hoodies.

(WWW.topsellingnow.COM)cheap wholesale red monkey,evisu,Ed hardy
jeans,shorts,hoodies outlet online ed hardy hoodies for men and women
for cheap (www.topsellingnow.com)

==============================================================================
TOPIC: (www.topsellingnow.com) sell ed hardy t-shirts hoodies,sell Newest
authentic NFL,NBA,MLB jerseys with tags
http://groups.google.com/group/comp.lang.c++/t/caf1f297aa2c6120?hl=en
==============================================================================

== 1 of 1 ==
Date: Sun, May 31 2009 11:36 am
From: topsellingnow@gmail.com


(www.topsellingnow.com) cheap discount price,wholesale cheap rich yung
t-shirts,
hoodies pures leather belt and discount jeans price
(www.topsellingnow.com) sell Artful dodger t-shirts
(www.topsellingnow.com) sell clh hoodies
(www.topsellingnow.com) wholesale juicy couture and boss t-shirts
(www.topsellingnow.com) sell ed hardy t-shirts hoodies
(www.topsellingnow.com) china cheap Ed hardy outlet,
(www.topsellingnow.com) Ed Hardy Shop Online at topsellingnow.com
below is some of our procuts:
1.sell Newest authentic NFL,NBA,MLB jerseys with tags
2.sell Jeans: bape,bbc,evisu,ed-hard,seven,m iss-sixty
3.sell T-SHIRTS :Lacoste,bape,bbc,evisu,ed-har d,polo
4.sell Hoody: bape,ed-hard,bbc,evisu,
5.sell air jordan, bape shoes, air max

Our web-page: www.topsellingnow.com
E-mail: topsellingnow@yahoo.com.cn
Msn: topsellingnow@hotmail.com


==============================================================================

You received this message because you are subscribed to the Google Groups "comp.lang.c++"
group.

To post to this group, visit http://groups.google.com/group/comp.lang.c++?hl=en

To unsubscribe from this group, send email to comp.lang.c+++unsubscribe@googlegroups.com

To change the way you get mail from this group, visit:
http://groups.google.com/group/comp.lang.c++/subscribe?hl=en

To report abuse, send email explaining the problem to abuse@googlegroups.com

==============================================================================
Google Groups: http://groups.google.com/?hl=en