View Full Version : answers
- macros-loop? calling macros X times?
- Calc checksum of certain ELF sections
- structure byte alighment and sockets
- gcc and <tgmath.h>
- I know c c++
- byte writing
- memory approximation
- write binary data to serial port
- c problem
- Accessing HDD
- Encoding a spanish character
- Accessing files and directories through inodes
- A question on macro expansion
- Does C have a NULL constant function?
- Compilation Failed: warning: data definition has no type or storage class
- HELLO
- Explanation
- Explain this !
- Please help me find out the relative topics in C99 for Arithmetic on void and function pointers
- How does this 'sizeof(*area)' work?
- "evaluate parameter more than once"
- order of evaluation of increment operators
- insert substring into string
- "fun" examples
- Hi, I have the following problem:
- negative zeroes in program output?
- GCC on FreeBSD - C and ASM
- How to detect cdrom drive...
- Can malloc ever really fail?
- I need an authoritative source/documentation for this
- Reverse a string
- Qeustion in Compiling
- sizeof shows different size for a structure
- Header files included in header files
- Networking Question
- latest C standard version
- lastest C standard version
- my head hurts
- my head hurts
- malloc's strang behavior
- c and C++ compatibility
- C Unleashed cd split in half
- QUERY: op= rationale
- Why can't a defined symbol be part of a typedef?
- switch syntax and style
- Anyway to change the file create date?
- Pronunciation of "char"
- Quickest way for even numbers
- far and near?
- A question on C structures
- long int
- yacc gurus
- how to delete a character in a file ?
- What is wrong with this: *p++=*s++
- If malloc fails
- array with a single element
- macros
- what difference between pointer and struct variable
- all errors and warnings in C
- A little funny program I stumbled upon
- I don't get the error with the following
- tortoise and hare program code
- help with compiler directives
- sizeof struct array
- Translate but can not C
- Segfault in an if
- New coding standards: use underscores, hyphens or mixed case in command (and identifier) names
- Union member access
- Pointer to an array of structures, how to get it to work correclty, if possible???
- measureing host loads until a task is finished.
- Way to determine type of variable?
- Byte-26 Terror
- I would like to access the bios flash using watcom c. 11.0
- maximum possible allocation
- RS232 Interface
- communicating through callback
- About C books- dumb question, but I don't really know who to ask..
- 'dynamic' function pointer argument list
- fast check for binary zeroes in memory
- Showing numbers algorithm
- Networking
- Pin Algorithm
- static variable
- Confussed: pointers from Kernigan & Richie
- Question about alloca() and alternative to using stack in an implementation
- Tiny C Compiler for Windows Source
- About memory leak detection.
- Signals, shared memory or something else in daemon?
- Accessing stack info.
- boolean values and the FAQ
- char Vs struct tm mytime
- Memory Access Error (malloc and free) (in different OS)
- Why didn't ANSI/ISO make alloca() standard?
- mmap
- Help: a correct c program can not be complied
- Beginner question: Precision of floating point arithmetic...
- register handling
- Program to retrieve all filenames in drive
- Convert characters to Date
- testing for non-negativity
- getc() vs. fgetc()
- urgent...sniff a variable in C????
- would anyone help me this definition of func ptr?
- gcc and alloca
- How does ESC key interact with ANSI C programs?
- the target audience of this list
- An alternative register access..?
- How can I drop packets?
- "." vs "->" operators
- Why not networking support?
- Where are we? Where is the peak? Are there any way and direction to this top? What are they?
- where to get code of projects on network security and telecomm related projects
- What does "Uint32 enum {a = 100, b = 200};" mean?
- <OT> gcc -Wall
- anyone know where iso-8859-*.h files are?
- const void * const x
- fmemopen: portable version?
- fread()
- Learn Multiplicatin Program
- book on C99
- compilation process
- looking for a consultancy in c
- How do you think of the book <The GNU C Programming Tutorial>?
- When/Where does 'global static' come from?
- return the printable form of a character
- Can static variable improve efficiency?
- read in file offset
- Updated Pointer Guide
- How to read numerical data from a file
- Floating point arithmetic.
- client-server data transfers appended with funny characters
- pointer one past malloc.ed memory
- Pass pointers or the things they point to
- md5 in C
- Function type
- A problem to solve..need help
- Executing a process within c
- for loop stop condition
- convert virtual address to physical address
- what does #line do?
- traumatized by pointer casting
- c development environment
- rounding function?
- strange warnings passing int* to const int*
- array size (?)
- NAME_MAX
- gcc compiler
- sscanf problem
- 64 bit porting
- int vs void *
- Finding string with "wild" characters in another string
- Any function to change windows start menu shortcut properties ?
- What is actually 'semantics of a language' ?
- pointer int/char ...
- Overwriting Allocated Memory from malloc()
- parsing using strstr
- ints ints ints and ints
- conflicting headers
- nrand48 ?!?!?!?!
- Checking overflow
- Polymorphism in C (very basic)
- Float comparisons: how to do them properly
- c/c ++ projects
- How to enforce pointer alignment in a portable way (i.e. w/ 64 bit pointers)
- syntax tree
- bsearch and structs, again
- Multiple c files
- Linking problem
- Stripping Hex and then ASCII
- Having trouble with setvbuf with large buffer size under linux
- Splitting up code ?
- Embeddable Pcode compiler/interpreter Serial EEPROM
- cleaned up nrand48 function please check results ;)
- long follow by long is illegal
- replacing builtin_expect with normal code
- nrand48 source code looks weird ?
- Changing default sizes of data types
- Define and array initialisation
- Is it time for secure C ?
- Please introduce a good book
- Passing const void* to free()
- libxml: Parsing XML Question?
- Problems with fmod.
- Storing the size of an array in the structure itself
- Sources for functions like malloc()
- can't use struct hsearch_data with sizeof
- image file from a floppy. how to program???
- how to access a file in C:\
- capture substring in the most efficient
- Sizeof and increment operators
- malloc() -- Performance?
- File I/O
- K&R2 exercise question
- Time Stuff
- gcc executable size vs. target hex file size?
- UNIX's int isnan(double x) routine for Windows/Visual C/C++ 6.0 ?
- UNIX's nrand48() routine for Windows/Visual C/C++ 6.0 ?
- how do I read a location in the bios eprom
- How works a Macro??
- blank spaces...
- how to know the size of an int
- API for getting ethernet cards installed
- function declarations, global/within a function?
- Comma operator in a macro-help me understand this plz!!
- Faulty default!
- function name printing
- delete data in file
- check filesize before reading it
- passing an uninitialize pointer
- File Read/Write
- is there a inverse polynomial for the CRC generator polynomial
- extern methods
- Cursor libraries
- Sleeping or waiting
- Find two items
- Windows 98 C application - text boxes and "\n"
- COPY over Win32 WinAPI C
- Writing arguments under format specifiers
- printf on matrix...
- (int *) variable
- Implicit and explicit conversion
- good tutorial/book on c?
- puzzle in C
- Program will not recognize that I have changed a file
- _spawnlp
- Null pointers in C---spec (N869) trouble, was What computer language is used a lot in the IT industry?
- delete a pipe
- Best C tool
- Missing Header File - "vga.h"
- CRC calculation
- C preprocessor
- How do I convert from .c to .asm
- EOF in Windows
- Symantic - syntactic
- double free
- Why would anyone do this?
- FTP Client-Server
- Inline Assembly - Runtime Stack Allocation
- can you help a new pcre user???
- Parser and Generator for XHTML in C in Open Source World
- Simple Preprocessor Question
- time output in milliseconds
- memcpy( dest, src, 0 )
- disregard post on sine table lookup
- GetLocalTime() for Linux/Unix
- structs
- problem with lookup sine table
- problem with lookup sine table
- Doubles and zero/negative zero
- Weird (?) explicit declaration of functions
- array to pointer decay question !!
- default expression type
- How to get non-pre-determined inputs from console?
- is this correct
- 'hello world' OS
- memcpy() vs. for() performance
- why
- Type of Constant
- Memory Leak while trying to get Subkeys from registry
- Stack overflow
- time sub standards
- How to declare a dynamic array
- Return code of 4294967295 (UINT_MAX)
- Comma Operator Question
- yacc
- different "system()" for different OS
- Sharing data between libraries
- Writing a Parser
- Linked list problem..
- Pause a program while running
- unsigned char *
- Typecasting in C
- test
- name of data structure for circular array?
- Dynamic 2D array
- usage of # in the following statement
- C question: Returning string array from function
- CGI Programming in C on Xitami Web Server
- How, exactly, does kbhit( ) work?
- Debugging tool: Trace function calls + variable usage automatically
- rsync in a C program?
- mpeg
- problem about allocating local variable
- Problem with sorting linked-list
- Pointer problem
- realloc'ing an array of strings
- Question about warning
- Check it out
- Array managed by preprocessor
- IOCTL_STORAGE_QUERY_PROPERTY and the STORAGE_BUS_TYPE data type
- Structs with pointers
- EOF Problem
- whether this is valid
- Programming Puzzle
- bus error with printf line included, error without printf line?
- Usual way to hide jpegs. Extraction off application jpgs??
- VB code to C
- keyword extern
- printf for a char in hex - why all the F's?
- Omitting rows numbers of a matrix
- OpenMP
- preprozessor and #define Problem
- implementation of the complex airy function
- ascii VS binary files
- c query
- Accessing a global variable when there is a local variable in the same name
- fmemopen: assignment makes pointer from integer without a cast
- math.h problem -> sqrt undefined
- Fixed-point multiply.
- repeated calls to strrchr... to find second to last occurence
- &first arg of a union or struct
- Test
- Callbacks in C
- Performance vs. Design (long)
- sizeof(type) in various systems
- ioctl(sockfd, SIOCGIFCONF, &ifc)
- fread can not read particular data
- Lvalue Required(wierd)...
- Is these functions C90 and/or C99 ?
- Local scope, external linkage?
- how to figure out the size of buffer returned by malloc
- Wintel compilers with: C99 tgmath.h? 16-byte "long double"?
- [UNIX]deamonize a process ?
- Getting window coordinates
- _matherr doesn't get invoked when sscanf is called.
- Windows System Restore is terrible
- CPU simulator written in C
- put list of int as string
- gcc prototype oddity
- Static Variables
- Seeking Programmers for Symmetrical Musical Melody Thesaurus (1440 melodies) Software Program:
- Segmentation Fault
- bitfield size check
- Segmentation fault...
- finite() in ANSI C?
- Remove a file over the network on a Sun
- Is it possible sentence?
- struct array
- HOW-TO Truncate first line in a file to zero length?
- What is the purpose of such a function ?
- uncompressing data in memory
- when is typecasting (unsigned char*) to (char*) dangerous?
- Sorting doubles with duplicates
- tmpnam, strcpy - incompatible pointer type?
- Access is denied
- Structure padding.
- Stack implementation question
- test
- simple malloc() problem
- Debug memory !
- C FAQ Question 2.11
- Passing arg from incompatible pointer type
- English language question
- can bsearch tell me the index?
- Reading stdin once confuses second stdin read
- Have I done them right?
- What's it with this kind of definition?
- Debug vs. Release
- stat.st_mode deciphering
- restrict keyword from ISO C99?
- Does scanf ever return EOF?
- please visit my website!
- Pointer Guide
- Suppressing stdout output
- MSIL to Win32
- my search and replace function
- Algorithms Notes by Derek O'Connor
- For a copy of The Embedded Newsletter
- getting return value from function without return statement.
- a small pointer problem
- Compiler bug?
- Sequence matching exercise
- FA:Software Source Translation: Fixed per 100 line Cost PL/M, Pascal, CHILL,
- address beyond array declaration
- Help on C code
- Fravær
- what is & 0x1 in this context?
- Het zal toch niet zijn wie ik denk dat het is?
- fprintf/variable args question
- sscanf regex
- fscanf problem
- assigning values to an array after declaring it
- Array of size zero!
- memset all bits to zero will let float/double to zero?
- Interpolation without FPoint arithmetics
- This is just a TEST!
- Help the helpless.. code read
- problem with a static variable
- Quirk in Conditional Operator?:
- Arjen Jongeling, een oude bekende
- use memcpy() to copy one structure to another
- January 1 ?
- simple matrix routines
- Dynamic access to struct field names
- Portable way to wait for a keypress
- An IDE for C
- program - help
- Where's the mistake???
- Making function private/ not supplying declaration in header file
- Making function private/ not supplying declaration in header file
- 4 digits hex (WORD)
- memory optimization
- Difference between various functions
- Memory usage
- Trouble with scanf("%c", &answer);
- HELP: function pointer
- Post and pre increment
- Building Paper, Rock, Scissors
- Double break
- wrap around alphabet??
- Maximum char array size?
- Next prime algorithm
- Can you switch to C in protected mode?
- what are *.so filea in linux?
- quik popularized by ANSI C
- What's wrong with long long?
- memmove() loses bits...
- Suggestions to a simple wave file writer…
- Write a string in EBCDIC
- random number generation
- C tidbits
- barcode decoding from an image
- System cmds
- Latest C Version
- bits and stuff
- To check if SMTP delivery is enabled for a user.
- typecasting towards a pointer to a K&R style declared function
- _Pointers_and_Arrays_
- Looking for a C project to read the source code
- A function that returns a function that adds x to its argument
- Why these warnings?
- Repost: String pointer and char array
- Why do we have const arguments?
- String pointer and char array
- Language to replace C
- Regarding the FAQs
- Finding next largest/smallest floating point value
- Structures and Pointers
- Reverse engineering tools
- hexadecimal ( WORD)
- Typecasting Structures?
- Type Casting IPv4 and IPv6 structures to Generic Structures
- Typo in n869
- What will happen when the size of a local variable length array turns out to be 0 (zero)?
- the whys of the comma operator
- Blocking on fopen() command
- who owns C
- clearerr(stdin) not clear
- array alignment
- Help with __cplusplus
- printf, align & field width?
- Can #include use a preprocessing token?
- Create and use a library
- extern and linkage
- Issues with LibMad
- Viariables definitions must be first in function definition?
- XpoLog 2.5 released
- Why do so few people know the difference between arrays and pointers.
- union
- Finding if a file is open.
- Threads in C
- Here's a good one...
- why does symbol & in #define QO_PTR(q_node, q_type, q_ptr) needed?
- why does symbol & in #define QO_PTR(q_node, q_type, q_ptr) needed?
- label inside for-loop
- binary search tree problem
- A basic primitive interactive system
- A basic primitive interactive system
- switch/continue
- libxml needs to be tamed (standardize C/C++ XML library?)
- Unicode Initialization.
- Allocated memory
- data storage question...
- Pointer to Pointer & Mem allocation
- Need constant screen with periodic updates
- borland time_t conversion
- Explicit unsigned/signed conversion: ANSI/ISO rules?
- what's wrong with my program ?
- how to produce trace of C program?
- trouble, writing an array of structure to binary file.
- From a researcher: what is the job market for compiler-writters?
- Eats, Shoots & Leaves
- returning a floating point value from a function
- syscalls.h or equivalent in cygwin or Linux
- checking for overflow
- creating a file sliding window
- loading an image in a c program
- wait3 breaks printf for floats?
- Clearing Console Window
- What do these warnings mean?
- netlib - May '04
- sizeof extern arrays
- print matrix
- Missing Lines With fscanf()
- from void * to types
- Printing an unsigned char
- O'Reilly book: Mastering algorithms with C
- Can I use a byte array for sound files?
- Fundamental question
- questions about dynamic allocations
- OOP in C!
- Memory alignment
- Obfuscated c using #include
- Allocating single memory block for multiple structures
- Stacks and heaps
- Macro to stringify an enum
- How to read a character from a particular location on console?
- declaration error
- implicit type conversions
- Basic C tutorial on networking TCP/IP
- what is wrong with this code ? hi-q
- Separating directory from file name: Code Review!
- Separating directory from file name
- declaration error
- declaration error
- little network/socket-program with parse error
- fgets()/strlen unix/DOS portability question
- Talking to *n*x
- `errno' (Dan Pop)
- Casting const void * into void *
- Function seems to re-initialize arguments
- use of FAR pointers with gcc
- Hi,
- Becoming a C _developer_
- GUI libraries for C (not C++)
- Find the functions being called in a C file
- rebuffering an opened file
- Pragma Document
- C function overloading?
- Planning to learn C/a new language, your suggestions please
- Is there any good hash library in c/c++?
- Statically linking a library problem...
- Help. Program coredumps with SIGILL after exit (0) is called
- File size
- Regarding: fgets() replacement
- how to embede sql database at .net setup project??!!
- Help me to compile gcc
- Static variable mapping !!
- [Meta] net nanny confused
- 10 most used
- allocate 2d array in function and return it to caller
- How to get the values parsed from the following stream of bytes
- fgets() replacement
- Reversing order of quicksort
- Struct initialisation
- Reversing order of quicksort
- Most restrictive type
- Help with Visual C++.NET
- Including an enum within another enum, possible?
- Is this code valid