View Full Version : answers
- Help me out to correct logical error in this code
- Pointer conversion
- How to get the class name inside the class's member function?
- How to Convert Decimal value Which isn't Time Stamp into DateTime Value
- Error C1075- Please help
- multiple forks in one client connection (ftpclient)
- Why does boost::add_const exclude T&?
- code critique please.
- struct hostent C
- irregular (non-consecutive) iteration (for loop)
- c++ type system
- bitset variable
- Re: performance measure for optimized c++ code
- What's the correct syntax for a friend with template parameters?
- Sending UDP packets.
- Re: intel auto-parallization
- How to interpret this input problem?
- Google's C++ unit testing framework
- Re: Cast operation or string conversion?
- Re: Cast operation or string conversion?
- String to Array
- Advanced Design Concepts in J2EE
- inline assembly
- creating plot in C
- terminate called after throwing an instance of 'std::bad_alloc' what(): St9bad_all
- Static arrays of objects in C++ in other classes.
- arrays
- Seg-fault in recursion
- Linking MATLAB 2008 with VISUAL C++ 2008
- const MyClass& operator= ... ...
- Segfault in Recursion
- Operator ~ with complex arguments
- using static arrays
- Multi-character constants
- bitwise operation on a code more than 64 bits
- question on malloc(0)
- Promotion and assignment
- What's the boost pool allocator good for?
- for loop
- Have anyone try intel C++ compiler?
- problem with cross-platform io su txt file
- How to looping with Timer?
- Infomatics Resources
- converting from decimal to datetime format
- bitset in C
- Server-Client application problem
- Storing the content of doc\pdf into MS SQL2005 DB
- BCB6 DLL errors
- offset macro for bit fields
- C++ Abstract Factory Implementation
- C++ Abstract Factory Implementation
- system call as variabe
- system call as variabe
- Does destructor of base template class need to be virtual?
- system call as variabe
- system call as variabe
- system call as variabe
- Automatic Versus Dynamic
- C++ Abstract Factory Implementation
- C++ Abstract Factory Implementation
- Function pointer question P119 K&R
- C++ Abstract Factory Implementation
- Government corruption world wide is going down with your help
- Government corruption world wide is going down with your help
- C++ Abstract Factory Implementation
- Offset of mixin
- Using wchar_t instead of char
- Making a class threadsafe / Locking a const accessor
- makefile
- Expected value different from actual output
- opendir
- (C++/C#)How can I put a Tooltip or Bubble Help on a menu Item?
- Unary functor on algorithm using copy constructor
- insert_iterator and (x < y)
- dllimport in C header file Windows vs. Unix
- Re: how do I convert back a boost shared_ptr into a reference?
- Re: Predictably formated output with std::cout?
- Exception thrown not caught properly
- check the end of line as character and skip it
- pipe blocked
- Endian check macro
- Purifier Memory leak in the following code(Using vector)
- questions about the STL sort()
- template specialization problem
- procedure flow diagram
- matching multiple template
- How to attach a tab control to a window (Visual C++)
- how to using in c graphics
- Why do you like C more than other programming languages?
- File Reading
- C/C++ beautifiers
- flow/procedure call
- Calculating the size of an array
- File Reading
- Re: Predictably formated output with std::cout?
- Sound programming
- g++ -O2 OK, -O3 Segmentation fault
- Assigned Return Statement is Different Than Return Statement
- Re: Predictably formated output with std::cout?
- private member functions as friends
- can I split a C string
- Asking for recommendations on good generic asynchronous I/O library
- Interactive TCP Server urgent
- Coordinate space manipulation
- drop in replacement for stringstream that compiles to nothing
- Openssl RSA public encryption problem
- Re: GCC 3.4.3 and GCC 4.1.2
- struct tm pointer inside a structure
- GCC 3.4.3 and GCC 4.1.2
- How to use library (.so) inside daemon
- GDB Implementation
- va_list passthrough
- UNICODE
- C++ Warning
- How to convert character
- Print numbers
- algorithm copy from vector to set - newbie question
- all arrangement of a word
- address of static array element as address constant
- Cloning
- Pointer help
- extern "c" usage?!!
- Re: What am I doing wrong?
- help regarding syntax
- help! confusing "const"?
- Forum for C/C++ development targetted to Linux?
- How do I capitalize first letter of all words in a string?
- Own Exception class derived from runtime_error
- Unable to deallocate memory for a tree structure.
- map iterator
- tr1, random numbers
- Redirecting output from console programs
- Interpreter for C/C++?
- Re: What am I doing wrong?
- Why Deitel's book should be bad?
- any solution to convert given char*(number) to required unsigned char*(hex of number)
- Templating composed functions
- target exec, gdb, gfortran
- struct with const string
- Re: Installing Visual Studio 2008, VC++ 9
- Re: What am I doing wrong?
- Re: What am I doing wrong?
- Pointers and Delete Operator
- Re: What am I doing wrong?
- How to make IntelliSense work with WTL 8 classes
- frand
- Problem 77: Greedy Gift Givers
- Use Inline in class?
- Use Function Pointer Instead Friend?
- Comparing an element with a set
- is a pointer memset to zero necessarily eqal to NULL?
- Sandbox server
- Understanding char **argv
- Sandbox server
- Why people use "new" & "delete" too much?!!
- peek inside container's elements from UnaryPredicate
- is_ascii() or is_binary() for files?
- date and time arithmatic
- Re: reformat to tool/editor-compliant C style?
- copy constructor and return value optimization
- Writing an own string class
- information hiding vs. inlining
- Tramslator may send there resume for freelance work
- Re: reformat to tool/editor-compliant C style?
- Re: reformat to tool/editor-compliant C style?
- C++ Crawlers
- Strange Variable assignment - need translation
- A question about swap
- Variable swapping question
- Re: reformat to tool/editor-compliant C style?
- Base class returning children's data
- beginner question about storing binary data in buffers, seeing binarydata in a variable, etc
- Query regarding iterators and vector
- Re: reformat to tool/editor-compliant C style?
- Ragged array whose rows are of varying size
- Re: reformat to tool/editor-compliant C style?
- looking for R232 programmer
- std::vector: reserve required?
- How to differentiate a virtual device arrival/removal than a (real) physical device?
- Permutations of a given string
- Reversing a singly linked list
- c and C ++ viewers
- about array initialization
- Local array scope
- Strong Type generic Composite class
- Two functions running at once.
- Template accepting partial type names?
- Constant member of a class
- ptr_fun & tolower confusion
- char's and int's
- The Cathedral and the Bazaar
- Releade mode Query in VC++ application
- "Bad Address" error using recvfrom in cygwin
- C C++
- Do I pass an int by value or reference in constructor?
- Working through many typedefs
- Re: FAQ 20-12
- announce: New Google C++ Testing Framework
- How to call a function by a string of name & How to get the name of aclass?
- Launching a process (exe) using the same process id as the launcher
- Re: what 64 mean in fopen64?
- Custom Scanf Routine
- pointer
- cross compilation
- String parsing program
- 2-d dynamic arrays - what is the recommended method ?
- Question about struct in shared memory (C on linux)
- Surprising struct initialization
- termios interface question
- Can anyone tell me why the output of the following code is as given?
- get a window not a console
- WinMain()
- How to handle variable number of arguments?
- Bug in list of matrics represended as arays.....
- Problem with adding a data into a vector
- Class templates
- Simple pass-by-reference question
- Comp. Error : request for member 'dst_group' in something not a structure or union
- int8_t/uint8_t
- How do I convert string variable to char*??
- how can i write the iterator about my struct
- read and write columns
- Need advice on a project I may do
- virtual vs. function pointer
- About for_each usage
- Min and max of a POD
- Bug with compiler or am I just doing something illegal
- Problem with static downcast of base type to derived type
- perl library for C++
- forward declaration & virtual member function return derived class
- template; how to dont instantiate a function if type is a pointer..?
- for loop, two different types
- Newer StringBuilder? How to set String to null safely?
- vector vs map iterator
- trouble with std::find_if()
- problem listing files in a directory
- Learning C++ questions
- gcc error: instantiated from...
- handling overflow, underflow etc
- Post-Sophia mailing, updated core + library issues lists available
- Dev C++ compile problem
- initializing a local variable using a function
- skb_recv_datagram() Blocks
- Strcpy_s and strcpy
- compilation warning # pragma once
- implementation of recursion using pointers in c
- Is there an algorithm for integer multiply and divide at the same time?
- what's the meaning of 64 in fopen64
- when a c++ output stream operation fails
- using a linked list to store a word and determine whether its a palindrome
- fwrite don't work with me
- dereferencing function pointer types
- Help with audio format conversion
- setting pointers in array to NULL
- About Information Hiding Design Rules
- scanf
- gcc 4 can not resolve member var derived from base class in atemplate class
- Use const_cast to modify member variable?
- About career
- vector of vector's
- What does (void)myVar;
- Class overoaded operators
- how to initialize an stl iterator in vc2005
- Conversion error
- Re: Parallel multithreading for I/O operation in linux ?
- Available C++ Libraries FAQ
- How to replace this switch with preprocessor code.... whats theadvantage??
- Available C++ Libraries FAQ
- Write Unicode
- about end() usage
- wistringstream wierd problem (but istringstream works)
- Name of user's language, in English
- Multiple index maps
- [Commercial] : Hands on Technical Training on Linux Device Driver
- [Commercial] : Training on Advance C and Linux System Progamming fromProfessionals
- [Commercial] : Hands on Technical Training on Linux Device Driver
- [Commercial] : Training on Advance C and Linux System Progamming fromProfessionals
- Dereferencing pointer to incomplete type
- Changing the DLL reading filepath from it's .lib file.
- parsing error
- parsing a file error
- class instantiation question
- Re: Promoting unsigned long int to long int
- a[i] = a[j]... Dangerous?
- C++ Applications in Industrial Simulation
- is the syntax for fixed-length integers the same for C and C++?
- More Freelance Projects in C
- Freelancing Projects up for grabs.
- Some issue with pointers
- template specialization for pointer-to-type
- Initializing array of objects during declaration
- OOP
- How can I pass value from whole array to sequential array?
- Re: Promoting unsigned long int to long int
- Tool to delete unneeded methods/enums, etc.
- what is this syntax about?
- problem passing pointer array
- Re: Text Editor that Does Tables?
- Re: Promoting unsigned long int to long int
- Implicit conversion from int to double
- How to used JAVA code in C++.
- How to determine the GNU version from a compiled library?
- How to get template parameter, when i match a template?
- Re: Promoting unsigned long int to long int
- How do you update a Makefile?
- Runtime stack allocation
- Access a shared path through a service.
- Re: OFF TOPIC:Censorship By Google Groups Of My Post About Gordon Sauck Being A Police Agent
- API for encoding/decoding to base64
- ambiguous call to overloaded template function
- Using getnameinfo()
- Re: strcmp, please help me understand this
- file position
- Re: strcmp, please help me understand this
- sscanf_s cannot convert ...from 'WCHAR[260] to 'const char *' error.
- How to create static array of template class object?
- "ISO C++ forbids declaration of uchar with no type"
- Fast fmodf(..., 1.0f)
- Windows application
- VMCAI 2009: Call for Papers
- Memory layout of class
- YAPL - Yet Another Programming Language
- Basic question C++ exception
- program won't work
- Re: c++ class design: where to put debug purpose utility class?
- Re: Agenouillez vous, le miracle est en marche
- search for files
- Designing lower level classes.
- some doubts in glib code
- Writing a macro for checking close enough floating points.
- Writing a macro for checking close enough floating points.
- are stdout and stderr different
- this calls and checks strtol() correctly?
- basic question on c++ linking
- Write in C!
- Storing input into a character array
- Visual Studio 2008 .exe?
- How to debug macro?
- C, C++ and Perl Programming workshops by NYLXS
- C, C++ and Perl Programming Workshops from NYLXS
- Inheriting from std::ostream to override formatting.
- Reading a line from a file.
- Re: Courroie de distribution
- pointer question
- Question about interfaces
- how to make current member-function const: a problem
- inline + va_list
- Curly Braces
- Global variables.
- adding colums to text
- size of an array at runtime?
- Re: C newbie problem
- Lies of Billy Gates of Microcrap
- Lies of Billy Gates of Microcrap
- Re: C newbie problem
- C++ parsing problem
- Re: C newbie problem
- Re: C newbie problem
- generate numbers combinations
- Truncating integer
- Great new projects in C for freelancers
- Handling external ressource (aka How can I find a process' executablefile)
- Simple sscanf parsing problem
- syntax meaning
- (OT) Battery question
- exception handling (std::ios_base::failure)
- hai
- Write Function Pointer Array
- Re: using realloc for a dynamically growing array
- Re: directories
- Re: using realloc for a dynamically growing array
- Is this legal C?
- Re: Graphical representation of class relationships
- Platform independent types
- Re: Text Editor that Does Tables?
- Re: using realloc for a dynamically growing array
- Re: using realloc for a dynamically growing array
- Re: can u help me writing a program????
- Re: can u help me writing a program????
- Re: using realloc for a dynamically growing array
- Re: directories
- Re: using realloc for a dynamically growing array
- Re: can u help me writing a program????
- Find projects in C(For Freelancers)
- DMA in C
- Re: Initialising a map
- Re: OnClick Events of button does not come when I put them insidegroupbox.
- Re: Initialising a map
- Re: strcmp, please help me understand this
- Re: c++ class design: where to put debug purpose utility class?
- Re: strcmp, please help me understand this
- Re: Initialising a map
- Re: Is this reference declaration legal?
- pointer to a member of a member
- what does libm.a contain?
- Can size_t be used as a substitute to unsigned long int ?
- It's the continue for the latest article
- types, variable names and fields
- how to release memory?
- Re: newbee help : parser in C
- Speeding up a program
- Representing a Sequence of Shorts in Bits
- single if vs if else
- A tired question?
- Newbie Question about multiple system calls within loops
- Design... the right way.
- Macro to cause build failure if parameter not defined?
- can some one please tell me the cause of the error ?
- Building a struct within a struct correctly
- compile BCC 4.52 ancient program
- Path to the current running executable
- Why strdup
- properly using unions.
- Searching a small file database
- [Socket+thread] Send message to all client
- How to learn C ?
- Writing a structure into a file
- share a variable across two libraries
- The Cephes Mathematical Library
- Add items to an array
- Array has incomplete element type. GCC bug?
- does not contain debug information. Press OK to Continue
- Re: The type of argv in K&R2
- Re: The type of argv in K&R2
- Re: The type of argv in K&R2
- Re: The type of argv in K&R2
- Array of struct & segmentation fault :-(
- Array of struct & segmentation fault :-(
- C Text/Binary Files
- zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz z
- Embarresingly simple struct question
- A question about fputs()
- what is this declaration?
- Address Book
- Christmas trees
- Bit Padding and other questions
- Pedants
- Problem with UNIX/Linux Shared Libraries and Global variables ...
- Why no generic function pointers?
- is -pedantic bad flag?
- Help avoid goto
- decrementing arrays
- Re: newbee help : parser in C
- Getting the file name from a FILE *
- Clever hints & tips.
- Re: Interesting problem dynamically forming func names ??
- independent string functions
- In 3 moves, where can the knight go?
- Re: newbee help : parser in C
- Re: newbee help : parser in C
- the secrets of exam success
- Interesting problem dynamically forming func names ??
- Re: newbee help : parser in C
- Re: newbee help : parser in C
- Re: newbee help : parser in C
- library design
- print binary
- Re: newbee help : parser in C
- writev() on a SOCK_STREAM socket
- Re: newbee help : parser in C
- looking for a checksum routine in C
- PC-Lint: undeclared funtion
- Pointer to functions
- Do memory allocations need to be freeed every time?
- Using a link list over an array.
- Bitwise operators
- Problems using getaddrinfo and friends using c99 standard
- Convert two char into one int
- extract all hotmail email addresses in a file and store in separatefile
- Reading .ini files in ANSI C
- Memory allocation for array
- check if a double is odd or not
- C/C++ flow chart prepartaion and quality testing
- concatenate a constant to constant string using macros
- New secret was found
- error: implicit declaration of function `func_name'
- seg fault
- GNU strerror_r()
- Mathew Hendry's macro for binary integer literals
- fgets behaviour with strncmp
- how to organize my main file ?
- need review on "computer systems: a programmer's perspective" bybryant and o'hallaron
- Reentrant code
- Prep Courses for International Certifications by QAI,USA
- vmware job vacancy!
- fopen
- How to transfer an address value without using pointers
- More on alignment
- Accessing array elements within a structure
- Unable to resolve the symbols in shared library
- Understanding a function declaration.
- How can I print a red "Hello world"
- Complex Style
- Addition for 'short' unsigned integer types
- Alignment on stack arrays
- how to put 8 "int" => 10100010 into one character of type "char"
- how to put 8 "int" => 10100010 into one character of type "char"
- How come C allow structure members to be addressed like an array ?
- CPU temperature
- problem about const member in a struct
- Ultimate Prime Sieve -- Sieve Of Zakiya (SoZ)
- propagation of exceptions over module/language boundaries
- About += and ++
- mount() function problem !
- Suggest USB to RS232 that works perfectly
- Wanted: C AST generator
- strtod valiation - beat it up
- Strange compiler warnings
- Simple Compilation question
- Struct declaration with no tag and no init-declarator-list
- ultra-fast loop unrolling with g++ -O3
- Querry on pointers
- Cool as Ice
- const and compiler warning
- about getch()
- Wanted - Software Developer - Bellevue, WA
- Re: Parallel multithreading for I/O operation in linux ?
- Re: Parallel multithreading for I/O operation in linux ?
- Re: Parallel multithreading for I/O operation in linux ?
- Question
- destroying objects
- average true range
- Question on gcc -O3 optimization (bug or feature)
- getting -0.0 output ?
- How to get the pid of a process that send a signal to my program
- the de-facto way to "parse" input
- p=(char *)malloc((sizeof(float))["\000\006\010\013\015\100"])
- array problem
- main - argv lowercase strings
- flowchart
- about operation of unsigned type
- Proficient at C
- How to log execution of batch file in a txt file
- Dynamic no. of arguments
- Need a good RNG and a LCG, both with a max period >= 31 bits
- Stupid or clever hack?
- Structure initialization
- What are the standard network functions provided in standard C?
- Header file with function implementation problem
- (void) pointer arithmetic
- range for int
- Writing to text segment
- C/DataDraw smokes C++/STL on EDA-like benchmarks
- String function problem
- L_tmpnam macro
- Is this code in gcc 4.3.1 valid C or is Sun compiler wrong ??
- How to left pad a string with spaces?
- One for the language lawyers
- doubt on char *
- C_INCLUDE_PATH and gcc -I option