473,616 Members | 2,800 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C / C++ Forum

C / C++ programming language - Get answers to questions about compilers, visual C++, templates, namespaces, classes, data structures, OOP (object-oriented programming), inheritance, data types, exceptions, Standard Template Library (STL) and the C Standard Library.
0
943
thread by: zeroNoSpamAnyMoretype | last post Jul 22 '05 by: zeroNoSpamAnyMoretype
Hi, I've been trying to look up what to do when the new operator is unable to allocate any memory in pre-1997 C++ (I have managed to get an answer to this question for current versions.). "Teach Yourself C++" states that after I use int *y=new int; I should test with
0
1,535
thread by: kolin82 | last post Jul 22 '05 by: kolin82
Hello! i;m looking for program or useful componetn which i can do snapshots in my program... do U have something like this plese write me and/or send source code thanks kolin
0
1,829
thread by: Martin Magnusson | last post Jul 22 '05 by: Martin Magnusson
I have defined a number of custom stream buffers with corresponding in and out streams for IO operations in my program, such as IO::output, IO::warning and IO::debug. Now, the debug stream should be disabled in a release build, and to do that efficiently, I suppose I need to overload the << operator. My current implementation of the stream...
0
920
thread by: Pavel Krcmar | last post Jul 22 '05 by: Pavel Krcmar
Sorry for the previous post. It was for someone else. :-) Pavel
0
981
thread by: Mathieu Malaterre | last post Jul 22 '05 by: Mathieu Malaterre
I am very sorry to pollute this newsgroup, but I am not getting any answer from the others. So does anyone here knows what are the flags to build a shared library (not a bundle) on MacOSX using xlC ? Thanks so much Mathieu
0
1,080
thread by: christopher diggins | last post Jul 22 '05 by: christopher diggins
I have written a constrained_value type for things like range checking integers, non-negative doubles, etc. and I have made the source code freely available for all at http://www.cdiggins.com/constrained_value.hpp . Below is a small example of the type in action: #include "constrained_value.hpp" #include <iostream> typedef...
0
827
thread by: AngleWyrm | last post Jul 22 '05 by: AngleWyrm
The hat is a container that holds randomly selectable objects. It provides the ability to assign chance weights to the objects, and items may be inserted/deleted along the way without penalty. I've done some work updating and implementing suggestions and commentary on the code, examples, and website. Need some feedback, so give it a looksee...
0
1,222
thread by: jwl | last post Jul 22 '05 by: jwl
I'm having a problem with a bit of code that I have "adopted". It was partially complete when I took it over. The function of the code is to read a log file, locate files described in that log file and fill in a few tables in a couple of MySql databases. The program is using a number of std objects, hashmaps, linklists, vectors etc. It...
0
1,632
thread by: Chris F Clark | last post Jul 22 '05 by: Chris F Clark
In our C++ project we have some internal bug reporting macros that we use to get useful information when the program does something unexpected. Essentially at the point of the error, we invoke an internal interactive debugger that knows the classes within our system and allow us to walk around the objects that exist at the time of the...
0
923
thread by: Dave | last post Jul 22 '05 by: Dave
Hello all, It seems to me that policies (as defined by Alexandrescu in "Modern C++ Design") and concepts (as defined by Siek, et al. in "The Boost Graph Library") are synonomous. Am I correct? Thanks, Dave
0
1,684
thread by: John Graat | last post Jul 22 '05 by: John Graat
Hi all, I've built the STLport-462 library on AIX-4.3.3 using gcc-3.3.2. No errors during compilation. However, during linking the following error occurs: ld: 0711-317 ERROR: Undefined symbol: _STL::_Node_Alloc_Lock<(bool)1, (int)0>::_S_lock Besides this error, the following warnings are given: ld: 0711-224 WARNING: Duplicate symbol:...
0
273
thread by: Venkat | last post Jul 22 '05 by: Venkat
Hi All, I have the following problem please help me in solving this. #include <stdafx> main() { int i, n=20; for(i=0;i<n; i--) {
0
1,235
thread by: Alex Vinokur | last post Jul 22 '05 by: Alex Vinokur
C++ program for generating combinatorial objects (exponents, permutations, arrangements, combinations for any numbers and words) can be downloaded at https://sourceforge.net/projects/comb-objects/ -- Alex Vinokur http://mathforum.org/library/view/10978.html http://sourceforge.net/users/alexvn
0
1,252
thread by: | last post Jul 22 '05 by:
I was hoping that someone (after my own failures) might post a very mininal unbuffered derivation of basic_streambuf. My problem is that (even leaving the buffer pointers to their defaults) uflow() never gets called unless I define an underflow(). overflow() works as expected but I'm just trying to start small and I can't even get that done....
0
1,326
thread by: Marcello do Guzman | last post Jul 22 '05 by: Marcello do Guzman
I will be making my first of several mid-month visits to several investors and venture capital firms beginning September. I am interested ONLY in SOFTWARE ventures. Of particular interest are the following types of software: + Applications software + Business process management (BPM) software + Telecommunications software + Customer...
0
2,660
thread by: Alex Vinokur | last post Jul 22 '05 by: Alex Vinokur
=================================== ------------- Sorting ------------- Comparative performance measurement =================================== Testsuite : Comparing Function Objects to Function Pointers Source : Technical Report on C++ Performance Tool : The C/C++ Program Perfometer (Version 2.8.1-1.19-Beta) *...
0
1,350
thread by: Alex Vinokur | last post Jul 22 '05 by: Alex Vinokur
Any link to C++/C implementation of Bentley-Sedgewick ternary QuickSort? Thanks, -- Alex Vinokur http://mathforum.org/library/view/10978.html http://sourceforge.net/users/alexvn
0
987
thread by: pervinder | last post Jul 22 '05 by: pervinder
Hi, I have an application which uses math/matrix solving lib like blas, lapack. When i build the binary using forte7 , it passes. But when i change the compiler to forte8, i get 2 undefined symbol errors : Undefined first referenced symbol in file zgetrf_...
0
1,336
thread by: Auronc | last post Jul 22 '05 by: Auronc
Somebody has written a class(in c++ language) to implement IEEE-754 floating point.Would you mind share the source code.Thanks for your help.
0
1,405
thread by: Steven T. Hatton | last post Jul 22 '05 by: Steven T. Hatton
I suspect the core language is not the level at which introspection should be implemented in C++. That has been the choice of C#, and Java. Both of these languages made some trade-offs to accomplish this. Like threading, introspection can probably be implemented by third party providers. I tend to favor open standards that are acceptted...
0
1,133
thread by: Konrad Thor | last post Jul 22 '05 by: Konrad Thor
We're making a space strategy game, check out http://kotarkh.com/Star-Empire.html for details, We're primarily looking for a few good coders, also artists who'd be good in making animated portraits for units If you enjoy making games and If you've ever wanted to make a strategy game and work with a team, now's the chance. Most of us are...
0
982
thread by: Rich Herrick | last post Jul 22 '05 by: Rich Herrick
* Fix incorrect parameter type with setof template * added sentinel (non-element) value to traits http://www.richherrick.com/software/herrick-1.01.zip -- Rich Herrick rich.delete.me@richherrick.com.delete.me.too
0
969
thread by: geezuss | last post Jul 22 '05 by: geezuss
http://freethings.20m.com/
0
1,351
thread by: rjoshi | last post Jul 22 '05 by: rjoshi
There is a nice article about practicle usage of Policy Base Design at http://www.codeproject.com/library/Generic_Pool_Design.asp
0
281
thread by: Voronkov Konstantin | last post Jul 22 '05 by: Voronkov Konstantin
Thank you much, I've got the approach, Konstantin

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.