View Full Version : answers
- SIGSEGV due to fscanf
- Hola, queres jugar?
- fork, execv & state variables
- creating pattern using c
- ++ devils
- variable number of parameters passed to sscanf() at runtime
- c++ functions to enumerate days for a month?
- About operator overload?
- C spot run: initializing variables
- class matrix
- malloc fails if the function is called twice, how?
- A Map Question
- writing bits to file
- What's the meaning of this comma?
- why does this not work?
- math.h trig functions questions (and some forgotten high school math)
- The value of variables
- char [0-9] to int [0-9]
- Curses for win32 with VT100/ANSI support
- gcc cant support this ??
- Available C++ Libraries FAQ
- System::Windows::Forms and Win32
- Memory question on std:string and use of c_str()
- copying mutexes, cv and pthread_ts
- char [0-9] to int [0-9]
- Custom placement for vector
- correct way to use .h and #includes?
- How to check if a weak_ptr is empty?
- ReadFile Problem
- how to initialize a static vector
- using c++ with web development languages
- Flexible array member and alignement
- confusin with virtual inheritance
- Raw socket three way handshake
- A problem with Nested Maps
- Use of diff pointers
- access object in array of pointers to dynamic array of class complex
- Does integer over flow cause undefined behaviour ?
- Importing Existing Code into Eclipse 3.1 >> In Place <<
- Thread Safe bug-hunt...
- how much memory does vector<bool> take?
- Is "hello, world" a constant
- Address of static method
- varargs question: va_list in structure
- STL: assistance with error - class undefine type
- Help in OOP
- lower number
- Lower number/bound
- Weird build problem
- Using temporary std::stream object
- single x double precision on 32bit arch
- STL: User Defined Containers
- release memory occupied by Char array..
- I love yours site
- Need help in design
- HANOI PROBLEM PLEASE HELP
- How to pass STL containers (say a vector) ?
- What is the correct way to derive a class in regard to overloaded operators
- speed of execution
- How to add mySQL, save data to file connectivity to already finished application (novice kind question)
- renameTo
- date class.
- nftw question?
- Multithread Interlocking -- What is wrong with this soluition?
- static vs. dynamic polymporhism
- what is wrong with this code: declaring a char array using variable
- Random Number Generation
- Is it possible to let the c++ compiler run tasks parallely?
- Alternative for int ** to const int ** cast?
- Printing files every step
- What should a virtual destructor contain?
- Forward Reference for Typedef'd Type?
- Looking for tree-like structure
- float.h and math.h
- STL: map vs vector
- problems with pointers and structs
- Porting from C to C++
- own stream, stream_buf?
- Internal Project Stafiing
- Internal Project Stafiing
- Internal Project Staffing
- String Matching Problem (NUXI problem) ?
- Realloc array of pointers to objects?
- Small Correction to K&R Exercise 1-22 Solution on CLC-Wiki
- Counting number of zeros in an array
- checking double for Inf or NaN - how?
- Consts in Member Initialization list, before or after inherited ctor?
- pointer
- Variable number of arguments in a C++ function
- If you were given a mall would you take?
- If you were given a mall would you take it?
- what is polymorphism?
- why does _tzset return void?
- This case bypasses initialization of a local variable
- C++ Professionals invited
- C++ Professionals invited
- C++ Professionals invited
- Making virtual objects out of non-virtual objects
- How this code works n
- (OT) Dll and Lib (Do Correct Me)
- Simple C++ problem - C++ 101
- template error.
- Is there any article about "port Java code to C++ code"?
- Game Trees?
- malloc and new functions
- Linked List
- Error using '__attribute__'
- Initializer element Error
- how to find out the address of a variable after I compile the C file
- Homepages.
- Do parens cause problems when returning references?
- Constructor question (again)
- endianness and 64-bit machines
- va_list
- problem with setw(X) and library <iomanip.h>
- Static methods and members
- Language change question
- can't use extern with map?
- Enumerations
- ptr
- Problem with fstreams
- const volatile???
- Object Splicing
- copy conctructor?
- read data from a file algorithm?
- name decoration - why does this example code compile?
- From c++ string to c
- marshalling in C++
- type casting
- Game Development with DirectX
- stringstream and dll
- Read Txt File
- SSE2 Intrinsic usage with Visual Studio
- Text File I/O
- Binary to ASCII
- more auto_ptr confusion
- File handling question
- combind the C and C++ program
- Operators, how they are inherited, how they might be optimized
- CALL to label without another reference crashes
- release memory occupied by Char array..
- program output
- release memory occupied by Char array..
- how to reintialize a vector
- please review my code (splitting a char[])
- limite the use of CPU by threads.
- Converting Float to unsigned short and Back
- Borland Error Message
- Safe to return a local object?
- diff between sprintf() and fprintf()
- stuck with file organisation and global a global array of strings
- Cyclic Creation Dependency ?
- using select to read STDIN?
- Multiple UDP Binds to the same ip:port address?
- converting inline functions to C functions
- http - help
- Debugging at runtime
- windows regisrty
- Listing the multi-threading unsafe parts of C
- A trick with if-else
- va_list: how to produce warnings at compile time if calledincorrectly?
- Extern functions inside library
- Registry and Processes
- What is wrong with this. (files)
- what is the difference between abstract class and pure abstract class?
- how to use c++ to get the system process in windows?
- Dev C++ question
- void struct
- How do you do this?
- int fact( int n )
- Size of extern int x;
- Reg. For copy constructor.
- help: C++ error
- Structure initialisation
- Destructing global variables in correct order
- Join Date: May 2006, Posts: 10 Reputation: HAOBBOY is an unknown quantity at this point (<10) Stopping Sorting Feature of Maps
- Debugger query
- function template
- function template
- function template
- help with a garbage value
- help with types needed
- computing t = pow(-11.5, .333)
- Aspect oriented programming.
- Differences between using printf and cout
- type specifiers
- Silly returning-an-object question
- Static Map initialized with Static Function but error
- computed #include directives questiron
- please please help me
- Mixed public/private derivation?
- Exception in a derived class constructor
- hash_set help
- Need compiling help on c++builder 5
- C++ for smart phones
- child class as argument?
- Macro with argument
- Help needed in a simple UDP socket program
- static const in struct
- reading information in a file
- [fstream]how to set buffer
- passing by value pointer of a struct
- iostream buffer and write to file
- sprintf: anomalous behavior
- Static member use before its initialization
- Converting large floating point to string
- switch why?
- problem with initiallisation
- Introduce urself
- WSAAsyncGetHostByName without window
- Declaring structs vs. classes
- c++ project
- 2/4 bytes boundary problem
- Undefined Reference Error for Map
- Random Seeding
- Please Can Anny One Tell What This Declaration Says ?
- Reading unser input & deciding course of action.
- overloading, template, exception handling and c
- C++ and Games
- Problem with datagram socket
- problem including header files in TC
- problem including perl header files
- Good binary PRNG
- Gsoap webservice call Crash on Windows 2000 SP4
- string parametres becoming empty
- variable - modifiable lvalue
- any floating point library with more exponent bits?
- Where is the printf body defined?
- Windows equivalent of fstatfs() or fstatvfs()?
- Portable integer type which can hold int, wchar_t, and void *
- How to force client to catch exception thrown from failed constructor
- operator[] in matrix class
- strtok problem
- vsprintf(char *str, const char *format, va_list ap, ...)?
- Template class and inheritance
- Initializing Static Map Member
- any 1 helpe me
- What is std:: ?
- side effects
- New document
- What is wrong with reference into std::map?
- What are Threads?
- Question c faq
- variable sized structures.
- static method/C++ compiler question
- arrays
- Exception Terminate
- ADD WINGS TO YOUR RESUME !!
- Thread safe way to initialize static object
- Problem with small piece of C code
- Overloaded vendor library routine: is this C++? Or very clever C?
- Overloaded vendor library routine: is this C++? Or very clever C?
- short or int
- invalid conversion from void* to int**
- A little confused with this (const ptrs)
- DLL Encryption
- A stylistic question.
- Does this make sense?
- Help with Vectors and Dynamic Objects
- LOADEXE or LOADO: For those of you that have been following my posts
- need help finding error in binary tree code
- invalid conversion from void* to int**
- Declare a member variable of a class in the constructor
- Pragma
- Emotional programming
- Stupid C Question: fscanf to read a whole line from file
- NovelSpace Media, LLC announces the launch of their new online bookstore and web portal devoted to developers and programmers.
- NovelSpace Media, LLC announces the launch of their new online bookstore and web portal devoted to developers and programmers.
- 1)Executing by reading from executable 2)Compileing in a program
- Checking if a path isDir()
- pointer q
- using less<string>...
- doubly linked list
- Address in int
- partial ordering of template functions & parameter specification
- differance between binary file and ascii file
- Going Loopy and Losin My Thread... I think C++
- deleting a boost::filesystem::path object
- Role of copy constructor
- Can u help me??
- Container Classes
- learning name
- Text file Program help please
- shared_ptr to incomplete type, undefined behavior?
- C++, is it Dead?
- Iterators...
- puttextxy( int x, int y, char far *const );
- CTreeCtrl move + button to the right
- How to get all the files in a directory?
- Class Member Data and Member Function Parameters - Should Parameters Be Data Members?
- Extracting output from system(3) call
- function prototypes and declarations
- Please help me in this
- Writting A Psudo Filesystem
- Comparing Matrix for common entry
- Writting Pluggins
- C++ Error message
- attempting template metaprog to print arbitrary container
- Multiple Software Engineer Positions !
- invalid conversion from `const void*' to `void*'
- Rationale for Static Member Definition in ISO C++
- PLEASE HELP - How do I include OpenSSL in my code?
- processing html information in c++
- "virtual" variables?
- C++ for windows while camping outdoors.
- POS Capture Code
- Dynamic tracing of C code execution
- TekSystems WARNING
- Problem with C++ operator for Vector
- Quick way to zero array
- using extern to declare an instance of a class.
- Help converting this Write to operator<< overload
- strange exception
- Static Map Initialization
- creating output string
- Rounding Float in C and Remove those Zeros
- JPEG and C language..
- call constructor from base class
- 3n+1 problem revised
- Is it possible to use type traits as a template parameter?
- JPEG file handling using C language.
- delayed eof()?
- xml parser
- request for a program
- request for a program
- Neural net library?
- win32app & .net
- delayed eof()?
- continue with switch
- How to convert from a struct tm to a time_t ?
- ordinal number programming challenge
- Help regarding Josepheus problem.
- friends of a class...
- Avoiding malloc
- Compiler barfing on struct with map including structure as second
- c++ ide
- Shared Objects on AIX
- Scope resolution operator question
- How to simulate a key press?
- Derived class constructor
- Compiler error for "wrong" sized type
- cnuf
- Visual Studio 2005 compatiblity with VC6
- Large-Scale C++ Software Design
- q re abstracting set operations (I'm baffled)
- HELP : visualC++ with STL roguewave => errorC2079(first' uses undefined class...
- C code analisys tool
- Conversion from scalar to class type
- Where does one initialize a static template member?
- Noob question about parsing a BSTR
- storing delimited string in an array
- Debugger question again
- strtok causes Segmentation fault
- Need help sending email programmatically
- 64 bit Endianness issue
- Find the position of maximum value.
- Converting a float to a unsigned int?
- what is the problem with the getline / file?
- Trouble with heap after call of DLL method
- const int in header: linker error
- Program that prints itself
- i need any help for a project!
- unpredictable crash
- unicode mess in c++
- Const variables
- For loops help
- C++ buggy code - new/delete/ifstream/valgrind. Please help I'm a newbie!!
- For loops help
- avoid structure padding
- vector pointers
- Why does "function hiding" exists in C++
- const class reference return from function, what does const do?
- simplifying c code with function pointers
- mirror image of tree
- 8 numbers
- Array and Pointer Tutorial
- Testing for EOF in file with binary data
- Array and Pointer Tutorial
- Testing for EOF in file with binary data
- Lowercase std::string compare?
- returning address of stack variable
- VC++: line break problem in edit box
- How to increase stack space/heap space
- getchar() problem
- Help on callback function
- vectors
- can local variables be changed in a const [member] function?
- Inititialing list/vector inside a constructor
- why should throwing an exception by reference work
- ctor throws an exception case
- Sizes of integers
- Inserting Assembally into C source
- E-Mail parse library?
- Using STL in a library interface
- template-nested STL iterator question
- Source Code to Plauger's "Standard C Library"
- CD burning with a C/C++ programm
- accessing static variables from outside their function
- Function Pointer Question
- Numbers in string declaration
- Listing the most dangerous parts of C
- Sources for checked STL implementations?
- undefined reference
- Placement new and destructor
- libclc - from Boost thread
- Concept of Statements and Expressions
- Template partial specialization question
- Steady State ?
- definition of u_int32
- A little quiz on macros
- Question regarding int* const in function call.
- Function Pointer Question
- Will this code leaks memory
- Strange va_list problem
- Is this right??Is redefine??
- C++ References
- how to red doc file in c++
- question about exceptions
- operator overloand and .*
- map with pair of key
- Need help understanding program control/flow.
- Retrieving the src value of the img tag
- question
- database
- problem with function "_tfindfirst()"
- How can I make a Two-Dimension array of classes by operator overloading?
- how to overload subscript of 2D-array
- meaning of outport(LPT1,00)
- Problem: Thread in C
- Namespace clash for istream object :-(
- Bitwise AND etc
- Converting int of unknown length to a string
- Ansi standard with #defines and \ character
- OT - Name Mangling software
- Parsing a simple string
- dynamic mem alloc q
- preprocessor: checking for clashing #define
- a struct parser
- segementation fault
- call function with function pointer array as argument
- lgamma function: ANSI C or not?
- raeding disk block in linux
- Implementing this constructor...
- Finding errors in this code...
- about UDP packet capture error
- pls answer
- (const char *cp) and (char *p) are consistent type, (const char **cpp) and (char **pp) are not consistent
- GCC Preprocessor
- Why do we have to define a namespace with string header?
- yet another virtual functions question...
- declaring variables inside while loop illegal?
- Inheriting template class
- New to STL
- Segmentation Fault
- Writing to Vector Buffer
- Software Engineers - Multiple Positions
- Getting MSVC to compile proper unix stuff, like hash_map, fts.h, dirent.h
- Combination Testing to a predefined value
- Is this allowed in c++?
- using base class instance in a derived class
- MS S Compile problems MT and clr
- new and delete from different threads
- boost::filesystem::create_directoy()
- Linker error for instantiating static data members of template class
- PR_BODY
- auto_ptr question
- correct approach to fix a bug
- Debugger and DDD
- where is VTABLE stored ?
- Implementing this constructor...
- Finding errors in this code...
- Copying Files from Windows to Linux Server throug VC++ Program
- create a database and dynamic allocation
- Fun with strings and vectors
- Compilation Error?
- static const function not allowed?
- visual C++ error C2371 redefinition basic types
- std::vector and object copying
- Systemc?
- pointers
- windows programming prob
- does STL set have FindKth() functionality?
- What does this mean?
- Password program problem...
- can't get the right time
- what is .h file's function?
- Globally unique enums or macro values?
- problem with advisory file locks
- swapping bytes in an integer
- Utility Warrior announces Image to PDF Dynamic Link Library (DLL)
- std::cin.ignore(std::numeric_limits<std::streamsiz e>::max(), '\n');
- map value as function pointer
- code for implementing buddy allocator
- Improve an algorithme involving 6 loops
- Explanation of the code
- RAX?
- Why does this fail?
- 2nd Attempt : How can I count the actual number of operations performed in a program
- Determine if a character string is palindromic
- C++: memory leak on clear()?
- Best wa to retrieve keys of a map
- printf("%x",...) in C <=> cout+ ? in C++
- What should function returning a reference return on failure?
- CObList
- Constructor question, how does the call to the parent constructor work?
- Create Window (not rectangle)
- casting question
- Need GUI Input box and button to execute :)
- Info needed regarding iostreams
- pleac and Cookbook
- Looking for some way to get correct value with long precision
- How to pass memory range to functions?
- Iteration vs. Recursion
- Substitute for floatint point
- Changing file permission in windows
- how to deal with duplicate class names
- KeyB typeahead buffer in BIOS
- who read what c++ books and best learning practices?
- Adseense and googlepages
- Reg C++ implementation for in memory database
- Notification Messages from objects
- Help with Pipe Implementation in NT
- Pipe Implementation in NT
- Question on C++ inheritance.
- Requset a console based c++ library.
- how to convert a char array to int array n back
- Internet Crimes are on the Rise and Deadlier than Ever
- Occurence problem: different ideas
- unsigned variables
- bus error on vector resize
- Help with ATL COM code for a kind of collection !
- perhaps a stack problem? Long calculations - strange error?
- Consume C# DLL in C++
- Looking for a C++ compiler
- compiler help needed (nu-B)
- cannot access protected members : why
- urgent
- urgent
- urgent help needed
- Is it because of diffrence between bcc32 and gcc?
- Practical Algorithm Book, Exercises and Answers
- Use of macros in C++?
- A Little help with Bits...
- Should We Use Macros in C++ Programming ?
- parallel port programming using C
- a good C++ project ideas
- can anybody help me do such programme?
- what is wrong with the 'strcpy'
- 'placement' new, and allocation in the constructor.
- discards qualifiers