View Full Version : c answers
- overloading new for a class & inheritance
- Tally---challenge
- Calling Javascripts in VC++
- I must rebuild when I excute project
- Need statndadt code for calculate MIPS and FLOPS
- I hope this is an easy problem to solve
- vector problem
- iostream problems
- Payroll Program using class structure
- Why is \ added both times?
- Casting const char* to void*
- Need to write a function that adjusts words in a string array
- Developping a web browser under Linux Mandrake 9.1 : i need help !!
- Looking for a good book - but can't remember the name
- Developping a web browser under Linux Mandrake 9.1 : i need help !!
- order by
- std::wstring, TCHAR, wchar_t and LPTSTR
- Making DLL's with DJGPP
- Undefined end() in extended map template
- replace special characters in string
- [C++] Arrays and endl
- Template member functions
- Extension to ScriptControl-OCX ?
- ownership style question
- unix compiling problem
- stl vector problem
- Help with dynamic memory
- tutorial for using COM in c++
- Seeking Good Library Doc's
- time and date functions
- Smart pointer solution to this problem?
- typedef for template function
- Table with complexity of all STL structures, algorithms...
- About Sorting
- dynamic array with pointer
- Dynamic 2-D array - How ???
- Constness with pointers to pointers etc.
- confused by references
- Strangeness with shifts
- Help with dynamic variables
- Problems with a string function in C++
- Simple file/string prob
- String Access
- Give me comments about BBS & newsgroup
- Is this a valid used of STL vector::erase()
- Making the computer speaker beep
- Creating C++ Header Files
- can someone help me instal CGI C++ library on Linux
- Simple ifstream question
- intergrating asm in c++
- inline asm portability
- Copy Constructor and explicit attribute
- C++ Simulator of a Post Machine
- Help with file comparison
- See these corrective pack
- vs 6.0 or .NET
- multilayer Tiff file format
- Type conversion operators
- Restrict the class the inheritance.
- Adding two fractions
- Privacy and scope and love
- STL <list> declaration in header file
- Virtual destructor -- what is correct?
- Simple question: pointer to a local variable?
- stl issue, comments
- Thinking in C++ StreamTokenizer example bug
- Switching obect's type--sort of.
- Proxy for windows
- how stop console application in Borland C++
- virtual slicing problem using std::vector<someclass>
- stl containers style issue
- strig trim algorithm
- IP Address, File Parsing - Help
- Specify port no to connect to Informix Database through ODBC
- insert question..
- How to get the MSB?
- Store an address of object
- what's wrong with this programe
- What's wrong with this programe?
- urgent ! WIN API'S
- Virtual/Non-Virtual + different signature
- a question on vector declaration
- template friend problem
- JPG's and Text
- Advice on Potential C++ applications
- Using g++ as a linker
- template specialization
- static constants
- Is there any tools for c++ like IntelliJ IDEA
- sort STL lists
- How to check a Const Char for truth?
- using the parallel port
- performance of static member function vs. instance member function
- Copy Constructors/Assignment Operator w/ Inheritance
- Inheritance Issues
- Why is it not OK to delete here?
- Problem posting a method as an argument to an method..
- question on member functions
- C++ IO (or equivalency of perl's pack/unpack?)
- Problem with template specialization
- streams again
- Reusing instances of basic_stringstream
- C++: reinterpret cast
- C++: Default Copy Constructor
- 为什么没有人亚
- Is this syntax ok?
- parameter passing to base class constructor (definition and delcaration)
- Pimpl Idiom
- AUTOEXP.DAT
- Template specialization for a group of types
- template class & new
- Template instantiation help needed
- Casting Arrays
- printing 0x00 in ascii
- Complation problem involving namespaces.
- I need some basic C++ help
- Default Parameters in Nested Templates ?
- newline at the end of file
- reinterpret or static_cast?
- C++ Reference Card?
- assert()
- organising classes in c++?
- Trouble specializing a member function in a template class
- How to avoid an explicit pointer cast?
- Problem with __attribute__
- multiple word error
- creating windows
- Novice Question: Function Template Specialization
- Example of a common dialog?
- Strange behaviour of simple code
- atoi: stringstream or old C sprintf function
- Unused method is acting up
- Question?
- Default arguments in constructor
- Pls. tell me what this is
- Pipe: FILE(16bits) to FILRE(8,16,24bits)
- Zeitmessung
- InternetReadFile stuffing up downloaded files
- ostream manipulator class
- about new problem
- code for relativity
- The difference of uflow and underflow functions ?
- Jumps through a program
- Dynamically Linked Libraries
- Hi,
- char [] vs char* who is doing the cleaning up?
- CComBSTR to STL string
- how to let GPP/GCC read command line switches from a file ?
- Exception handling
- Calling non-static member functions without an object?????
- Valid answer 1-10 only. All else gets error message.
- STL Copy
- Constructor Syntax Problem
- Problem Blocking operator=
- STL map instance causing UMR?
- Alternative to global enum header file?
- Alternative to global enum header file?
- Is this behavior of string.replace(beg, beg, str) normal ?
- Manic C++ programming
- private destructor
- C++ Refactoring Utility - Beta release available
- Strting a process at system startup
- list::reverse_iterator and erase()
- Using a COM dll in VC++
- Reference to a Template
- shift array of bytes
- CDialogBar question
- Runtime error expected but not encountered
- how to let GPP/GCC read command line switches from a file ?
- memory leaks with pthread_key_delete
- Accessing a VB Active EXE from Visual C++ DLL
- Space allocation
- Video handling
- C++: rethrow in exception handling
- Overiding a virtual function of multiple inheritance base class
- is it possible to have list of all ip address in lan through C++
- Virtual destructors
- NOO-B with OpenGL
- Private bases
- need to find a design pattern
- C++ and persistent objects
- NaN question
- test
- what is proper syntax for: extern "C" { friend void xfunc(); }
- Comments at the beginning of source files
- An Evolutionary Analysis of GNU C Optimizations
- iostreams equivalent to C's fopen "r+"
- Is this group for a novice C++ programmers?
- forward declare a template class
- upcasting pointer-to-pointer-to-class
- template and type
- C++ puzzle
- Data storage/retrieval and dynamically allocating memory
- The C++ report
- Just a post test.
- Will Buy Used C++ Builder 5 Professional Version
- Problems getting open() to fail!
- Casting away constness
- question about in out parameter
- Question about virtual inheritance
- DLL and templates
- 2nd Hand: Borland C++ V5.0 Professional version ...
- Clearing std::stringstream
- Dynamic arrays
- Compiler warning when casting from a pointer to an integer
- Replacing line in a file
- stack overflow
- x86 and C++
- STL function random_shuffle() possible bug?
- C++ Question on ifstream!
- Random Subset of Range of Integers
- Installing a compiler
- Question about delete[]
- Function to capitalize string
- Pointer-reference question
- Strange loop
- insert a char in a char array
- VC++ hot keys
- Implementation problem
- An Elegant Design/Solution?
- Error handling in C++(ADO)
- What is wrong here?
- Sort list
- ostream and ofstream overloading
- Code Critique Please
- file creation problem in Windows using fstream
- Returning references
- Is there a way to disallow subclassing
- A (Simple) Polymorphism Query
- Invoking a base class constructor
- adding an integer to an stl string
- Printing unsigned long long int's
- DLLs with message windows
- help
- Parsing through a file and collect data ...
- directory listing with C++
- valarray assignment question
- Paint problem
- The size of instances
- a beginner Q
- how to compile php + library
- C++: Virtual fnc Vs Pure fnc?
- Dynamic String arrays
- template argument to enum
- Good C++ Compiler?
- Generic iterator utility functions
- Easy or not?
- Reading words with trailing whitespace
- Problems with Templates with Shared libraries
- Of stream manipulators, stringstreams and character sets
- "Local function"?
- STL vector and erase : HELP
- Suggestion for C++ language extensions
- Threads and Sockets
- Why doesn't this work?
- ATL/COM MFC API problem
- Reading data from file
- Help with my program (code inside)
- Globals
- Accessing array inside a VARIANT in VC++
- Removing \n from a file
- c++ standard
- static_cast<unsigned int> question...
- Template code inline
- HOw to pass std::map as parameter?
- no mem leak but process grows with STL container
- no mem leak but process grows with STL container
- std::setprecision and scientific format
- Interchange 2 nibbles of byte
- R e: Catching access violation exceptions
- string lengths as integers.
- will the pointer survive?
- C++ DLL and C main program
- Error with template syntax, please help
- virtual table, type_info node, type_info function
- bitwise not and "auto casts"
- Isn't 'vector' a misnomer?
- Getline delimiter
- Question about some funky behavior with array subscripts
- cygwin and visual studio.
- test
- Need help with string splitter.
- all code in .h file
- Setting TimeZone with C++
- Constructor vs assignment
- c++ documentation
- REQ HowTo: Passing class specific char ptr through template declaration
- optional inhertiance with templates
- Problems with enums across a dll interface?
- Inheriting overloaded operators
- White space and >>
- Opinions about underscores in names
- Sets of colors
- Enum within function, is this standard?
- Need C++ IDE for Windows
- Self-referential initialization
- Filter a martix?? I need your help, please!
- c++ file i/o: cant use file twice
- LNK2005, using #include <vector> and <map>
- Designing Data Interface for Very Large Files [more than GB size]
- Pointers and References (and References to Pointers)
- stringstream tie problem
- plzzzzzzzzzz help me !! it's urgent ! run time error:memory couuld not be overwritten
- question: std:string and float values??
- anyone know any delta compression libraries?
- vector within a vector
- const_cast<>
- Error E2303 Type name expected?
- Who have read the book "The C++ Programming Lang.?
- leak detected using valgrind
- boost::shared_ptr inside stl::list
- functors with reference parameters
- function code
- How to store instanses of a template class?
- How to enum an enum?
- Is it ok to inherit from vector?
- Global Variables
- How to find Memory Leak
- container of pointers and virtual member function templates
- need someone to help write code. will pay
- write c++ code for fee
- variable names.
- C++ Simulator of a Nondeterministic Turing Machine
- Explicit conversion
- Inheritence (java vs. c++)
- Basic encryption
- Which functions change a vectors capacity?
- Optimisation, function returns, STL containers
- code portability and function call serialisation.
- C2143, hash_map
- Resume the computation after an exception
- Mixing C/C++ and Func. Names
- foxtoolkit for windowsCE or PalmOS or Linux Pocket PC
- lottery number thing problem
- Compilers
- beginner string question
- Passing Structure to a function
- Palindrome (HELP)
- Weird Question
- Using constant variables in header file
- lowest number
- Overloading == operator
- Compilation and runtime error with vc++ Version 6.0
- STLFilt news: for Intel, EDG, C++Builder6 and MSVC
- Passing string types to a function
- checking for TYPE INT
- Compilation speed on IntelC++
- problems with data type conversion (maybe)
- Questions of reference
- Using constants
- Dynamic variables
- Static class member initialization question
- Compiling error
- Pointer Arithmetics and void *
- Compiler io problem!
- How to simulate keyboard.../dev/tty0?
- undefined behaviour
- How to cahnge pixel value with gray scale image?
- Allowed or not?
- Design question: A little C++ header for colorizing text in Linux -- Comments/Ideas
- test
- Correct use of polymorphism
- string c_str() data() cout printf text file containing '\0'
- Choosing between new or malloc
- Preprocessing directives
- How to simulate keyboard.../dev/tty0 ?
- allignment of structure
- Question about Structures
- C++ under linux
- C++: operator overloading
- Calling dynamically?
- double pointer indirection??
- Problem changing pixel value in a grayscale image in GDI+
- Newsgroup for MS Visual C++?
- Help Needed!! Marshalling Message
- case execution time
- Enum Type Constructor Initialization?
- enum type constructor initialization?
- Suggest C++ course
- STL data structures using memory
- Reading a file into a string
- want to return a constant reference to a...
- integers as a string
- swap bit in C
- Loki
- huge numbers are not acceptable , why?
- static const array of const structure
- __int64 vs. long long
- Unusual operator behavior
- Graphics with VC++
- sorting K+1 vectors with NlogN comparisons not (K+1)NlogN
- Realloc a struct **
- small projects to learn STL?
- Web page for STL container performace requirements?
- Templatized operator () overload
- help me to optimizing speed
- Should I learn C++ ?
- Problem with bool.....
- thisIsAMemberFunctionName vs this_is_a_member_function_name
- List of void * type
- iomanip
- Help w/Range code
- Counting
- static classvariable
- MFC CDialogBar Obejct help!
- Partial Template Specialization
- Pre-Processing loop
- more about vectors
- Trick to low CPU usage?
- Polymorphism, pthreads, multi-threading, and libstdc++
- inspect for throws
- Problem with accessing objects of vectors
- It seems wrong to me
- Minimal C
- Given a date, how to find the beginning date and ending date of that week
- STL bug in VS.NET 2002
- Need help with a simple program
- forcing a compile time error
- how can I persist a pointer to virtual member function?
- [Offtopic]: Download Visual Studio .Net ISO
- about resizing vectors...
- Novice Question: Good example on use of Non-type template parameters?
- Accessing members of nested classes
- C++ Initialisation List
- What is a hook
- End-of-the-week fun
- Help with file management. Please help!!
- Creating and writing to Unicode file
- Debugging Runtime Error
- Extended ASCII characters in console app
- vector insert from a set
- Formatting
- Passing address of a member function
- reading from a file into an array
- std::auto_ptr and Unwind Order?
- enum
- ISO C++ forbids casting between pointer-to-function and pointer-to-object
- Help on Shell API to delete files/directories recursively
- Create compoent ocx - urgent
- bayes classifier and maximum likelihood function
- DLL/stl-container error
- Runtime linking
- Simple Recursion
- static error
- Private Inheritance is not subtyping
- Largest value of an unsigned integral type
- static constants...
- Troll Alert: isn't exactly rocket science
- Assigning to references
- Times
- this pointer problem
- Problem! (Easy for most of you i'm sure)
- Problem! (Easy for most of you i'm sure)
- when is object destroyed?
- A Shot in the Dark - mysql C++ api
- Virtual Destructor
- Cant debug that error is in adding recored or in displayig
- how to call function for array of object
- How to change font color on console
- Assigning to a reference
- Changing foreground color on console
- Binarysave string class?
- not all file read.
- Selecting implicit type conversions?
- Is it a question?!
- Objects in var. length arguments (?)
- how to connect ms sql 7.0 using in borland c 5.5
- istrstream class to be replaced
- template question
- template question
- Fixed precision floating point and locale facets
- deallocating memory twice
- Address-of operator
- Templates
- Deleting items from std::map in a loop
- need to catch up
- Circle class
- template parse error
- another bloody basic question
- Is this a bug in g++ or MSDEV?
- Virtual function pointers (& multiple inheritance?)
- find() syntax with obj member data
- Reference to temporary
- Beginner's literature recommendation?
- Help: virtual inheritance, non-default constructor
- Implementing singleton into multiply classes
- Differences between C++ and Java with this-pointer
- a simple question
- operator new/delete
- working with Date...
- Need design advice
- newton-raphson problem
- Mojo example class
- std::setprecision
- bug of VC6's _com_ptr_t might caused stack-overflow
- Yet another SMS sender
- Matrix initiation
- virtual functions and templates
- I can't execute my program(coded by c language) on AIX5.2(ML2)
- INT to STR
- STL and Visual C++ .net conflicts
- How to return reference to class object from functions?
- new to c/c++
- about vector and iterator
- Creating clickable image control
- How to represent a chunk of Constant Data
- Maximum Age for C++ Book
- Multiple inheritance & interfaces
- a question about clock() function
- pointer to owner?
- A richer stdlib idea
- static
- setting properties of objects from a different program
- AClass ac=AClass("name",23); VS. AClass ac("name", 23);
- copy constructors hurting performance
- word count
- width() and setw()
- circumventing recursive definition wrt template specialization
- Different C++ compiler exec. sizes
- Exception causes access violation
- locale question
- what() method of exceptions derived form std::exception
- genetic algorithm
- self referential template parameters?
- How to Cancel a Thread
- The temporary vs non-const reference love story
- c++ memory optimization
- stringstream question
- Help! dynamic classes (shapeshifter)
- template-id `hash_set<Tool*>' used as a declarator
- default values - the good, the bad and the ugly
- Does deleting a container of pointers also delete the (contained) pointers?
- Help with Array template
- New C++ Resource
- hash_map iterator
- pointer problem
- How do you keep advance() from going beyond end()?
- throwing errors in derived streambufs
- shadow template problem
- test
- static member function and thread
- Return an object declared on stack
- errors inside a constructor
- Template parameter to member function problem
- Visual C++ 6.0
- Algorytmy getetyczne
- template question
- How to use set_union algorithm?
- the difference between char a[6] and char *p=new char[6] .
- Persistent linked list (node with fixed size)