View Full Version : answers
- Simple parser question...
- problem with memcpy and pointers/arrays confusion - again
- Does this look correct?
- Does this look correct?
- Macro
- copy constructor
- simple return question
- p[assing by reference
- ambiguous call to member
- problem with a makefile
- structure initialization
- strange output
- Problem of finding funtion names in any C file
- linked struct
- Unknown Compiler Warning
- Pointer and Array
- Need Web reference and forums to learn C++
- How to use a vector data member when the class object is a vector?
- Garbage in a char* (getting rid of it??)
- Can a base class be its own factory?
- how about the function strtok()
- How can I use a function pointer to non-static member function of a class.
- Strange class definition
- Please comment on my integer to string code.
- PCI Slot/Card Question
- about c/c++ 问题!
- PCI Slot Question
- errno questions (leading to a slightly OT follow-up question)
- Please Comment on this Integer to String Code.
- To delete few lines and add few lines at the end of a text file using c program
- Output the whole value of a double
- Structures problem
- returning a pointer to a member function
- loop scope
- Parsing file to extraction records
- Where can I find more about string literals?
- tapping into STL mempool
- Which one is pure virtual function ?
- how to print the hello
- Obvious error, which actually compiled
- how many ways to convert a integer to a string
- overriding template function doesn't work?
- dynamic field names
- combining workspaces
- Stream buffers and rdbuf() question
- combining workspaces
- Query reg. C Program
- Help w/ converting FSA to NFA program
- simple output problem
- Creating object from the child of an abstract class causes to linkage errors
- Traversing Huffman Tree
- Need a C/C++ programmer for a freelance project
- Need a C/C++ programmer for a freelance project
- vector pushback compilation error
- UTF-16 & wchar_t: the 2nd worst thing about C++
- template class data member not found!
- Problem Solving Skills for Engineers
- Problem Solving Skills for Engineers
- Portable alignof
- Class Limits
- the easy way to check if the string is a number or not?
- Class and member templates, Default template argument, and Specialization
- questions about STL erase example
- How to seach a 2d array for another smaller 2d array
- A quick check...
- Variable Length Argument Lists -- A kind of template?
- bug in Screen Saver sample in Visual Studio 6.0
- fix code
- Interpreted Languages...
- Overriding a virtual function and changing its return type --- dependency issues
- Is there an easier way to work with pointers (sample code included)
- INT_MIN as decimal
- On-Line C++ Programming Tests
- casting from member to union
- Sun C 3.0 -> 5.8 Compilation
- /usr/bin/ld: ../../dist/lib/libjsdombase_s.a(BlockGrouper.o)(.text+0x98): unresolvable relocation against symbol `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostre
- can a file be deleted from a stack without decrementing the TOP variable
- system() Statuscode
- Using the % operator with preprocessor constants
- C++ Beginner Guides
- windows messages and TracePlus Win32
- windows messages and TracePlus Win32
- How predicates are evaluated
- c with Oracle
- Memory allocation in Structure to Structure
- pointers
- Debug Assertion Failed! File: winocc.cpp
- Constructors in C++
- From COM Server(VC++) Can we call functions in the Activex Control (OCX file).
- Regarding Static
- output to a file (stream performance)
- Output of a program
- unexpected result
- Strange behaviour of long long and unsigned int
- Implementation Problem.
- Pointers to Arrays
- fscanf reading lines
- delete Vs. delete []
- external linkage or internal?
- Strange memory access error after calling dll
- Program to prove logical validity
- question on std::search_n
- compiling and executing a c++ program in QT designer in fedora core 1
- Is this a abstract classe
- default parameter with ...
- function linked but not getting called.
- can a rpogramm which was compiled in Windows XP run in Windows 2000?
- distance between two iterators in map
- exception handling ?
- convert int to char
- reading the number of unknown rows and columns
- string variable
- C user interface
- unexpected result
- When is an unnamed automatic variable destroyed?
- Qt gives "undefined reference" error when compiling
- Passing a three dimensional array
- Need help with a simple program
- why both value_type and reference
- data retrieving through ODBC in C++
- interlocking class definitions?
- pthread and multiple CPU
- Counting number of strings literals in double dimentional char array
- Passing reference to derived class object to base class constructor
- typedef or derive?
- Need help regarding building a small C++ to C compiler.
- Compare every bit of char versus unsigned char
- Volatiles in assignment expressions
- Convert an integer to a string? Plan B?
- C++ in Russian (Cyrillic) Alphabet?
- Regarding this problem
- smtp coding problem
- Regarding this problem
- Having problems with loop
- What's this in C?
- Program crashes on calling virtual function
- hi favour to u get advantage from this
- Visitor design pattern - breaking dependence on the target hierarchy
- hi favour to u get advantage from this
- strange link problem
- pointer to member type deduction
- Turbo C help
- Inherited members from templated class
- Create program to count words in a file
- Malloc, return address order.
- Why the commented code make things wrong?
- Sorting output
- Optimizing function pointer usage
- Felix 1.1.2 Release Candidate 4
- Member function pointer
- std::string and const char[] conversions
- How does this (program) array work?
- help!
- C/Hardware Verification
- How can exit(n) give a function the return value?
- Help - just a few lines of code needed
- Visual C++ Exceptions
- inline functions not inlined
- Microsoft C/C++ 7.0 compatibility
- Making Fatal Hidden Assumptions
- Coming back to C++...
- Serial Port commmunications
- Best way to exploit "export"
- Declaration of variables
- fifo
- external linkage of variable (IBM XL C++ on AIX)
- C compiler needed
- Small, non-validating XML parser/walker/reader?
- Small, non-validating XML parser/walker/reader?
- compilation error help required from gurus of c++
- Empty base member optimisation with multiple inheritance
- niiiiiiiiiiiice!
- Can negating a non-negative signed integer value ever overflow?
- stream to file a matrix
- Pure Virtual Function Hiding
- HELP: Visual C++ 6.0 to Visual Studio.NET 2003 woes......
- protected member and templates
- exported functions, what to do with it.
- Software copy protection
- Optional elements in a structure declaration? ( URGENT)
- How big number of INT can we use?
- reading file into string array
- what does a c program really represent
- list<WS<W> >
- Question about STL containers in multithreaded environment
- fread hangs before reaching eof()
- Private Virtual inheritance problem.
- printf argument
- "Copying" iostreams
- What does this mean ?
- mixing signed and unsigned
- How to call default constructor from other constructor of the same class?
- accessing protected mode registers via assembly in C
- what's the difference between *a = *b and a = b
- Best way to do a lookup tree
- 'restrict' in plain English?
- A traversal problem
- Automation Problems
- Get PNG file info using C
- Unknown function
- vector resize from within function
- multiple parameters with vectors
- Multiple successive merges with STL's merge
- what is the difference between getch() & getche()
- what is the difference between getch() & getche()
- slow complex<double>'s
- abstract class question
- question about operator overload and abstract class
- problem with std::map
- Can't understand template (Short Code I promise!)
- How can I remove an item in STL iterator?
- Zero always == 0000 0000
- build question: Finding available c++ compilers
- Malloc & sbrk
- Template Arguments Deduction Context?
- What do covariant return types buy us?
- Our Toolbar Featuring The Oscars Now Has Video! Check It Out If You Love Movies & Oscar Gossip!
- initialization and assignment.
- How c++ pronounce?
- Regarding for This Ptr.
- Source Code
- Help:the problem of Ring of Josephus
- vector of vectors erase question
- Segmentation fault in copy algorithm
- simulate getch()
- Iterator Issue
- understanding constructors and initializers
- string conversion problem
- g++ and tail recursion
- overwrite contents of existing file / manipulation ..
- This is ridiculous!
- functions that return pointer to function
- Proper way to wait for menu command and return?
- Programmer wannabee question about sscanf
- Data type Qualifers
- Overloading operator<< to output private class-data
- STL string find_first_of ( infinite loop )
- Gems -- #include <gems.hpp>
- Making a string into a c++ line of code
- two-dimensional array
- How can I const cast a reference
- str.find(str1) usage ?
- compiler madness??
- (float / double)
- pointer to class member function
- Basic class question
- when should multiple definitions of global variables trigger link time errors?
- How to make a struct contain a ptr to itself?
- when should multiple definitions of global variables trigger link time errors?
- MBR,C++ and system booting
- To Cut,Copy and Paste items to a linked list
- To Cut,Copy and Paste items to a linked list
- To Cut,Copy and Paste items to a linked list
- To Cut,Copy and Paste items to a linked list
- Preprocessor
- To cut,copy and aste items to a linked list
- who can type this programme
- I am a new user.......
- * in front of function name?
- hi
- Is this a abstract classe
- modulo for floats?
- Calling C function in C++ without deafult arguments
- Source Code Spell Checker
- Source Code Spell Checker
- A structures inner pointer
- How slow the 64 bit integer calculation?
- Large Scale C++ Software Design, by John Lakos
- delete this
- typedef /struct and the scope problems
- Initializing a class member variable which is a reference to an array
- Formulas from the c89 draft
- findbugs for C/C++?
- Passing args to main( )
- copy constructor Q
- Missing return value of a function
- C and C++
- Socket Help
- BST permutations
- How to avoid runtime switch/case code based on data type?
- multibyte length
- Just a dodgy compiler?
- Converting Packed Decimal in C++
- threaded system design advice?
- Trying to return a reference...
- Problem with sql parameters...
- A constant integral
- Operator overloading & inheritance question
- C++ Exception handling
- C++ Exception handling
- Call function at runtime
- "using"
- what the meaning of this?
- Global variables in modules---preserving values between module calls
- Whats more efficient and why?
- How to get next character?
- Benefits of using const functions
- segmentation fault using boost::program_options on Linux
- GCC time.h problem.
- Why do so many new style ansi streams and files etc, still use old style strings?
- code to flow
- Dealing with a large integer
- incompatibility of PGI compiler ?
- compilation issue
- Problem while linking .a file
- having "throw" write to a file before actually throwing
- C Lessons Project
- C Lessons Project
- Interview question - any suggestions
- tough interview question
- tough interview question
- getopt and getopt_long for Windows?
- Problem with File
- what is atoi( )
- Why this program is crashing ???
- order in if(expression)
- Efficient techniques to handle large binary files
- System time in miliseconds
- 2 questions about struct copy
- MST
- Bounded Array class
- Private constructor,Static constructor
- template for class method problem
- Wrap up Text
- Wrap up Text
- __declspec(dllexport) equivalent under linux / osx with g++ ?
- Makefile running a list of files
- scanf(), ungetc() behaviour.
- How to initialize array in class
- Serializing Enums
- Compile error listing
- Wrap up Text
- friend and unnamed namespace
- Anyone can give some instructions on the function of this asm?
- Types as tags and RTTI for flow control
- address of a struct or a pointer to a struct?
- vector of vectors push_back question
- std:map inheritance with MFC problem
- Online C test
- Why this doesn't violate One definition rule and how the linker resolves this
- Avoid using malloc?
- 25 Year Recruiter Gives You Inside Job Tips
- Write a program to play a "Dots and Boxes" game variation
- Write a program to play a "Dots and Boxes" game variation
- NULL pointer dereferencing?
- A simple 'C' problem
- Advice, references to implementation of a map or similar data structs
- Number of standard functions
- accessing multiple properties through a single set/get
- Problem with String Append or Cout
- Compile time constants in classes
- The 3n + 1 problem (Acm's problem set,help)
- sdp lib for C++
- Problem with enum and struct
- C++ FAQ
- determining function name in runtime
- main-return ???
- VC 6.0 Question
- Data Structure in C -.o0 Queue 0o.-
- Replacement for offsetof
- How to initialize a global variable prior to another?
- My BOINC,LINUX,Parallel Computing related blog
- bhaviour of front method on an empty map
- My BOINC,LINUX,Parallel Computing related blog
- Rgarding the diffrences in obj files
- pointer and reference confuse
- Linked list program question..
- Ceil double problem
- Use of explicit
- How to program to an interface
- overloading, function pointers, and templates
- How to change the following string into the floating point value?(urgent)
- single link list , binary search
- warning variable 'will be initialized later'
- pointers
- Help needed Please!
- problem calling method from parent of an object if object relayson template arguments of current template class?
- A question of fork() function
- 25 Year Recruiter Gives You Inside Job Tips!
- How to use a PDB file
- A question about mmap() function
- A simple qustion about C++ syntax
- Friend brings a friend.
- Friend brings a friend.
- Help! SIGBUS (object specifc hardware error) when call function getline
- returning char
- non-pointer type warning when initializing vector with NULLs
- Eclipse, Windows, cygwin and MinGW
- exporting inline functions
- call by reference
- matrix stuff (solving b = A*x) --> using numerical recipes
- Data Structure in C
- dynamic_cast segmentation fault
- Thought you could do this?
- delete this
- Common Iterator for the same container
- Common Iterator for different containers
- Object as Argument?
- boost::filesystem::create_directory()
- Duplicate global constants
- Wide Characters
- underscore names
- C All-In-One Desk Reference For Dummies.pdf
- exclusive error handling for ofstream closing
- Constructor in C++
- Help Me
- displaying 24 bit colours using C
- Get Value of Digit
- design patterns in c
- Image reading program
- Making all members of pimpl classes public
- Help with passing integer poniter to function
- Bug with vectors
- U++ 602 released
- Software copy protection
- convert argv[] to u_int32_t and checking it.
- read SD-Card serial
- how to do an infinite loop
- design patterns
- Interfaces in c++
- how to include color palette for a 8-bit BMP
- c++ program to covert an array into 8-bit BMP file
- get the file names?
- name lookup in derived class
- using scanf() in while loop
- Square root of a number.
- Reading from a file into an array of structures
- 25 Year Recruiter Gives You Inside Job Tips!
- Memory Corruption Problem
- Menu looping
- problematic recursive include with String and Exception
- inline functions and argument lists
- strcmp vs. string::compare(const string &)
- OT The Art
- Image Compression using DCT algorithm C++ source code
- "corrupted double-linked list error
- Private member accessors methods for objects
- how to format it for scientific number output?
- Launch of User Interface Community
- Launch of User Interface Community
- Is there a good online reference for C++ libraries?
- a question of style
- Memory allocation related question
- Prime Factors
- Polymorphic Function Pointers
- database with c++ dynamic serving
- Printing Patterns using for loops
- Portable Code that supports Unicode
- stdint.h and portability
- IO stream
- Working with bytes in C++
- strlen, strcmp and strcpy functions
- owernship of ying and yang objects
- please explain clearly what actually happens after i click on COMPILE
- string input
- How do you get a list of files currently in a directory??
- Hellp with type promotion
- webcam
- Typedef or not
- Help with C books
- Quickest way to find the rank of a <map>
- About black box testing in c/c++
- Help in c pointers
- thread argument problem
- thread argument problem
- about the array
- How to serialize the Tree - strcture data in C
- A small question
- Basic Confuse : about pointer & reference in class
- character array correction
- returning array to function
- Adding large numbers in C
- System error on pointer program
- Help Badly needed- replacing rules & strings
- Basic Managed C++ questions
- Can someone recommend a good licence management software
- Help Badly needed- FSA and ASCII stuff
- Does bit operation always work more efficiently than math operation?
- float
- malloc behavior on failure
- static inline functions
- variable declaration
- Access Violation rtrim function
- Overloading a function with const input parameter?
- strcat - strange behavior
- Is this a valid delete
- OT The Art
- 8 bit bit field?
- Fixed/Block Floating Point Arithmetic Support...
- Fixed/Block-Floating Point Support ...
- Which web browser you are using
- need help getting the results of the system function into a variable
- Rusty Surprises!
- private static member access by a friend class
- Real Time Type Information
- Double to string conversion
- variables & method naming conflicts
- Writing Data to Bit Field
- is it possible to bind 2 default parameters using function object(STL)?
- Driver Files in C++
- __int64 convert to int
- Is there a better way to simulate randomly choosing from weighted set
- About rand() in C
- Dos 16-bit proteced mode programming
- How to find at Runtime, if Created class object is instance of given class declaration
- How can I keep reference to an input parameter of a function?
- static variable memory storage
- how to pass arguments with two dimensional array???(Help!)
- GCC in linux 2.6.8
- what is the difference in this pointers decalarition
- abstract class problem
- Sorting Array of Structures
- Question on const int as demension of an array
- Virtual Methods Question
- what's reason to have a segmentation error?
- To find the area under the curve using C
- RFC: IP-DOS (tm) IdeaFarm (tm) Piggyback Distributed Operating System
- pre/post increment/decrement return type?
- Sorting Array of Structures
- On-Line IT Support (High-Paying with Benefits)
- On-Line IT Support (High-Paying with Benefits)
- Getting value of char in a string
- Inputting data with strings, and declaring variables for them
- Position File Pointer to newline immediately on some condition
- Help with Tokenizer Please
- templates
- private functions inside a function
- STL, std::transform and member functions
- food for thoughts
- #defines and multiline expressions
- Dirent.h
- pointer woes
- templates
- OOP can be simply summed up as 'passing messages to objects'
- Beginner Question - Data Types
- meaning of these symbol?
- [SDL] Problem
- Random Number Generators....
- Why won't set<string> iterator work?
- computing average value
- If you're interested in the OSCAR'S, check out our toolbar which has piles of 1 click links to everything OSCAR!
- C code for maximum sqaure that can fit in butterfly curves
- Putting implmentation in .h files?
- code to kill App
- Doubt about std::ifstream's getline() and seekg()
- Need suggestions for C links.
- why use "protected" instead of "private"?
- overlay class over memory
- template compile error
- Private access in an implementation still allows public access in an abstract interface