|
How to impliment searching the definition of a c/c++ function in a c/c++ source file On Jun 18, 5:25 am, whiteid...(a)gmail.com wrote: How to impliment searching the definition of a c/c++ function in a c/c+ + source file? are there any libs of opensource to use? I have no ideal about it, and any one who responses it will be appreciated. You are searching for c/c++ lib that will parse/link c/c... 19 Jun 2008 01:15
Allocating huge objects dynamically? Hello, Does the C++ standard define what happens when I try to dynamically allocate (with new) an object too large to have its size in bytes stored in an instance of ::std::size_t, e.g.: struct S { char a[64]; }; S* allocate(int size) { return new S[size]; // What happens here on 8-, 16-, and 32-bit... 20 Jun 2008 15:20
comp.std.c++ On Jun 11, 10:39 pm, Joe Gottman <jgott...(a)carolina.rr.com> wrote: It's now been six months sincecomp.std.c++went down. According to Google Groups the last post was on January 9th. Does anybody have any information on when it might come back, or even exactly what went wrong? The moderation software for... 19 Jun 2008 21:55
Automatic hashing and transformation of numbers I'll try to explain my thoughts. I had a newbie's mistake, in one "world" of my system I have an a array from 0-89 that represents devices. In the second world I had 90 devices indexed as 1-90. all went good until I tried to access the index 90 in the array and you can pretty much understand the rest. (CRUSH) Like... 19 Jun 2008 01:15
How to impliment searching the definition of a c/c++ function in a c/c++ source file How to impliment searching the definition of a c/c++ function in a c/c+ + source file? are there any libs of opensource to use? I have no ideal about it, and any one who responses it will be appreciated. -- [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. Fi... 19 Jun 2008 01:15
! Bang operator on fstream, how does it supposed to work? Hi All, So I ran into an issue with using the ! operator with fstream: // Make sure the file is ready to be read before we move on. 1: fstream fileStream; 2: fileStream.open("c:\\some_file.txt"); // Try to open until success. 3: while(!fileStream) fileStream.open("c:\\some_file.txt"); // Clos... 19 Jun 2008 01:15
static variables in g++ The problem statement is to print the numbers from 1 to 100 and then back to 1; without using a) recursion b) any loops I've coded the solution as follows: [CODE] #include <iostream.h> class list { private: static int count; public: list () { cout << ++count << endl; ... 20 Jun 2008 16:22
Improving ugly(?) design: Data validation Hi all. I have this class to validate a string according to a specification contained in a string. I make a function object and overload operator() to emulate a free function: class validator1 { public: bool operator()(std::string); }; The problem is to identify breaches of the spec in the string, d... 23 Jun 2008 16:51
std::terminate() and std::unexpected() On Jun 12, 4:32 am, Martin Bonner <martinfro...(a)yahoo.co.uk> wrote: On Jun 6, 11:09 pm, wasti.r...(a)gmx.net wrote: Well, VC++ doesn't support set_unexpected. It prints fn2 for a similar example using set_terminate, but I haven't tested that one on GCC yet. Which version of VC++? VC5 and VC2008 are... 19 Jun 2008 01:15
Safely redirecting std::cout? Hi all. Section 13.10.3 of the Josuttis book on the STL contains a basic recipe on how to redirect output written to std::cout to some other stream. However, the section contains a cautionary remark that std::cout should be restored to its initial state before program termination. Is there a standard way to ... 19 Jun 2008 01:15 |