View Full Version : answers
- Memory allocation problem
- Compatible codes for both Visual Studio 2005 and gcc
- Linking in a module?
- menu program in c language
- C++ Program to output type of input entered (int, char, etc...)
- need c++ tutorials
- Program Crashs When Input Is Entered
- COMPLETE n00b needs help with n00b question
- Is this a correct place to ask questions on GDB
- file stream object as a function arguement
- Using C99 "restrict" with newly allocated and initialized arrays/structures
- A plan for Jacob
- array declarators
- How to overwrite 'new' operation in c++
- assignment operator
- c book
- to me c,c++teach forwarad please
- "processor fault"
- Error compiling file using lcc compiler
- Problem on using a casted void pointer
- Problem regarding process
- why is the backslash-space combo a escape sequence 040
- Finding and Replacing Substrings In A String
- Printing a 1D array as a 2D array (another 8 queens variant)
- the gotoxy(int x, int y) function
- 8 RANDOM queens.
- wait function and sound
- help on prime number list c program
- Q on loading txt file in C++, and search algorithm
- __ has exited due to signal 11 (SIGSEGV).
- simulation
- NULL not declared in scope
- Creating Arrays with files...
- reflection in c++
- toUpper and pointer to a string
- Introduction to C language
- Insert function in hash_map.
- Program launches within Visual Stdui 2005, fails otherwise.
- key logger in c
- updating a class
- accessing protected member functions in c++
- number conversion into words
- Game of craps giving class error
- object as function
- Handy hint, length of string scanfed.
- Are there unsupported OOP concepts in C++?
- distinguishing wheter void* ptr points to class A or class B?
- Question on structure pointers
- Sorting two arrays with one call to sort()?
- could you please tell me whats the error in the code
- Is this a STLport bug
- linked list - duplicates
- System call error
- Build a new system
- help on making a stopwatch using c
- calculation problem with math.h predefined methods
- how to link libws2_32.a?
- Friends and Visual C++ Express 2005
- new classname() showing error
- A question: Convert double to string
- Calculating the nth term of a series with C/C++
- Help needed to understand "member function template"
- do structure definitions go in data area or in code area...
- Inches to Feet, Fahrenheit to Celsius
- C++ Sql Server Connectivity
- Worldwide Precious Gem Stone Development
- Need a guitar?
- array[2] == 2[array], why is that?
- Iterator to last element in list?
- Boolean data type?
- realloc error in dynamic array of char*
- Pointers to Members question
- Using c++ template metaprogramming for high performance number crunching?
- substituting a function ptr with a function object
- Logical XOR
- template question
- Associate Objects using domain ID or using object references?
- pointer to pointer
- redirect system() stdout to buffer
- Overloading problem
- Making a function
- How to find which objects use most of the memory
- How to find which objects use most of the memory
- Win32 Buffer Overflow
- Validating input (Allow Float Only)
- inheritance problem: error: expected class-name before '{' token
- comparison between signed and unsigned int
- help me in implementing Factory design pattern
- facing problem during compilation
- Any search pattern method recommed for mmap memory
- List of arrays as a class member function
- Any guide to look something up in the Holy Standard?
- C++ An Inline Function Question
- Dvd
- Executing DOS commands
- Pass the array value to another function
- complex object declaration
- passing a (char *) as an argument
- Endians forest
- Counting in lojban
- Most frequent number
- Random-numbers...?
- C++ compiler in Linux/Ubuntu?
- XML containing C Code
- discussion of protected in Lippman
- Undefined reference to pow
- using C library functions in C++
- c++ code for reading an excel file
- Implementation in a *.h file
- @ output
- Default precision for sprintf
- Is there a better way to do this?
- Confused at newline requirement for printf
- polymiorphism and access privilege ?
- Need help understanding a const function returning an object reference.
- beginner question on successive factoring
- Delete the dynamic allocated using new char[]
- Loop forever
- "this" question
- Eclipse Europa IDE scanf issue
- ambiguous types: want automatic conversion
- Input Question
- C++ Program help
- Size of an array
- Serial Communication
- While vs nested if?
- is speed of exec of a member function always impacted by an extra layer in a class hierarchy?
- c tips
- recursive functions of 1)strcmp 2)reverse a string
- const int Foo in paramater list? Question of style
- C Terminologies
- question on loading a string from a file into a vector
- asking for help
- Simulation In C++
- How do I know which library file am i suppose to call?
- dynamic space allocation problem
- makefile problem
- How to add a double to an unsigned char array?
- Embedded systems, suggest microcontroller and compiler
- Discuss..thx
- why this code shows sigmentation fault?
- win32 wrapper (not off topic imho)
- Howto link a lib in my Makefile
- Program to calculate sum of cash drawer.
- How to catch the return value of main in C
- about shifting
- can we impliment the circular buffer by array in C
- Suggest microcontroller and compiler
- Embedded Systems, please suggest microcontroller and compiler
- pointers to Enum in C
- Write toNum() function to convert char to int
- Read a text file and output ASCII values
- pet structure program
- IT Executive
- Error on compiling code in VS 2005
- Scope question
- Does "delete" work?
- How can u read a VRML file in a c programm
- c++
- qsort semantics
- Difference between a MACRO and a FUNCTION
- Remainder of two different variable types
- sob..Someone can help me????plsss
- Why the simple code can not compile?
- How to write sql commands in turbo c++
- Output the Highest Number in C
- The canonical clc malloc idiom
- Recursive function to print numbers in reverse
- behaviour of a function
- alignment using malloc
- How compiler diffrentiates oridnary/member funtion w.r.t private data members
- Help on code that compares strings
- multi-template parameter friend template functions
- yessssssss, I did it
- Struct size
- Alignment puzzle
- Multi Function program
- is input_stream >> std::ws supposed to set fail() bit?
- Return smallest key from std::map?
- any hints would help
- Global objects...
- Listing on Graph
- What errors are caught at compile time vs link time
- plzzzzzzzzzzzzzzzzzzzzzz help
- plzzzzzzzzzzzzzzzzzzzzzz help
- Why does my dll not work for VBA calling?
- Reformat file input/output
- what
- C++: Converting a 3 digit hexadecimal number to decimal help?
- const static initialization in Visual Studio
- Equation printing program
- What is best way to implement "tail"?
- What is best way to implement "tail"?
- TRHX client
- What is best way to implement "tail"?
- What is best way to implement "tail"?
- how can I return nothing?
- stringstream question
- undo/redo algo
- koch curve
- how to use if else macro while compilation
- conversion between string and numerical value
- Order of statements using if
- Converting program from gcc v3 to gcc v6
- problem with removing spaces in the string
- Accessing base class function
- virtual function
- TDD and Mock Classes
- how to run some exe file by using standard C++ code?
- how to run some exe file by using standard C++ code?
- how to get a windows token using VC++
- Definition of obscure pointer/array declaration
- global variables/passing
- complex pointer declaration
- About tree -- some code in C Primer - I don't understand
- what is error status flags?
- read an entire line in a C++ string
- Standard C library functions in freestanding systems
- What is a virtual constructor?
- hash_map in STL.
- How to pass a huge matrix to a function
- Standard C library functions in freestanding systems
- Copy Constructor Query
- VC++ Message map is not capturing Ctrl-C key press event
- Howto design my method?
- Jump to Case label
- Hi guys~ i wonder that why this simple code error!!
- C++ polymorphism question
- EOF
- Getting lvalue error
- what are the erorr in c
- error #2135
- Sorting
- pass by value
- Compilation Error in C language
- dinamic allocator for structures
- Find version of a filesystem using C in Linux
- Lips' Extraction in C programming
- Storing objects in map class
- NULL in second call of strtok()
- Wide char functions without UNICODE
- question related to passing variable number of arguments
- Segmentation fault on volatile unsigned char in C
- Graphics functions
- Abstract Interpretation for C
- Hex to IEEE format
- Errors in socket program
- question on cout and operator<<
- Connect to database using C++
- ANSI C: How to validate input string using regular expression?
- strange syntax in stl (gnu version)
- Size of structure in C without using sizeof()
- warning: the `gets' function is dangerous and should not be used.
- c prime number program
- returning error from main()
- error: syntax error before numeric constant
- I don't find the keyword "volatile" in C99..............
- Unable to solve compiler errors
- const related error from Intel and g++ compiler but not from VC8.0
- C Preprocessor val##LL
- SOFTWARE ENGINEER/ C/ UNIX/ CONTRACT/ MI
- Another sizeof question
- Loops?
- Smart pointers and this
- 3 dimensional array
- An example of a program to average these values
- templates and inheritance
- C - integer from string in array of chars (or array of integers?)
- Syntax error
- pointer, union, something...
- Win32 Edit newline
- mem_fun fun
- Templates and header organization
- token string program
- Save a System::Drawing::Bitmap from device context
- a program using four arrays of pointers
- Is this scenario a good use for polymorphic functions
- HI can give suggesstion
- writing a code for both windows and linux
- question regarding vectors
- #INF00 ocurrs when cal. sum=(n/2)*(2*a+(n-1)*d)
- HI can give suggesstion
- ds
- How to return an array of strings and print it on my main() function
- union find
- hi can give me idea
- correction
- Implementing stack and Lucas series in C++
- enum and pointer help
- Error: aggregate value used where an integer was expected
- overloading based on function being const
- Function Problem
- sending a structure with an array of strings through tcp
- One and two - dimensional array passing
- Copy constructur or bitwise copy
- Message after compilation to turn on debugger
- how to convert char * to CString?
- Howto identify a string value vs. a numeric value in std::string
- lrint and rounding mode
- Ode to Keith
- .hpp
- undefined refference problem
- compare two string using stryncmp
- I want C++ to count the letters i want it to count after asking me to provide a word
- Segmentation error
- data structure and algrothim using c
- Tool for checking memory leaks.
- solution to problem for verifying answer
- Performance monitoring tools.
- Couldn't understand what my error means
- Redundant statement in the Standard?
- function to return string array
- Function pointers and callback functions
- how to find the ip of a host while the name is known
- problem of graphics.
- The meaning of a = b in object oriented languages
- a question about ostringstream
- C program to create 8 bit hash
- system() function in c
- Question about declaring const pointer to const value
- Create linked list, queue, and stack implementations in C++
- C++ program to calculate corresponding ASCII values for case
- why memory leak here?
- how to read text file from usb port
- why memory leak here?
- why memory leak here?
- passing infinite number of arguments to a funcion in C
- Constants Data Members in C++
- Binnary I/O operations
- vector problem
- Problem with pointer-to-class-data-member
- What does this mean?
- char * to TByteDynArray in Borland C++ Builder 6
- Pointer to class data member question
- Checking if a file descriptor is valid
- Access returned String diffuculties
- Rational Numbers in c++
- Turning In Deburger
- Fraction Program - Reducing it to the lowest terms
- try/catch scope question...
- smart ptrs in vectors
- New at Borland Developer Studio
- Returning a pointer to a constant string
- Initializing Union Structure
- A Portable C Compiler
- C++ multidimensional array allocation using new []
- reading and deleting from file
- sum of two integers
- Bucketsort?
- system command usage in turbo c
- static or non static
- slen function with recursion
- How to set the include path an environment variables of g++
- C&C++
- How to save a string with white spaces on an array
- exceptions
- 2D arrays
- Query: are typedef templates supported in C++. and on the VAC 6 compiler?
- Error: invalid operands of types `double' and `double' to binary `operator>>'
- shared_ptr and containers
- how to initialize a static map
- compilation error with forward declaration
- Bresenham's algorighm for counterclockwise circle
- C editing a file
- Desktop Heap Size
- Graphics in c/c++
- Trying to find a functional language integrated with C++
- ICQ Sniffer?
- Reading from fstream into vector
- How can I access non-static variables from static funcition?
- is this a C++ BUG?
- How can I nest variadic functions?
- Nesting variadic functions
- equivalent class to POD
- fractal images in c++
- C++ use of constructors
- Coding style
- Pointer to a vector
- pointers in c
- Executing commands on a Linux system with C/C++
- generating array and random move of it
- Best way of Allocating and Deallocating memory
- Creating containers on the heap
- c++ editing a file
- Pointer to class data member question
- informatique
- telephone pointer program
- problem about C program design.
- C Array declaration with const
- addition puzzle
- Trying Something New To Experiment with
- Array of Strings
- How to find the bit width of a processor
- C++ OO design question
- Help with peak detection algorithm
- inlining overloaded methods
- Creating bitmap from native values
- Implementing a Linked List
- Switch/case statement
- Program to switch between packages, all 3 being chosen
- Where to find C++ Serial Port Tutorials
- Dynamic memory allocation.
- is there any minor project that can be built using c language
- v-pointer in a class/object?
- Running other apps from my code
- Trouble using the If condition and % operator in C++
- possible seg fault
- Create event on button click.
- Vectors within Structures
- Problem with Linked List
- Assignment creating two classes
- Using tcwin45 and graphics.h
- Trouble passing integers
- Trouble passing integers
- please help me
- help. i dont know how to solve this loop program...using turbo c
- Program to create and format ouput of pattern
- Flowcharts for Programs
- problem with translating an accelerator table
- Please Help
- flex++ bison++
- time complexity
- Question on device driver ?
- Arts and entertainment
- Arts and entertainment
- Get unlimited visitors to your website
- serigopseitgopseitgpositgopstipsoiopsridrophi
- C++ Primer ex 9.14
- ofstream question
- SDL and best way of using rotating sprites
- static library to sockets on localhost
- How to organise a composition analyzer??
- Job interview questions
- Job interview questions
- VC++ not recognizing 'GameBoard' in code
- ofstream input wchar_t
- Getting ASCII value from a variable
- command line processing question
- class to basic type?
- c++ script help
- two dimensional array
- C++ Need help with array of objects
- Won't work without useless declarations
- code to verify a number is valid network mask
- Graphs in C
- strtok a <tab>
- multithreading in C, need help
- Patent application
- How can I check the value of an element in an array?
- Templates
- saving "this" in base class
- Need a guitar?
- problem with resizing an Edit box
- How to access pointer inside a structure pointer
- tokens
- Convert binary data into an image
- sentry member class
- x +1 > x
- Memory allocation to a char *
- data abstraction vs encapsulation example needed
- decimal to binary floating point
- storage classes
- Soft devices
- Get unlimited visitors to your website
- VC++ not recognizing 'GameBoard' in code
- Nested declarations
- pass by reference is valid?
- using sstream to read a vector<string>
- What is ambuigity error?
- Link problem with template in Visual C++ 2005 Express
- sstream confusion
- C++ / Problems using "seekg()" method
- Inverse of a matrix
- Closing a process in C++
- Thread-safe file locking
- Thread-safe file locking
- problem with sizeof in while loop reading a file
- susbtring function
- bitwise OR AND, etc.
- Logical errors in code, output not correct
- A deque containing different types of objects (with a common baseclass)
- alt
- Opening files on a server
- Win32 Button
- friend'ly question
- declaring managed arrays in VS2005?
- Type-punning / casting problem
- strftime() behaviour
- sizeof for extern struct
- c tutorial
- altering an av_list variable
- c++ language
- How do I get the application directory
- Using the OR | w/ an enum
- Can array allocation cause memory fragmentation
- Explanation and resources on loops
- Accessing private data members from ordinary function and member function
- Etymology of subscript in C ( OT)
- strtok and strtok_r
- converting 'float (*)[4]' to 'const float**'
- tryick use of sizeof again[Explaination Wanted]
- strtok and strtok_r
- Screen to Memory.....
- Windows Service and COM
- Embedded Visual C++ 4.0
- Eventual undefined behaviour
- download function
- Simple Macro Function Pointer Trick...
- Help receiving input from port
- understanding GUID
- Check for parity property in matrix using C++
- rg
- i need help:""<
- implicit declaration of function???
- unable to compile and link application in Debug mode with library in Release mode
- problem with file handling in c
- MACRO and template with two ( or more ) parameters
- Writing a file to /dev/lp0 in c++
- Delete duplicate elements in vector
- Oracle Key Concepts - Make Sure You Know All!
- Search for specific word in a file
- break in switch statement
- Enter data into an array with C++
- minimum and maximum values of an object of type int
- Is there function to convert UTC stamp to GMT time
- ostream operator and setw
- comparing two structures
- ANSI remove() and MS DeleteFile()
- Overloaded << operator
- how good is gprof ?
- How to 'catch' an event from another class
- GetprivateProfileString() and WritePrivateProfileString() problem with UTF8 ini files
- security of static linking
- Microsoft Visual C++ Debug Library " Assertion Failed ! "
- typedef enum dilemma
- default constructor
- IT News
- Print new line from String to file
- Print new line from String to file
- opaque types without malloc?
- creating multidimensional array at runtime and passing it as parameter to a function
- where static objects live in memory.
- Short to char array and back.
- hi
- Problem with static variable
- Sorry for the NOOB question..
- typedefing a struct
- sizeof and character arrays?
- fibonacci series
- is vec.reserve(unsigned int) better than vec(unsigned int)?