View Full Version : c answers
- class
- Pass value of short type
- help with file output (fstream)....
- : in code
- ios::uppercase does not work
- Schwartz counters.
- problem with getline
- Inheritance questions
- Programming Puzzle
- Visual C++.NET - Help!
- schwartz counters?
- struct foo and function foo !?
- Signed and unsigned template type parameters
- How are jpeg images usually hidden??
- Help for client e-mail
- Working with ranges of scalar values
- circular dependencies, unrecognized base types, oh-my
- Problem with covariant return types
- Complete library references...
- Copy constructor
- New to C++ and Need a little help with a public domain program
- Declaration or Definition
- problem sending chr(0)
- deleting instance in array
- virtual inheritence: what does it mean?
- Casting from base to derived class
- Can't set TCP_MAXSEG's value
- Looking for a compiler
- Initialization lists and optimization
- Modern CPP Design related
- gnuplot parameter interchange
- Returning const reference value from functions
- array allocaton size
- implementation of the complex airy function
- Confused by the constructor and cop-constructor.
- why does not compile
- Web Interface for CORBA and ILOG
- Template template parameter and typename
- Funky function
- What does Stroustrup mean on pg 89 of C++PL 3rd Ed. by "low-level code"
- Map problems
- bitcounting on 30000+ bits, but not byte aligned
- New Programmer...
- errors = templates * friends;
- Refactoring tool... PLEASE
- what does this mean: virtual result
- char syntax question
- boost::shared_ptr and conversion to base class
- Test
- debug function -> noop
- Input Iterator needed for a for_each.
- atof() and _tstof() in VC6.0
- Printing progressbar
- Read-only, as opposed to const member
- one bitset simple question
- Assigning class instance to an array doubt
- can some one please demystify vtable/vftable
- Default constructor/destructor
- sending files via HTTP
- Default Member Functions
- Exception unwinding base destructor called - why?
- const_cast, reinterpret_cast
- convert a double keeping msb ?
- Virtual destructor for virtual base class?
- Packet Capture and Account Class
- How to create an N dimensional array with N elements?
- SGI hash: existence of a memory leak impossible to solve?
- why "." and "->" operators ?
- why have both "." and "->" ?
- why "." and "->" operators ?
- Debug Assertion Failed! and no obvious Error
- LPTSTR initialization
- Very basic question
- Error Using FormDestroy method in Borland C++ 6.0
- 2 Simple questions
- Very basic question.
- Virtual CopyFrom() method
- Libraries in C++
- question about printf
- why no merge without sorting in STL
- Array intialization
- Help User Password Check
- ULONG*
- File Manipulation
- istringstream: str() only works once?
- Simple & Stupid C++ question
- Breaking classes down in header files.
- initialize static structured variable challenge
- Handling large files > 4 GB
- I've painted myself into a corner!
- EOF() not recognized in a long file
- zero-filling gaps in statics
- Most relevant passage retrieval
- Seeking Programmers for Symmetrical Musical Melody Thesaurus (1440 melodies) Software Program:
- speed it up
- access of protected function members from friends
- new X vs new X()
- Unicode strings
- char arrays and integer arrays... why the difference?
- Array initialization
- Problem with overriden operators
- How is the size of a class computed ?
- Is std::cout slower than std::printf
- Purchasing The Standard
- obfuscated c/c++
- New Online C++ magazine launched!
- swap two integers without using a tmp variable?
- uncompressing data in memory
- How to create Command Window inside application window...
- How can I do with BYTE *** ??
- Making a 2d game engine
- Communicate with Fieldbus devices
- What is wrong with the following code ?
- Ultimate Efficiency
- this
- class X containing an stl list<X> in MS Visual C++
- To Borland Builder or to Visual Studio
- static function, not a member?
- void * instead of bool
- Large Files with <iostream> (gcc-3.3.3 on SuSE-9.1)
- Interview questions
- 8-queen problem
- Datastructures
- std::string question
- Reviving a Dead Input Stream
- Benchmarking, part 2
- Gui toolkit for scientific/technical apps?
- static function definition
- include headers: <X>, <X.h> and global namespaces
- About the result of sizeof(a class without data members and virtual functions)
- What will happen if a virtual function is declared to be virtual again in a derived class?
- please help me in distinguish redefining functions, overloading functions and overriding functions.
- confued at using reference
- ASCII -> long (hex)
- Benchmarking
- Returning by value, returning by reference
- dlopen() & undefined symbol
- Does anyone has fixed size memory allocator code?
- Setting value of a class
- C++ api ?
- Finally suitable backup program
- Assumptions About the Size of Integer Types
- improve my search and replace function
- virtual destructor revisted
- Position of test values in conditional expressions
- question about cin input ?
- Visibility of members in inheritance
- Create new objects in a constructor
- Code or library or compiler bug?
- 'operator >>' is ambiguous
- Global variables in C and C++ problem
- Novice can't compile and run
- boost::shared_ptr vs. auto_ptr
- Questions of C++ FAQ
- How to make a Function with Variable Argument List (type unknown)
- Questions of boost bitset
- Global objects in libs
- Problems with iterator (stack-template)
- Can I program C++ on the Sinclair ZX81?
- avoiding repeated code in initialization lists
- help developing function
- too many typedefs
- static enumeration alternative
- help with sting and include files ?
- how to read digest here?
- Developing Games
- why won't this complile??? const troubles...
- creating methods for objects
- operator<< and >>
- Algorithms Notes by Derek O'Connor
- References again
- Memory inizialization 2
- streaming to a raw buffer
- How can I really create new types?
- std::map const troubles
- DLL & pointers problem
- assignment operator question
- Checking ifstream state
- Porting from Windows to Linux
- General C++ Questions
- osteam question
- Problem with "x" differs in levels of indirection from "y"
- why I can't use previous iterator?
- How to compile the code?
- A Question about std::list
- how to return different data types using a base class and pure virtual methods
- CreateProcess
- Memory initialization
- Sorting lists of lists...
- Initialization: = or () ?
- is size_t a keyword or a macro defination?
- how to sort an array of objects?
- Members or not
- is size_t a keyword?or a macro?
- How to know the buffer size and increase buffer size in c++
- std::map problem with VS 7.1
- memory allocation problem (well... I guess so)
- Problem with template ctors (smart pointer)
- Does true ^ true return false?
- help on file editing
- plotting cpu and mem consumption
- c++ applied to control system
- string tokenizer.
- how to print blank space(s) ?..
- multiset segfault
- Access to protected base member
- How to access Oracle from C++?
- com_ptr<T>
- [My OT] Sigh...
- Is this legal code?
- How to write GUID to register ?
- std::ostringstream bizarre behaviour. Please help!
- Comparison: C++, C, Python, Java
- std::priority_queue derivable?
- string and integer combined
- static const variables in main()
- Missing feature "function called by" in Visual C++ .NET
- Missing feature "function called by" in Visual C++ .NET
- Inbuilt decimal to binary conversion function in C++
- accessing class members from within a subclass
- Faster than STL string class?
- implement association in C++
- Q: Derived classes and hidden functions
- Interpolation without FPoint arithmetics
- autoscan und libstdc++.so
- faster memcpy on StrongARM machine?
- Byte-order conversion template
- Java's performance far better that optimized C++
- BCB
- Templates and accessing inherited members
- validation
- help with formatting output
- Initializing a vector
- Which scope is searcheg first ?
- scope of for loop in VC6
- illegel indirecion
- Amit's receivable class
- reference material for virtual functions
- argv/pointer problems
- Casting with MI classes
- Arjen Jongeling, een oude bekende
- Pointers in function
- using a class in an unnamed namespace as friend
- can I declare a class variable inside that class method?
- Creating own IO streams
- Callback functions
- Unions vs Classes
- sss
- stupid question? CStrings are killin' me.
- Search for a string backwards in a file.
- macro passed wrong number of arguments
- How to code this?
- macro passed wrong number of arguments
- Hash map question.
- how to use not1?
- What to use instead of sprintf?
- Template file extension / inclusion / declaration
- Constant vector iterators
- Erasin Vector Element
- Proper interface inheritance
- Signed?
- Unix, "hello world"
- virtual assignment operator/polymorphism question
- Accessing assignment operators in parent classes
- processing bytes
- one overload question
- Dynamic type checking
- Question regarding the << operator
- A few Coding Problems...
- accessing args via command line
- ascii numbers
- implementation of atoi function
- calculate approx of decimal number ?..
- extract digits from a number ?
- problem with a fsMDIForm and fsMDIChild
- stdlib types as members in dll exported class
- Next prime algorithm
- IEEE floating point
- how to write an array of little-endian shorts ?
- An array of bools
- VC++ 6.0 problem.
- test
- ???
- KDE, how do I use KWinModule
- GUI for C++
- Templated friends
- how to make a simple class that is either an int or a float
- Why the code cannot be compiled?
- iterator example
- STL (std) thread safety issues
- C++ Annotations Errata
- decode a barcode from image
- php styled vars in c++
- function template problem
- Default Copy Constructor
- "hat" container class [C++]
- Your favorite C++ books?
- Where to define operator<?
- Do you use const member a lot?
- getpassphrase porting from solaris to linux
- Compiling Data Files Into a Program
- testing for quiet not a number (QNAN)
- What to throw?
- sharing information in a class
- how to use for_each to collect some info from a vector into anothervector
- overloaded functions in multiple inheritance.
- Why can't members and methods have the same name?
- Passing return value by reference
- C++ FAQ
- Basic c++ and database interaction questions
- operator[] -- returning references
- Some basic questions
- implementing composition
- Best way to gather metrics on STL string's
- Wrong Result in finding GCM
- overloaded functions in multiple inheritance.
- tricky stringstream-based temporary
- switch vs. if
- Is this legal?
- Why pointer to member function?
- Scott & Andrei article on DCLP and threading... Flawed ?
- I'm new to c++ Programming
- Conversion from std::string to char *, is there a better way?
- Communications Breakdown with CSocket
- VC++ behaves differently when using BreakPoint
- running program
- assinging strings to two dimensional array
- Difference in Release & Debug Mode
- Templates and header files
- VC++ .NET
- What will happen when the size of a local variable length array turns out to be 0 (zero)?
- Bored coder looking for code to debug
- A Question about initialization...
- g++ with C libraries
- no appropriate default constructor
- Function returning a reference
- Inheriting scalars
- faster compiles
- C++ template tutorial/review : comments welcomed
- stl <algorithm>: How to delete selectively from vector?
- OT. joke
- need help with casting operators...
- Text file "converter"
- Development work using DLLs and APIs
- Compilation Error using ANN Approximate nearest neighbour library
- valarrays and regular arrays
- template instantiation error
- Get reference to instance of daemon class
- Files in c++
- input file parsing in C++
- General queries.
- Char** == "something" help
- STL and method failure
- Header Files and Interfaces Yet Again
- Strange problem about constructor
- Aggregation or inheritance?
- What are you going to do with your spare time? XpoLog 2.5 released
- Iterating through a string
- 2nd RFD: comp.os.ms-windows.programmer.win64
- How do I stop reading input at the end of a line?
- how C++ calculate the size of an object?
- acessing multi-dimensional array created via new
- Tutorial and guidelines: Coding standards
- Finding if a file is open.
- Persistent STL?
- Renaming projects
- sscanf and c++!
- Visual C++ 6 Pro
- [] equivalence?
- Hiding of Function in derived class
- ANSI C++ forbids declaration..
- LMI
- Least Common Denominator Feature Set
- Another Code Sample for Crituque
- Global object syntax
- virtual copy constructor
- cin to stringstream
- partial ordering of overloaded function templates
- Virtual functrions and inheritance--hard to phrase question
- template specialization
- question about extern ?..
- Strange behavior with default function assignment
- Allocated memory
- STL algorithm problem vector<vector<double> > and find
- Pointers consistency
- need help deriving from the std::list class
- non-C++ question: How to get my ID showed on message list?
- Question about smart pointer
- logging function
- VC++ : saving a html page
- size of class that uses bit fields
- long filename problem with new include format
- Volatile
- How to pass a matrix to a function
- GUI library for standard C++
- How to deallocate a matrix
- Comparing two strings with arrays and pointers
- COM/COM+ Newsgroup
- Runtime overriding of virtual functions
- Calling a variable ?
- Can't stop build
- initializer list of copy constructor
- Class not recognising string type with gcc (?)
- stack libraries
- From a researcher: what is the job market for compiler-writters?
- implementing stack
- Byte array compare - Speed
- How to code this with STL?
- C++ and pointer
- Suggest tools/methods for efficient C++ development
- C-String Arrays
- Single instance
- Morality of std:: prefix
- const pointer / reference nonsense (to me, anyway :-)
- Storing a tree in a std::list<>
- declaring array using non-const variable to id size
- counting string length using recursion?
- Why code completion and early error checking are needed
- gzstream library
- getline problem
- Pointer-to-array issues in C vs C++
- handling exceptions
- Windows/UNIX compatibility problem with C++ via CGI
- sort more than one variable in STL
- Clear a stringstream
- about head file/source file
- Unable to VirtualAllocEx more than 32664 items.
- I/O with Spanish words
- ESPERTO BLUETOOTH CERCASI
- Could this be done on every ISO/IEC 14882:2003 implementation?
- Still priority queues and STL ...
- why do I need ::sin, not std::sin?
- operation signatures for a dictionary type
- An Open Source C++ Project
- Class Template problem
- Class TChart
- Question on the old problem about STL
- Is this ok?
- how to truncate a file
- Using map
- string.scanf?
- std::ios::hex
- Class footprint
- inline and link errors
- typedef Morality
- Is this ABI thing important?
- auto_ptr
- Proper Including Style
- Random Numbers -- why doesn't this piece of code work?
- The c++ way?
- most elegant solution - empty virtual funciton, rtti or static data member?
- stack trace in c++ application
- Using declaration in private section
- pointer to a template class
- new operator implementation
- "BUTTON"'s in the Windows API
- Pointer to multidimensional array
- Graphics in C++ using Borland
- serial port communication in C++ MFC
- what is wrong with this?
- (Simple?) template problem
- ofstream overwrite
- Different errors opening a file stream
- Very basic question on Dynamic binding?
- wave file
- Specializing Subclassed Methods
- 2 questions for help!
- sizeof(char)
- in using ADS 1.2, does utils.h = Utils.h for example ... in windows XP
- Rotate non square matrix 180... Not working...
- C++ Message map/decoding pattern?
- help about pointer copy
- Dynamic multi-dimensional arrays.
- The TEST_() macro
- isnumeric
- Summary: translation units, preprocessing, compiling and linking?
- copy constructor of parent clas
- Can someone please help me???
- Help please! Who can do this program?
- ~traits::eof()?
- making ostream& operator<< a friend function of a class in a namespace
- struct and class size guarantees
- Is it possible to 'Unvirtualize' a method in a base class
- std::cout vs cout
- Priority Queues in Visual Studio 6.0
- RWList pass by reference -probkem
- File Move Programmatically
- Error, if compiled with -O3 (gettext)
- cast to non-const reference of a function's return object
- namespace question
- Problem with stream operator
- Static const class members, definition and initialization
- Reading in a file into a Linked List - Segmentation Fault
- Visual C++ Error 2143
- on std::bind2nd
- anything wrong calling bind2nd this way?
- model implementation
- Help! Passing Templates functions to template functions
- Java to C/C++ converter
- Heterogeneous Container: avoid ifs and casts?
- Problem with sizeof, when using it with Base class pointer
- RTTI typeinfo pointers
- CfP: 38th Annual Simulation Symposium..........
- C++ api representation ?
- STL and sorted list
- dangling pointers and security
- Portable 'byte' numeric type
- exception handling for raw read
- Question about vector and list
- a little syntax goes a long way??
- What is the error with this code?
- SImple question about structure and linked list
- struct in struct
- problem with templates (?)
- Problem with heap
- first program evaluation
- SImple question about structure and linked list
- how to pass php serch results to c++ program?
- GMP Compile Error
- Could C++ do this without the #pragma
- function template
- '\0' in a C++ string?
- Pragma Document
- Simulatneous declare/initialize member variable
- Where is the download page for Visual C++?
- Problem with inheritance
- When to define copy/assgnment constructors
- how to use non-static member function as comparision function infind_if?
- How do I display a CArray in a table format?
- STFT
- char In structures
- Order of Static Members
- funny working ListBox - help!
- Is there any good hash library in c/c++?
- Use of getchar
- Defining iterators
- MALLOC or
- calling functions in another file
- SImple question about structure and linked list
- string conversion problems
- string conversion
- what is wrong with this code?
- Makefile design
- assigning string to int
- undefined reference????
- Overloading the "=" operator for Complex numbers
- Some basic Q for help!
- "Default construction" of built-in types?
- Simple iterator usage question...
- #define versus const