473,549 Members | 2,243 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
312
thread by: Christian Schuhegger | last post Jul 22 '05 by: Christian Schuhegger
i've written this question some time ago to this group: http://coding.derkeiler.com/Archive/C_CPP/comp.lang.cpp/2003-12/0958.html > I remember that I've seen some time ago (perhaps a year or so) a project > on freshmeat where a guy hacked a postgres c-interface library (i guess > it was libpq / or perhaps he just used the libpq network...
0
276
thread by: Chris Stevens | last post Jul 22 '05 by: Chris Stevens
-- christopher.stevens@btconnect.com
0
807
thread by: Chris Stevens | last post Jul 22 '05 by: Chris Stevens
-- christopher.stevens@btconnect.com
0
282
thread by: Chris Stevens | last post Jul 22 '05 by: Chris Stevens
-- christopher.stevens@btconnect.com
0
260
thread by: Chris Stevens | last post Jul 22 '05 by: Chris Stevens
-- christopher.stevens@btconnect.com
0
328
thread by: TuPLaD | last post Jul 22 '05 by: TuPLaD
Hi, i just started learning how to code OpenGL with the syntax of C++. But i got the following problem(YES IT IS C++ BUT ITS A OPENGL PROGRAM): First of all you need a bool, let's call it bBallDrawn. In glPushMatrix set it to true and if it is true in glPopMatrix, we'll draw the Ballhack and set it back to false. Here's the code: ...
0
937
thread by: bauerwo | last post Jul 22 '05 by: bauerwo
Dear all I try to compile and link (using Visual Studio) a library for which I have received a makefile. There seems to be a problem with infered rules: "make lib" with the makefile %.o: %.cc cl $*.cc lib: file.o
0
2,909
thread by: g | last post Jul 22 '05 by: g
Hi all. Maybe this question has been asked many times before, but I was not able to find any pointer. I apologize in advance, for it refers to a particular standard library implementation (GNU C++ version 3.x), but perhaps it's more general than that. The following program (to be compiled with g++ 3.x, 2.9x is not enough) #include...
0
330
thread by: piyush | last post Jul 22 '05 by: piyush
I am in the process of deciding the IPC mechanisms to use for communication between 1) An application API (which would be set up as a NT service). It could be C++ or C#. The API as such might be talking to the underlying application (UA) via WM_COPYDATA messages. 2) A top level application (TLA) that would use the API to drive the UA....
0
956
thread by: matthurne | last post Jul 22 '05 by: matthurne
So I finally made it into the actually TopCoder Arena applet...the problem statement I was using before was from the statistics section of the website. When I selected C++ as the language to code in, the problem statement changed to having the method take a vector<string>. Son of a b****. Oh well, I'm happy, I just changed my solution to use...
0
267
thread by: Ioannis Vranos | last post Jul 22 '05 by: Ioannis Vranos
I have made a page specifically to give useful information (essentially what I know so far) about the upcoming C++/CLI standard. http://www23.brinkster.com/noicys/cppcli.htm Any additions or even corrections are welcome.
0
1,190
thread by: Dmitry Shafranov | last post Jul 22 '05 by: Dmitry Shafranov
Hi. Does anybody know a website with solutions to 3rd edition of Bjarne Stroustrup's *The C++ Programming Language*. I have already purchased David Vandevoorde's *C++ Solutions,* but unfortunately it only provides very limited number of solutions. Thanks/
0
1,122
thread by: Ryan Mitchley | last post Jul 22 '05 by: Ryan Mitchley
Hi all The Intel compiler generates a #383 remark: "value copied to temporary, reference to temporay used", for both of the following lines: const complex<FTYPE> CBase::m_cfZero = complex<FTYPE>(0.0f, 0.0f); const complex<FTYPE> CBase::m_cfOne(1.0f, 0.0f); Should I not worry about this remark, or is there a better way to initialise a...
0
910
thread by: David Goldsmith | last post Jul 22 '05 by: David Goldsmith
Hi! I know C and MATLAB; I'm trying to learn Visual C++, wxWidgets, and now TNT all at the same time and, of course, as quickly as possible. Any merciful soul out there want to help me out with a metaphorical "Hello, world!" for TNT, e.g., maybe something like a little C++ routine that uses TNT to solve Ax=B, i.e., just a little something...
0
1,414
thread by: Alex Vinokur | last post Jul 22 '05 by: Alex Vinokur
One more improvement has been done in the "Computing very large Fibonacci numbers" algorithm. Its new version can be seen at http://groups.google.com/groups?selm=2mk62rFo1mv0U1%40uni-berlin.de Iterators in the transform() algorithm have been replaced by pointers. --------------------------------------
0
937
thread by: Jean-Michel Besnard | last post Jul 22 '05 by: Jean-Michel Besnard
Hi, with gcc under GNU/Linux I can make use of setstate() and initstate() to work out the state of my pseudo random number generator but I am unable to find same or similar functions to use with VC++. Google didn't bring me any clue :( Can someone suggest me some ideas ?
0
274
thread by: BlackWhite | last post Jul 22 '05 by: BlackWhite
The error is "Ubable to run program" As the doc says Set the "tools->compile option-->programs" each bin path.But when set,it can't be saved:( How to fix the problem?
0
1,760
thread by: pervinder | last post Jul 22 '05 by: pervinder
Hi, I have a c++ application which depends on some other libs which uses stlport When i build the application, it works fine on sun/linux/hp platform. (provided the .a for the dependency libs) But it errors out on AIX ( xlC va6) with below errors:- ld: 0711-317 ERROR: Undefined symbol: ._STL::ios_base::_Loc_init::_Loc_init() ld: 0711-317...
0
1,483
thread by: Phlip | last post Jul 22 '05 by: Phlip
C++ newsgroupies: I wrote a parser to solve math expressions like "3.0 ^(4 - 5)", or "3 / 8". Below my sig is recursiveDescentParser.cpp, the test suite that drove the implementation of the expression solver found in recursiveDescentParser.h, in a parallel post. Test-Driven Development works by accumulating assertions. Before the very...
0
1,758
thread by: Phlip | last post Jul 22 '05 by: Phlip
C++ newsgroupies: I wrote a parser to solve math expressions like "3.0 ^(4 - 5)", or "3 / 8". Below my sig is test.h, the file containing a tiny test framework. Using it and Test-Driven Development, I produced the test suite and the parser, appearing in parallel posts. -- Phlip...
0
1,120
thread by: Dez Akin | last post Jul 22 '05 by: Dez Akin
In the effort to produce better software, formal specification systems have been erected to prove some things about code. I stumbled upon the LarchC++ system and it really intrigued me, but the last work seems to have been done years ago, and no ones picked up on it. Have people abandoned it out of some flaw in the specification design? It...
0
1,181
thread by: YR2004 | last post Jul 22 '05 by: YR2004
I'm sure you've heard of these offers for a free Ipod or TV. Unlike others, these actually work: http://www.freeiPods.com/default.aspx?referer=7358836 http://www.FreeFlatScreens.com/default.aspx?referer=7547121
0
1,477
thread by: Kevin W. | last post Jul 22 '05 by: Kevin W.
I need a compact, free C++ standard library quick reference card that I can download as a PDF? I've got so far "C Reference Card" and "STL Quick Reference 1.26", but I need something that includes non-STL parts of the C++ library too (i.e. strings and iostreams). from http://www.digilife.be/quickreferences/quickrefs.htm --
0
347
thread by: Kevin W. | last post Jul 22 '05 by: Kevin W.
I need a compact, free C++ standard library quick reference card that I can download as a PDF. I've got so far "C Reference Card" and "STL Quick Reference 1.26", but I need something that includes non-STL parts of the C++ library too (i.e. strings and iostreams). from http://www.digilife.be/quickreferences/quickrefs.htm --
0
1,303
thread by: Ganesh Tiwari | last post Jul 22 '05 by: Ganesh Tiwari
i want to write a program, which works much like ldd command, which goes throgh c/c++ binary on solaris/SPARC and check whether it is possible to port it on to linux/intel. How do i do this? what are the parameters to look for in binaries for porting. Any guide lines in this direction would be world of good to me. Please reply to this...

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.