View Full Version : answers
- about malloc, realloc and free
- About C structures for network programming
- Returning "stack" variables from a function
- Expert advice needed (We were all new once)
- how to find a number whether its a power of 2 or not
- FR accent characters
- Reading a large number of text files into an array
- best use of strings
- memset
- Generic Library for C.
- Receving an array as parameter
- How to get file size?
- The Harm of hard-wrapping Lines
- Feel like trying some game programming - looking for volenteers
- 3587 monografias 3587
- Yet another book recommendation, but for someone who can program and yet does not the terminology well
- assigning void * type value
- C FAQ 3.1
- core dump on writing to pipe
- Howo to gmake?
- how to use gmake?
- sequence point
- Returning integer portion of double
- C's trig functions
- strchr & finding multiple occurances of a char
- avoiding warnings for "legitimate" casts
- How to remove and substitute characters within a string
- Searching for old LLIBCDLL.LIB
- what do c developers do without the stl?
- Compiling GSL with MinGW - undefined reference
- Modern Development Methodology?
- modulus operator "%" versus fmod
- to print in the reverse order, ("Hello World" -> "World Hello")
- How do I check if a file is empty in C??
- mutually referential (Pg 140 K&R2)
- How is strlen implemented?
- change users shell programmatically
- Segmentation fault
- realloc
- problem with the code and dll
- Linked list Question
- random seed when using GSL
- Strings as parameters/arguments to a function
- string
- Segmentation fault when returning a value on a different PC
- How to count CPU time by using C function
- News: College For The Baby-On-Board Generation
- What all gcc does
- Problem with printing input.
- problem compiling related to extern
- Good book about Data Structures in C?
- time returning -1
- C99 Restrict
- finding size of directory
- ULONG_MAX
- Comments format: comments extending over multi-line
- Counting Tabs, New lines, etc. ~error~
- Value of EOF
- 1.5.2 Character Counting
- Strange thing about malloc()
- timeGetTime
- Regarding typedef
- Add pointer to a double linked-list?
- Getting a string date from a number of seconds from01/01/1904
- Repost:Handling large C code (code in general)
- HELP on "C" DLL internal code for LAN's and WAN's use
- About casts (and pointers)
- I'm very confused(learning C)
- printf statement not executed
- problem with nan
- Reader writter problem
- Reader writter problem
- struct type completion
- ICS has acquired UIMX
- Certification in C/C++
- char*
- Simple question about pointer types
- inline usage in C linux kernel
- copy char arrays
- (Shareware?) file search for huge file?
- Dynamic Array
- why this program is crashing
- struct interdependencies
- casting question in kernel source code
- crash when filling a big buffer
- [Need Help] to write a function to remove all matching nodes from a linked list...
- Make problem
- Hi, What is the meaning of #ifndef
- const char* const*
- question about string
- some more questions about argv
- Converting string to char*
- hey u r doing it wrong
- what's differnece between #ifdef symbol and #if defined(symbol)
- callback or threading or something else ?
- read line
- C means C89 or C99?
- Print a number of size 19 digit
- Convert C code to Delphi -- random function
- Typedef and external linkage
- shorten string length by 1
- Memory Leak where?
- What can cause Segmentation Fault on Linux?
- Char array
- bit operations
- Obtaining double precision random number?
- multiple definition of `fVar'
- Help needed - Software Engineers with DVB or MPEG2 experience
- Object files
- comparing msb
- Initializing an Array of Pointers to Structs
- What is the best way to design GUI's in C?
- Help understading these proprocessor macros
- why printf("%c\n", b) can not get the wanted result?
- Any reason for this: !!
- How to distribute a C program into many C files ?
- how to read it out using c++
- dbx/gdb Choosing Which Forked Process To Follow
- closing the comm port in c
- one question
- __ in c
- Lexicographic ordering of punctuation marks
- ascii binary string into an integer
- Differences between pointers
- llkjhkh
- Passing void pointer to p_thread that is a Char
- Linked list stack and queue
- Is there any tool to transfer C/C++ source code to a lib file?
- pointer to stuct data
- naming functions and variables str*
- reading from text file to excel file
- Need help: Is Quick-Union-Find the right solution to this problem (Now I don't think so and I think that topological sorting should be the way to go...?) ?
- Help needed: Is Quick-Union-Find the right solution to this problem ?
- Need help: Is Quick-Union-Find the right solution to this problem (Now I don't think so and I think that topological sorting should be the way to go...?) ?
- A question about global struct variable as a fuction's parameter
- initializing int to a number bigger than INT_MAX
- string vs const int memory alloc
- exception handling mechanism
- Switch-case problem
- Hexadecimal index array
- Screen Capture Using C
- Read input from file
- fixed point library
- Simple C Linked List
- socket programming question (maybe OT)
- 'nix equivalent of Dos function kbhit() ?
- Remove \0 from a string
- What is the *nix equivalent of win32 io.h ?
- Question about multiple definition and undefined reference
- Critique
- Help needed: Is Quick-Union-Find the right solution to this problem ?
- Coredump/backtrace
- Divide by 7
- Setting locale at runtime
- soln
- hi why can not i us #if in the macro?
- quick question: \floor(\log_2(ix))
- linked list error
- Segment fault with pointer to method
- DLL function parameters
- STRUCTURES accessing using i
- STRUCTURES accessing using i
- Median
- C data container similar to Perl style key-value array?
- parsing string into an array
- How will you know about the libraries
- How to Link a Miscellaneous File
- About libraries and headers
- RealTime System + Windows XP + C# or C
- bmp
- return value of functions
- Complicated expression.Pls help
- bitwise & operator and counting set bits
- compilation option (-g) doubt?
- data type conversion
- convert int to char
- Emacs CC Mode's auto-newline facility: INFORMAL SURVEY
- ThreadProc does not run when CreateThread() is called within a DLL.
- strtol clarification
- modf() question
- A question about a subject in the "C Unleashed" book
- Suitable searching techniques for my parser...
- Subject: searching techniques for a parser.....
- Why is warning coming?
- Analytical or Intuitive?
- Warning missing?
- access error?
- templates & reporting
- Tricky double operations
- sleeping during a precise time interval
- scanf/getchar sequence problem
- problem with pointer and string - function
- Char strings, pointers and substrings.
- Good Books to learn low-level C
- Protecting stdin Within A Library
- Getting intermediate results in 64 bits
- Compiling a program for windows
- linked list
- Error help
- hm..-_-
- File management in C
- accessing struct elements of a function return
- what's the help of "unnecessary" pointer comparison?
- WinA&D 4.1 for UML, DFDs, ERDs and Requirements
- "extern" meaning
- ntfw (new file tree walk) question
- Confused about "void **"
- Injecting a value to a byte/word....using bit wise operators...
- Common pro*c code for both Oracle and non-Oracle environments
- Does the following programming architecture make sense?
- junk value in variable
- Regarding core dump
- varargs's doubt
- system with several interactive programs
- pass by value question
- integer addition taking CARRY into account
- Return Value Practice
- Combinations problem
- one c question
- Combinations in C?
- Mention the type of applications which can be developed using C language?
- Segmentation fault
- regarding algorithim
- Not a very good Idea!
- Integer subtraction problem, help!
- Integer subtraction problem, help!
- Confirm this is Standard code
- Ignore argument to 'printf'?
- Multiple writes to client socket
- Endangered species list
- What does BCPL stand for?
- warning: passing arg 1 of `atoi' makes pointer from integer without a cast
- How to show Unix time in C?
- Shut Down This Obsolete Newsgroup
- portable code
- Need HELP
- microsoft has open sourced windows xp
- bitwise decimal operators
- Reg : Pointers
- the usage of sscanf
- unary negation operator question
- Higher-Order Programming in C
- arrays
- store contents of structure into an array
- why function return more char in string array?
- need help..
- What is memory pool
- execution time becomes unpredictable?!
- matrix equation in C
- unknown directive
- Good function to test speed of language?
- Math programming with C
- How to define return string in DLL?
- Byte Dataype in C
- K&R3?
- va_args going unused ok?
- Different BOOL definitions problem
- enum allocated size
- Translate C++ to C
- setting initial values in struct template
- Variable Argumets
- Retrieving a value from a void function.
- 6.5.7.4 Bitwise shift operators
- reading from a text file
- what's the two !! usage?
- secondary video output
- malloc error on pointer
- Problem to read and write on a serial port
- Usual Arithmetic Conversions-arithmetic expressions
- Use of GString
- Base class and OOP in C
- malloc problem
- Implemenatation of Printf
- strcmp/strncmp/strnicmp
- type* name vs. type *name
- Tell me why the symbol "_" use in the Library?
- Unterminated string literal
- Should I use "char" or "unsigned char" for strings?
- Initializers for arrays of structures
- How do I wait for the child process ?
- Multiple Makefiles
- Can't use pow() and sin()....
- gcc tutorial?
- Elasped Time - in hr, min and seconds
- "man" pages for setjmp.h
- pack FF in a unsigned char ?
- debug error
- string to hex
- () obsoleted?!
- Why does the answer is 0?
- how to use write() to put double
- Learning pointers and arrays of pointers With Files
- Problems With strtof()
- Combinations calculations
- A better question about directives
- BOOKS ON C
- convert hex string to decimal
- Interpreting mem_map init code
- open,fopen differences
- question about directives
- socket programming UDP
- promotion of integer types
- questions about arrays
- Great News Blog!
- Assignment to structures
- use of assertions in practice
- Using a function that doesn't exist =\
- Casting a pointer to integer
- pointer to a function
- strlen + terminating null character
- strlen function + include the terminating null character ?
- What is it that setjmp stores??
- nios-convert
- detecting very long floats?
- realloc(p, 0)
- is there problem that "has to" use recursion
- Is "volatile sig_atomic_t" redundant?
- return a string array
- Pointers to fields in a struct
- Linguistics and such
- Concat string (not ended ...)
- const int x=5 ;
- strtok problem - strcmp
- Different ways to cast?
- string compare...
- type of array index?
- question on function arguments and parameter passing
- Can't debug when with longjmp
- sprintf syntax for string to hex
- regarding using env variable
- Random Integers from 0 to 999
- using defined characters as strings
- using setjmp
- Search txt file and put name in a ...
- sizeof operator
- "patch" like tool
- What is diff b/w malloc,calloc,realloc
- What is memory leakage
- Ignore include header files with Splint
- Use of assert.h
- Interesting question on const.
- dynamic array of struct
- Pointers in methods??
- Problems with casting pointers
- UTF-8 locales
- Question on byteorder operations
- Translation from recursive to iterative
- 64-bit integers support
- Macro Expansion
- Problem with va_ macros and arrays of arrays
- find index, given pointer to member
- sorry! i had changed it to c
- Determining Processor architecture
- strdup()
- how to malloc 2G ram? in freebsd, win2k
- how can I find out all the unused functions?
- compiling error
- Where I can find a list of differences between C89 and C99 ?
- Definiton of variables within a block?
- cdecl test cases
- Read Write serial port
- Read Write serial port
- Checking square root algorithm for portability/correctness
- Converting long long to char
- searching and comparing in files
- parsing strings / within a filename
- ANSI to K&R
- signal processing help
- interview question
- Dynamic function generation
- strange structure initialization
- Is there a difference between a "module" and a "compilation unit" ?
- Pointer/typedef struct questions
- HELP! Pls tell me if i can access io ports with TC 2.1
- problem with compilation
- Valid Function Pointer Casting
- 1
- scanning string for ![0..9]
- Access on a dll in the WWW
- Shared Data Problem
- profiling (gprof) problem
- GUI design in C
- Shared Memory Problem
- scanning string for ![0..9]
- "directory order" - K and R 2 exercise 5-16?
- *str++ is undefined?
- Can't compile this with Cygwin!
- How to implement C++ class heritage properties in C using C struct?
- The behavior of the operator %
- Any build macro to compute the powers of int number?
- how is the array offset determined?
- 8086 Real Mode Addressing
- How does C parse it?
- File ownership check
- Glib IO channels in Windows
- break to witch scope??
- Dynamic memory allocation and memory leak...
- "Principles Of Compiler Design" answers to questions
- parsing a string
- sizeof stuff and declarations
- Wrong-but-not-incorrect code
- init pointer
- creating a pthread
- high-end generic binary tree
- confused with sizeof and pointers
- New to C please help nice and easy!!
- scope and life of tagged structure
- Something like bigint / GMP?
- typedef problem
- Static Var in Struct....
- sprintf
- Write a program that administers a quiz
- invalid type argument of '->'
- Can't print char!
- platform independent table access performance
- Upgrade to Borland C++ 5.02 from 5.0?
- Using ## with variadic macro?
- fgets() and embedded null characters
- Unused __VA_ARGS__
- Linked lists and pointers
- Using explicitly sized variables in functions as auto variables or parameters
- CPU temperature reading with C
- contents of what a pointer points to??
- multi-threaded server, pthreads & sleep
- Problem with a Pointer
- write a single line C program whose output is the program itself
- #pragma directive
- looking for advice
- printf wrapper
- a news group service
- Do input functions use fgetc inside them or read()
- C# - getting window list and changing activ window
- set and reset the least significant bit of a address
- C Debuggers?
- ASM => C
- What's the advantage of using function table
- How to trigger an event every 5 minutes
- C API??
- enum as char ?
- Malloc returning segmentation fault
- printf errrow ! same code differernt result between dev c++ and vc6.0
- polynomial extended euclidean algorithm
- What am I doing wrong??
- Schildt ...
- What is the scope of this while loop?
- stopping a while loop
- Correct behaviour of scanf and sscanf
- CreateWindow returns NULL
- main return codes
- Scanf and number formats
- Writing portable software
- conversion...
- Why char** dynamic_string_array(int ROWS, int SIZE) doesn't work properly?
- A value returned to a function without a `return' statement?
- A value returned to a function without a `return' statement, why?
- Ksiazki dla poczatkujacych
- UTF-8 and C string
- need help with C project
- learn about header files
- Source Code Search Engine
- New POTM Contest: Deadline May 31, 2005
- C programming Newbee
- setting execv arguments
- Graphic mode under gcc
- SQL statements interfacing with C
- Networking
- No Rest Args in Variadic Macro Ok?
- fgets, EOF in middle of line, does not cause error
- How to parse a string like C program parse the command line string?
- Underscore in fprintf argument
- integer sqrt() table implementation
- stop application
- Bitwise macro help
- malloc? I am lost again
- Arbitrary Function Arrays
- crossreference tool
- copy a struct
- The use of "free"
- Reuse allocated memory
- Correct function prototype format for ANSI C
- [C#] PtrToStructure problem
- Victims?
- How to correctly read 6.2.5p26?
- Getting the xth bit of an unsigned charcter
- will this code work?
- static variable in for loop init
- C sockets
- K&R2 Ex 5-11 : What is it asking for?
- Help needed: How to normalize/denormalize XML using C
- structure padding
- declaring long hex strings?
- My K&R Ex 5-10 program, layout looks weird.
- fprintf
- has incomplete type
- some pointer questions
- how can i read a jpeg file using c and send back to the browser which is requesting
- require this C malloc program analysis
- ij = ic: 0;
- C FAQ 6.7
- can I use __FILE__ ,__LINE__ etc. in a code witout DEBUG defined?
- Read from a file
- how to get a double from the command line
- getc can return EOF, but ungetc can't sent it back... why?
- get number at end of string
- Returning an array from C dll to VB
- whats the significance of void * here
- "extern struct foobar" linux compilation warning
- C FAQ 2.18
- pointer initialization
- wotsits
- Regular C Programming Contest
- CurrentElement->next = CurrentElement->next->next (UNDEFINED?)
- The size of a char array
- stdio.h ?
- "Out of Memory" error during Borland C++ 5.02 compile
- Pointers
- How to best have c++ class-style structs?
- regcmp warning: improper pointer/integer combination: op "="
- Is this correct according to C coding standards?
- string array
- Explain Macro from avr-libc
- determing function arguments from data on the stack
- Balanced binary tree with fixed leaf nodes
- help need for beginner
- .defs & .s file extension
- Signal 11 error (core)
- How to open a word document in C
- Simple C containers, std::vector analog
- Can anyone give me program to find difference between two dates?
- Order of function parameters evaluation
- why flags r used
- flock() working mechanism..
- hi
- book on C
- Header Files
- K&R2 Secition 5.9 - major blunders
- process of compiling and linking
- [25% OT] C library integral part of OS/kernel???
- why the code does not compile?
- C/C++ Freelancer
- Checking fprintf for errors and testing for existence of a file
- un-obsfuscating -> into pascal an IOCCC obsfuscated program
- What's wrong of the the code for making a list??
- extern inline
- Plauger's book on Standard Library = still valid?
- printf("%p\n", (void *)0);
- can i get a pdf book for c unleashed
- Help with C
- va_copy
- Simple C Statistics