View Full Version : answers
- Link to lib file
- Is my naive C++ implementation the best, or...
- study material
- study material
- Problem with printf formats
- Portable struct initialization
- Memory leaking
- geometric progression
- initializing array of structures
- Switch vs. Else If
- How to change the button style of Console Application
- request for new questions
- question about "scanf"
- Reading from serial to an array
- pointers for beginners
- Checking memset
- Dequote a string, unescaping escaped quotes
- Function template partial specialization
- 'new'd memeroy is contiguous?
- what are the problems with this piece of code?
- Variable/parameter declaration inconsistency
- Help on void *
- using C structure in C++ (VC++ 7)
- Limbajul C
- can I pass an object from cpp to c
- a question about drawpoly function
- diffrence between "function pointer" and "pointer to a function"
- Need help on accesing more than 4GB
- lots of warnings with stlport
- too much time for internet and pc and no time for to walk and sport for you
- how to cast from (void*) to other types?
- Getting error with SUNWspro 6 update 2
- operator= Q.
- Available C++ Libraries FAQ
- how to using codecvt to convert ascii<-->UTF-8 within std::ofstream
- Which header files are included?
- Xml Parser
- The Zeus Compression Algorithm
- Problem with Exponent program
- Network Programming... Ugh!
- Indexing a Text File
- inherit WITH operators
- storing "almost-POD" classes to binary file
- Multiple indirection mess-up...
- exception woes using fstream and .eof
- Struct inside a struct
- Which is better, using ReadFile/WriteFile or use fstream?
- Symbain Device
- variable in a class member
- Good C materials
- what data structrue book do you use or recommend?
- using preprocessors - help!!
- including and excluding at compiletime
- c++ spreadsheet libraries?
- How to minupulate the elements (counting by 3) of an array usingSTL?
- Access to MS SQL Server from C
- TCP connection hang problem
- mscorlib.dll problem (Visual C++ 2005)
- A good use of fn ptrs?
- Implementing a Decimal class
- Inconsistent
- Memory allocation problem
- Code Complete: 1st or 2nd Edition?
- typeid ... more
- about C
- Again: 2D-Array/Table but sortable asc/desc by column for different datatypes
- A small clarification ...
- deleting all elements in a STL container of pointers
- Why is there no difference between buffered and unbuffered file IO?
- please verify the code
- operator % and signed integers
- operator % and signed integers
- how to call notepad.exe from a c program
- Initialization of non-POD aggregates
- can std::set hold pointers to keys instead of the keys themselves?
- suggestion for writing a program to concatanate two strings
- Enabling and disabling a macro
- array of struct init list
- Too Many Function Pointers?
- using realloc multiple times question...
- int var declared in "for" not local?
- what is the difference between string.h and cstring?
- what is the difference between string.h and cstring?
- auto_ptr and casting
- auto_ptr always implies heap?
- Measuring time differences
- Complex policies
- using fis.c in a c++ project
- A simple question about a function
- using fis.c in a c++ project
- CTAGS usage
- problems at multiplication (Currency multiplied with float)
- How does the compiler implement a virtual destructor?
- detecting incompatible locale modes for encoding
- [Linker error] undefined reference... pliki .h... dev-c++
- weird problem with gcc
- Special iterator
- #ifdef vs OO patterns
- `sock_create' undeclared (first use this function)
- My programs always shut down...
- Dumb Question.
- friend sibling class nested in derived class problem in gcc 4.0
- How to become a C++ Programmer
- std::vector
- system call in VC
- How to turn a C++ program into a BASIC program ???
- copy and istream_iterator question
- Naming issue
- return value of fgets()
- map iterators interface
- Internationalization - Unicode - Format used for command line arguments?
- private default constructor is good or bad?
- Operational and functional differences - #define vs typedef ?
- Customizing Doxygen C++ Documentation
- Insecure Programming by example
- how to see the list of the function names?
- Question on vector of vector iterators
- Reading 16-bit raw data
- Bowyer watson algorithm
- array of functions
- Dual Head Monitor
- Derived template classes
- add a new member to struct
- How to Check the content of the memory?
- undefined behaviour?
- question
- Scratchy question....
- To enter and access database of MS access or any DBMS usibg C.
- Pro C--Openings in Polaris Software Labs Chennai
- Pro C--Openings in Polaris Software Labs Chennai
- Is argv array modifiable ?
- STL map and memory management (clear() )
- Error when initializing static variables
- How to catch Mouse down and mouse up on item of treeview
- Cline/Lomow Book (Original) FAQ # 158
- A problem related with multiprocessor
- who can give me a lmplement of Diffie-Hellman key exchange.
- why is automatically generated copy constructor of this form
- Creating Dynamic 2D Arrays
- Getting confused in Virtual calls
- JAVA
- A style question
- C++ class library for kernel mode programming
- scan frames of other windows
- is there any transform_if algorithm?
- can you make an ifstream from a FILE* ?
- problem with const objects in lazy parser
- vector<pair> .. more
- operator-
- GDI objects and memory leaks
- USB 2.0 Memory Stick
- Preprocessor errors?
- reading para values from config file with type
- Error message : "function returns address of local variable"
- question--separatecompilation
- is a good C?
- templates to generate compiler diagnostics
- Vector in cpp
- Array initializer in C++
- what is needed to implement a memory table?
- MS Access And Excell data access through c++(API ,Connector,etc)
- Querry Regarding Define
- trimming leading zeros
- C code is not generating required results.
- Polimorphe Vector
- Editor and Debugger in C
- in C how to store a value on a given memory address
- signed and unsigned char
- Usage of Double Pointers
- Tricky conversions question
- Dynamic mem allocation for pointers
- how to find nth quote char?
- no-op function pointer
- Need Help
- 2000 Web Templates (Including Customizable Flash Templates)
- candidate for bitset
- counting lines in text file
- Doing run-time binding/introspection/reflection in C++ non-intrusively
- Style Poll: Hand-Rolling for() Loops
- pointers difficulties
- skipws and <<
- offsetof / non-POD structs
- JNI: changing from ARGB to RRRGGGBBB memory problem
- Replace a #define by a method
- question--A function returns class object(comparing C++ & JAVA)
- How to make a library
- is << on filestreams a blocking operation?
- support of C99 VLA in compilers
- Preprocessor possibilities
- programming a "terminal"?
- Strange Bit Shift Operator
- Use int or long keyword?
- including files
- Code Style - Handling Returns
- Need a programme for Paint by SHIKHAR
- Are they equivalent ?
- Type casting
- c++ and multithreading
- Comparing an iterator to a NULL value
- dlsym and function pointer ...
- How to compile using library
- How can I set up the path where the compiler(g++) will search forthe header files
- #pragma warning (disable:4214)
- template and variable parameters
- Constructors & iterators
- module stub generator for testing?
- Operator Overloading.
- legacy containers
- Linux named pipes programming problem
- integers to binary
- what happens internally
- initializing array using pointer
- USB APPLICATION
- little problem
- I don't get how the computer arrives at 2^31
- frns i need a code for
- how to make link betwenn flaoting point to printf statement?
- Zero sized arrays in base classes?
- #include<> internals
- Help with Dijkstra's algorithm
- Is this possible in C/C++?
- getbuf()
- How to define a class GasPump?
- getting reference to a STL map element
- overload operator ?
- Pattern matching with boost
- problem with c++
- which code runs faster?
- class wizard in 7.0 (.net) IDE
- Secured access to source code project ?
- Array copying technique
- Checking if number is bigger than INT MAX
- Certificaiton in C
- Operator Overloading Problem
- When is std::list more effective than the other containers?
- Implementation of conditional operator
- Correcting answers
- Store two images in one file
- Hello
- candidate for a reference counted smart pointer (?)
- help please
- software for Voip.phone
- how to transfer a DWORD from a function?
- How do you return a list? Best practices
- Print a function pointer always results in a warning
- Invalid read of size 1 [valgrind warning]
- tr1::bind in a template class
- Insanity or technicality?
- Opening is for technical lead
- Programmer's Avenue
- learn C/C++/Java/HTML/Web development
- New debugging method(OT?)
- Another name of type of iterator allowed or not?
- unresolved external
- member typedefs
- Can I write a fn reference?
- Getting a chararacter array to accept spaces
- Getting certain item from a character array
- Beginner question about sqrt()
- Runtime Definition of a struct
- Problem with "system" and the linux "su" command
- Weird lcc-win32 behaviour
- header files
- problem with auto_ptr<> and assigning derived class to base class object
- FIbonacci
- C module stub generator?
- operator [] or what ?
- vector of structs
- character pointer length
- finding the length of a char*
- string comparison, help!
- Linux program use times() to Windows
- Escaping backslashes issue with printf/grep/popen!
- Operator overloading for pointer to objects .
- Function returning a function pointer?
- What does this mean?
- Programmer's Paradise
- Initialization of non-integral type in initialization list
- Linux programme - different results each run
- statistic of integer values
- Composition using references
- Question about char
- Arrays as parameters
- Why does the write method take a character pointer to the object one wishes to write?
- vect of struct ??
- Is this the 'prefered' way to use a vector
- oracle-c++
- oracle-c++
- oracle-c++
- scan float pointers
- Overloaded
- string to int
- why is this assignment correct ?
- Help : Merging Binary Search Trees
- How to initialize and array in a structure?
- Invalid read of size 1
- Enhance your Bugzilla with Release Planning System
- file writing
- Multiple inheritance, dominance and pure base class
- CPU temperature reading
- Runtime errors with c++ binary search tree
- Stack or Queue?
- Complicated linking problem
- Design question for UI library
- hello ,i really need your help
- undefined reference to '__gxx_personality_v0'
- force jump table with switch statement (visual c)
- Linked List Isn't Working Correctly
- regular expression lib
- Plz i need ur help
- set<const int> - does not compile
- design patterns - Maze examples
- Assertion Errors
- Interesting technique using templates to get around privacy
- Problems with reading xml-files
- what is wrong with the function?
- Fixed number of digits printing of integers (ex: 0001 to 0100)
- template instantiation with local type
- Operator overloading and inheritance
- test.c:24: error: `read' undeclared (first use this function)
- HELP!
- default arguments in member function
- class instances ..
- Speed of finding a size of an array.
- double pointer
- OS dependent
- member template partial specialization
- Proper way to input a dynamically-allocated string
- typedef void foo_t()
- STL vector and element constructors
- Strange Unresolved External Problem
- C, really portable?
- design question
- How to implement arctan(x) without using standard library?
- How to implement arctan(x) without using standard library?
- Parameterized Template Parameters
- Pointer problem
- constness of an object
- A few function questions
- STL: Map of maps possible, but no multi-map of maps? Workarounds?
- Dividing large classes
- basic classes question
- C memory properties
- Help with type returned
- Double-Linked List, Cont'd
- Fibonnaci
- accessing const array reference in inherited-templated class
- Double-Linked Lists
- bit array in C++
- undeclared indentify error
- Strings in C
- Random Numbers and Removing only 1 item at a time
- calling all would be writers for CUJ
- what is the error
- How to identify who cause memory leak
- How do we find out stepping over somebody else' memory
- declaration Q
- sleep( ) misbehaving
- How to check allocated memory size
- UNICODE variant of fopen or ofstream to be ANSI compliant.
- fatal error please help
- DLL - C++ - C#
- Anyone who can help me to compile a source code package under the Solaris platform?
- Cursor Movement
- Diffence between CreateThread and AfxBeginThread
- Hierarchy of objects, object "deep down below" needs to access one high up
- nested for loops behaving oddly
- printf() in a loop without \n won't display anything till the end
- Is there any way to overload "typecasting"
- pointer initialization in ctor
- functions
- Dialog size question
- C++ compiling and uncoompiling
- template & typedefs declaration problem
- error in yacc
- Ascii-Art word converter lib
- For a copy of The Embedded Newsletter
- C++ Internals handling this pointer
- how to check no. of spaces were skipped?
- Finally, a release candidate of the "Pointers" document (introduction to pointers)
- Soliciting for C programs or snippets to test alias analysis
- structure and pointer problems?
- structure and pointer problems?
- C program can't catch exception from C++
- structure and pointer problems?
- vector of struct ?
- Tool for detecting Array overflow
- a question on array
- Question Can I use explicit qualifier <C> after member function name of a template class?
- split string into chunks
- Stock Quote Order Level Book
- Stock Quote Order Level Book
- fstream::open
- why it is not work?
- passing a templated struct...
- Question about the operator<<
- calling overloaded constructor from constructor
- what's wrong with this code?
- friend operator= ?
- static member of a templated class weirdness
- STRING SIZE PROBLEM
- Split a class across two source files
- Function to determine the length of an integer string
- Linker errors while compiling C++ applications on AIX 5.3 machine
- Evaluate string expression in if statement?
- Explain why this prints the same
- 64 bit integer
- copy constructors and overloading = What is the difference?
- Reason for ISO ; warning
- Reason for ISO ; warning
- char to wchar_t conversion
- Question about bitwise operators
- std::string copy constructor fails
- allocate double dimension array in C
- How to write and read on network interfaces?
- operating system
- State Machine Implementation
- about struct keyword
- Can Singleton Instances Clash?
- How to read an integer one by one?
- How to convert integer to string array without specify array size?
- FILE HANDLING
- a printf implementation
- Yacc non terminal Symbol
- cygwin make does not execute command under XP
- Combing two linked lists
- Appending rows to 2-dim arrays
- hellp about local timestamp
- stack overflow
- Does the statement make sense?
- Does the statement make sense?
- Is Space Allowed in Filename?
- array variable type, question about semantics
- COM
- Switch based on a character in pointer
- Function objects vs. function pointers
- beginner question on vector<struct>
- Function objects
- memory allocation issues?
- std::bitset, simple question
- Best STL container to use for single pass-through operations
- Need help -- starting functions
- DynPtr: A pointer with implicit dynamic cast
- Replacing a word in a string
- need help
- Question about pointers and vectors
- Is an MFC/C++ ActiveX control best?
- #include "*.c" ??
- Template magic needed, partial specialization
- benchmarks of char* ops vs. std::string
- TEst
- Number of times number repeats
- sorting the nodes
- Declarator operators
- Truly random?
- Templates
- oracle
- Need advice to choise complex data structure (STL)
- Is there a cleaner way to do this?
- "typedef templates" inside templates - how can I do this?
- malloc vs link-list
- list of strings
- work with char[]
- fgets() and extra characters...
- COM compatible C++ objects how to ?
- accessing symbol tables from compiled code with debug options turned on.
- Parsing Microsoft Debug Symbol Tables...
- Help with a decompiler
- c and c++
- Problem with fgets reading last line over and over
- computer science
- overloading operators (basic)
- Requesting tips on Video Conferencing.
- Float-to-string conversion that raises exception instead of returning0.0 like atof
- Link List
- Large C++ function
- How to display a string in many lines, each lines have a specified length
- ARRAYS FUNCTIONS
- please help me to start compiling c++
- vector ?
- Data structure problems.
- are all templates inlined?
- Password Verification program help
- my question about read file !
- Custom swap in std namespace
- global typedefs and #define /\ global inheritance base
- Binary predicate member function needs access to another object's data
- code optimization- Removing if .. else conditions in for loops
- initialization lists trouble
- specifying interface without definition?
- Array size ?
- #if command at header file
- some help required with maps , stucts and vectors.
- How to initialize a const char[] member variable
- HDD RAW sector reading in Visual C++
- what is it for?
- how to connect with sql and ms access through c++ file handling
- STL collection to wrap a raw pointer?
- function template
- ARRAYS AND FUNCTIONS
- Writing classes which are "streamable"
- Pointers and Vectors
- Finding a directory using a partial path name
- C++ list and private copy constructor
- GLib problems
- How to set the filesize
- Data Structures In C++
- question
- trap representation
- C function for snmp
- Data Structure Using C
- tutorial
- java language
- using c++ to design internet protocol
- detecting integer overflow
- Why do we need non-virtual destructor?
- Passing structs by value
- Macro for Backslash
- modify this c++ source code
- LInked list Problems, Please help
- undefined reference help
- C - Const Struct Members
- fread returns more than i want
- overloading global dereference operator?
- What purposes do types serve?
- a problem with static declarations
- 'x = this' in constructor
- problem about "default template arguments may not be used in function templates "
- stack&recursion
- alignment of structures in c++
- A simple program with Monte Carlo
- How do I get bitwise access to a file?
- ?explicit instantiation member function of class template
- How can I write the most efficient code about this problem?
- Boost library and Borland Builder 6
- Does C++ have HugeInt?
- Calling free() on an uninitialised pointer?
- Is memset used only for strings?
- sizeof and incomplete types
- Segmentation Fault
- New to c++, need help with advanced topics
- class organization (very elementary)
- Dynamic arrays?
- String of function names
- Strange behavior on an if statement.
- Large Random Number Generator
- New style header files?
- Binary tree Algorithm
- auto_ptr explained
- binder2nd