Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
comp . lang . c++
This is a Usenet group - learn more
Find or start a Google Group about c++.
Group info
Language: English
Group categories:
Computers > Programming
More group info »
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 238734  Older »
Description: The object-oriented C++ language.
 

Breakthrough 
  On Mon, 04 Jun 2012 13:38:47 +0200 ... ... Here are timings on mu computer. bmaxa@maxa:~/jacob/ccl$ time ./cppvec Sum = 10738138201479754 real 0m0.899s user 0m0.832s sys 0m0.064s bmaxa@maxa:~/jacob/ccl$ time ./cpplist Sum = 10738138201479754 real 0m7.493s user 0m7.344s sys 0m0.136s... more »
By MelissA  - Jun 4 - 22 new of 22 messages    

Inheritance from template problem 
  Hello, My inheritance problem is my uncle left me $10 million, but to get it I have to spend the night in an isolated haunted house. My uncle didn't like me. I think it's a plot to kill me! :o) Seriously, when I compile the following code, I get the error: "B::i is not accessible" on the line "f = Tptr->i". It compiles fine if "i"... more »
By DSF  - Jun 3 - 8 new of 8 messages    

reduce c++ vector size 
  Hi, I wrote a program in which I define a vector of some class objects. Initially the vector has size and capacity both set to 0. The moment I add an element to the vector the size is 1 and the capacity jumps to 32 elements. This is causing a huge overhead on my program since I need to use many such... more »
By sukhmeet  - Jun 3 - 23 new of 23 messages    

Indirection operator and write access 
  ... ... What does "showing write access on x" mean? ... You can't overload *. I can't see how x could me modified here, but note that anything can happen inside the version of operator<<(ostream&,...) called at that point. Here is an example: class X { ... }; class Y { public: Y(const X & x) { ... }... more »
By Alain Ketterlin  - Jun 3 - 1 new of 1 message    

Indirection operator and write access 
  ... You can't overload the operator* for pointers. That's a built-in one. Once you dereference *x, you get a reference to the object. The pointer variable does not have any play in dealing with that, so it seems that the write access to 'x' itself has nothing to do with '*x'. V -- I do not respond to top-posted replies, please don't ask... more »
By Victor Bazarov  - Jun 3 - 1 new of 1 message    

===Welcome to comp.lang.c++! Read this first. 
  Welcome to comp.lang.c++! Read this first. This post is intended to give the new reader an introduction to reading and posting in this newsgroup. We respectfully request that you read all the way through this post, as it helps make for a more pleasant and useful group for everyone. First of all, please keep in mind that comp.lang.c++ is a group for discussion... more »
By Shiva  - Jun 3 - 1 new of 1 message    

Access Violation Problem 
  I have the following code that compiles but produces a "Access violation reading location..." runtime error when executed. I tried casting the first statement to (char*), but that produced the same fault. I suppose the problem lies with the use of the "const char" in the parameter declaration, but I've been trying to follow the examples I see... more »
By Mike Copeland  - Jun 2 - 9 new of 9 messages    

WHAT DO MUSLIMS THINK ABOUT JESUS ????????? 
  WHAT DO MUSLIMS THINK ABOUT JESUS? I know that my article is not related to this group ,but it might be useful. PLEASE read it What do Muslims think about Jesus? Muslims respect and revere Jesus (SAW) and await his Second Coming. They consider him one of the greatest of God’s messengers to mankind.... more »
By BV BV  - Jun 2 - 2 new of 2 messages    

Boost function/bind problem 
  Hello there. I am trying to use the Boost function type in conjunction with bind, in order to homogenise some code. class C1 { public: void someOp(int i, float f) { /* ... */ } ; ... class C2 { public: void otherOp(int i, float f) { /* ... */ } ; ... main() { typedef boost::function<void (int, float) > F ;... more »
By Fuzzy Coder  - May 31 - 1 new of 1 message    

CFP - DEIS2012 - Czech Republic - SDIWC 
  Dear Colleagues, We are inviting you to join and participate in the upcoming conference that will be held in Czech Republic. This will able to build connections among researchers in the field of digital applications. Please spend some time to overview the research topics. Below are the conference information. If you have any questions, you... more »
By sdiwc conferences  - May 31 - 1 new of 1 message    

1 - 10 of 238734   « Newer | Older »

XML