Google Groups Home
Help | Sign in
comp . lang . c++
This is a Usenet group - learn more
Find or start a Google Group about c++.
Related Groups
Technical discussion of the C++ language. (Moderated)
Medium activity, Usenet
Discussion about C.
High activity, Usenet
Discussion about C++ language, library, standards. (Moderated)
Low activity, Usenet
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 226585  Older »
Description: The object-oriented C++ language.
 

map<K, V>::reference 
  Suppose K and V are two types either built-in or user-defined. Suppose I use the standard default allocator< pair<const K, V> > . Suppose I have map<K,V> m; // insert some elements into the map 'm'. Assume this is possible. Then the type of map<K,V>::reference is 'pair<const K, V>&' Is my above understanding correct ?... more »
By subramanian100in@yahoo.co m, India  - 3:00pm - 2 new of 2 messages    

Avoid including header file by declaring class. But what for typedef ??? 
  Hello. If I have the following classes: class B {}; typedef B tB; if A is: class A {
By nguillot  - 2:31pm - 3 new of 3 messages    

a simple phonebook program,get into a loop. 
  i have written a simple phonebook program,i'll show you some of the codes,the program's head file is member.h . i suppose the head file works well.so i don't post it. here's the clips of main function which i think has problem // this a simple program about phonebook,it can add items,del items,find items and... more »
By jerry  - 1:29pm - 2 new of 2 messages    

Ambiguous conversion 
  Hello, I'm writing a String class for C++ and I'm getting the following error message when using operator[]: test.cpp: In function ‘int main()’: test.cpp:7: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:... more »
By Nikola  - 1:24pm - 8 new of 8 messages    

question on construction of pair in <utility> 
  consider the program: ...using namespace std; class Test { public: Test(int arg = 0); Test(const Test &rhs); Test &operator=(const Test &rhs); private: int val; ...Test::Test(int arg) : val(arg) { cout << "Test one arg ctor" << endl; ...Test::Test(const Test &rhs) : val(rhs.val) { cout << "Test copy ctor" << endl;... more »
By subramanian100in@yahoo.co m, India  - 12:42pm - 2 new of 2 messages    

Construction of classes at runtime 
  Hi, Is there anyway to construct a object of class with its class name obtained dynamically? Prototype and Factory method along with Abstract factory design pattern can be used to do it. But it involves using of if-else statement at the factory level. To avoid using the if-else statements (there would be plenty in my case), is there any way to... more »
By Sami  - 10:41am - 5 new of 5 messages    

adapter function for for_each 
  Hello I've got following container: std::vector<boost::shared_ptr< std::string> > strings; strings.push_back( boost::shared_ptr<std::string> ( new std::string("AAA") ) ); strings.push_back( boost::shared_ptr<std::string> ( new std::string("BBB") ) ); strings.push_back( boost::shared_ptr<std::string> ( new... more »
By dominolog  - 9:55am - 2 new of 2 messages    

Delphi equivalent in the C world or Scheme/LISP world 
  Is there a Delphi equivalent in the C world or Scheme/LISP world ? Recently, Delphi is in resurgence. In Russia people are using like crazy. For example, Bolega has written a free image processing program scankromsator in delphi because its easy to write a gui. In arabia people are using it also. Also delphi, I heard delphi allows visual programming and delphi... more »
By gnuist...@gmail.com  - 4:19am - 3 new of 3 messages    

error C2065: 'istringstream' : undeclared identifier 
  i am stuck in this: i have defined a class Member, it has a member function as below: string Member::GetFirstName() const { string FirstName; istringstream stream(itsName); stream >> FirstName; return FirstName; ...and i have been #include <sstream>,but when i compile them,there's an error as above.who can help me? thanks.... more »
By jerry  - 1:43am - 4 new of 4 messages    

I need help 
  Hey all!! I am a recruiter for the software companies. I just want to get that out of the way first. I guess what i want to know is the inside scoop! What do you guys do?Is it all code writing? Is it fun? Boring? If anyone wants to get back to me that'd be awsome. I guess I'm just looking to better understand the need of my candidates.... more »
By BostonJohn  - 12:35am - 4 new of 4 messages    

1 - 10 of 226585   « Newer | Older »

XML      
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google