First  |  Prev | 
Pages: 153 154 155 156 157 158 159 160 161 162 163
getch() function in C++
Is it possible to recreate the behaviour of the getch() function within C++? [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] ... 21 Oct 2005 12:47
creating simple digital logic circuit simulator
Hi, Im in the process of writing a simple digital logic circuit simulator application (similar to B2Logic). What would be the best approach or design for a project like that? I mean should I use the object-oriented design: making gates as classes, and if so, should I make ALL gates as classes or should it be jus... 16 Oct 2005 05:53
C++ Concepts
I came across a comment on Slashdot that gives me an excuse to write about the "A concept design" paper before the standards committee: "It was certainly interesting in the 'bad old days' when no two compilers implemented things like templates the same way. Of course, I'm no fan of templates, since they are essen... 16 Oct 2005 05:53
MISRA C++
Hi, MISRA has just started a MISRA-C++ to compliment their MISRA-C guide. There looking for people to participate. The drafting will be done in a series of monthly meetings at MISRA (Nuneaton, UK) but they also need reviewers to look at the draft. Anyone interested should ideally have a background in high in... 22 Sep 2005 05:31
C++/CLI limitations?
Hi, I am currently sinking my teeth into the C++/CLI stuff since I just want to know a bit more about it. Now, during some playing around I found out that using pointer-to-member types together with reference classes are not possible, e.g. I tried: public ref class Foo { public: void bla( int blubb ); ... 21 Sep 2005 06:17
map within map
Is there any problem in using of map as declared below? map<int, map<int, float>> test; Cleber [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] ... 27 Aug 2005 16:10
Pet peeves (lighthearted)
Hi all, Having overhauled thousands of lines of code in the last couple days, I'm wondering what other C++ programmer's pet peeves are. I think there's some small value in this, as hopefully some of us will see things we do and stop, or have someone explain a pet peeve and it won't bother us in future. Am I go... 1 Oct 2005 12:23
Special container
Hi, I need a special container which does not exist, I think. It's a kind of list and set. It's a set because each included object has to be unique and it's a kind of list because the order has to be kept as is. For example, if I insert objects A, Z, B, Z, A and C, I need to store only A, Z, B, C, in that order.... 22 Jul 2005 21:24
Exceptions
Hi, I have a lot of questions about exceptions. In the sample below: struct E( . . . ~E(){} ); int main() { try { throw E(); } catch(const E &e) { e.some(); } } When ~E will be called? Which is the E scope? Where E will be created? In the Stack? Exceptions are slow if are... 19 Sep 2005 16:37
std::ios_base copy constructor
Is it legal in C++ STL to assign or copy streams? For instance, if I have: #include <iostream> int main() { std::ostream s(std::cout); s << "Hello" << std::endl; return 0; } is that valid? I'm using gcc versions 2.95 and 3.4.3, and both of them give an error on the def... 30 May 2005 08:34
First  |  Prev | 
Pages: 153 154 155 156 157 158 159 160 161 162 163