View Full Version : c answers
- vector.swap and heap / stack
- ostream operator
- How to write an allocator for the STL List in VC++ 6.0
- two dimensional iterators
- counting objects
- Compiling:)
- switch
- C++ Hierarchy compiling???
- destructor / semantics of delete this
- avoid function collisions ?
- stl list erase
- help in template class
- this
- Optional Parameters in Functions
- namespace problem
- Windows port redirection
- MS Visual C++ bug?
- C++ Building derived class from sdl string!HELP!
- Prevent warning: assignment to 'int' from 'double'
- template error
- ofstream file error checks?
- while statement
- About RTTI
- Multidimensional arrays
- namespace
- Definig a Class within a Class
- s there any C API to find the total VM of a Unix system?
- Learning C++ Templates.
- copying chars to ints...
- Can cout do like printf("Name: %s, Age: %d\n",name,age)?
- File Processing
- No Subject
- stumped: error => ld: fatal: Symbol referencing errors. No outputwritten
- type_info, vtable
- why does my complier complain there is an overloaded function?
- Stumped: ld: fatal: Symbol referencing errors. No output writtento myfile.o
- GNU VB
- Corba monitoring tool
- teeing parent+childs output
- Ocx equivalent of specific vbx
- Linking libraries with local symbols
- Code I've never seen before
- C call C++ fuction and iostream
- Base classes destructors
- Pushing memory allocating objects into a vector.
- Dynamically allocated array question
- overloading the + operator:
- Help with Virtual methods
- STD types vs C++ intrinsic types
- Incrementing/decrementing for speed
- hi does anybody work with "mouse package for cfd analysis in C++"
- converting fron unsiged char to int
- Simple Memory Game Problem
- problem linking dll in C++
- Mirror NTFS
- Calling C++ functions from C
- STLPort 4.5.3 compiled with Comeau 4.3.0.1 on Windows?
- Which implementation of "set/get" member functions is better? Please help.
- static_cast versus C-style type cast
- When to use various types of casts?
- Some concepts (Maybe LOL maybe not...)
- Partial member of class template specialization
- serial communication between PC and Altera FPGA in c++ or c
- Namespace/Template member initialization issue
- multiple inheritance and constructors
- C++ casts on zero
- do I need a virtual destrucotr?
- g++ and VC
- NULL template?
- Design discussion: inheritance + (template or parameters)
- Using file streams in DLL
- macro usage - cpp faq example
- Some puzzles about sgistl!
- linkage -O3 templates
- A question about NULL
- Serial Port Code
- RSA Decryption in VC++
- Multi-file project with Namespace
- Namespace: Is it a scope or a namespace?
- C++ question
- Expert advice needed
- seemingly simple ofstream problem please help
- LDAP SDK
- Copy constructor and =
- unwanted functions
- Advice
- RAND GENERATOR IN C++
- partial specialization of function template
- C++ standard
- why use unsigned char ever.
- <possibly OT>access violation
- #include "bar" negates #include <string> ; how to fix?
- Is the storage for a std::vector<T> guaranteed to be contiguous? (from FAQ)
- template based design
- Strange problem with new in a DLL
- Beginning with QSA (Never used QT before)
- std::ofstream filename
- about Vector class
- access to private members from inner classes
- Large scale C++ software design?
- Implement Ctrl-C, Ctrl-V
- Extending ofstream class?
- C# newsgroup
- how to create a member, which knows about the object it was created in
- C++ News Groups
- Parse error in pointer to template
- Help with terminology
- Pointer problems with graphics contexts
- Member field destructors?
- Double BackSlashes
- istream_iterator question
- __PureVirtualCalled
- generic tree pathfinding
- multiple inheritence question
- A Question about structure...
- missing zeroterminator in string.c_str()?
- Strange compiler warning
- Beginner's Question: Assignment of Objects with a constant data member possible?
- ostream value output question
- header file of NULL
- DLL problems
- list::sort with pointers
- No output...
- order of execution
- DirectX
- STL vector.push_back causes delete "object"
- virtual vs. protected
- standards for thread safety
- Wait for <Enter>-key
- Whats the deal with virtual inheritance
- template and friend problem
- typename, typedef, and resolution
- No object's copies
- Does ifstream know why it is unable to open file?
- Is This Legal Template Code? (Deduction Rules(?))
- "Bitslicing"
- memory problems
- Perseus: What an Idiot
- Problems compiling STLPORT 4.5.3 with g++ 3.3
- Is this OT?
- c++ polymorphism and real-time programming
- initializing heap-allocated structs
- Templates and Typedefs
- Canceling file or directory deletion in .NET. That's Right Tony. How Dare You Ask a Question About .NET in This Dictatorship?
- Help with function
- E. Robert Tisdale: What an Idiot!
- Mike Wahler: What an Idiot!
- Canceling file or directory deletion in .NET
- creating a list of lists
- template function within template class
- Some problems with forward declarations
- Visual C++ Runtime error while registering a DLL!
- Karl Heinz Buchegger, Victor Bazarov, socketd, Nils Petter Vaskinn: The Owners of C++.
- Attention Posters: You Are Not Allowed to Post a Message Up Here on Reading the Files of a Directory!
- taking address of a template method
- What a Funny Goup! I Asked a Question About Boost (C++ Filesystem Interface) & All I Got Is: My Question Is Irrelevant!
- Rows: display a pattern that increments in each row
- Template class member for one specialisation only?
- Problems writing to NT Security Event Log
- Moving memory blocks and updating references
- basic data types
- How Do We Configure the BOOST Filesystem Library?
- How to use "Unicode" in Borland C++3.1 for DOS?
- Variable Types
- F-bounded polymorphism?
- C++ standard Library
- How to get standard C and C++ working together? How to debug a DLL?
- t_e_s_t
- XMS memory
- Help on template specialization
- Definition of POD types
- typedef and #ifdef
- How to get parent class' pointer
- Multiple classes
- vector run wrong !
- Include problems
- Containment classes
- New printer notification?
- C++ vector type
- Quadratic curve fitting!
- Confusion over header files
- Reading a very large textfile into an array
- How to force an immediate writing of the printf() buffer content to console ???
- class definition position?
- pointers (why should I learn them)
- How to get the structure in callback?
- C++: Macros
- C++: "Type Checking"
- C++: prototype declarations
- C++: pointers Vs references
- does vector<>.resize call delete?
- const functions problems...
- Http client for Linux
- Template member function specializations in template classes
- tracing function calls
- floating point precision
- xine player
- buffer options
- Graphics/Midi in console application?
- Shared Library Question
- accessing members of a templated base class
- accessing members of a templated base class
- const in argument
- does "struct_name var = { 0 }; " fill var with 0?
- friend declaration for template class
- friend declaration for template class
- new class T
- A better way to tail a file
- A question about operator*=
- Parse Error in template class
- Return Class instance from dynamically loaded DLL?
- 'const' saves space??
- 'const' saves space??
- C plus plus vs C Sharp
- log4cxx logging framework version 0.9.1
- test
- test
- How to create a semaphore for a file
- Sort a map using the value, not the key.
- reference and deference
- variable shadow
- sockets class
- Computational Scientist Position
- Bogus output on Wintel but good on SiliGee
- Need help with using VerQueryValue
- How does bind1st() work in this case?
- it looks good but doesn't compile :(
- Question about the standard or maybe just good practice?
- Microsoft Visual C++ 6.0 Introductory Edition
- Casting between const type** and type**
- g++ 3.2.2 realloc bug?
- Beginner's question: What is "const int * &"?
- EDOM
- enumeration
- #include standard
- new or malloc()
- Overriding virtual functions problem
- Q: Overload operator new/delete
- Objects
- template method instantiation
- Defining a class on the fly
- Does it make sense to export a template class def?
- Copying and assigning of resource-owning objects
- beginner's question regarding pass parameter
- commenting out 'cout' using preprocessor macro
- static member functions
- Challenge: Device Register Model in C++
- overload operator -
- generating network traffic using libnet.h
- virtual static member functions?
- Returning by value or reference
- Need precision using modulus
- Help with opening and reading from a file
- class method representation
- a static local variable in a static method is thread local storage?
- STL typedefs and base class pointer problem
- C++ programmers! How do you use your 'enum's ?
- Programmatically opening a new document and write a string in a CRichEditView.
- Accessing data members from templated copy constructor
- checking stl vector successful memory allocation
- The destruction of a sub instantiated obj that I’mpointing too.
- Scope of an Arg
- string to const char *
- list<CComBSTR> error.
- templates and inline
- What d'ya think?
- pow() function implementation
- cin before fgets
- What is the server name of this newsgroup?
- simple type conversion question
- prototype declaration not variable definition
- What is the currently way to use string?
- a class sharing the public struct of another class
- Operator overloading
- Borland 5.5 compiler
- CARRAY COpy constructor
- incrementing an integer at compile time, across source files
- is generic prog becoming obfuscation?
- simple question about command line option
- Statically Linking Libraries
- please fix this so it works
- windows is not support graphics
- CARRAY problem with ADD
- How to extend the STL?
- ACE - Adaptive Communications Environment
- QT hell....
- Problem installing facets into locales explicitly
- C++ DB last insert id api
- Is it a right way for using containers std::list< std::string > strList ?
- operators in derived classes??
- Problems with ifstream
- Parametrized stream manipulator
- C/C++ language Standard I/O has problem in Redhat 7.2?
- How to use the following Microsoft function
- Line wrapping in ostream
- Philosophical question: Template Method
- Overloading new[] and delete[]: how do they vary from new and delete?
- Is a constructor a function?
- const functions?
- long double type in windows dll
- problem with compilation and headers on MS VC++ (LONG)
- ostringstream
- new operator detail?
- Problems with rename - is it fcloseall() ??
- sort on vector type
- Registry Help
- setting and resetting stream precision
- question on namespace
- optional interface
- is this undefined?
- Default constructor
- VStudio .NET (VC++) and MFC : Text on image and save it?
- const_iterator
- would this work?
- changing virtual methods
- Undefined Reference Error while linking with g++, STL on LINUX
- fstream file i/o
- #include <iostream.h> or <iostream>
- Exit
- Hashtable Memory Dump?
- starting programs
- Array initialisation
- C++ stream-compatible TCP/IP sockets (Demo application)
- Input without pressing Enter
- Multi-paradigm design with C++
- const_cast question
- RogueWave - running inserter and selector on the same connection
- mistakes??
- stl usage question
- Template arguments
- Future reuse of code
- C++ Charts
- Xenon 2000 project pcf
- how to get the other window's scrollbar handle ?
- inheritance
- DNS - get MX-record - any linkable tools?
- C++ Charts?
- Optimized memcpy to reduce cache misses
- inline
- unline instead of outline
- bmp file reading
- <map> and const objects
- control process network I/O
- Debug assertion failure
- Message box
- Basic question about casting and addresses
- Undefined symbols: vtable for Foo
- To experienced OO people: please give some ideas/URLs for a course on object-orientation
- returning value in assembly language.
- namespace
- why does a class declaration include private members?
- RDP or ICA?
- Template oddness with libpqxx
- Need Seminar Ideas
- Sets - Bit Array Vs. List
- Constructor
- My first C++ program failed on me revisted
- formatting with showbase with hex for 0
- trouble with >> overload
- Need qr source...
- Hello World weirdness
- 3d math library
- Virtual Function Problems
- How to remove dependency on a header file which has a typedef?
- Symbols in libs
- Looking for code... Polyfit, polyval
- compiler error I don't understand
- Reading stdin from stdout of another application
- WTF is this?
- behavior of new
- favoring forward class declaration over #include
- ending null character
- Need help using STL to sort a vector of strings
- a question of style
- Problem with passing pointer to a function
- A::A[not-in-charge]() undefined reference to `vtable for A'
- variable type class (was: std vector use question)
- Getting Any Text in Mouse positon From Any Window
- creating a pointer to a base class
- determining the size of a structure
- /GX compiler option
- base class initialization
- How do I implement final in C++
- Link error using gcc 3.3 on Solaris 9
- Printing String Issues
- [Help] C++ Language
- deriving from std::exception
- std vector use question
- func new
- Not even a newbee. Good at school course. please advise good start
- overloaded >> and istream delimiters
- Symbols in library.
- allocator size_type
- Book recommendation
- overloading
- purpose of C
- Can a class call its indirect base's member function?
- jjLibrary 1.5.2
- template function with <char*>
- inheritance, pointercast
- inheritance, pointercast
- using templates in templates
- Compiler standard compliance comparison
- operator= - code in overloaded function doesn't get called
- IDE for C++
- char 8bit wide or 7bit wide in c++?
- 64 bit
- C++: inherent conflict
- Casting changes value of ptr
- A Switch-Case versus Polymorphism scenario
- Problem with inheritance
- About memory of a vector?
- Number conversion with string streams
- virtual methods, virtual bases bug<?> in G++ 3.3
- Clarification for std::vector and std::map
- resizing vector via a pointer to the vector
- linking templates problem
- static namespace members
- while loops
- how can i intercept messages
- Dr. Dobbs and other periodicals?
- Destructors of Derived classes
- Can ANYTHING be inserted into STL vector?
- [C++] Timer WHILE waiting for input
- Multiple inheritance performance hit
- Ctor/Dtor order
- C++ linkage problems
- lower_bound
- Simple Template Question
- simple ? repost
- Problem with streambuf
- Reading and Writing GIF files
- Extremely Simple Question
- extremely simple question
- infile.get(x)
- virtual base classes and constructor calls
- vectors stl with pointers
- callback method
- 'inline' during declaration & definition
- static allocation
- BST & recursion
- help on project
- new not throwing bad_alloc
- dynamic_cast and references
- Execution
- float to string object in c++, help and discussion...
- Compiler's use of function parameters as temporaries
- containers of arrays?
- Is 'delete [] NULL ;' safe ?
- reading a mixed file
- Difference in mangling
- Class Templates
- outline
- File cannot open with ofstream constructor !
- about "export" keyword
- Objects, Pointers and References
- mix mode file reading/writing?
- std::uppercase & gcc
- Possible to use varags with member-function pointers?
- More instantiation and ctor call
- 3D Array
- return value of Iterator in a list??
- runtime performance impact of template usage
- Overloading + Operator
- Ending Function on Error then Continue in main()
- srand() question
- CPP with dynamic lib
- OOP and inline asm in VC++ 6
- Comp.Object FAQ - Version II Beta - Latest Object Oriented Resource - Please Participate!
- sgi rope experiences?
- Visual Studio Help
- Ant-contrib-0.3.jar sample and code does not work in harmony
- string-class
- order of initialization
- STL & reducing code bloat
- setting buffer size for fstream
- Strange Results with Overloaded Operators
- Creating c++ shared object library on Solaris
- Overloading by return type and a parameter value
- Need delays in display
- Help! Strange problem with pointer to vector
- odd behavior in STL
- Problem Linking Simple App
- Question about type conversion and casting
- New C++ Book - C++ For Artists: The Art. Philosophy, And Science Of Object-Oriented Programming
- How to erase node from deque?
- Oddity with pointer initializer
- Vectors: not worthless? (out of curiosity)
- ? Why c_str() ?
- Static function-vars and the compiler
- exercise problem -- not homework
- reading data from text file
- Instantiation of an Object only thru "new Operator"
- gnu souce code
- conceptual issue: using exceptions
- Passing a pointer to member function as a parameter to another member function
- Beginner probs with fstream
- Overloaded Operators Problems
- ifstream.read manual
- Inheritance with specialized members
- Type name expected: Errors
- Event in C++
- Sybase CT-library
- New to programming/C++ & looking for good information sources.
- Password for c++ files
- Is it safe to return "char*" from functions?
- C++ & 16-bit library
- ]bd ¹ï§Ü¤£´º®ð ]bd
- DQueue
- Urgent:Is int an object
- OO classes design question
- A missing include file is a constraint violation.
- Why do I keep getting streamb.cpp error?
- Arrays of Variable Sizes
- passing around iostreams
- Style question involving inheritance
- Map Iterator is wrapped for keys and values - compiler error
- understanding function object
- Beginner Question--rand( )
- Forcing exception handling
- protected access
- C++ linking problem, mismatched ABI
- My_CSockets::OnReceive(int nErrorCode){ delete this;} /* stupid or smart? */
- string resize problem
- C++ callback function passed to a C program
- Include file minimization
- debug log infrustructure for a library
- Get/set value to members of a struct/class on fly
- keyboard, mouse and Win98
- string again
- Get/set value to members of a struct/class on fly
- VCOMM
- Should an object that totally encapsulates functionality have a "Run" function?
- Get/set value to members of a struct/class on fly
- intalling xerces
- Failure of new
- [Help] How to read this core?
- "illegal operand" error
- About wild pointer
- vector.reserve
- Get/set value to members of a struct/class on fly
- Binary file I/O
- getting keys out of a map
- Problem with templates and Dll export
- why is map::begin() returning const_iterator?
- Function size...
- Function size...
- namespace and operator==
- namespaces and forward declarations
- OO Design question: How to pass around very common classes