Home : Bytes IT Community / View Full Version : C++
- portable fmemopen
- adding a bool to a string
- macros standard equivalent?
- processes and threads: meaning of vesting
- Help creating an executable from a .cpp
- Counting down an integer vector from the highest degree (111) to the lowest degree (000)
- STL MAP, how to restrict
- C++ Internals
- a better way to use a const ptr as class member?
- Take paramaters as one pointer?
- problem need help
- Heap allocated object's class constructor throws an exception.
- Array CopyConstruct as efficiently as possible
- copy char*
- member initialization
- imbue(locale) and file encoding
- Quick question about initializing
- Memory-efficient datastructure for sparse matrixes not indexed from 0
- char* to string
- Convert exceptions in wrapper without using macros?
- how to customize compare function of std map class?
- "try{throw}catch"
- data jam/preserves
- Inheritance and Data Access Question
- SHuffling a Linked List
- combining two vectors
- Destructor calling order from function calls different from <Effective C++>
- Feedback on my programming style
- FILE * and fstream
- Specifying platform independent interface without using virtual member functions
- Best practises for boost:signal
- C++ grammar on function declarations
- Learning auto_ptr_ref role in auto_ptr implementation
- jihg
- for_each with vector of function objects
- static_cast vector<float> to vector<double>
- class encapsulating reference
- unable to read char * strings from a buffer
- efficiency of a non-polymorphic inheritence
- finding offset of a class member at compile time
- Manage web form with libcurl
- tools for creating small, practical and portable programs
- Strange: Cannot recieve UDP packets that are broadcast on the network.
- string extraction
- log4CPP
- Programmer's mood and their performance
- evaluate a string expression in if statement Linux C/C++
- Function expecting char*, does using vector<char> gain me anything?
- Finding an object in a <set> of pointers to objects
- Class method less robust than C function?
- gcc "ld: cannot perform PE operations on non PE output file"
- Creaing the binary from Makefile
- working with arrays, creating a video library
- Locales, file parsing and isspace, use_facets etc
- Abstract Factory
- Visual C++ 6.0 Runtime Error
- Debugging when one program calls another
- template specialization on void*
- compilation problem (port cpp from windows)
- unsigned char* to CString - problem
- copy constructor of std::auto_ptr<>
- Bitmap help
- elegant error handling in message processors, how?
- main(int arc, char *argv[])
- enum across objects
- trouble accessing into a referenced variable
- is 'operator delete' a function?
- Generic function Memo-izer template class
- Exception handling in Visual C++ 2003
- Pointer Dereferencing
- to check if the given string is substring using c++
- cast string to size_t
- Template inheritance and linker error
- problem facing while using ostream_iterator
- referring contents of another container.
- question about Partial Template Specialization
- Assignment error with user defined vector container
- Question about overloading the [ ] operator
- finish a file
- cross platform compiling - gui for linux & windows - what to use? gtk?
- In Foucs on C++ exam
- Can i pass a function to template?:
- == evaluation problem
- Unicode
- Declaration of a struct inside namespace
- Extending a class template
- Templating a typedef or aliasing a template
- Synthesized and non-inherited class members
- help me
- throw from c'tor
- Initializing a vector of a vector in a constructor
- Deep Copy smart pointer not requiring virtual copy constructor
- Now here is something I hate!
- object and class name reference
- what mean: const A&a = A() ?
- Runtime error: std::bad_alloc at memory location
- Lambda library types as indices in for_each
- uml from c++
- arglib counted_ptr operator= question
- error: `struct A' is inaccessible
- Recommendation for GUI for C++ on Windows XP?
- switch is not optimized for mapping between enums
- A bright note...
- How to create a beautiful GUI?
- linked list quicksort
- switch is not optimized for mapping between enums
- enums and namespaces
- smart pointer (copy_ptr) as class member
- IdIcmpClient1 Replystatus?
- 3D vector memory deallocation
- Lists of synthesized and inherited class members
- Inheritance n level deep
- About Inheritance and its concepts
- Rubbish Output Dev-C Compiler / Program for Binomial Coefficient
- repeating intructions in .h and .cpp files
- problem with multiple inheritance
- multiarray
- Auto Vector of pointers?
- how many inversions????
- Best Way To Copy Complex Structs
- [survey] LWG issue 206
- Intrinsic Function in C++?
- Order of destruction of static locals w.r.t. globals
- program with gcc on Windows
- new-initializers for an array
- manipulating an objects through pointers or references
- What the heck?
- I want the meaning of this statement
- Default reference variables
- Deriving from STL containers
- sharing resources over inherited classes
- Evaluating Preprocessor
- ISO IEC C++ standard specification 14882:2003
- std::vector and size_t
- STL Vector - clear() works for 2D Vectors?
- locale and wcin, wcout, wfstream
- linker error w/ templates
- Please explain this unexpected behavior (regarding return-by-value)
- Conversion constructor
- n00b class question
- order in which files are built
- Template specialization with a template
- inheritance problem
- Why this program is wrong?And how to improve it?
- Solution Guide for Bruce Eckel's "Thinking in C++"
- "could not deduce template argument" error
- Program to split very large files by line count
- Exception safe & Exception Neutral deep_copy smart pointer
- Implementing an I/O wrapper and Parser (console project)
- Idioms to handle backward compatibility using templates
- specialized template function w/compiler error on invalid type
- integrate C++ into browser
- right shifting
- Templates & abstraction question
- Ambiguous member function pointer
- Template class member function specialization
- Iterate over a vector of vectors, etc
- Iterate over a vector or vectors, etc
- casting int to char
- ADT classes
- Stroustrup "desk calculator" chapter 6
- malloc and new
- Why this code can't be compiled??
- inheritance first go
- assign const_iterator to const pointer
- define a copy constructor in a class having data member as an object of another class
- Does boost's regex lib support the lookbehind feature?
- forward declare member function so that it can be friend function
- string convert to function name
- Dev C++
- Stroustrup 5.9 exercise 13 (creating a structure)
- Stroustrup 5.9 exercise 12
- Stroustrup 5.9 exercise 11
- also an inheritance problem
- A easy problem about Polymorphic
- How does a GC compute the root set?
- conditional structure vs. function pointers
- Hello everyone
- Default template argument in a function: reasonable but disallowed
- STL derived class : parse list from inside
- C++ standards for thread management
- knowing if a template parameter is a pointer
- "Safer" assert?
- retrieving openmode from a stream
- convert from string to char array
- std::string title case
- Why operator<< should be friend or global, non-member function.
- Worrying Prevalence of K++ Compilers
- variable initialization results in "unhandled exception"
- Compilation error in template code from Modern C++ design
- STL list related
- Stroustrup 5.9 exercise 9
- class initialized array
- Using same source for different apps
- C++ STLPort 5.0.2 ,new, vector
- Stroustrup exercise 7 section 5.9 (using struct)
- Stroustrup exercise 7 section 5.9 (using arrays)
- help for inheritance problem
- any suggestion please
- Stroustrup 5.9 exercise 6 (char& as argument)
- Stroustrup 5.9 exercise 6
- Problem with template class
- offsetof( ) macro
- sizeof character constants in C++
- confused between declaration & definition
- .Exe with Visual Studio 6.0 (C++)
- stringize variable name
- how to avoid ftol
- callbacks using function pointers
- Stroustrup section 5.5 "vector of struct"
- Is it safe to refer to function-returned values?
- recursive function for the bear game
- memory leak with a thrown exception
- Passing a class by reference ??
- catching assertion error
- terminate called after throwing an instance of 'std::bad_alloc'
- Help with Vectors
- Compiler supplied assignment operator and references
- Hidden Installer
- typedef of template classes are always default constructed?
- Menu handle program
- const against non const pointer
- A smart pointer and type forwarding
- o-notation
- idea request: generic function logging
- Generic collection class in C++
- Class member functions confused as Macros
- problem on hiding console window
- Template specialization for vectors of any type
- Friending an inner class to a templated class
- why the efficiency between debug and release version differs so much(VS2005).
- line numbers in IDE
- reverse engineering visual c++ 6.0 source code into UML
- breadth-first traversal
- ways to delete the element in between with vector?
- function of 2d array
- RWCollectable Replacement
- C
- A basic doubt on VPTR and VTABLES
- get integer values using ifstream error.
- nth_element() not compatible in VS2005
- Initialization of const objects.
- cout2,
- MS Studio
- Viewing BGL Graph
- STL map class ordering
- how to read a Unicode file
- using nested for loop, workin with displaying prime numbers
- Sticky problem with collection class
- dll file problem
- Designing a property system
- Templates questions
- Passing member function pointers are template parameters
- Parsing a string into integers using istringstream
- JFace for C++?
- memory offset of member variable within class
- Templated friend function can't access private members?
- Problem with function selection in templates
- Looking for C++ book recommendations
- Where to put typedef std::map<key,val>....
- Is an incomplete initializer good form?
- Generic Pointer Type
- Defect Report : numeric_limits::is_modulo insufficently defined.
- New C/C++/OpenGL Software Tutorial
- Good way for error generation on template instantiation
- How i can make compatible vc7 with vc8
- How to use VARIANT??
- Why is this not allowed anymore (anymore being with a more recent compiler)?
- STL Map in which the value type has no default constructor
- Private enum in class
- Learning Compilers using C++
- will it leak?
- on cout,
- Invoke New Handler
- Power calcualation once more :(
- Strings C++
- Remanent - tworzenie nowej bazy od podstaw
- How can a Vector class be optimized ?
- Async / sync class design question
- Problem running vc++ code with gcc
- strcat syntax with int and char
- complex inheritance
- Stroustrup 3.7.1 - "vector"
- a question on c++ preprocessor
- Customizing structure with policy classes
- Writing Struct to File doesn't work - what am I doing wrong?
- Stroustrup chapter 3 - 3.6
- sum of the first n odd positive integers
- std::stringstream
- Exponential output with cout - should be changed....???
- hash_set core dump on memory free
- QT/Trolltech multiple monitors
- Pointer Question
- iterating through vector<string>'s.... error
- operators & namespaces
- Help: datatypes...
- " Interviewing Seminar LEADERS; How did I do that ? Faith that's HOW... "
- How to overload the new operator for std::complex<double>?
- static constant as class member
- Information for C
- Function Template help
- Char*
- help on C++/programming interviews...
- how C++ implements the dynamic type?
- Find/Replace with char arrays without string functions
- Question about compilers....
- partial template specialization...
- erase-remove usage
- yet another memory leak
- How to call Aggregator class destructor?
- help with string search
- wrapper around data structure?
- Calucalting the power
- No object definitions in header files?
- boost::regex - fail to compile a simple sample
- Container with pointers
- storing iterator in a class
- typename usege problem ...
- classes and members
- malloc and new...
- Any implementation for one-many message dispatching mechanism in C++?
- Writing better program?
- template class and static member variables
- Error: no compiler tool is associated with the file extension (*.h)
- hi
- combine __FILE__, __LINE__, __PRETTY_FUNCTION__
- Parsing question
- Memory leak detection tools?
- sizeof of an instance differ from sizeof of a class
- Nested (non-regular) data types
- Recursion
- vector reserve() and clear()
- C++ Event Coding Questions
- Avoiding evil macros
- sort() function for user defined type
- Help with Iterator for templated list.
- Declaring double in the scope of a class
- Thumb rule for passing arguments
- What does the object name represent?
- warning: missing braces around initializer
- inline warning on borland C++
- a good C++ editor
- one more question with smart_ptr
- How find a number ina list
- const ref vs. pointer
- stl container as default arguments - how?
- The number is odd?
- cout true for bool(true)
- Singleton without static : possible??
- A new approach to specifying typelists?
- Help with cd autorun program
- Hide the KeyCombination Ctrl+Alt+del
- std::vector and operator==
- Problem with Circular Linked Queue Program
- seek and fgets and fputs fopen
- Automatic conversion operators
- problem with vector
- HELP!! <please>
- Are C++ strings binary strings?
- Q: change position of list element without invalidation
- how do I find out how many days between 2 days?
- could you explain the code from the second header file?
- could you explain the code from the second header file?
- Virtual Constructor
- hash table...again
- How to count some repetitions
- How to count some repetitions
- Is it simple way to create a singleton or is it wrong?
- unsigned char* compiler error
- faq 1.#QNAN00000000 and -1.#IND000000000
- XMLCh and wchar_t
- Counting # of single digits with arrays?
- Functions having same name return different type values in subclasses.
- Searching Multiple Arrays
- Out-of-bounds Nonsense
- why does this right?
- How do I determine if a CPU supports Uniprocessors/Multiprocessors or only ACPI
- help upcasting
- gcc TR1 support under Windows 2000?
- Is (&(*(T*)0)) UB ?
- remove elements from vector
- How to avoid repeated names?
- pointer to function
- ABI backward compatibility
- f2c's abs conflicts with <complex> abs
- memory allocation design problem
- Method overloading and inheritance
- Is this passing arguments by reference
- Why doesn't this code work?
- Precedence of overloaded cast operators
- Name mangling Doubt
- Execuable protection
- Needed - C++ Experience Professionals
- Use memory instead of sockets in IPC ?
- Stroustrup section 2.5.1
- conversion from one user defined type to another
- How to use CPPUnit effectively?
- where does /return value/ go?
- Interface classes
- Problem with sorting a vector
- don't understand the STL source code!
- searching for global extrema
- Different Variables Use Same Memory
- STL map
- bit operators
- problem on saving object relations.
- Unix: advanced c++ debugging techniques
- type safety and reinterpret_cast<>
- virtual function
- STL and local structs: Is this valid ?
- header files revisited: extern vs. static
- inline class functions in separate file
- A n00b.
- copy constructor
- pointer past end of buffer
- useless design pattern
- Stroustrup ch2 section 2.3.2 example
- pointer to member function as a template parameter
- __NAKED__ nonstandard C++ directive
- Specialization of a method from an imbricated template class
- basic_stringstream with unsigned short
- basic_string with unsigned short
- basic_stringstream with unsigned short
- operator+
- reading files in VC++ 6.0
- C vs. C++ and C compiler optimization question
- Resource question
- smart_ptr question
- Threading in C++
- copy string[] to vector<string>
- Simple Iterator question
- Break ifstream input into words?
- file processing problem
- what's wrong with this strtok_r()
- Online Source, Book for Reference purposes
- help with function template and using size of
- cin.ignore... better way wanted...
- Using Lists to do a selectionSort function
- Unexpected result messing around with own binary search
- how can I create a system process
- service and process question
- Difference between operator and function
- C++ Best practices, OOD, Linked List
- how to dinamically allocate memory for two dimensional array?
- Confused with passing values through classes ?
- returning value from constructors
- partial specialization on std::vector
- Explicitly calling constructor
- dynamic_cast for down casting from base to concrete type
- More memory space needed for an Enum
- how to add a ".0" to ostream floats
- How to find dependent dlls for am exe?
- modulus etc
- Large Object within Pointer to Function & Switch
- What's wrong with this program using template?
- Student assistance requested.
- Help with delete operator and destructors (code attached)
- std::istream::readsome
- Templates and structures
- What's the best way to create c++ objects from string names on the fly?
- formatting with int
- User inputted length of an array without an extra variable.
- ctype.h & using namespace std
- Opening a File
- hash table memory question
- doubt on traits with memchr and memcmp
- Garbage Collector examples ?
- fstream doesn't write
- What is Mutex?
- accessing data with different views
- Metadata information for image and audio files
- Memory access violation (only with -O2).
- when is sizeof evaluated
- Deriving from a templated base class
- iterator based plot
- Question about size of class
- Passing dereferenced new pointer to reference paramter
- basic_string with unsigned short
- basic_string with unsigned short - initialization and usage
- basic_string with unsigned short
- Two objects created in a Single class
- cycling through a vector?
- cycling through a vector?
- cycling through a vector?
- nice printing 0 not -4.44e-14
- pointer to a Class initialization question
- allowing header files to call each other?
- Yet another template question :o(
- Formatting output of floating point numbers
- #define together with #pragma
- Link error for a static member
- #define together with #pragma
- #define together with #pragma
- Memory-hogging variables - swap to disk?
- Overridden method doesn't get invoked
- New to embeded C++
- Pointer to Function
- Static members
- Pointer to Function
- Inheritance in C++
- Extract 5 bits at a time from a stl string
- memory allocation deallocation ...
- error LNK2019: unresolved external symbol - cl compiler
- i lik to be one among u
- c++ exception with a non-ascii message
- C++ cross referencer
- custom ostream for debugPrint purposes
- Read file of multiple data types.
- what is visual c++? (stupid question)
- std::maps
- Application logging
- Strange problem...
- use of namespace
- for vs. while
- Bool expression
- Beautiful women, aged clones, and Ultimate Fighting Championship
- max_element with binary predicate
- Why is stream fail() bit set?
- Templates and Interfaces
- auto_ptr correct usage
- Incrementing using ....
- Code Hangs with CTabCtrl in _AfxRemoveDefaultButton
- Inserting into std::set
- Using an Initialized member in a function
- warning C4267 and warning C4996
- private bool function
- error: ambiguous overload for 'operator <<' in...
- How to get the bit after shifted?
- Extend an enumeration
- how to understand the syntax int i(val)?
- Binary Tree - Depth First Search
- How to effectively represent and Increase MAC address
- icc vs g++
- wstring usage
- Which STL templates to use?
- boost regex format string
- conditional compilation
- NTGraph problem
- MMU and vtable
- MMU and vtable
- Which to learn first: C or C++?
- macro vs. template???
- I can't get STL pair to work
- Interface constraints using templates
- Read only access to members
- CFileException::generic
- shared_ptr efficiency problem
- Which to learn first: C or C++?
- Rationale behind copy semantics in STL containers.
- learning Modern C++