View Full Version : answers
- Using a union as a function parameter
- Is this right?
- The Year 2038 Problem
- test
- What does the standard say about array access wraparound?
- Memory size?
- Sizeof vs. Strlen
- array initializer / conversion to pointer
- Getting the file name
- Memory allocation for function paramaters
- calculating scale for bar chart axis
- I canīt understand C variables.....
- macro magic: include a while loop and return result?
- Stack usage
- "the c prog. lang." prob with win. xp
- help with static memory allocation !
- C Syntax
- error: incompatible types in asignment
- array of pointers to char in functions
- Developing a File System filter Driver
- question about printf
- scope and linkage rule, very confusing!
- Critique invited
- writing a dailer in c for a 8051 based system
- incompatible types in assignment
- Tools advice for C and C++ programmers using XML
- initialization from incompatible pointer type
- Possibilities of Return (with parameters???)
- using C to create a Static lib
- detect Ctrl+C with getc ?
- Fprintf works in one function but not in the other .
- struct and multiple indirection for a variable
- global variable across object files
- Help with Data Grid
- lib for rotating jpeg's
- Code Review (Skip List)
- why doesn't this code work? :)
- security coding guidelines for C/C++
- program output?
- allocating space for an array of integers
- relative pointers
- Typecast long double->double seems to go wrong
- To void parameter 'argc' is never used
- 'dynamic' functions
- C drawing library
- A new way to learn C?
- Checking if two FILE *s are associated with the same stream.
- Unreadable source code
- structures why
- Pointer initialization.
- array padding
- Assign a name to a pointer variable from another variable
- guidance to C compiler
- char* program-flow crossroads
- keybord event capture
- IT CAREERS
- ATA/ATAPI-5 Question
- Creating an object visible to Visual Basic
- Q: Line Counting, K&R sec. 1.5.3 on OS X
- Avoiding name collisions in macros
- pointer to function solves bug ?
- pointer to function solves bug ?
- writing strings instead of rabish to file using fprintf
- ## Capturing Ctrl key in LINUX ##
- Pointers with C- a query
- Struct question
- a rand array
- how to efficiently do sorting and get array of indices?
- C89 drafts
- Statically-linked binary SegFaults
- structures why
- Using an array Bit-Field in struct, how to best approach...
- questions about constants
- WinAPI and data box
- tool to convert c code to flow chart
- Colors in C / Cores em C
- Pointer
- Rand() with base
- Calculate area for a classical problem
- fscanf to read lines from file?
- socket programming
- volatile qualified parameters
- Difference between a library file and a header file in C
- fwrite() and free() bug
- unhandled exception : Privileged instruction
- test ignoreit plz
- Using fgets() to store string in memory
- malloced union member
- Help needed ...
- Looking for a more elegant way to do memory offsets
- help understanding character arrays
- Online C tutorial, moved to own site
- What is wrong with this?
- converting variables
- test
- GCC and VC
- Algorithm to compare to arrays of int
- How to obtain list of libraries?
- Immediate data
- bit fields in a structure
- Size of Structure
- How to fix this structure?
- How to fix this structure?
- printf("%.2f\n", 90.625)
- ??alloc(0) - std interpretation
- What is wrong?
- running multiple threads and multiple processes at the same time
- embedded SQL in C
- isalpha(0), etc
- String swapping problem
- function call in conditional operator?
- Richard Stevens
- Software modules (for embedded)
- C performance
- about STREQ
- parsing from file
- Format of Pointers in Unix
- memory structure in C and value of EOF
- how to restore the position of a file pointer
- question for malloc & free.
- Just how delicate are freed pointers?
- external struct declaration
- weirdness of scanf
- Need for the ternary operator
- Question about accessing functions via pointers
- Are there standard numbers for various errors?
- Searching for byte string in a binary file.
- Chaning/allocating char* function parameters
- peek at stdin, flush stdin
- Calling a Pointer?
- strtol library function
- Char arrays
- Hello World
- Test
- Test
- C Unleashed
- setting timestamp from microsoft visual c?
- Array Initialization problems.
- late-binding of name to function pointer and other questions
- How do I save the posts?
- Is there anything wrong with the following ?
- pointer to incomplete types
- Some Questions Asked in Interview
- need help ...
- library using library?
- Program without main
- GCC structure initialization
- Get system() error message
- swap() function without tmp
- const char*
- An error handling scheme (long)
- Setting errno
- Using select() and read();
- Looking for fast string hash searching
- run-time polymorphism in C (long)
- newb help: making sense of typedef enum...
- How to download automtically the messages
- Detecting multiple keypresses
- Coding Style
- A simple (?) question about the size of structs
- about functions
- Socket never returns from read() function call
- pointer to arrays as parameter
- Initialization of pointer arrays
- Trouble with pointers
- volatile struct in dot h vs dot c
- how to read key from keyboard without return
- Programs without semicolon
- Why does execution start at main()?
- typedef double complex[2]
- Array and string abstraction
- De-referencing pointer to function-pointer
- new to C, how do I solve this problem?
- Test
- undirected graph representation and Kruskal's algorithm
- Without semicolons
- static initialization
- if(a);
- memcpy() and endianness
- Another Understanding Pointers Question
- implicit long int -> int ?
- ECOOP 2004: Call for Participation
- Prevent linker from unnecessary symbol resolution
- change where a file pointer points, inside a function
- Declaration of structs inside parameter list
- instantiation of struct with no tag name
- where are unions and bitfields particularly used ?
- To become an expert in C programming
- @ Friedman is a malicious mischief monger and misleader
- Routine without busy-waiting
- Detecting overflow
- qsort mode-based sorting
- struct ptr problem
- Do I understand pointers?
- Non Portable C
- Non Portable C
- Streamable File Format + Interactivity
- Help with pointers
- K&R exercise 4-14
- cobol and binary data written by C
- Output to Printer
- iteration through a file of structs
- Berkely Socket Accept.. not working, ideas?
- Our OWN 'Deep C Secrets'
- File name gets truncated
- Function to remove an item from a linked list failing ~1 out of 10,000 times
- Referencing a global array outside a function
- reading from file
- Hi, i want to learn programming...
- hello
- IRAQI ABUSE - UNDERSTANDING THE FUNDAMENTAL ORIGINS
- Supressing Unused Parameter Warnings
- test URL
- netlib - Apr '04
- ?? CONSISTENT CRIMES OF THE EVIL ANGLO-SAXON RACE AND RELIGION
- which compiler is nearest to Zortech
- ??? A NATION UNDER GOD ???
- @ IRAQI OIL PRECIOUS THAN RUMSFELD - FRIEDMAN
- IRAQI OIL PRECIOUS THAN RUMSFELD - FRIEDMAN
- Reg UNIX queues
- @ IRAQI OIL PRECIOUS THAN RUMSFELD - FRIEDMAN
- CRAP ARTICLE BY DR THOMAS FRIEDMAN OF NYTIMES
- Review(2): My C FAQ Page
- strcat implementation?
- looking for sample code: writing file content to binary
- Pointer subtraction
- rjh?
- HELP with some code needed ...
- Portable log1p()
- Portable log1p()
- write a struct inna file
- struct in datei schreiben
- Seting unsigned long value causes coredump
- Style question: (5 == x) or (x == 5)
- Size of Allocated Memory
- DOS window empty in XP
- Power in C
- Hello again
- using binary numbers in c
- Integer overflow in expression
- Maximum for Arrays in C/C++
- simple C language programming question
- printf pointer to double
- Macro al posto di una funzione
- file access
- printf: displaying sum of very large numbers
- Confused
- How to export external reference from a file of C source code?
- Life time of the string referenced by a __FILE__ preprocessor statement.
- define side effects
- polymorphism in c
- errno
- segmentation fault
- can any one get me the all the queries in this group in a .zip file
- return value of strlcat
- Accessing PIC's EEPROM
- What's going on here?
- Parsing elements from a string
- rotating an array....
- help....
- Creare un sistema operativo
- Why vsscanf() doesn't change errno for range error?
- int to float conversion
- memcpy() vs bcmp()
- When to use "perror" and "fprintf"
- check if a subdirectory exists
- A flirt with epsilon
- a flirt with epsilon
- internals of typecasting
- test
- Detecting dangling memory references
- pointer cast
- out of range array subscript
- Q: Newbee: Why is this little program not working
- Newbye quetion: Why a double can store more number than a long ?
- Reducing Repeated code for arrays
- Data Files
- Using signals as a event driven framework
- Printing "hello , wolrd" with out using semicolon
- Using fgets w/ stdout
- what does 'covariant arrays' mean?
- Where get the Expert C Programming-Deep C Secrets ?
- Sine code for ANSI C
- Allocating memory for struct - when?
- [FAQ] updated version ?
- include path tool?
- Open a file from memory?
- ajsdofij
- Array of a type
- Zortech compiler needed
- C declaration
- Where is error checking on fgets() addressed in FAQ?
- Fuction pointers - Is this legal C?
- ANSI C Challenge on readint
- File pointer to file handle
- Needed: ACM article from 1984
- Some help with pointers......and passing them around.
- Generic ADT
- namespace check on compile time
- linking error with : reads c compiler from rigel
- socket returning gibbarish
- ispunct()
- Loading a Mesh
- Function Overloading
- int
- function pointer casting
- function pointer casting
- Array of pointers in a struct
- Is setjmp/longjmp ok?
- Array of pointers in a struct
- Is setjmp/longjmp ok?
- help: why setjmp/longjmp take STRUCT jmp_buf as parameter, not a pointer?
- Expert C programming by Peter Vander Tiden/Liden
- simple conversion from C to C++
- register variable
- typedef struct _iobuf FILE;
- Sockets not working properly
- Expat, decision making on element-name
- flexible function parameter
- Does any one have heap sorting with doubly linked list in C?
- VT100
- Program to rename C/C++ symbols (variables/functions)
- interesting problem in turbo C++, involving fopen
- [RFC] C token counter
- Why is C good??? any experts?
- is this an signal handler or a alarm ?
- How to quit void functions
- NO_EXT_KEYS and strict ISO/ANSI modes
- Summer School on Garbage Collection & Memory Management
- heap sorting with queue(doublely linked list) in C
- strange function syntax
- strtol with hex greater than 4 byte ?
- Math Question
- freeing allocated memory
- exceptions
- Disadvantages of register storage class specifier
- static vs auto
- Volatile specifier
- Size of char on a 64 bit machine
- KDE or GNOME?
- returning pointer into const argument
- string declaration(s)
- necessary cast?
- Speed up you typing speed more than 100 wpm
- Equal to operand
- c program running 2 terminal windows, how to specify in which to write?
- passing an array as argument
- C Static program analyzer
- casting trouble
- qsort warning
- Dynamic allocation of a triple indirection
- JPEG HEADER
- sizeof(struct something)??
- malloc question - what happens when chunk gets free?
- anyone out there knows how to use Microsoft Access
- Microsoft Access
- char s[500000];
- `restrict' qualifer
- main()
- Job Opprtunity: Senior, Experienced Unix Kernel Developer/Architect- Seattle WA
- Job Opprtunity: Senior, Experienced Unix Kernel Developer/Architect- Seattle WA
- ANSI C Challenge on readint
- auxiliary linked list index array
- Oracle acces from C
- need help in writing DES algorithm in C
- union in struct without union name
- srand()
- Headers/Libraries default locations
- Conditional Define
- Question on "if" statements...
- Linux c prog doesn't work on Sun Solaris Machine....?
- beginner question
- Ascii String to Intger
- A puzzle
- opening the program with a full wondow
- child pid
- Need help reading macro-heavy code
- "Ravenscar-like" profile for C/C++
- Integers larger than 64bit - Arithmetic
- 1
- Bus Model
- String/Array Question
- how do i write basic time function
- range limitation
- Efficient pseudo-random number generation
- Sorting a list of integers in C
- Test-driven Development in C#
- help: good sturdy C procedural program design
- size of long
- protect my char* from outside
- Named argument view for IDE and more
- Arithmetic on function address
- Wrong results when comparing negative double variables in an if statement
- strange behavior
- GCC inline assembly
- Weird file writing problem
- Initialization of integer pointers
- Valid operations on pointers in C
- Size of Int on a machine
- Is this Ok? (?:)
- const structs in other structs
- K&R reference.
- strange case of void main
- Rob Pike's simple Include rule
- Problem with getsubopt on AIX
- Error handling
- Help with #define
- sscanf fixed-width integer question
- book for programming
- Printf
- typdef'ing from sig_atomic_t valid?
- Sony DRU-700A DVD+R Dual Layer
- Export from Access to Excel
- trouble.....
- declaring errno
- pointers to arrays of ints.
- beginner question
- GUI Programming with C?
- time function not defined?
- trouble reading the text file
- trouble reading from file
- TransferSpreadsheet - how to call this function
- Which is faster?
- check if char* is a ptr to mem or nirvana
- Dynamic Arrays
- Opinion) Overuse of symbolic constants
- Meaning for *p = +*q++
- Clever vsprintf
- locking with fcntl
- Editor Additions
- Interesting bug
- bit fields in a structure
- What to do if you've made a new high performance data structure?
- [Slightly OT] Pointers on shifting to Systems Programming from QA
- printing the same spot in the terminal
- comma at end of initializer allowed?
- Function pointers to printf
- Large arrays: malloc or 'just declare'?
- C tokens
- Virtual Machines and structs
- assigning bit-field structure
- * and -> operator syntax
- Can a static array contain a dynamic array of pointers?
- OPTION TO OVERWRITE CONSTANT VARIABLE(STRING) IN C (VC++ IDE)
- write a binary file?
- Help with process migration, in openmosix
- walking a binary tree
- programm stops
- msgsnd problem
- Calling 'foo.c' or 'foo2.c' from my 'main_code.c'
- dynamic typedef
- memory allocation nightmare
- Linux Serial Programming
- Linux Serial Programming
- time_t in seconds
- Interval calculation
- portable?
- Exponent question
- easy CGI w/ C
- Large number in C
- HELP ME -GCC COMPILER
- pointers to struct members
- snprintf() for embedded
- Implementing exceptions of C++ in C
- String Reverse Question
- Problem with simpe unixshell attempt
- enumerated static string table
- long long
- Some C/C++ books
- Best way to learn C for a Teenager
- multiline macro with embedded #
- 52 Pick Up and the 100- to-1 Rule
- integer overflow
- Fast Division/Modulo Operation
- i don't want the dos wondow be closed
- sscanf
- atof() failure case
- Why not FILE instead of FILE*?
- Pipes
- struct my_struct *p = (struct my_struct *)malloc(sizeof(struct my_struct));
- opaque style question
- C library for handling ftml template
- converting char array to integer
- FAQ is so long!
- Critical Sections
- FAQ is so long!
- storing variable arguments for future use
- va_list usage
- prob w/the C prog. lang. book(ANSI C)
- char*& and char* ???
- Incrementing a void pointer's member
- RoSsIaCrIiLoIA is a troll
- OT
- system question
- Hash table: some lines of code involving pointers
- Strange global variable behavior
- writing 6 items in one line.
- implement set of numbers in ansi c
- safety and C
- a self-checking program in standard C
- CX-Post: hello world
- Global Static Variables
- reading files from a directory
- info su funzione
- info su funzione
- max{f | f is a float and -f is a float and doesn't cause overflow}== ?
- Converting byte data to hexadecimal ascii
- Variable substitution
- Is it standard and practical to use long long types?
- Constant Data in function copied to stack
- casting from int to void* and back to int
- reading file backwards and parsing
- problem sending code via rs232
- Does pc-lint catch this type of problem?
- linking asm and c procedures
- encoding / decoding questions
- Parser
- ##-concatenation
- Diffrence between ++i and i++
- Dynamically growing an array (pointer question)
- FAT32 Disc Access
- Access to process memory from external programm
- current address
- strtok problem
- Should this work?
- Question on binary tree
- How can I use strtok for tokenize integers
- binary data conversion
- fprintf() C variables into FORTRAN input file format ???
- question about inet_ntoa(3)
- trying to read a file
- Specifying data types inside functions
- Malloc, Structure Help
- Work around of using 1D-LUT instead of 2D-LUT
- warning: multi-character character constant...help me!
- where standard library functions?
- Restricted pointer parameters in printf()
- Avoiding redundant functions
- simple problem
- structure containing incomplete array type
- fixed-point
- linking executables
- File name macro
- C with database
- Time
- size_t range
- how to determine a file is ASCII or binary?
- link c code with c++ code using g++
- how to allow only one instance?
- about c