View Full Version : answers
- "C" Callbacks: Static method vs. extern "C"
- Intel c/c++ on linux system.
- Intel c/c++ on linux system.
- Reading a matrix file and storing it in array
- str().c_str() question
- Vector using shared memory
- This is My HW,PLS Help me!
- is this true? sort algo on STL Lists
- C++ vectors ...encountered a problem and need to close
- parsing c++ declarations
- casting a struct to a class
- portable sha1 hmac sources
- How to generate warnings when How generate a warning when int is converted to bool or vice versa?
- biblioteka do gif/png
- Detecting typedef at preprocessing time
- loop variable
- wrong about fstream file(s.c_str(),std::ios_base::in | std::ios_base::app);
- Invoking member functions of objects
- What is the defined behavior of past bound iterator
- unsigned char and char print
- cons int manipulation
- int main(void) Why void?
- static variable:declare and define
- open file in c / create if file doesn't exist
- Operator override when using STL
- Anyone know how to get the files in one directory?
- New Joiners : Pls. Read this
- filling static vars from different file
- Token-pasting trouble
- throwing exception from constructor .
- overload of operator=
- wrong about fstream file(s.c_str(),std::ios_base::in | std::ios_base::app);
- GUI Issues
- Accessing array by a pointer
- C++ Builder 6 - Printing
- how to compose the two expression to one?
- [lib] pgp/gpg
- Can abstract base class have V-table?, Will the pointer to virtual destructor be entered into the virtual table?
- Floating Point Accuracy
- Comparing the values of two vectors
- Inheriting only interface
- float f=0.7; f < 0.7 f<0.7f
- factory method
- What is the use of keyword __cdel in function signature.
- Hi, has anyone tried to use C to realize some data structure like cells in Matlab?
- C++ Function Signature string Parser
- Is it usful to write a class like "Do_When_Return" so I can make it easy to delete some objects when I exit from a code block?
- using pointers to map to data
- fstream and number conversions
- Reading a Text file
- Model View Controller?
- Destroying STL Strings
- template accessors for class?
- I can't seem to use pow()
- C++ Questions
- GUI in C++
- Using parenthesis with defined (#if defined(...))
- find length of unsigned char *input?
- abstract classes and virtual deconstructors assistance
- QuantLib or more general C++
- non-aggregate type error assistance needed
- Managing variable argument call
- Question on static attributes in inherited classes
- Copy Constructor segmentation fault
- n x n matrix transposition recursive algorithm.
- Access problem
- getchar() behaviour on gcc 4.1
- strange struct behaviour
- Debugger not reaching the first line of code
- problem with mysql c API and c
- how to define/initialise static template class data members of classtype
- Construtors
- Collecting different execution statistics of C++ programs
- how to make gcc know #inlcude<framework/filename.h> ?
- code dl
- Memory-resident message queue
- passing class pointer to other objects
- hash_set in STL
- c++ callback functor question
- int representation incorrect
- About partially specify template member function
- is anyone here who made text vesion tetris?
- improve c++ by exercises/projects
- I'm pretty sure I have some out of control Undefined Behavior
- Linear search
- Is this legal (templates)
- boost::weak_ptr and shared_ptr pointers from "this"
- 2nd Underhanded C Contest Begins
- Inputting text from a text file into a 2 -D array
- include .h files in .h
- Separating scope of try block?
- Fast and safe method for XOR folding
- Fastest way to read from a file into a vector<unsigned char>
- using placement new to re-initialize part of an object
- using placement new to re-initialize part of an object
- using placement new to re-initialize part of an object
- Macro to iteratively generate variable names
- a dumb question
- signals
- Nesting if statements in switch structures
- more help please
- Can a class have a non-static const array as a data member?
- source-code viewer
- anderson's equivalence method
- 3rd party tool
- abt void pointer
- can the array size be ZERO
- __FILE__ and __LINE__ within macros
- Non Recursive In-Order Traversal without using stack
- What's the tilde in a &= ~b ?
- error C2296: '.*' : illegal, left operand has type 'cStepCurveEvaluator *const '
- Why is the behavior different
- Address
- why is wcschr so slow???
- C++ standards
- why is wcschr is so slow???
- SHFileOperation Help
- variation with repetitions in C++
- How to implement an async-function?
- C linkage problem with ACE on windows
- is any body having cp implementaion
- is any body having cp implementaion
- Regarding McCabe's Cyclomatic Complexity
- Is it possible to write a struct to binary file?
- popen cannot allocate memory
- insert an elem into a link list
- Undeclared identifier
- help
- ifsteam
- Hash Table Implementation in C++
- Double Clock Experiment
- memcpy() question in C++
- Trying to understand character arrays.
- Design pattern question
- Greta and basic_string<char, ignore_case_traits>
- Java Interview questions and answers
- Refactoring-Feature Article in Better Software Magazine
- difference between pass by address and pass by reference!!
- Help wiht VC 7 - Error in OnFinish: Failed to return new Code Element. Possibly synta
- getch() and getche()
- getch() and getche()
- Code fails under vc8 - clearing a structure
- Has any C library to parse JAVA serialized object string?
- how to check the reference of C++on Linux
- Today I buy a new disk of computer but it run not fast
- templates question
- variable declaration in for()
- executing code in a String!
- plottting graphs in C++
- Ncurses
- STL inherit from container<T>::iterator
- windows.h
- Problem finding key in STL map with gcc 4.1.0
- C++ Builder 6 - Opening a File
- system and user time
- Multiple dispatch
- can operator << accept two parameters?
- how to resolve this problem
- design pattern .. factory i suspect
- How to change the value of PS1 from within a c program
- In-place function
- In-place function
- What does 'restrict' mean?
- Difference between including a header file in .h and .cpp
- factory design question..
- reading a file
- help with recursion please
- Q: stl, boost smart pointer to prevent memory leaking
- Command Line Argument with & and ^
- String Parser using BOOST.Spirit
- Constness of the container of shared_ptr and the constness of it elements
- using native C code in a C# application
- ring iterator adaptor for vector interator
- copy elements from a pq to a vector
- operator new() and new[]
- design pattern .. factory i suspect
- CGI C++ problem
- tournament tree implementation
- Obscure Syntax
- Name conflict with windows.h define
- size of a function
- scanning UTF-8 characters
- Life of temporaries
- Double Bubble Sort Algorithm Fails to Sort AT ALL
- how to make bool class with custom output?
- How to amend this code?
- Where I can find itoa()?
- problem named walk
- swap pointers
- when to use private inheritance?
- convert int to store in binary file in 1byte
- convert int to store in binary file in 1byte
- convert int to store in binary file in 1byte
- GUI compatibility in C++
- struct reference?
- Question on class private member
- 'New' operator
- need to call mfc application from C program
- Manipulating Bitmaps
- C++ Visual Studios 2003 GUI Help - error C2664: 'TextOutA'
- modem code
- file problem
- C++ FileIO problem.
- how to copy a file into an array?
- reading file and copying it into array...
- Getting C++ data into an excel graph
- How to store words?
- How to avoid the use of copy constructor when using STL container function (push_back, etc.)
- How to write game such like this?
- How to write the variables of a structure from an array?
- extern needed or not?
- private within this context ... more
- N -ROOM LIGHTS PROBLEM
- Flow chart for C code
- *p++ = *q++ undefined? why?
- When do we want to declare static object
- twice(twice(x))
- Can I avoid rewriting this function in a subclass?
- data mining
- n00b input help
- compilation wrning in altix350:(Typecasting from int to void *)
- Deque Item Deletion Problem
- Behaviour of custom allocator for vector
- I got one compliation error.
- get one character from input at a time?
- Template specialization problems
- Dummies-books-related java/programming/SQL
- Runtime polymorphism
- public inheritance
- How to invoke the operator of the private base class?
- unions with structures of common initial sequence
- Chess
- Parsing two formatted text files
- try/finally implementation in c++
- reference vs. pointer
- When to use null and when to use static_cast<some_pointer_type>(0)?
- scope and linkage
- A question on variable defination
- private inheritance
- STL Queue Data Lifetime
- Initialise elsewhere -- as simple as possible...
- Significance of trigraph in C preprocessor
- What will happen if main called in side main function?
- RReeaallyy long function -- inlining?
- HI, a question on #include
- best way to index numerical text data ?
- best way to index numerical text data ?
- Text mode fseek/ftell
- Globally declared arrays
- need help with COM in C
- I need a container to hold grid positions and the objects on the grid?
- Data structures or STL
- Help us celebrate the Embedded Tools Web Shop's second birthday
- Help us celebrate the Embedded Tools Web Shop's second birthday
- Copying fread behaviour on char array
- coding standard
- STL containers and managing memory allocation in embedded systems
- passing a pointer to a struct to a function that uses ncurses
- How to Identify functions in a .C File??
- [CFP] WLPE'06 - Workshop on (logic-based) Programming Environments
- How to fix this error?
- open source xml parser in C++
- Some doubts on variable-length array
- How to get over this error?
- new & null
- address of return value
- How to Define High-precision Date type
- Something About Date Type
- value_type of back_inserter?
- Illegal Immigration, the Non-Issue of the Week??????????????
- Illegal Immigration, the Non-Issue of the Week??????????????
- iostream and boolean
- More on pointers to pointers.
- Deleting multiple elements from STL hash_multiset
- How to use gdb to show the type of a variable?
- why cann't I access protected var from a inherited class?
- How to use gdb to show the type of a variable?
- Complicating things?
- Binary or Ascii Text?
- Convert Java <long> to C <?>
- gui design
- signal trapping in C++
- Any Good Freebie Text Editors With Auto Indent Capability?
- How to format the screen output?
- Inheritance Puzzler
- streambuf filter
- fread fwrite struct
- how to schedule the compiler?
- Silly STL question...
- operator overloading
- forcing compiler to consider inline function inline.
- Create c++ library for use in C
- best practice for global variables?
- switch case with vector problem
- sizeof(non_static_member_variable) in a static function
- new & null
- Problem: using this pointer
- Er Sorry About That
- warning: implicit declaration of function 'printf'
- Sizewell B++
- Rods
- Lowering Of Graphite Rods Into Reactor Core
- Performance measurement of a single method
- size in kbytes?
- What is the replacement in C++ for _aligned_malloc in C?
- Template and typename
- Loki-like functors with boost::function?
- to malloc or not to malloc??
- what all a class has by default
- How to convert image formats?
- what's wrong with my code of linked list?
- 100% CPU
- Can 'C' program be run as a background service?
- When to use Boehm-Demers-Weiser Garbage Collector?
- using exceptions as a "deep" return
- how to check the function free()
- using std::string; string("hello") vs std::string("hello") in header file.
- std::istringstream and ignore ..
- Gotta love it
- C++ Linux Programming Job At UC Riverside
- Telephone bill
- Missed catch?
- memory leak?
- Convention for Object Lifetime Requirement
- string addition
- pragma for pointer size on windows?
- How to calculate Heap Memory in HPUX using pst_status
- copy constructor problem
- big decimal integer constant warning
- strtok problem
- strtok problem
- C++ Source Code Documentation for large project
- Order of constructor execution?
- about static variable of a class
- MT Exception Handling
- programming, in c,
- programming, in c,
- ofstream and close()
- c99 array size Q
- Scope/use of prototypes Qs
- errno 72
- reading line by line from file
- getting screen aspect
- Disabling "incompatible pointer type" warning.
- casting between pointers
- Misra Rule 18.2. An object shall not be assigned to an overlapping object
- is this a memory leak?
- rain
- accessing Serial ports in C/C++
- How to define an array of struct nested within a struct?
- Remove "smallest" element from a linked list?
- problems on assigning value to a 3D array and print it out,thx:)
- Help on templates
- C++ information resources
- Can a static function defined in a C file be ever referred (called) externally ?
- program to reverse a sentence
- SIMD?
- delete [] faults in destructor..
- Reversing Input
- Segfault, please help!
- C++ HTTP server wanted
- Small exercise with template metaprogramming
- logical const and event programming
- Use of unions
- Comparing structs...
- char vs. unsigned char
- Complement of unsigned char
- Not executing the body of a if statement
- Regular expresions
- File name from file description
- 0 or NULL?
- containership
- web
- web
- const string in static class
- B.Baron Metody numeryczne e Builder 6
- virtual functions
- Pointer Artithmetic Puzzle
- Any support for indefinite length integer
- fopen extensions
- Function name commingle
- Protected member inheritence in templated classes
- I bought a computer yesterday ,but its speech can't quackly
- fnmatch.h help
- Use of System function
- priority_queues or not?
- Opening of .chm files
- returning char arrays from a function
- Need urgent help.
- templates and polymorphism
- std::less and pointers?
- Random number between 1 and 4000?
- a question about libstdc++
- on variadic function in C when porting matlab files to C
- PCI Bus access in C++ (Windows)
- design question
- overloaded operators returning wrong values
- passing argument to user defined type
- Learning Multithreading by example
- passing argument to user defined type
- How to programmatically check the connection speed
- Error: passing `const state' as `this' argument of `void state::dumpState()' discards qualifiers
- Learining C++
- About default copy constructor when using auto_ptr as the member
- why does this work?
- arrays question
- Why it doesn't work?
- A volunteer for any C project with Linux
- "const int" and "const char*" in header (.h) files
- Sorting Multiple Arrays Together in C++
- arrays - where they finish?
- Resolve shared libraries location at runtime ?
- When you need an integral type. . .
- old versions of ecpp & estl
- copy constructor is not called?
- What is the fastest way of copying files
- Linking sibling in a binary tree
- about Compiler
- something like java interface?
- Detecting virtual inheritance
- variadic macros and and empty replacement for __VA_ARGS__
- Will this work using C++?
- virtual casting
- Relationship between Classes
- checking constant conditions on compile time
- Help: Function Overloading Resolution, Which Function?
- need to convert a char to an hexadecmial value
- filling up of a frame with 10bit words c++
- Need help on string manipulation
- How to change char or string to unsigned short
- About Macro
- gSOAP multithreaded?
- new, reinterpret_cast<void*> and delete
- ofstream output
- Problem in char " ® "
- compilation error of Lex.yy.c
- loop in a single linked list
- using find to find a member of a struct in vector
- bitset rotational shift?
- minor confusion - std::stringstream and operator (>>/<<)
- basic stream confuse.(charset level).
- indefinite number of arguments
- General question
- pointers to pointers question
- format specifier for long long ints....
- Reading local time into time_t
- Why no segmentation fault
- looking for Ms Visual c++ 1.5
- Problem with recursion
- Weird return statement
- links
- C++ file problems
- About my School Project!
- Any c++ pros out there?
- Context Inversion Of Control & c++
- Iterators within templates
- type of an expression
- A decade of trolling: a brief and hopefully evocative "then and now" perspective.
- Array name as pointers
- infinite loops
- Calcluating Grades
- initialize static members
- autoconf and shared library
- Kernel of Interrup System Alg.
- c++ code for shortest path in the graph
- erase vs. erase
- Simulating polymorphism without the overhead of virtual methods?
- debugging... dereferencing, & etc.
- Using Vectors
- cin.clear() does not work
- Parent first or child first? (a class structure question)
- Simple question about using += (sorry about posting in the wrong group)
- [New to C] Creating a simple animation using C.
- Question on C++ parent and child functions
- differentiating between files and directories
- sizeof argument
- cannot compile the following example code (person-pointer)
- printing an address of member function
- Question about using & and structs (sorry, poor subject title!)
- Such bug ;/
- Such bug ;/
- Atomic operations and Thread safe code
- Atomic operations and Thread safe code
- lvalue (s) and rvalue (s)
- dynamic allocation of an array of pointers
- Proper way to do casts while avoiding aliasing issues
- stdint types and conversion...
- passing the address of a pointer to a func that doesnt recieve a pointer-to-a-pointer
- Pointers to functions
- Simple string matching exercise
- Really simple string functions
- yanghui triangle
- regarding typedef
- exec with forked childs w/ stdin stout
- address of pointer from a pointer
- language problem in C
- Paging/Segmentation: How really are they implemented?
- k&r line count
- Overuse of Templates
- Windows API
- segmentation fault
- generate histogram based on word length
- File management
- how to remove duplicate entries in a vector of Pair?
- Please help
- is it possible to write such a macro?
- Creating a Windows Account APIs
- c
- C++ Scandal?!
- please help understand this compilation error
- Calling convention --- what is it?
- NI_MEASURESTUDIO
- 2007 daylight saving time issues with struct tm member tm_isdst
- Reading Running Process
- Preprocessor parsing rules
- pong game,while loop statement solution
- From the freestore
- queue stl template
- home work
- Destructor being called twice ?
- select () is hanging in AIX
- unsigned char** argv
- is "typedef int int;" illegal????
- C++ or C#
- language features!
- function pointers as arguments
- having trouble with Discrete Cosine Transform program
- Question about Loki::Singleton
- run a C program independently without requiring to install an external library
- Large 2D Array Problem
- event queue / checking if pointers are still valid
- far void()
- How to get Notifications when a word doc is modified and closed
- Problems about Mixed programming with C++ and Fortran
- Why does the rvalue change with assignment?
- I want a friend who come from the usa or other country
- while and goto
- Resources for generic programming/template information
- Initializing static structs
- Terminating program with "exit( )"
- C++ Question
- stl map
- Commandline argh [sic] processing
- silly little question on variable scope
- Assembly Process for FE (Finite Element) code in C
- XML Parsing
- Why heap is called so?
- New program
- New program
- Memory allocation problem