View Full Version : answers
- Memory Leaks - Can you help me find them in ths snippet
- Problem With Null Character
- problem while reading numbers
- Array of pointer and pointer of array
- pragma directive
- A function that takes an int but returns a double
- Similarities and differencest between control structures
- Another quest for speed
- Creating large arrays..
- static or not?
- Standard interface for containers?
- How to write to a text file without deleting what's already in there
- exception and global variable
- embedded system
- memory address of *wchar_t
- Earning for reading SMS
- memory address of *char
- Earning for reading SMS
- Uncaught exception
- Adding debug message
- To read a BMP file and Encode in RLE
- New to C++
- display results
- exception from C function?
- new invokes VirtualAlloc
- unintended change in values of a global array
- Doing an excercise having a hard time getting it right. Help!!
- C++ code bloat
- How can I read IP Datagram?
- C++ Book program with classes
- Randomizing
- C++ Parallel array reading from file help
- Help with this program
- Thoughts on file organisation
- getline();
- 2 D Array
- SDL.h
- Usin transform in Map
- Storing data structure
- Text word count c++
- bad_alloc in new
- bad_alloc in new
- minimax algorithm not working properly
- Help with online files
- Removing substring
- memset
- Putting a singleton in a DLL
- finding prime numbers
- Getting numbers out of a string.
- binary of gcc and gfortran shapshot 20080125 for windows
- C++ equivalence of JDBC
- Yet another User Input Question
- std::string append problem
- if and switch
- Putting logical limitations on types
- How to declare structures that reference each other?
- Pleas Help Me
- Problem with static data members
- Exceptions thrown from constructors and functions within them
- c++ template function error, expected constructor, destructor, or type conversion
- Difference between i++ and ++i in for loop
- Difference between the two decleration
- Eclipse tags/cscope support (other solutions welcome)
- FTP functionlity from C++
- storing a huge number in a variable
- return function
- safe version of sprintf
- how to print size of char pointer array?
- Just Fun
- Fun???
- wait (unsigned int delay) and wait (unsigned long delay)
- DAO creates Access95 version?
- sound file
- Bug of performance counter API or perfmon tool
- Method for intracardiac therapy using sensor for heart wall thickness
- Method for intracardiac therapy using sensor for heart wall thickness
- progrm for converting integers to roman numerals using files in clanguage
- basic for loop question
- makefile problems, undefining objects
- STL map memory management
- Is Freeing Memory Used By Dynamic Arrays Required
- stdlib system() cout
- istringstream and redefining the stream inside a for loop
- why bar and foo
- How to flush a socket
- Make shared library to executable
- Need help with use of pointers and passing by reference
- File I/O ascending order question?
- Printing a hex dump of a buffer
- Complex question
- Action based on HTTP GET information
- Clive Feather's Schildt review has moved
- Deciding whether two files are the same
- conditional jump or move depends on uninitialised value(s)
- How to determine which is the parent process ?
- SIGSEGV multiple occurences.
- Convert array to float
- c++ pro
- Class dictionary (2,4) tree
- Handle C++ exception and structured exception together
- problem in system();
- variable number of arguments for printf()?
- number of semicolons
- inconsistencies when compiling
- Global Matrix
- Do I really have to use an array?
- bit bashing
- Void pointer
- windows programing
- get wide character and multibyte character value
- get wide character and multibyte character value
- Unix C Program To Validate HTML Tags
- Is it possible to use #define constant integers in string literals?
- string differences; max irritation
- STLFilt for gcc finally updated
- General question about shared libraries on Solaris
- Removable devices
- Visual C++ using "&" as a string...
- Cannot understand this memory leak.
- Paragraphs in a text file
- fread()
- how to repeat a menu switch?
- deriving and 'overloading' of an attribute
- how to ranking value array ?
- Trying to restart a Windows 2003 server system
- c basics
- ansi c
- GREP
- mini calendar
- Stack unwinding
- fstream, getline() and failbit
- Stack unwinding
- <OT> interpreting dwarf sections form elf binary
- good code to return const reference to function local object?
- A program which would print out it's own source code - possible ornot?
- Implementing Zlib function
- include cleanup
- include cleanup
- Compillation error (pointers? 0_o)
- USB device detection Error calling function to get GUID
- static object/variable
- infinate loop error with char input
- What is wrong with this?
- Problem in choosing data structure
- string compare
- Bounds checker problem
- beginner qn..malloc
- How to send a uint8_t through a socket
- how can i complete this program?
- struct memory layout
- Where is the error in this code?
- Eclipse KDE IDE group?
- error C2360: initialization of 'i' is skipped by 'case' label ?
- How do header files work?
- C++ Sample Programs (Source Code)
- pointer to a member of a struct which is in turn a member of an arrayof structs
- comp.std.c++
- Horrible error stopping me from finishing this little bit of work Need help
- using 32bit glibc/libgcc on a 64bit machine
- Saving a new version of your C++ solution in Visual Studio
- Newbe C code (windows) question can't get system time.
- basis of C/C++ programming
- redefine structures and functions
- come FOR ME
- template parameter can't be a locally-declared type?
- About Graphics , Font Size and Highlighting in C++
- Try-catch works with structured exception
- Try-catch works with structured exception
- function c++ to calculate microseconds
- Xerces-C++ function on C++
- How to convert a string to a PWCHAR
- Performance counter index
- Performance counter index
- linked list question
- unable to store as array of strings
- joint rate control and packet scheduling
- Electronic and Computer Science video courses, No login, No fee
- Electronic and Computer Science video courses, No login, No fee
- Use of Win32 Dll
- jokes and funny pictures
- In (int a[3]; int *p;) is a and p both GENUINE pointers to integers?
- segmentation fault when using strtok
- display directiories and files in C Language
- late night confusion with -> and .
- Need Help with C++ Cashier Program
- Error: A referral was returned from the server
- Error: A referral was returned from the server
- [C#] How to measure the time of your code's execution
- [C#] How to measure the time of your code's execution
- Keyboard handling in C
- lcc-win and windows 98
- return std::string
- Error C2511: Overloaded member function not found
- Using an ostream_iterator over pairs
- round and M_PI in ms vstudio
- varchar concatenation and the opposite
- Sorting a map
- Increasing C++ throughput
- Script
- mktime returns negative value..
- stack as an array
- return by reference
- voip C++ PC to PC code?
- Problem with compiling managed c++ code with added c - library
- Geeting hash_map values back
- C query
- How to truncate filesize in C++
- Const correctness in input/output libraries
- fast power function
- error while using fuction log2f()
- floating point error
- Definition of logical true in C++?
- Passing structure from Managed C++ to C#,
- ftp problem
- do/while loop
- Finding minimum normalized positive number
- About Kerala
- hello sir/maam, please help me with my requirement.
- Is this program standard conform?
- When will exit(0) fail to exit?
- Function Pointers
- Upload-Service for young programmers
- allocating zero bytes
- String literal
- C++0x/1x exception specifications proposal: Compile-time checked
- Recommend some asynchronous I/O tutorial?
- Recommend some asynchronous I/O tutorial?
- Homework Helper and College Companion Websites
- how to initialize 3d array
- x=x++ -- undefined behaviour?
- Help need with icon
- MySQL
- effect of b = a++ + a++
- Bjarne's comments about exception specification
- Bjarne's comments about exception specification
- variable
- When will exit(0) fail to exit?
- an Invitation to be Involved in a Survey on Developing ScientificComputing Software
- Templates, overloading & const
- how run c program in protect mode with out OS
- c calendar
- tv ad
- popen/system()
- GCC Broken on Leopard (OSX)
- Unable to convert integer to character
- Generalizing a function template
- without using STL in linux, how to allocate large memory by "new" in C++?
- C++ Program to Comapre Files
- Class Pooling
- Population @ Industrial
- Stuck with pointers and list when passing by address (reference)
- graphical library
- When operator>> can throw...
- why the code can compile -- about function pointer
- Getting local IP address
- why the code can compile -- about function pointer
- Structured exception
- Structured exception
- binary of gcc and gfortran snapshots 20080118 for windows is available for download
- Storing address of pointer (cross platform)
- Assign Struct array size after execution
- How can I Run( Execute ) another application( Calc.exe ) from anotherapplication in VC++?
- Assume program under constant attack
- Help me about segmentation fault (core dump)
- Hi.....
- pattern matching program problem
- need help with gcc
- function receives value that I didn't pass in
- need help for project
- Formatting floating point values in ostream objects
- Trouble with program terminating due to file.find_last_of command
- GOOD MORNING Friends :
- how to add new records to a data base by code
- error
- Reading ´from textfile using getline
- namespace & typedef problem
- How to create managed Array of Unmanaged pointers?
- Question about Name Hiding concept
- cout every letter seperately.. how?
- When to check the return value of malloc
- a problem with the number of visible items in combo box (Win32)
- Eclipse for c++
- All about DOGS
- Is it possible to check if a pointer has been malloc'd in C?
- Debugger Problem
- ifstream in text mode + seekg problem
- Bit Fields
- Const symbols suppressed
- c buzz
- buzz c++
- large datasets!!
- See your home on your computer through google earth
- See your home on your computer through google earth
- Something like push_back() for valarray<T>
- quick sort
- Implementation of iterator in Composite Pattern
- virtual function question
- function pointer to constructor
- A different syntax for error checking
- RSA encryption decryption function problem
- monitor memory leak
- Memory dump
- static
- dumping current stack
- ld question
- hi may be it is a simple question
- what is methods in c
- Is this use of enum ok?
- Subscribe to .net (through COM) using C++
- Calculator
- Formatting a large number with a locale
- A problem about concatenation in macro
- Three C questions
- Standard integer types vs <stdint.h> types
- printing an int in C
- Brainbench C++ test (OT?)
- C's graphic in VISTA
- conflict between friend function and inherited class function
- very import
- very import
- Calculator problems-
- C++ How to let the computer know that 0100 is 100?
- important
- Good development practices
- Good development practices
- Watcom C
- Watcom C
- error C2660: 'pow' : function does not take 1 parameters
- convert std::string to enum
- Segmentation Fault : Delete[]
- Linking dynamic libs in DDD/GDB
- for_each loop on a map without a functor
- Parsing Doubt
- arguments question
- rotate bmp (Xlib)
- Implementing operator<<
- my code to prove working set larger than virtual bytes
- New way of doing integer types
- my code to prove working set larger than virtual bytes
- Ackermann's function
- CharCollection Class. Memory Allocation...
- Xerces C++ Parser - SAX2 Parser - Online Tutorials & Books
- Read Multidimesional Array from Data Files
- Can i get the class of an object of which i only have the address?
- C++0x two Unicode proposals. A correction one and a different one
- Embedding Python - Freeing Python Objects Not Using Py_DECREF
- Function template specialization
- need help in reading jpeg
- Forking !
- Restricting the access of a Global variable
- NULL pointers
- compile error about void*
- compile error about void*
- C++ Fraction progra using classes-Help
- sort linked listW
- array type has incomplete element type
- 3 dice rolling program
- small bool problem
- how to store data
- How to make (ptr + len) > lim safe?
- how to find the first iterator that not equals to some specifiedvalue?
- a malloc'd struct pointer created inside can be free'd outside a function ???
- C++ - Programming Tic Tac Toe Win32 Console Application
- Need a GURU! I'm stuck....
- no-fail swap for char []'s
- Is Chris Hills a troll?
- extra feature on function syntax, what is it for?
- main() in C90
- OOP question: Is upcasting ok in this situation?
- C++ beginner- How to roll two dice??
- C on linux platform
- Controlling/releasing ownership in shared_ptr
- string vs. ostringstream
- getline - sort of
- really stupid problem with "this" pointer
- Trouble with maps ( i.e., map <char*, map<char*, char*> > )
- Preprocessing directive in the middle of macro arguments
- Findind parameters from a equation
- File handling in c++
- Getting all running Process names in windows
- system analysisit, learn about oracle language
- What are polymorphic classes
- Relevant comic
- Remote debugging via serial
- Lost in encoding stuff
- Thinking of your next holiday
- Regarding Thread deadlock
- Win32 C programmer here - what to learn next?
- initializer Vs assignment list in constructor
- Calling C functions from C++
- Connecting Embedded SQL and Turbo C++
- template argument question
- C Macro questions
- Fstream problem...
- Directshow
- Initialize a std::set with keys from a std::map
- Declaring global variables
- Attribute Setting Methods
- Attribute Setting Methods
- Compiler optimizations
- Trouble making formula for pythagorean theorem
- storage class static of functions
- typedef and static
- segmentation fault in recursion
- return from a function
- integer to char*
- Question about copy constructor
- maps and constructors
- Why pA->foo() works in this code?
- parse C source flow to extract program tree
- free(...) fails in a *struct inside a *struct, please help...
- Eclipse CDT, cygwin and linking problems
- friend :
- Using templates
- What is the difference between free and delete?
- 9899:1990 standard
- where does _snprintf goes in tc 3.0
- monitor page fault
- monitor page fault
- MS-Excel
- re-interpret cast
- printing to a laser in C++
- simple question - typedef
- gSOAP server problem (memory leak)
- conflict matrix
- about dwAllocationGranularity of SYSTEM_INFO
- about dwAllocationGranularity of SYSTEM_INFO
- Use gets Safely
- system idle process
- system idle process
- find_if and mem_fun not getting expected results
- how to use gets and puts function in c++
- Urgent C Questions
- Program Running Time
- opening a file, searching a string, getting data
- Bypass the overload of the address-of operator
- Beginner post-increment question
- complile time error.
- how to get binary representation of c objects ?
- C++ how to make the time look nice? like 60min -> 1hr
- c++ program that can calculate big (8-digit) factorials
- what's the error ??
- Hello, basic question regarding checkboxes
- switch case level
- fflush and stdin
- string reading with sscanf
- jokes and funny pictures
- jokes and funny pictures
- error and warning
- passing arrays into a structure
- vectors and user-defined objects
- print 19 on screen
- linked list
- next ISO C++ standard
- my dear friends
- Getline Compile Error C2665
- Passing Reference to Base through Constructor
- Select weeknumber in a MonthCalender.
- Template instantiation issue on Dev C++ compiler.
- Enable simultaneous looping
- Thinking of your next holiday
- Image cursor position
- Function to find the total number of pages in a odp document
- Browsing C library in Linux
- about vc++2005
- final equivalent
- available memory from task manager
- Unique & Complex Sorting Program
- Passing commands in CMD
- xlib and mouse button
- Clearing a field with sendmessage
- Extern redefinition
- re-Write printf()
- Empty array as argument to a function in C
- template declaration
- hpp
- templates being exported
- warning LNK4098: how to remove it?
- union size
- Wanting a simple way to generate a random number
- using task manager to monitor memory
- using task manager to monitor memory
- Preprocessor directive
- Exception Handling constructor
- new and VirtualAlloc
- new and VirtualAlloc
- extern ** environ...
- unions having virtual functions
- vector sort for high scores
- IP address and C++
- Who sends me a copy of c function manual
- Printing Dots in specific Locations in the Console ?
- question
- make_transform_iterator and shared_ptr
- Extend streams in C++
- pure operator=
- Active Directory API
- binary of gcc and gfortran of snapshot 2008-0111 for windows is available for download
- fun and relax
- why it's not ar error....
- Pointers to specific memory addresses
- Calculating Large Factorials
- Dynamic #define
- what did the bible say about Mohammad?
- what did the bible say about Mohammad?
- numeric constants
- How to force a call for an inspector
- Problem About Returning String From A Function
- Ignore this message.
- how to write a stateful allocator with gcc and stl
- about c++
- How can you quickly find the number of elements stored in a a) staticarray b) dynamic array ?
- char format specifier and segmentation fault
- assignment from hell !!
- Help me about socket port
- Creating An Expression tree
- How to call a template function in a template class?
- Final call for papers
- Final call for papers
- Delaying the program
- Swaping?
- static member question
- runtime errer
- Most Popular Cross Platform GUI
- Why this works???
- Problems reserving memory with the 'malloc' command
- RS232C communication protocol
- Sending any file extension using sockets
- read a line with getchar
- Beginner array question
- Trick to prevent conversion
- Sudoku game just one problem and it's without arrays
- more portable compile-time assert()
- C++ IDE with graphical application building and good portability
- Soundex in c++
- Signed only index?
- Still confused why working set larger than virtual memory
- Still confused why working set larger than virtual memory
- How can I forward declare a method?
- replace loop with some algo ( std & boost maybe )
- modifying a vector (STL) in a function
- identical function names in and out a class can't compile
- Exported function details of a dll
- text editor creation using c/c++
- what is the application of public protected & private keyword?
- Problem in highlighting the text in editbox using VC++ 6.0
- Error While building application on Visual Studio 2005(64-bit).
- Good way for quicksort to choose a pivot element
- Which way is better?
- Flavored Coffee Syrup Adds A New Dimension To Beans