View Full Version : answers
- copy constructors and pointers
- Dijkstra's algorithm segfaults
- Another stupid MSVC6 linking problem
- sum of consecutive positive integers
- compiling service ?
- Problems accessing methods of derived class
- MSVC++ 6.0 Linking problem (possible OT)
- pointer arithmetic
- General method for dynamically allocating memory for a string
- C++ says that these are ambiguous...
- switch from raw pointer to vector container
- Dynamic buffer library
- quick question?
- Polling for a new file in a directory
- Accessing Baseclass virtual function from derived
- opencv and C using KDevelop environment
- how to import classes in one class
- how to code this problem by using array
- Pitfall of proxy instead of temporary?
- price of casting a char into int to be used as an array index
- Redirection issue
- can I use STL on visual C++ type?
- algorithms and c++
- operating with binary
- Conversion of char to a string
- private constructor
- pls give me c++ interview questions
- MD5 Hashing
- How to write the transform equivalent in STL?
- Dynamic array of structures within a structure
- Can I declare a static array in a structure
- recursion in combinations
- Casting base * to derived *
- give me explanation for this statement
- what is Deep Copy, shallow copy and bitwises copy.?
- Regarding "#pragma once" and "Lvalue error"
- Variable Argument Functions
- Median of values in a std::map
- strncpy not that easy to use
- a strange one
- error C2258:
- different answer for same code in linux ,Eclipse IDE
- Need help
- Overloaded DESTRUCTOR ?
- how can i subclass a dlg item
- how to send ctrl-Z in C language - modem interfacing
- Runtime error when using pointers and Files
- how to deal with arrays with unknown length?
- Symbol search
- Architecture independant byte operations
- How to take the size of a pointer to array.
- vending machine
- Learning about Nodes:
- array of array of complex things
- Am I being Stupid?!
- combination of type conversion and string manipulation
- help in solving this function object.
- Copy constructors
- Hi a strange code ....
- inline functions
- Size of malloc'd?
- c code reusability
- Homework Help
- Catching exceptions across shared object boundaries
- Proper way to turn off debug macros at compile time.
- how to write a c program to find the roots of the equation using bisection method
- load and time
- is the C library a wrapper for windows API?
- object multi reference
- I am a C++ beginner
- What happens when I write struct xx_type {...}
- sorting arrays
- Maximum memory allocation
- How to write a C++ program to do the statistics of each word in an English text?
- stl::map lookup speed
- How can I change the color of button on mouse move over it
- std::for_each
- Mixing allocators and unitialized_fill?
- Question
- Method vs member function
- struct definition...
- File processing in C.
- connect db2 in my c program on AIX
- Connect to db2 in my c program on AIX
- strange output
- Dynamic Structures
- boost regex --- sregex_iterator -- Regular expression too big
- What is the ascii value of EOF in C
- Problem in pointer size!!
- why defined implicit
- testing read/write speed
- #include <boost/shared_ptr.hpp> or #include "boost/shared_ptr.hpp"?
- operator overloading
- child list. .
- multilingual application in C++
- Platform to create games using C++?
- Using printf/scanf inside printf
- Div() function
- Problem in returning a vector from a function
- c program to check that whether computer on which u r working is little endian or big
- VC++ Dll loading inJava
- Invisible TextOut. Why? How?
- Exception Handling
- help debug program..
- question about fwrite function.....
- why do we throw a reference to the object
- HELP in a logical issue
- Use macro parameter in string; Find type definition
- const does not apply to pointers?
- streams and floaters
- Why is for(int i=0; i < 100; ++i) poor?
- Import VC6 project to gcc
- Site for Microsoft Interview
- reguarding scientific notation
- stl::sort with a vector
- Aplication to add comments to my functions
- Trying to open a file that realy exists
- Custom output stream
- Play Sound Files over Medem on Linux
- number of children exist?
- closest equivalent of fdopen()?
- Need help with homework questions
- Network Drive Access
- C IDE Recommendations
- 64bit porting
- bubble sort
- serialize a structure
- Problems with my .exe symbol
- Call C++ function from C
- Slicing instances in STL containers
- c++ technical probelsm (a beginner)
- ostream
- why some operator ca't be overloaded
- MFC issue(VC++)
- where we should use reference and where pointer
- string manipulation
- does the output depends on the compiler
- Hi all,
- Strange behavior of fmod()
- overloading operator []
- int* ptr=10;.......issue.
- int* ptr=10;.......issue.
- How can I create a Ram Disk within C/C++ program?
- Improve memory for success
- Improve memory for success
- source formatter that sorts .h file according to public/private and protected?
- class composition problem
- HELP
- int main()?
- what's the problem with my iterator?
- max(NaN,0) should be NaN
- Why top level menu appears “Alt+F9:ile ”,
- How do I compile programs in windows (basic question) ?
- Structure Pointers & Encapsulation & 'ting
- Buffer or Realloc?
- Software Development C++ vs C#
- C/C++ usage of typedef struct
- Text to string program
- Adding Components and controls inVC2005
- Visual C++ 1.5 and Win2K
- What(s wrong with that :
- help with changing C light bulb (regulars please read)
- ASP.NET C++ LNK1120 error
- Capture audio/video and send through the internet
- Colour and drawings or graphics in C++
- Re : Object Factory Design Pattern by GoF, need help!
- Help me/....
- XML library
- I want to modify STL to suite my requirement
- Any explanations
- Any explanations
- Object Factory Design Pattern by GoF, need help!!
- How to play a .wav in a non-standard device in C++
- Copying pieces of char array to string
- Dilemma of const-ifying a function parameter
- code to find correlation
- Template as a base class.
- initialize static member variable
- what's this usuage?
- SOLVED: Function overloading and base types
- copy strings into an arbitrary location !
- Could anyone do this program "Urgent" Please
- Reading commands into an array from a text file
- basic doubt on shared libraries
- Variable arguments for a Constructor
- Cygwin g++ Mulitiple Definitions of std::min()
- data stucture using c
- Waring for string is absent.
- Generated function
- Is it Nesting structure within itself
- Constructor with pointer as parameter
- Template Class Member Definitions in Headers?!?
- Creating a shared library and loading it
- Creating a shared library and loading it
- FAQ Submition frequency
- compile error with Boost Function object and templated function (Intel C++ compiler)
- c++ highlighting in VI
- strange question
- floatptr=(float*) intptr;
- floatptr=(float*) intptr;
- casting
- Linear Alegebra in C++
- compiling iso c++ code in Visual Studio environment
- pointer to structure from pointer to member
- Ugly C looking code
- trouble outputing the address location of a character
- assigning string constant to char *
- How to be sure my array only takes pointer
- cast a pointer
- xmlrpc lib for c++
- alignment/zero length arrays
- Cant get codec to work
- Address of member (pointer syntax)
- Can't compile HW
- Completely new to C++, any ideas where to start?
- The callback-to-derived-member function problem
- Which one is efficient !!
- String to integer
- Assertion before definitions
- dll-interface problem
- class similar to a function object?
- Tokenizer does not like ampersand
- Read big characters
- When does msg queue fails??
- program doesn't "seem" to print "hello-out"
- What is faster, const_iterator or iterator?
- int i ='abcd';
- Where could I find function body of "fseek()" and "ftell()"
- created file is deleted still program not reporting error
- STL stack initialization
- Error returning a string
- Making Operating System
- The type of "Point to array"
- Generating random seeds for simulation
- Is overriding a function of a library in accordance with C++ standard?
- shared member between class instances
- Function overloading and base types
- little endian , big endian , big headache
- easy question about free()
- How to count numbers of repetitions in C++
- template function specialization inside template class possible?
- Inheritance implementation just feels wrong, I need reasons though...
- array initialization
- Syntax issue
- A question of pointer initialization
- c
- VLA and goto -- diagnostic required?
- why class A and E's sizes are 4 instead of 1?
- Same function implementation... different parameter types
- I can see the music!
- Bitshifting independant of signedness
- Porting from Windows to Linux - template class derivative compilationproblems
- WAV to BMP
- web application launcher
- evaluating strings
- sorting the value not the key
- declaring functions moving input pointer
- BTree implementation
- Windows networking
- select call is timing out? im stumped
- Totally omit default parameter brackets from template?
- Please suggest me some sites
- Relative Paths (noobie question)
- complexx cicles
- External functions
- Member variable with the same name in base and derived?
- Override a virtual member in a instance?
- SPEC CPU2006 announced
- SPEC CPU2006 announced
- how to check a particular bit of a DWORD value?
- c++
- range iterator
- How to download an URL (cross-platform)
- Hiding rule and pure virtuals
- Question about change of "fp" in function "fseek"and "ftell"
- Howto make an instance of a class defined in a DLL
- Code puzzle?: Implementing arrays without arrays or heap
- line plot sample code
- Insert characters into a text stream.
- Destructor & Constructor Question
- Valid pointer to map element after erase
- c99/c89
- Do inline functions have a valid code segment
- new one to c
- new one to c
- how to copy a part of a binary file
- Multimedia in C++
- Need help with audio library on DOS...
- Stumpted: sorting vectors.
- Why it's a pointer not just a class
- List Iterator = NULL?
- WAV to BMP & Back!
- what's the difference betwwen these two ways to use std::ofstream
- Boost serialization : Stream error exception
- puts() vs printf()
- Stop an SDL_sound stream, or possibly kill the fork?
- Name look up rules
- the difference between "const char* s" and "char* const s"
- i'm a little confused
- Array for speed or...
- Why is it -- or is it -- bad to cast like the following code?
- how to copy strings into a linked list?
- the difference between "const char* s" and "char* const s"
- use of control87 and floating point underflow
- operator= accepting a template?
- Why does this not fail?
- Floating point load-store behaviour.
- weird code.
- Left shift
- Hash function for float.
- is not a member error when trying to init members in constructor
- how to solve these equations
- how to read a file randomly
- MIDL problems
- timers in C++
- Unallocated memorz being freed in <iostream>?
- how to use the origin new operator after override it
- Question about static's
- routine to return number of rows and columns in a matrix
- calculation of cpu idle time
- calculation of cpu idle time
- W.A.P.
- Is it legal?
- Help me to find out what is wrong with this code
- class definition in template class
- How are functions organized in c++
- Design question
- How to implement sizeof operator
- Start point of execution of a program
- sd card interface
- How to catch a user interruption?
- Why can't the source compile?
- declaring a stream then defining it
- assigning a pointer the address of local variable
- delete dynamically allocated memory in a list?
- How to use enum from a different namespace?
- delete dynamically allocated memory in a list?
- Please participate in a non-profit academic research
- fork defunct process, already forked twice
- combinations ( NchooseK)
- memory allocation problems
- streambuf in binary mode
- explain
- explain
- Better program design?
- Looping question
- interfaces,
- Using C functions in a C++ program
- _POSIX_C_SOURCE redefined (Problems with Python.h?)
- linked lists
- toggle keys
- Variable across instances of class.
- Getting a File Name from a FILE *
- Question about using namespace std
- Computers Get The Cancer Too
- copying map
- Portable way to compare strings using case-insensitive
- scanf question using %[^$]
- extracting a report from files
- why empty class has size 1 byte
- Calculation of address
- make_pair with auto_ptr: ... discards qualifiers
- 3D library needed to display wire objects
- Printing Different Language Characters Using Locale
- remove decimal but show cents with sprintf
- Moment, Skew and Kurtosis? How to use this Math function
- why printf works first than cout
- deriving a class from a base class
- Virtual function definition
- Constructing/modifying va_lists
- non-POD type in call to va_start
- what is the reinterpret cast operator ?
- constructor call syntax
- dereferencing problem
- get random number in range [10..50]
- why is size of empty class is 1 byte
- why is size of empty class is 1 byte
- why is size of empty class is 1 byte
- why is size of empty class is 1 byte
- why is size of empty class is 1 byte
- why is size of empty class is 1 byte
- declaration shadows a parameter
- File size difference under different compilers.
- acces base class member from derive class
- The most powerful computer security tools
- The most powerful computer security tools
- pointer to a map
- a little confussion about initialization
- I think this should be a memory leakage. Anyone agree?
- understanding memset
- preprocessor code
- COPY DATA FROM A BUFFER AND SEND TO SERIAL i/o
- containment of standard c++ classes
- replacing blank lines in my .txt data file
- Floating Point and Wide Registers
- How to test for memory leaks?
- const and non-const version of the same fcn.
- basic code from Eckel's c++ book
- Function argument as char []
- Simple problem?
- switch error
- Indirection operator placement
- Problem with scope
- Search TXT file
- bool flag
- Help / NET
- overloading
- questions about point?
- cvs in eclipse
- cvs in eclipse
- PREPROCESSOR: Multiple expansions.
- please help..:(
- copy construct and overloading = operator
- Problem binding a predicate to random_shuffle()
- question on initializing a pointer to an object and releasing the memory.
- Nested FSM implementation
- Is this #define legal?
- Bucket sort...in C
- Objectives on C and C++
- typedef
- tools.o(.data+0x0): multiple definition of `VAR_1'
- K&R exercise 4-1
- which compiler and IDE will you use?
- Forward decleration of enumerations and typedefs in a NameSpace
- virtual functions in virtual base class
- malloc() and limitations
- Pointer arithmetic
- Recursion
- How to make a sub class a friend in another class?
- Convert from std::string to unsigned char*
- Strange problem with size_t
- Unix and Windows
- memory allocation (take 2)
- Help with template
- List iterators default constructible?
- %u printf
- Quick question on operator overloading
- C++ Installer
- Learning C for the third time?
- Printf Problem
- Problems with STL sorting using member functions
- algorith implementation
- end-of-file problem
- Plzz Explain !!
- Memory Leak
- help on craps
- Anyone know what
- How to use lib function "getline"
- How to use lib function "getline"
- STL find algorithm
- How does "delete [] <pointer>" work?
- Linked list/Tree using iterators?
- Suggestion for practical book for threading?
- Vectors deleting memory without loosing data
- Random Numbers
- Creating tree of objects w/o using pointers.
- Direct Pointer assignment
- Good Book on Parsing Strings?
- const callback
- IDE for Linux with good code completion
- Portable EOL?
- Having issues trying to copy an array
- a parent and child class
- How to compare compilers?
- how to implement timer
- secure integer library
- What ever happened to?
- Download, Zip, and extract
- Linked List Confusion I need some expert help Please
- Vector of lists?
- How do I get the mac address/es in C for Windows XP?
- memory allocation wrapper
- Subscript const overloading problem with visualc 7.0??
- modifying a container outside function
- Need help compiling 64-bit C++ Code in VS2005...
- float? double?
- it is this easy $$$$$
- STL vector problems
- typedef question
- Problem linking netcdf - Undefined References...
- This code must have crashed....but works fine
- Someone help!
- Instantiating a native class from a /clr DLL
- Class / Member Class relationship?
- Problem with in-line "typedef" and class cross-reference. Need help.
- help me plz
- Format problem with sprintf
- finding how much time that is consumed?
- Requeting Book suggestions/comments
- Urgent Need
- Copy Constructor Qtn
- What value
- = operator: vector
- Can't work with volatile objects?
- Canonical way to copy an array
- Performance File Parsing
- transform on valarray
- Is it declaration or defination?
- Exceptions across shared libraries (gcc 3.3.3)
- Help with memory leak problem with datatype string in C++
- simple array question
- Is this a valid c++ code
- About Bit Vectors
- Passing String with \x00
- inverting a string
- string.fine(string+string...
- Is there a way to write a memory leak detector supporting new(nothrow)?
- How defined is this?
- how to use the fread() function???
- PROBLEM: why can't auto-covert char [10][10] into char **
- Help understand Templates
- discuss portibility of this ENDIAN testing code
- Is there any corresponding C++ component for java.lang.reflect?
- res protocal for point to swf resource file
- Using Multiple CPP files
- problem about insert integer to link list
- Initialized arrays using new
- Help needed for strings
- Template type deduction issues
- Arguments that are not used
- Getting linking error: not found in vtable (Trying to understand whats wrong the way I did my classes?)
- Function that return a array
- Command line parameters - argc and argv[]
- template re-initialization question
- Strange sizeof behavior
- Plz solve my problem
- Plz solve my problem
- Calling function in classes
- does STL has a binder or an adaptor for type-casting?
- Cannot convert 'const void *' to 'const char *' in C++
- STL list/map - rest size
- ABOUT ADDITIONAL
- syntax of copy constructor
- linking c files with a c++ program
- Calculation of Rotation
- STL vector
- Is it ok to pass 'memory address' to free()
- Opaque pointers
- Help with destruction of an object created with the new operator- destructors
- "define" and "malloc" more
- Question about "define" and "malloc"
- How to be a freelancer?
- Learning to program
- looking for statefull snprintf
- how to put template class into container
- goto last 'active' tab
- template inheritance
- const reference vs. value
- "To many files open error <EMFILE>" bug
- How to allocate 128KB in a buffer using the farcalloc???