473,550 Members | 2,616 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
1,140
thread by: r5 | last post Jul 22 '05 by: r5
I'm using the MIPSpro Compiler and having trouble defining a function template (involving array size specifiers as template arguments) inside a class. The same definition compiles fine outside the class. I have listed a short sample code and resulting error messages at the end of this posting. Is there a known work-around that fixes this...
0
1,998
thread by: Gus | last post Jul 22 '05 by: Gus
---------------------------------------------------------------------------- ------------------------------------ Call for Papers: 38th Annual Simulation Symposium Part of the 2005 Spring Simulation Multiconference San Diego, April 2-8, 2005 Hilton Mission Valley Hotel
0
1,442
thread by: Phlip | last post Jul 22 '05 by: Phlip
Newsgroupies: This sample code tests a WTL dialog box. (Fear not, topic police, we see little Windows Template Library code here, and the actual TEST_() macro itself is quite portable.) I like the TEST_() macro better than the usual Test Suite system (where you must write extra code to push each Test Case into its Suite's list), so I...
0
990
thread by: arm developer | last post Jul 22 '05 by: arm developer
in using ADS 1.2, does utils.h = Utils.h for example ... in windows XP TIA.
0
313
thread by: vikram | last post Jul 22 '05 by: vikram
Hi all, i have two .wav audio file. i need to extract the audio data and send the data in a mulitplexed fashion. multiplexed i mean to say left channel data and right channel data of TRACK1.wav and similarly left channel data and right channel data of TRACK2.wav should be stored in a single bufferin a linear fashion. Lft_TR1- Rt_TRK1 - ...
0
942
thread by: Russ Fink | last post Jul 22 '05 by: Russ Fink
References: <3808d55e.23753739@nntp.ix.netcom.com>#1/1 > On Thu, 14 Oct 1999 16:37:25 -0700 in comp.lang.c++, KSG > <kgatlin@cs.ucsd.edu> wrote: > >I wanted to use a class template so I copied the matrix class verbatim > >from the comp.lang.c++ FAQ . It compiles fine. > > > >But when I try to link it, it doesn't work. >
0
1,165
thread by: R. Nagy | last post Jul 22 '05 by: R. Nagy
My C++ project has some great examples of using portable file, directory, and RFC server interfaces. I use it a lot in my commercial software applications. http://sourceforge.net/projects/stdnoj/ http://www.soft9000.com/stdnoj_classes.htm Would love to know what others think of this free project. Would also like to get some other...
0
1,356
thread by: Spur | last post Jul 22 '05 by: Spur
Hi all, Suppose I want to implement a dictionary data structure of some kind, say using a simple BST. I'm wondering how to express the basic operations in the nicest manner. Especially the operations FIND, INSERT and DELETE. I'm aware of the way STL does it, but I don't want to use iterators. The dictionary has a key/value structure:
0
1,439
thread by: Fraser Ross | last post Jul 22 '05 by: Fraser Ross
Does anyone have any experience with this library wrapper? I would not expect it to be entirely bug free. Here is a few changes I made to improve it: Some necessary code is copied from the constructor to here to fix a bug with reattaching a file: GZStreamBuf * GZStreamBuf::close() { if ( is_open()) { sync(); opened = 0;
0
926
LMI
thread by: Laura Canalini | last post Jul 22 '05 by: Laura Canalini
Hi, Anybody knows a C/C++ version of LMI (Linear Matrix Inequalities) optimization tool? Laura
0
849
thread by: Otto Wyss | last post Jul 22 '05 by: Otto Wyss
I started a thread about the coding standards from wxGuide ("http://wxguide.sourceforge.net/") in comp.programming. Since I use C++ someone suggested you might as well be interested. If you are get the thread from here "http://groups.google.ch/groups?dq=&hl=de&lr=&ie=UTF-8&threadm=40C5A530....
0
1,576
thread by: Christian McArdle | last post Jul 22 '05 by: Christian McArdle
REQUEST FOR DISCUSSION (RFD) unmoderated group comp.os.ms-windows.programmer.win64 This is a formal Request For Discussion (RFD) to create comp.os.ms-windows.programmer.win64 as an unmoderated world-wide Usenet newsgroup dedicated to the discussion of Microsoft Windows 64-bit programming. This is not a Call for Votes (CFV); you cannot vote...
0
855
thread by: haim | last post Jul 22 '05 by: haim
XpoLog Ltd. announced today the release of XpoLog Center 2.5, XpoLog center is a log viewing and analysis server, with data collection, monitoring and manipulation capabilities for developers, administrators and tech support teams. With XpoLog you can resolve technical problems faster then ever making customers satisfied and getting more...
0
1,061
thread by: Scott Cadreau | last post Jul 22 '05 by: Scott Cadreau
I have EBCDIC text files that I convert to comma delimited ASCII files for load into a database system. There are a wide variety of "fields" that come in the raw files (e.g. Packed/Zoned/Binary/Char) and I know how to use the ascii/hex values of the ebcdic characters to extract the correct ascii text. The current application that I am using...
0
291
thread by: Marshall Cline | last post Jul 22 '05 by: Marshall Cline
URL: http://www.parashift.com/c++-faq-lite/ Archive-name: C++-FAQ ============================================================================== Contents: Copying permissions http://www.parashift.com/c++-faq-lite/copy-permissions.html On-line sites that distribute this document
0
818
thread by: DX | last post Jul 22 '05 by: DX
in MSVC7 the following seems to work: class A { public: virtual void func1(void); }; class B { public: virtual void func2(void); }; class AB : public A, public B { virtual void A::func1(void) {return 0;}; virtual void B::func1(void) {return 1;}; }
0
1,086
thread by: Charles L | last post Jul 22 '05 by: Charles L
Does anyone know if there is any Errata for 'C++ Annotations' by Brokken? Charles Leng
0
901
thread by: Victor Bazarov | last post Jul 22 '05 by: Victor Bazarov
X-No-archive: yes Ignorance and arrogance go hand in hand, have you noticed? A bad dancer's balls are always the main impediment .
0
1,039
thread by: JustSomeGuy | last post Jul 22 '05 by: JustSomeGuy
I have a class structure like: class image : public list<class element> {}; class series : public list<class image> { public: bool operator< (const image & img) const { return (image_id < img.image_id);
0
357
thread by: Jerry Coffin | last post Jul 22 '05 by: Jerry Coffin
This is more or less related to the (now huge) thread about Java and C++ performance. It's been noted that the C++ involved in that benchmark is hardly how most people would actually write code for such a problem. Since most of it is pretty trivial anyway, I've decided to rewrite some of it into something closer to normal C++ to see how...
0
995
thread by: Melody Droid | last post Jul 22 '05 by: Melody Droid
I recently made some conceptual breakthroughs regarding the interval permutation pre-sorting and the pitch-class-set/scale post-sorting aspects of my envisioned symmetrical melody thesaurus software, so that it will take the absolute minimum of time and effort to write a computer program for it and bring it up to the demo level in order to...
0
995
thread by: Vladimir Shishkovsky | last post Jul 22 '05 by: Vladimir Shishkovsky
Hi! Who can tell me: 1) What class or function I need to Capture Packets from LAN card or a modem (dial-up). 2) What class or function I need to work with NT/2000/XP user accounts. I will be glad of any information (links, books, faq, tutorials)/
0
1,001
thread by: fotototo | last post Jul 22 '05 by: fotototo
I found something like this: http://tinyurl.com/2qhrf
0
932
thread by: Jeff Hill | last post Jul 22 '05 by: Jeff Hill
Hello, I find that when I am designing a handle class that has an internal reference to another class that the handle class neither creates or destroys then I must always provide two versions: a const and a non-const version. It seems that I could easily avoid this complication if the language provided a mechanism for specifying a...
0
1,477
thread by: okinrus | last post Jul 22 '05 by: okinrus
Can someone take a look at this code and figure out why Serializable_base::add_serializer throws std::bad_alloc. The problem seems to be the compiler because msvc++ 7.1 says c:\LibSerial\LibSerial.cpp(83) : warning C4584: 'serial::E' : base-class 'serial::A' is already a base-class of 'serial::C' c:\LibSerial\LibSerial.cpp(10) : see...

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.