473,545 Members | 534 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,707
thread by: joenchinghkg | last post Jul 23 '05 by: joenchinghkg
I am going to create an method to insert Items inside the hash table, However, i don't really know what I should code inside the method. Should I use push or pop because it is based on a list container for my private attribute. Here is my code. hashtable.h Code:
0
947
thread by: squibb.cpp | last post Jul 23 '05 by: squibb.cpp
Hey everyone, I'm new to google groups, but I'd like to take a few seconds to introduce myself and tell people about my website. I am a computer engineering student, and love to program in C / C++ / C# /.NET, I have a new website http://www.squibblecode.com , it is designed to help people with many topics of programming, from the basics of...
0
1,057
thread by: Marshall Cline | last post Jul 23 '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
1,034
thread by: eyal.susser | last post Jul 23 '05 by: eyal.susser
Hi, Anyone know where I can get one? Thanks
0
1,439
thread by: Michael Andersson | last post Jul 23 '05 by: Michael Andersson
Given a set of classes class A { enum [ ID = 0x0001} }; class B { enum [ ID = 0x0002} }; class B { enum [ ID = 0x0004} }; I wish to generate a composite class, perhaps using something like Alexandrescu's typelists (pseudo-code:)
0
1,212
thread by: Johnny Willemsen | last post Jul 23 '05 by: Johnny Willemsen
Hi, I have an issue with the preprocessor of Visual Age. I have A.h that includes B.h that includes C.h. When B.h now only contains includes, it is not listed in the preprocessor output as file, it only lists C.h, not even A.h. Does someone know why this is not listed in the preprocessor output with Visual Age? Maybe this can be enabled in...
0
282
thread by: hana1 | last post Jul 23 '05 by: hana1
test
0
1,243
thread by: dayzman | last post Jul 23 '05 by: dayzman
Hi, Does anyone know of a C++ package that outputs a (optimised) boolean expression given a truth table? Cheers, Michael
0
2,005
thread by: SoftComplete Development | last post Jul 23 '05 by: SoftComplete Development
SoftComplete Development Updates EXECryptor to v. 2.1.20 Software piracy! Cracked serial numbers! Thousands of commercial products are posted on the warez sites and become available to all who want have your software product and pay no money for your development work! Shareware developpers look for good protection for their products and...
0
317
thread by: Link | last post Jul 23 '05 by: Link
//Binary Tree //Compiled with Microsoft Visual C++ 6.0 typedef enum {one=1,two} timesPushed; #include <string> #include "CTStack.h" //my simple stack
0
1,739
thread by: Kalle Rutanen | last post Jul 23 '05 by: Kalle Rutanen
Hello I implemented reference counting in my program, and found out many problems associated with it. I wonder if the following problems can be solved automatically rather manually ? 1. In its member function, an object manages to destroy last reference to itself and thus destructs before the end of the member function.
0
1,474
thread by: Kamil Grymuza | last post Jul 23 '05 by: Kamil Grymuza
Can anyone help me controlling gnuplot from my program? I can't use any 3rd party libraries or so. I found on the net, that i can be done via pipes, but i don't know how to use them. All i need to do i to plot some data, maybe replot and then close the gnuplot window. Thanks Kamil
0
1,653
thread by: ragi | last post Jul 23 '05 by: ragi
I'm trying to use this class but documentation about it is minimal. I'd like to know: 1. How shoud I create this control to have edit mode without any margins like after this: <body leftmargin="0" topmargin="0" rightmargin="0" style="color: black; background-color: yellow;" alink="red" link="blue" vlink="navy" >
0
1,045
thread by: PengYu.UT | last post Jul 23 '05 by: PengYu.UT
Hi, There is something wrong with the line labeled "//error". I want D's memeber _a point to a "C" object if it is constructed from another "D" object. Do you have any idea how to do it? Thanks! Best wishes, Peng class A{
0
1,048
thread by: iceColdFire | last post Jul 23 '05 by: iceColdFire
HI, I m on the lookout for a C++ book on library design (static,dynamic,DLL based) for various platforms and server types...not finding any suitable book...I am posting this question into the group....Kindly refer some good book for such need... Also a good book on DLL and .LIB implementation and design shall be very good... Thanks,
0
1,136
thread by: iceColdFire | last post Jul 23 '05 by: iceColdFire
Hi, I have a game programming module and I am trying to do something really fishy...my question is what is difference between explicit and implicit conversion. this question pops up in the case of derived class to base class pointer conversion... Thansk , a.a.cpp
0
1,043
thread by: eyal.susser | last post Jul 23 '05 by: eyal.susser
Hi, I'm havibg a bit of trouble with binary archives withthe boost serialization library. I've mamnged to archive to binary files by passing an fstream to the archiver, but I can't get it to work with stringstream. Is there a way? Also, how can I get the binary archiving feature to work with
0
1,191
thread by: Andrea Cacciarru | last post Jul 23 '05 by: Andrea Cacciarru
Why template <class T> class TemplateFriend; //Forward Class "Template" Declaration class A { friend class TemplateFriend; //Any type T! }; compile well with VC++ 7 but do not compile wit gcc or Comeau? What says Standard about friend template class declaration?
0
873
thread by: Josen | last post Jul 23 '05 by: Josen
I kill it by accident,but I don't want to reinstall it. Could you send one to me? Thank you!
0
1,384
thread by: monografia | last post Jul 23 '05 by: monografia
Monografias completas a partir de 250,00 ! monografia administração direito turismo economia letras pedagogia monografias teses tese. Sua monografia a partir de 250,00 http://monografiadireta.vila.bol.com.br
0
1,216
thread by: chris.d.williams | last post Jul 23 '05 by: chris.d.williams
I am trying to use std::locale with g++ 3.4.2 on Solaris 10 and I can't set any locale other than C or POSIX. I get the following exception everytime, Error for en_US: locale::facet::_S_create_c_locale name not valid. Here is what my program looks like. Anyone else having this problem or any idea why this is happening? When run the locale...
0
2,159
thread by: Tony Johansson | last post Jul 23 '05 by: Tony Johansson
Hello! Here I have two classes these are called Handle and Body and a main. You have the class definition below. Some basic information. In the Handle class is there a pointer to the Body. Each Body object contains one primitive datatype int. The Body instance is created in the constructor for Handle. In main I instansiate some Handle...
0
973
thread by: Tony Johansson | last post Jul 23 '05 by: Tony Johansson
Hello! Here I have two classes these are called Handle and Body and a main. You have the class definition below. Some basic information. In the Handle class is there a pointer to the Body class. Each Body object contains one primitive datatype int. The Body instance is created in the constructor for Handle. In main I instanciate some...
0
1,396
thread by: ma740988 | last post Jul 23 '05 by: ma740988
Consider #include <iostream> #include <string> #include <map> using namespace std; struct dstream // data_stream class {
0
1,190
thread by: shrishjain | last post Jul 23 '05 by: shrishjain
Hi All, I want to write a benchmark to calculate the time of each memory access, in my program. Can someone give me an idea how to do that, or may some software which I can use for the same. Thanks, Shrish

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.