Runtime stack allocation1043 (6/30/2008 9:02:21 AM) comp.lang.c Hi all, I'm using a temporary buffer to transfer some data and would rather not allocate it on the heap. The problem is that the size of the buffer is only known upon entry into the function that utilizes it a... spamtrap7(71)
reformat to tool/editor-compliant C style?3420 (7/4/2008 2:26:04 PM) comp.lang.c I'd like to reformat an open source package (OpenLDAP) to a new C style. 8M code, 0.3M lines. With some currently hopeless formatting rules like tab-width=4. I'm sure that made sense once to save disk space f... h.b.furuseth(450)
Ragged array whose rows are of varying size828 (7/4/2008 6:25:01 PM) comp.lang.c++ Hi All, I have an array x00,x01,x02,...,x0K0 x10,x11,x12,...,x1K1 .. .. .. xm0,xm1,xm2,...,xmKm m is *fixed*, each of K0, K1,...,Km is occasionally changed i.e. each row is "resized" *occasionally* each row ... erwann.rogard(137)
C++... is it dying?8739 (7/20/2008 4:36:27 PM) comp.lang.c++ This is a recurring and entrenched permeating this group... hence treat it as such I have recently started a new job, and to my surprise, we still write a fairly traditional c++ code, still using raw pointers... ironsel2000(708)
string class manipulation532 (8/14/2008 7:31:01 PM) comp.lang.c++ This is what I want to do with the line: fullmsg += ": " + GetLastError(); fullmsg is a string object. I'm trying to concatenated GetLastError(), which is type int, to the string. Would an integer be printed ... stanigator(149)
Layered Open Source Software in C949 (10/14/2008 8:53:50 PM) comp.lang.c Sorry if this has been asked before. Does anyone know of any modern examples of open source software implemented in ANSI-C using a truly layered architecture (preferably in an OO fashion)? I'd like to get a f... shreyasbharath(2)
One line "command" to read a file641 (1/1/2009 4:26:25 PM) comp.lang.java.programmer Hi Does Java has a one line instruction to read to a text file, like what C# has? I mean, is there something equivalent to this in Java?: String data = System.IO.File.ReadAllText("path to file"); Regard... ramif_47.invalid(27)
OO wrapper for SQL where clause like Roguewave1345 (1/5/2009 10:55:22 PM) comp.lang.c++ Roguewave makes a well known C++ wrapper for SQL. For example to delete rows in a theoretical movie reservation system one can write: // C++ code int videoID = 1234; std::string lastName = "Miller"; RWDBTable ... gshanemiller(19)
Issue With File Searching228 (1/10/2009 4:21:15 AM) comp.lang.java.programmer Hi Guys, iam working on a file upload sort of application.my issue i need to search files in a folder.for example i will be storing all the filed uploaded in a folder called "data files". so if i upload file w... jagadesh.manchala