http://groups.google.com/group/comp.lang.c++?hl=en
comp.lang.c++@googlegroups.com
Today's topics:
* ☻☀☻☀☻www.ecyaya.com hotsell gucci armani G-STAR CA BBC CK men jacket,cheap
lacoste polo coogi t-shirts christian audigier RMC true religion ed hardy
coogi jeans - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/5acbaca2fd81d2d0?hl=en
* ♡^_^♡ HOT Sale!!! Get low price wholesale ED Hardy Long Sleeve, AF Long
Sleeve, LV Long Sleeve ect at www.fjrjtrade.com <Paypal Payment> - 1 messages,
1 author
http://groups.google.com/group/comp.lang.c++/t/2637be7709540067?hl=en
* Cheap crimping iron GHD CHI hair straightener Wholesale Free shipping (www.
vipchinatrade.com) - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/f9130573b438aee9?hl=en
* opinions on "Walls and Mirrors" ? - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/48e5157290f877dc?hl=en
* isspace - 2 messages, 2 authors
http://groups.google.com/group/comp.lang.c++/t/89ca303518428e34?hl=en
* system("ls") - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/ea8887c99b1a8b02?hl=en
* Another strange linux kernel change - 6 messages, 4 authors
http://groups.google.com/group/comp.lang.c++/t/e05a4158a9750a03?hl=en
* Looking for C++ IDE,... - 4 messages, 3 authors
http://groups.google.com/group/comp.lang.c++/t/e8a1db0949215858?hl=en
* ♬+♬+♬wholesale cheap belts, shoes, handbags, purse and T-shirts etc at www.
ecyaya.com - 2 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/017b231509373cff?hl=en
* Cheap Wholesale Jordan 11+Obama, Jordan 25+AF1, Jordan 6 unite1,Jordan Melo
M5 (www.vipchinatrade.com) - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/34e933da9225e27a?hl=en
* typedefs and namespaces - 2 messages, 2 authors
http://groups.google.com/group/comp.lang.c++/t/14757947dce647b0?hl=en
* ◆⊙◆ cheap wholesale UGG shoes with high quality at www.fjrjtrade.com (free
shipping)==(paypal payment)== - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/cb87b353e182dbca?hl=en
* advice on try - throw - catch - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/24c6f05e5ff8da82?hl=en
* Help: libiomp5md.dll takes 46.22% individual work reported by Visual Studio
Profiler - 1 messages, 1 author
http://groups.google.com/group/comp.lang.c++/t/08adc6ce31d50518?hl=en
==============================================================================
TOPIC: ☻☀☻☀☻www.ecyaya.com hotsell gucci armani G-STAR CA BBC CK men jacket,
cheap lacoste polo coogi t-shirts christian audigier RMC true religion ed
hardy coogi jeans
http://groups.google.com/group/comp.lang.c++/t/5acbaca2fd81d2d0?hl=en
==============================================================================
== 1 of 1 ==
Date: Fri, Jan 29 2010 12:13 am
From: hero
☻☀☻☀☻www.ecyaya.com hotsell gucci armani G-STAR CA BBC CK men
jacket,cheap lacoste polo coogi t-shirts christian audigier RMC true
religion ed hardy coogi jeans
(www.ecyaya.com ) China Supply ED Hardy,Versace Women
Sandals,Boots
( www.ecyaya.com ) Cheap Wholesale Coach,Chanel Lady
Slippers,Sandals
( www.ecyaya.com ) Puma,Christian Louboutin Sandals
( www.ecyaya.com ) Discount Gucci Prada Sneakers First
Quality,Classic
( www.ecyaya.com ) Replica Armani,Boss Men Belts,Chanel
Wallets
Discount louis vuitton jordan nike air max 90 prada shoes
( www.ecyaya.com )
Cheap christian audigier dolce gabbana bbc t shitrs
( www.ecyaya.com )
Wholesale air nike coach LV sneakers ( www.ecyaya.com )
wholesale sell hip hop ED CA clothing ( www.ecyaya.com )
Cheap puma trainers armani shoes ( www.ecyaya.com )
Discount Wholesale Coach,Prada Handbags ( www.ecyaya.com )
Cheap Wholesale CA,Miu Miu New Wallets ( www.ecyaya.com )
Authentic Burberry,Dior Gucci LV AAA Handbags
( www.ecyaya.com )
Wholesale Puma,Trainers, ( www.ecyaya.com )
Cheap Replica Gucci,Louis Vuitton Shoes ( www.ecyaya.com )
Retail Cheap Nike Shox OZ,NZ Shoes, ( www.ecyaya.com )
Discount Air Jordan 7,9,24 Retro Shoes ( www.ecyaya.com )
UGG 5823,5845 Women Boots For Designers, ( www.ecyaya.com )
Cheap Wholesale Supra,Dunk SB Men Shoes, ( www.ecyaya.com )
China Supply supra,Versace,AF1 Shoes, ( www.ecyaya.com )
==============================================================================
TOPIC: ♡^_^♡ HOT Sale!!! Get low price wholesale ED Hardy Long Sleeve, AF Long
Sleeve, LV Long Sleeve ect at www.fjrjtrade.com <Paypal Payment>
http://groups.google.com/group/comp.lang.c++/t/2637be7709540067?hl=en
==============================================================================
== 1 of 1 ==
Date: Fri, Jan 29 2010 12:31 am
From: "www.fjrjtrade.com"
♡^_^♡ HOT Sale!!! Get low price wholesale ED Hardy Long Sleeve, AF
Long Sleeve, LV Long Sleeve ect at www.fjrjtrade.com <Paypal Payment>
Cheap wholesale Long Sleeve www.fjrjtrade.com
Cheap wholesale Long Sleeve
http://www.fjrjtrade.com/840-Long-Sleeve.html
Cheap wholesale Armani Long Sleeve
http://www.fjrjtrade.com/1916-Armani-Long-Sleeve.html
Cheap wholesale G-STAR Long Sleeve
http://www.fjrjtrade.com/1915-G-STAR-Long-Sleeve.html
Cheap wholesale A&F Long Sleeve
http://www.fjrjtrade.com/841-AF-Long-Sleeve.html
Cheap wholesale A&F Man Long Sleeve
http://www.fjrjtrade.com/842-AF-Man-Long-Sleeve.html
Cheap wholesale A&F Long Sleeve Women
http://www.fjrjtrade.com/2114-AF-Long-Sleeve-Women.html
Cheap wholesale Christan Audigier Long Sleeve
http://www.fjrjtrade.com/845-Christan-Audigier-Long-Sleeve.html
Cheap wholesale Christan Audigier Man Long Sleeve
http://www.fjrjtrade.com/846-Christan-Audigier-Man-Long-Sleeve.html
Cheap wholesale Christan Audigier Women Long Sleeve
http://www.fjrjtrade.com/847-Christan-Audigier-Women-Long-Sleeve.html
Cheap wholesale D&G Man Long Sleeve
http://www.fjrjtrade.com/849-DG-Man-Long-Sleeve.html
Cheap wholesale Ecko Long Sleeve
http://www.fjrjtrade.com/2115-Ecko-Long-Sleeve.html
Cheap wholesale ED Hardy Long Sleeve
http://www.fjrjtrade.com/850-ED-Hardy-Long-Sleeve.html
Cheap wholesale ED Hardy Man Long Sleeve
http://www.fjrjtrade.com/851-ED-Hardy-Man-Long-Sleeve.html
Cheap wholesale ED Hardy Women Long Sleeve
http://www.fjrjtrade.com/852-ED-Hardy-Women-Long-Sleeve.html
Cheap wholesale Gucci Long Sleeve
http://www.fjrjtrade.com/2116-Gucci-Long-Sleeve.html
Cheap wholesale Lacoste Long Sleeve
http://www.fjrjtrade.com/2117-Lacoste-Long-Sleeve.html
Cheap wholesale LV Long Sleeve
http://www.fjrjtrade.com/2118-LV-Long-Sleeve.html
Cheap wholesale Nike Long Sleeve
http://www.fjrjtrade.com/2119-Nike-Long-Sleeve.html
Cheap wholesale Ralph Lauren POLO Long Sleeve
http://www.fjrjtrade.com/2120-Ralph-Lauren-POLO-Long-Sleeve.html
More details at website:
http://www.fjrjtrade.com
==============================================================================
TOPIC: Cheap crimping iron GHD CHI hair straightener Wholesale Free shipping (
www.vipchinatrade.com)
http://groups.google.com/group/comp.lang.c++/t/f9130573b438aee9?hl=en
==============================================================================
== 1 of 1 ==
Date: Fri, Jan 29 2010 1:19 am
From: tradeyoyo
Free shipping GHD MK4 MK5 cheap Wholesale, GHD hair straightener
Wholesale(www.vipchinatrade.com)
Cheap Benefit GHD (www.vipchinatrade.com)
Cheap Black GHD (www.vipchinatrade.com)
Cheap Dark GHD (www.vipchinatrade.com)
Cheap pink GHD (www.vipchinatrade.com)
Cheap new style Leopard GHD (www.vipchinatrade.com)
Cheap IV mini styler GHD (www.vipchinatrade.com)
Cheap rare Leopard GHD (www.vipchinatrade.com)
Cheap rare newest Leopard style (www.vipchinatrade.com)
Cheap Gold GHD (www.vipchinatrade.com)
Cheap Kiss GHD (www.vipchinatrade.com)
Cheap pink MK5 (www.vipchinatrade.com)
Cheap black GHD (www.vipchinatrade.com)
Cheap limited edition MK5 (www.vipchinatrade.com)
Cheap pure black GHD MK5 (www.vipchinatrade.com)
Cheap pure white GHD (www.vipchinatrade.com)
Cheap Pink style GHD (www.vipchinatrade.com)
Cheap Purple style GHD with dryer (www.vipchinatrade.com)
Cheap Salon GHD (www.vipchinatrade.com)
CHI
Cheap Ammy green CHI (www.vipchinatrade.com)
Cheap Black style CHI (www.vipchinatrade.com)
Cheap Blue style CHI (www.vipchinatrade.com)
Cheap Camouflage Blue CHI (www.vipchinatrade.com)
Cheap Camouflage pink CHI (www.vipchinatrade.com)
Cheap Peachblow CHI (www.vipchinatrade.com)
Cheap Pink style CHI (www.vipchinatrade.com)
Cheap Red-black CHI (www.vipchinatrade.com)
Cheap Wide red-black CHI(www.vipchinatrade.com)
Cheap crimping iron (www.vipchinatrade.com)
==============================================================================
TOPIC: opinions on "Walls and Mirrors" ?
http://groups.google.com/group/comp.lang.c++/t/48e5157290f877dc?hl=en
==============================================================================
== 1 of 1 ==
Date: Fri, Jan 29 2010 1:39 am
From: Philip Potter
On 29/01/2010 00:39, red floyd wrote:
> On Jan 28, 9:21 am, Richard Herring <junk@[127.0.0.1]> wrote:
>> According to the Amazon link he posted, its title is
>>
>> "Data Abstraction and Problem Solving with C++: Walls and Mirrors (4th
>> Edition) (Hardcover)"
>>
>> which looks like C++ to me.
>>
>>
> I don't follow tinyurl links on usenet.
You can always see where they link before following:
http://preview.tinyurl.com/yzm7kja
^^^^^^^^ just add this
Phil
==============================================================================
TOPIC: isspace
http://groups.google.com/group/comp.lang.c++/t/89ca303518428e34?hl=en
==============================================================================
== 1 of 2 ==
Date: Fri, Jan 29 2010 2:09 am
From: gervaz
On 29 Gen, 09:09, Paavo Helde <myfirstn...@osa.pri.ee> wrote:
> gervaz <ger...@gmail.com> wrote in news:df9f84a1-a933-4063-bca5-
> f18c440b9...@l19g2000yqb.googlegroups.com:
>
>
>
> > On Jan 28, 11:46 pm, James Kanze <james.ka...@gmail.com> wrote:
> >> On 28 Jan, 21:25, gervaz <ger...@gmail.com> wrote:
>
> >> > On Jan 28, 9:40 pm, Paavo Helde <myfirstn...@osa.pri.ee> wrote:
> >> > > gervaz <ger...@gmail.com> wrote in news:198ffd0f-8a21-4d23-802f-
> >> > > cf0f0fee0...@o28g2000yqh.googlegroups.com:
> >> > > > Hi all, is there a C++ function similar to isspace that
> >> > > > can handle w_chars? Does the regex library handles
> >> > > > w_chars?
> >> > > Yes, there is a template function declared in <locale> and
> >> > > named std::isspace, curiously enough.
> >> > > There is no regex librar in the official C++ standard yet I
> >> > > think. The Boost regex library is fully templated and ought
> >> > > to support wchar_t as well, but I have not tried this.
> >> > > According to Boost documentation one needs a separate ICU
> >> > > library for full Unicode support though.
> >> > Well, take a look at my snippet:
> >> > std::ifstream infile(argv[1]);
> >> > std::string s;
> >> > while (getline(infile, s))
> >> > {
> >> > s.erase(std::remove_if(s.begin(), s.end(), std::isspace), s.end
> >> > ());
> >> > std::cout << s;
> >> > }
> >> > Using locale on VC++2008 I've got an error reporting that
> >> > std::isspace expects 2 arguments,
>
> >> That's because std::isspace requires two arguments, the
> >> character to be tested, and the locale.
>
> >> > and still I don't know if the file contains unicode characters
> >> > can be correctly handles.
>
> >> The functions in <locale> are pretty useless, since they only
> >> handle single byte characters. The "approved" solution is to
> >> read into a wstring using wifstream (embedded with the
> >> appropriate locale), and use isspace (again with the appropriate
> >> locale) on the wchar_t in the wstring.
>
> >> --
> >> James Kanze
>
> > Ok, well, suppose I want to use UTF-8 encoding, how do I specify it
>
> With UTF-8 one is using char, not wchar_t. Note that if char is a signed
> type, then one must take care to cast char to unsigned char in places
> where a non-negative value is expected.
>
> By historic reasons the locale and encoding stuff has been mixed up. Are
> you more interested in locales or in encodings? Locales affect such stuff
> as the character of representing the decimal point in numbers, look of
> the dates and whether V and W are sorted together or separately, and
> whether cyrillic characters are considered alphabetic characters or not.
> Encoding is a fully different business, specifying for example how those
> cyrillic characters are encoded in the binary data, if at all.
>
> If you just want to translate different encodings, then you do not need
> any locale stuff at all. When a web page comes in, you do not know if the
> decimal point used in numbers therein is a dot or a comma, for example,
> so strictly speaking you cannot set the correct locale for processing the
> page. What you can do is to look at BOM markers and charset encoding, and
> to translate the file from its charset to the encoding you are using
> internally, for example. For that, again no locales are needed, but
> instead one needs some kind os system-sepcific code or other library like
> iconv.
>
> > using locale? And where can I find a list of the possible locale
> > encoding configuration (e.g. if I wanted to correctly decode a web
> > page just parsing the fist bytes looking for 'charset')?
>
> http://www.iana.org/assignments/character-sets
>
> But you don't want to deal with this by yourself. Use a library like
> iconv.
>
> hth
> Paavo
Ok, so suppose I want to split a russian text into words and the base
method look at every character in order to decide if a space is found,
what do you suggest?
== 2 of 2 ==
Date: Fri, Jan 29 2010 10:12 am
From: Paavo Helde
gervaz <gervaz@gmail.com> wrote in
news:995e2805-ab97-4c11-ae49-fcce01682bb3@b9g2000yqd.googlegroups.com:
> On 29 Gen, 09:09, Paavo Helde <myfirstn...@osa.pri.ee> wrote:
>> gervaz <ger...@gmail.com> wrote in news:df9f84a1-a933-4063-bca5-
>> f18c440b9...@l19g2000yqb.googlegroups.com:
>>
>>
>>
>> > On Jan 28, 11:46 pm, James Kanze <james.ka...@gmail.com> wrote:
>> >> On 28 Jan, 21:25, gervaz <ger...@gmail.com> wrote:
>>
>> >> > On Jan 28, 9:40 pm, Paavo Helde <myfirstn...@osa.pri.ee> wrote:
>> >> > > gervaz <ger...@gmail.com> wrote in
>> >> > > news:198ffd0f-8a21-4d23-802f-
>> >> > > cf0f0fee0...@o28g2000yqh.googlegroups.com:
>> >> > > > Hi all, is there a C++ function similar to isspace that
>> >> > > > can handle w_chars? Does the regex library handles
>> >> > > > w_chars?
>> >> > > Yes, there is a template function declared in <locale> and
>> >> > > named std::isspace, curiously enough.
>> >> > > There is no regex librar in the official C++ standard yet I
>> >> > > think. The Boost regex library is fully templated and ought
>> >> > > to support wchar_t as well, but I have not tried this.
>> >> > > According to Boost documentation one needs a separate ICU
>> >> > > library for full Unicode support though.
>> >> > Well, take a look at my snippet:
>> >> > std::ifstream infile(argv[1]);
>> >> > std::string s;
>> >> > while (getline(infile, s))
>> >> > {
>> >> > s.erase(std::remove_if(s.begin(), s.end(), std::isspace), s.end
>> >> > ());
>> >> > std::cout << s;
>> >> > }
>> >> > Using locale on VC++2008 I've got an error reporting that
>> >> > std::isspace expects 2 arguments,
>>
>> >> That's because std::isspace requires two arguments, the
>> >> character to be tested, and the locale.
>>
>> >> > and still I don't know if the file contains unicode characters
>> >> > can be correctly handles.
>>
>> >> The functions in <locale> are pretty useless, since they only
>> >> handle single byte characters. The "approved" solution is to
>> >> read into a wstring using wifstream (embedded with the
>> >> appropriate locale), and use isspace (again with the appropriate
>> >> locale) on the wchar_t in the wstring.
>>
>> >> --
>> >> James Kanze
>>
>> > Ok, well, suppose I want to use UTF-8 encoding, how do I specify it
>>
>> With UTF-8 one is using char, not wchar_t. Note that if char is a
>> signed type, then one must take care to cast char to unsigned char in
>> places where a non-negative value is expected.
>>
>> By historic reasons the locale and encoding stuff has been mixed up.
>> Are you more interested in locales or in encodings? Locales affect
>> such stuff
>
>> as the character of representing the decimal point in numbers, look
>> of the dates and whether V and W are sorted together or separately,
>> and whether cyrillic characters are considered alphabetic characters
>> or not. Encoding is a fully different business, specifying for
>> example how those cyrillic characters are encoded in the binary data,
>> if at all.
>>
>> If you just want to translate different encodings, then you do not
>> need any locale stuff at all. When a web page comes in, you do not
>> know if the decimal point used in numbers therein is a dot or a
>> comma, for example, so strictly speaking you cannot set the correct
>> locale for processing the page. What you can do is to look at BOM
>> markers and charset encoding, and to translate the file from its
>> charset to the encoding you are using internally, for example. For
>> that, again no locales are needed, but instead one needs some kind os
>> system-sepcific code or other library like iconv.
>>
>> > using locale? And where can I find a list of the possible locale
>> > encoding configuration (e.g. if I wanted to correctly decode a web
>> > page just parsing the fist bytes looking for 'charset')?
>>
>> http://www.iana.org/assignments/character-sets
>>
>> But you don't want to deal with this by yourself. Use a library like
>> iconv.
>>
>> hth
>> Paavo
>
> Ok, so suppose I want to split a russian text into words and the base
> method look at every character in order to decide if a space is found,
> what do you suggest?
If you mean space as ASCII character 32, then I would use the text
encoded in UTF-8 and compare each byte with ' '.
However, if you mean any whitespace, then I would start by finding out at
unicode.org site if there are any non-ASCII whitespace characters defined
in the standard Russian locale. If there are, and wchar_t on the given
platform is wide enough to represent all of them in a single wchar_t,
then I could encode the text as UTF-16 or UTF-32 as appropriate for
wchar_t on the given platform and use std::isspace<wchar_t>() with the
Russian locale.
Or I could keep the text in UTF-8 and use my own custom function for
checking for the whitespace, checking directly for all Unicode whitespace
characters as listed in http://en.wikipedia.org/wiki/Whitespace_%
28computer_science%29, this seems to me much less error-prone than
worrying if Russian locale and std::isspace are working correctly on all
platforms.
hth
Paavo
==============================================================================
TOPIC: system("ls")
http://groups.google.com/group/comp.lang.c++/t/ea8887c99b1a8b02?hl=en
==============================================================================
== 1 of 1 ==
Date: Fri, Jan 29 2010 4:48 am
From: Matko
On Thu, 21 Jan 2010 20:07:03 +0000, Matko wrote:
> Hi!
> Is there a better way to get data returned by 'ls' command instead of
> 'system("ls > file.txt");' and then reading the file. I'm thinking of
> something that would return 'const char *' into my buffer.
>
> Thanks!
> God bless you!
Thank You very much everyone for your effort!
I am pleased with your responds. Nevertheless, i have used system("ls >
file.txt") which was sufficient for my case.
God bless you!
==============================================================================
TOPIC: Another strange linux kernel change
http://groups.google.com/group/comp.lang.c++/t/e05a4158a9750a03?hl=en
==============================================================================
== 1 of 6 ==
Date: Fri, Jan 29 2010 5:45 am
From: "Man-wai Chang to The Door (24000bps)"
i++ --> ++i, on a separate line! Does it matter?
--
@~@ Might, Courage, Vision, SINCERITY.
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (x86_64 Ubuntu 9.10) Linux 2.6.32.6
^ ^ 21:44:01 up 2 days 7:24 2 users load average: 1.38 1.19 1.11
不借貸! 不詐騙! 不援交! 不打交! 不打劫! 不自殺! 請考慮綜援 (CSSA):
http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa
== 2 of 6 ==
Date: Fri, Jan 29 2010 6:20 am
From: Vladimir Jovic
Man-wai Chang to The Door (24000bps) wrote:
>
> i++ --> ++i, on a separate line! Does it matter?
>
No.
If it was like this:
j = ++i + i ++;
then it would matter.
== 3 of 6 ==
Date: Fri, Jan 29 2010 6:19 am
From: Victor Bazarov
Man-wai Chang to The Door (24000bps) wrote:
>
> i++ --> ++i, on a separate line! Does it matter?
>
Do you mean to tell us that you don't know the difference between
pre-increment and post-increment?
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
== 4 of 6 ==
Date: Fri, Jan 29 2010 6:23 am
From: Victor Bazarov
Vladimir Jovic wrote:
> Man-wai Chang to The Door (24000bps) wrote:
>>
>> i++ --> ++i, on a separate line! Does it matter?
>>
>
> No.
>
> If it was like this:
> j = ++i + i ++;
> then it would matter.
Huh?
Are you saying that
j = i++;
and
j = ++i;
have the same effect?
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
== 5 of 6 ==
Date: Fri, Jan 29 2010 6:43 am
From: Daniel Giaimo
On 1/29/2010 8:45 AM, Man-wai Chang to The Door (24000bps) wrote:
>
> i++ --> ++i, on a separate line! Does it matter?
>
> http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Fincr%2Fpatch-2.6.32.6-7.bz2;z=69
i++ increments i and returns the old value. ++i increments i and
returns the new value. So, for example, if i were 4 to begin with,
then before the change the code would cause i to become 5 and j to
become 4, and after the change the code would cause i to become 5
and j to become 5.
--
Dan G
== 6 of 6 ==
Date: Fri, Jan 29 2010 7:37 am
From: Vladimir Jovic
Victor Bazarov wrote:
> Vladimir Jovic wrote:
>> Man-wai Chang to The Door (24000bps) wrote:
>>>
>>> i++ --> ++i, on a separate line! Does it matter?
>>>
>>
>> No.
>>
>> If it was like this:
>> j = ++i + i ++;
>> then it would matter.
>
> Huh?
>
> Are you saying that
>
> j = i++;
>
> and
>
> j = ++i;
>
> have the same effect?
Yes, that's what I said (shame on me). Fortunately I do not have to
debug offset by 1 in the j ;)
==============================================================================
TOPIC: Looking for C++ IDE,...
http://groups.google.com/group/comp.lang.c++/t/e8a1db0949215858?hl=en
==============================================================================
== 1 of 4 ==
Date: Fri, Jan 29 2010 7:27 am
From: Kerem Gümrükcü
Hi,
i am looking fo a (free, non-microsoft!) C++ IDE for windows, that
can do most of the MSVC++ stuff (resources, projects, etc.) but most
important is the abillity to easily switch between processor targets
for the compiler/linker e.g. it should have a 32 and 64 bit compiler
included in the environment and 64 bit code can be compiled on
a 32 bit system. I want to target Windows only (windows api is the
foundation or will be), so there is no need to use a mixed environment.
What can you recommend,...?
Thanks in advance,...
Regards
Kerem
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Latest Project: http://www.pro-it-education.de/software/deviceremover
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
== 2 of 4 ==
Date: Fri, Jan 29 2010 8:00 am
From: Victor Bazarov
Kerem Gümrükcü wrote:
> i am looking fo a (free, non-microsoft!) C++ IDE for windows, [..]
>
> What can you recommend,...?
I recommend asking in a Windows programming newsgroup.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
== 3 of 4 ==
Date: Fri, Jan 29 2010 8:13 am
From: Kerem Gümrükcü
Thanks for the reply, i am currenty having
a look at Open Watcom C++ and Ultimate C++.
Ultimate C++ looks fine, especially it has a simple
build interface that will make switch between x64/64
easy,...so it looks at first,...
Regards
Kerem
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Latest Project: http://www.pro-it-education.de/software/deviceremover
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"Victor Bazarov" <v.Abazarov@comAcast.net> schrieb im Newsbeitrag
news:hjv0ne$lf9$1@news.datemas.de...
> Kerem Gümrükcü wrote:
>> i am looking fo a (free, non-microsoft!) C++ IDE for windows, [..]
>>
>> What can you recommend,...?
>
> I recommend asking in a Windows programming newsgroup.
>
> V
> --
> Please remove capital 'A's when replying by e-mail
> I do not respond to top-posted replies, please don't ask
== 4 of 4 ==
Date: Fri, Jan 29 2010 9:00 am
From: "BGB / cr88192"
"Kerem Gümrükcü" <kareem114@hotmail.com> wrote in message
news:hjuuog$k8k$02$1@news.t-online.com...
> Hi,
>
> i am looking fo a (free, non-microsoft!) C++ IDE for windows, that
> can do most of the MSVC++ stuff (resources, projects, etc.) but most
> important is the abillity to easily switch between processor targets
> for the compiler/linker e.g. it should have a 32 and 64 bit compiler
> included in the environment and 64 bit code can be compiled on
> a 32 bit system. I want to target Windows only (windows api is the
> foundation or will be), so there is no need to use a mixed environment.
>
> What can you recommend,...?
>
Eclipse?...
I guess some people like it, but personally I have not used it (never really
felt that much need for IDE's, personally, but I guess they have their
appeal).
admitted, IDE's are not strictly topical for a C++ group (after all, we all
know that the one true build system is Makefile's...).
going OT here:
it is my personal observation that thus far, MSVC is seemingly the only
"good" compiler with "good" Win64 support at present. MinGW-w64 exists, but
I am less certain about its present reliability (may be worth a try though).
but, if cost is the concern, the Windows SDK is a free download FWIW.
it could then be "possible" to make a free setup with Eclipse+MSVC (granted,
I have not tried this).
(I am using a current build setup of GNU Make + MSVC...).
note:
here I am using MSVC to refer to the backend compiler (comes free with the
Windows SDK), in contrast to Visual Studio (which costs money, except as
'Express'), which is the IDE (and which uses the MSVC compiler as a
backend).
note that to make really any of this work well may require a slight bit of
fiddly (as in editing files, setting up environment variables, ...).
==============================================================================
TOPIC: ♬+♬+♬wholesale cheap belts, shoes, handbags, purse and T-shirts etc at
www.ecyaya.com
http://groups.google.com/group/comp.lang.c++/t/017b231509373cff?hl=en
==============================================================================
== 1 of 2 ==
Date: Fri, Jan 29 2010 8:17 am
From: hero
♬+♬+♬wholesale cheap belts, shoes, handbags, purse and T-shirts etc at
www.ecyaya.com
cool belts
the hottest Afflirtion Belt with high quality and low price on www.ecyaya.com
the hottest Armani Belt with high quality and low price on www.ecyaya.com
the hottest Bape Belt with high quality and low price on www.ecyaya.com
the hottest Boss Belt with high quality and low price on www.ecyaya.com
the hottest Burberry Belt with high quality and low price on www.ecyaya.com
the hottest C.D Belt with high quality and low price on www.ecyaya.com
the hottest Chanel Belt with high quality and low price on www.ecyaya.com
the hottest CK Belt with high quality and low price on www.ecyaya.com
the hottest D&G Belt with high quality and low price on www.ecyaya.com
the hottest Diesel Belt with high quality and low price on www.ecyaya.com
the hottest DSQ Belt with high quality and low price on www.ecyaya.com
the hottest ED Belt with high quality and low price on www.ecyaya.com
the hottest Gucci Belt with high quality and low price on www.ecyaya.com
the hottest Hermes Belt with high quality and low price on www.ecyaya.com
the hottest Levfs Belt with high quality and low price on www.ecyaya.com
the hottest LV Belt with high quality and low price on www.ecyaya.com
the hottest Polo Belt with high quality and low price on www.ecyaya.com
the hottest Prada Belt with high quality and low price on www.ecyaya.com
the hottest Versace Belt with high quality and low price on www.ecyaya.com
== 2 of 2 ==
Date: Fri, Jan 29 2010 8:17 am
From: hero
♬+♬+♬wholesale cheap belts, shoes, handbags, purse and T-shirts etc at
www.ecyaya.com
cool belts
the hottest Afflirtion Belt with high quality and low price on www.ecyaya.com
the hottest Armani Belt with high quality and low price on www.ecyaya.com
the hottest Bape Belt with high quality and low price on www.ecyaya.com
the hottest Boss Belt with high quality and low price on www.ecyaya.com
the hottest Burberry Belt with high quality and low price on www.ecyaya.com
the hottest C.D Belt with high quality and low price on www.ecyaya.com
the hottest Chanel Belt with high quality and low price on www.ecyaya.com
the hottest CK Belt with high quality and low price on www.ecyaya.com
the hottest D&G Belt with high quality and low price on www.ecyaya.com
the hottest Diesel Belt with high quality and low price on www.ecyaya.com
the hottest DSQ Belt with high quality and low price on www.ecyaya.com
the hottest ED Belt with high quality and low price on www.ecyaya.com
the hottest Gucci Belt with high quality and low price on www.ecyaya.com
the hottest Hermes Belt with high quality and low price on www.ecyaya.com
the hottest Levfs Belt with high quality and low price on www.ecyaya.com
the hottest LV Belt with high quality and low price on www.ecyaya.com
the hottest Polo Belt with high quality and low price on www.ecyaya.com
the hottest Prada Belt with high quality and low price on www.ecyaya.com
the hottest Versace Belt with high quality and low price on www.ecyaya.com
==============================================================================
TOPIC: Cheap Wholesale Jordan 11+Obama, Jordan 25+AF1, Jordan 6 unite1,Jordan
Melo M5 (www.vipchinatrade.com)
http://groups.google.com/group/comp.lang.c++/t/34e933da9225e27a?hl=en
==============================================================================
== 1 of 1 ==
Date: Fri, Jan 29 2010 8:34 am
From: cava
Minimum order is one,factory price also! Paypal payment free
shipping,ship time will take 4-7 working days.
Cheap Wholesale Jordan 1 (paypal payment)(www.vipchinatrade.com )
Cheap Wholesale Jordan 1.5 Man (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 2 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 2.5 Man (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 3 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 3.5 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 4 (paypal payment)(www.vipchinatrade.com )
Cheap Wholesale Jordan 4.5 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 5 Man (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 5.5 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 6 Man (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 6.5 Kid (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 7 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 7.5 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 8 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 9 Man (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 9.5 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 10 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 11 (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 11.5 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 12 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 12.5 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 13 Man (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 14 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 15 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 15.5 Man (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 16 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 17 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 18 Man (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 19 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 19.5 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 22 Man (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 22.5 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 23 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 24 (paypal payment)(www.vipchinatrade.com )
Cheap Wholesale Cheap Wholesale JordanAir Yeezy (free shipping
www.vipchinatrade.com)
Cheap Wholesale Jodan 23+AF1 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 1+Jordan 2+Jordan 5+Jordan 7
Cheap Wholesale Jordan 3+AF1 (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 3+Jordan 5+Jordan 15 (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 4+AF1 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 4.5+AF1 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 5+AF1 (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 6+AF1 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 9+AF1 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 9+Jordan 23 (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 11+AF1 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 11.5+AF1 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 11+Anthony (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 11+Jordan 12 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 11+Jordan 13 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 11+Jordan 23 (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 11+Obama (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 12+AF1 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 13+AF1 (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 13+AJ6Rings (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 16.5+AF1 (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 18+Jordan 23 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 20+AF1 (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 21+Jordan 23 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 25+AF1 (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan 6 unite1 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan 8 unite1 (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan flying (paypal payment)
(www.vipchinatrade.com )
Cheap Wholesale Jordan foamposite liite Man (free shipping
www.vipchinatrade.com)
Cheap Wholesale Jordan Melo M5 Man (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan True Flight (free shipping www.vipchinatrade.com)
Cheap Wholesale Jordan Trunner Q4 (free shipping www.vipchinatrade.com)
==============================================================================
TOPIC: typedefs and namespaces
http://groups.google.com/group/comp.lang.c++/t/14757947dce647b0?hl=en
==============================================================================
== 1 of 2 ==
Date: Fri, Jan 29 2010 8:35 am
From: alariq
Hello, All
can anyone help me with my problem. Here is it
I have one file: a.h
--- a.h ---
#pragma once
class Value; // forward declaration
namespace a {
// probably i would like to create Joint class as separate but now
i want to use Value class
typedef ::Value Joint;
class A_Class {
};
class C {
public:
//...
Joint* j;
};
} // end of namespace
and another class b.h, which includes a.h
--- b.h ---
#pragma once
#include "a.h"
class Value {
a::A_Class* pclass;
public:
static Value* makeStuff() { return new Value; }
}
and a main class
--- main.cpp ---
#include "b.h"
#include "a.h" // not really needed
int main(int argc, char** argv)
{
a::C var2;
var2.j = new a::Joint::makeStuff(); // error C2061: syntax error :
identifier 'makeStuff'
return 0;
}
I canot get why i have an error, becuase a::Joint is the same as
Value. It is ok if i do not use the function but fails if i do.
Thanks in advance.
== 2 of 2 ==
Date: Fri, Jan 29 2010 8:45 am
From: Victor Bazarov
alariq wrote:
> Hello, All
> can anyone help me with my problem. Here is it
> [...]
>
> and a main class
> --- main.cpp ---
> #include "b.h"
> #include "a.h" // not really needed
>
> int main(int argc, char** argv)
> {
>
> a::C var2;
> var2.j = new a::Joint::makeStuff(); // error C2061: syntax error :
> identifier 'makeStuff'
The compiler expects a *type* after 'new'. For example,
var2.j = new a::Joint;
What is it you're trying to accomplish here?
> return 0;
> }
>
> I canot get why i have an error, becuase a::Joint is the same as
> Value. It is ok if i do not use the function but fails if i do.
Use the function to do *what*?
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
==============================================================================
TOPIC: ◆⊙◆ cheap wholesale UGG shoes with high quality at www.fjrjtrade.com (
free shipping)==(paypal payment)==
http://groups.google.com/group/comp.lang.c++/t/cb87b353e182dbca?hl=en
==============================================================================
== 1 of 1 ==
Date: Fri, Jan 29 2010 8:41 am
From: "www.fjrjtrade.com"
◆⊙◆ cheap wholesale UGG shoes with high quality at www.fjrjtrade.com
(free shipping)==(paypal payment)==
High quality discount Shoes, all on Website www.fjrjtrade.com
High quality discount UGG Shoes
http://www.fjrjtrade.com/922-UGG-Shoes.html
High quality discount UGG 30 year 5118
http://www.fjrjtrade.com/1137-UGG-30-year-5118.html
High quality discount UGG 30 year 5728
http://www.fjrjtrade.com/1138-UGG-30-year-5728.html
High quality discount UGG 5163
http://www.fjrjtrade.com/1139-UGG-5163.html
High quality discount UGG 5225
http://www.fjrjtrade.com/1140-UGG-5225.html
High quality discount UGG 5230
http://www.fjrjtrade.com/1141-UGG-5230.html
High quality discount UGG 5245
http://www.fjrjtrade.com/1142-UGG-5245.html
High quality discount UGG 5325
http://www.fjrjtrade.com/1143-UGG-5325.html
High quality discount UGG 5359
http://www.fjrjtrade.com/1144-UGG-5359.html
High quality discount UGG 5815
http://www.fjrjtrade.com/1145-UGG-5815.html
High quality discount UGG 5816
http://www.fjrjtrade.com/1146-UGG-5816.html
High quality discount UGG 5818
http://www.fjrjtrade.com/1147-UGG-5818.html
High quality discount UGG 5819
http://www.fjrjtrade.com/1148-UGG-5819.html
High quality discount UGG 5825
http://www.fjrjtrade.com/1149-UGG-5825.html
High quality discount UGG 5854
http://www.fjrjtrade.com/1150-UGG-5854.html
High quality discount Shoes, all on Website www.fjrjtrade.com
High quality discount UGG Shoes
http://www.fjrjtrade.com/922-UGG-Shoes.html
High quality discount UGG 30 year 5118
http://www.fjrjtrade.com/1137-UGG-30-year-5118.html
High quality discount UGG 30 year 5728
http://www.fjrjtrade.com/1138-UGG-30-year-5728.html
High quality discount UGG 5163
http://www.fjrjtrade.com/1139-UGG-5163.html
High quality discount UGG 5225
http://www.fjrjtrade.com/1140-UGG-5225.html
High quality discount UGG 5230
http://www.fjrjtrade.com/1141-UGG-5230.html
High quality discount UGG 5245
http://www.fjrjtrade.com/1142-UGG-5245.html
High quality discount UGG 5325
http://www.fjrjtrade.com/1143-UGG-5325.html
High quality discount UGG 5359
http://www.fjrjtrade.com/1144-UGG-5359.html
High quality discount UGG 5815
http://www.fjrjtrade.com/1145-UGG-5815.html
High quality discount UGG 5816
http://www.fjrjtrade.com/1146-UGG-5816.html
High quality discount UGG 5818
http://www.fjrjtrade.com/1147-UGG-5818.html
High quality discount UGG 5819
http://www.fjrjtrade.com/1148-UGG-5819.html
High quality discount UGG 5825
http://www.fjrjtrade.com/1149-UGG-5825.html
High quality discount UGG 5854
http://www.fjrjtrade.com/1150-UGG-5854.html
High quality discount more other shoes at WEBSITE:
http://www.fjrjtrade.com
==============================================================================
TOPIC: advice on try - throw - catch
http://groups.google.com/group/comp.lang.c++/t/24c6f05e5ff8da82?hl=en
==============================================================================
== 1 of 1 ==
Date: Fri, Jan 29 2010 8:46 am
From: Gus Gassmann
I have read a bit about exception handling, but I am still a bit
unsure of efficiency considerations and things like that. Here is the
situation:
string OSInstance::getInstanceName() {
try {
if (m_sInstanceName.length() <= 0) {
if (instanceHeader == NULL)
throw ErrorClass("instanceHeader object does not
exist");
m_sInstanceName = instanceHeader->Name;
}
return m_sInstance.Name;
}
catch(const ErrorClass& eclass) {
throw (ErrorClass eclass.errormsg);
}
}
Assume that instanceHeader is nonnull in 999,999 out of 1,000,000
cases, but in that last case it is really important to warn the user.
Is the above code efficient? Can the efficiency be improved? Also,
what happens after the method does catch the error and throws it
upstairs? Do I have to have another try-catch in the calling routine?
What if I don't? Would your approach be different in open source and
closed source code?
Thanks a million for any feedback.
==============================================================================
TOPIC: Help: libiomp5md.dll takes 46.22% individual work reported by Visual
Studio Profiler
http://groups.google.com/group/comp.lang.c++/t/08adc6ce31d50518?hl=en
==============================================================================
== 1 of 1 ==
Date: Fri, Jan 29 2010 9:30 am
From: Johnson
I am developing a C++ algorithm with Visual Studio 2008 team right now.
The algorithm requires FFT/IFFT operation and is originally implemented
at MATLAB, now I have load the IPP library to Visual Studio to do the
FFT work.
The C++ algorithm program is written following the STL standard. It
works but I feel it runs very slow, even slower than the MATLAB program.
So I use the Visual Studio Team Profiling Tools to check the CPU time
used by each module and function and locate the bottleneck. To my
surprise, I find libiomp5md.dll itself takes 46.22% individual work
(please see attachment for summary report of the profiler), so it is
very CPU time consuming. I don't know if libiomp5md.dll is related to
Visual Studio Team Profiling Tools, and why it is so time-consuming.
Could anybody please help me?
BTW, is it a wise choice to use STD C++ instead of ANSI C to implement
the algorithm in terms of the speed? It is my first time to write an
algorithm in STD. The main reason behind is to avoid pointers, which are
too powerful and may cause troubles.
Thank you in advance.
Johnson
Functions Causing Most Work Name Samples %
_mainCRTStartup 4,253 52.91
_main 4,238 52.72
__tmainCRTStartup 4,238 52.72
MathLib::CL_Acquisition::Acquisition(void) 4,196 52.20
[libiomp5md.dll] 3,856 47.97
Functions Doing Most Individual Work Name Samples %
[libiomp5md.dll] 3,715 46.22
std::valarray<double>::operator[](unsigned int) 633 7.88
std::_Construct<double,double>(double *,double const &) 578 7.19
operator new(unsigned int,void *) 432 5.37
std::_Destroy<double>(double *) 417 5.19
--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
==============================================================================
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
No comments:
Post a Comment