View Full Version : c answers
- avoid constant conditional expression warning
- millisecond delay in C - linux
- What's wrong with my lex and yacc program?
- Question: Unicode <-> HEX conversion in C source file?
- How to convert HEX <-> DEC constant value in C source file?
- Question: HEX <-> DEC constants auto-conversion in C source file?
- GUID in C
- NAN error and debugging with GDB
- Sending data to the parallel port
- HTTP basic authentication
- Storing/processing binary file input help needed
- [Slightly OT] Casting non-void function results to void in modern compilers.
- Why multiplication not allowed?
- Question about bitfield promotion/cast to integer
- How can I convert the C6.0 program of OS/2 platform TO a program in windows2000/xp platform?
- Function Using Pointers
- literal escape sequence conversion to raw
- implicit typecast
- Hash structure or Binary Search Tree...
- Redirection at the prompt
- Need help with system()
- A program that searches screen for words?
- How to printf a long long data type integer?
- initializer is not a constant error ??
- difference of #include <> and ""
- Reading date stored in binary fomrat
- Structure/Storage question
- Order of evaluation and better declaration of functions
- syntax of C for Parser Generator
- BASIC advice wanted.
- Loop doesn't behave the way it's supposed to.
- Learning process
- supplementary C frequent answers
- Why in hash function use 5381?
- how to use large memory with gcc in AIX of IBM P650
- ARM yourself in the YEAR 2004
- hash table
- Removing GCC compiler warnings from fabsf(), sqrtf()...
- Vexing GCC warnings: "assignment discards qualifiers from pointertarget type"
- Trying to run a function in RAM and not in Flash using function pointer
- Borland C/C++ Compiler 3.1
- const in typedef struct?
- Retrieving the output of a C program using a PHP script
- OpenECG Programming Contest Deadline Extended: January 25, 2004
- float and 1's
- new functions
- strcpy warning
- formatting float variables to fprintf function
- ^ format string
- having problems with interactive error catching function
- softice-help wanted
- Bitset Macros
- Internet programming Help Wanted
- link list -is this enough?
- [maybe OT] embedding asm
- endianness and sscanf/sprintf
- invalid initializer
- Does this cause undefined behaviour?
- Warnings calling functions in other object files by pointer
- A good C Programming book.
- Portability question
- concatenate strings
- NULL pointer and zero value
- "serializing" structs in C
- C99 Question
- File pointeur of stdout
- How to use libcrypt ?
- Can anyone help
- What kind of problems is c best at solving?
- Matrox and C++ ... need help !
- A concatenation problem
- delay on select
- please comment
- segmentation fault on calloc
- static variables & their initializations
- Arrays of Strings, malloc
- C function return value?
- Finding Current directory??
- static members
- Confused with malloc
- fmod?
- Remember to use your "0x".
- Linked List Problem(changing insertion pointer)
- structs passed by value
- representing functions with arguments in an abstract syntax tree
- Unseen error
- CGI C and HTML
- limits.h question
- looking for good C source code
- casting of structs
- More __DATE__ preprocessor tricks?
- c pointer and array question
- How is a plugin created?
- free() question
- C99 std documentation
- Reassigning array to string literal
- Using bitshift in assigning a number to a variable?
- Too big integers
- Better implementation?
- getting and passing variable number of parameters
- re Which is better
- C API for MySQL?
- Converting a 2-tier application to 3-tier application
- Undefined reference to memcpy in standalone program
- print out a file?
- Warning against Scanf
- system date and time update
- passing varargs to another function
- Code Review...
- Reverse search in a singly-linked list
- C-preprocessor macro question
- checking the contents of an array..
- max heap and print implementation question
- >> operator
- Clarity of boolean logic
- main return value stange question
- How does C work on non-unix?
- TEA Implementation
- linux threads library
- explanation of a program required please
- novice realloc question
- how to simplify many OR in if statement?
- recasting a pointer
- Could I open a file from another machine on the network?
- How to create a function that can be applied to all type of variables?
- C: compare character
- C++ interface
- ChkSum Test and Polynomial
- Turbo Charge your PC's Performance
- passing struct by reference to function
- C99 and for loops
- C: extract string from file
- simple C question:
- Question: Adding nodes to sorted linked list
- Troll Alert: Hello!
- Undefined behavior?
- Need a bit of help with reading in characters.
- Array of Pointers
- structs and malloc
- Which is better
- 2 style questions
- unsigned short addition/subtraction overflow
- specific type of Hex conversion
- How should I start learning?
- Caps convention.
- C Reference page on Linux
- what about this new way of opening file
- Hash Function
- segmentation fault (core dumped)
- How do you find the header file you need?
- nr of bits set to "1" in a byte
- String literal and const
- unsigned char
- hash function
- semaphores...
- timer in milliseconds
- sprintf: the format problem
- [off-topic]test
- What does this program do?
- struggling to use calloc and realloc
- How to access symbol when its dimensionality is not known till runtime (About to giveup)
- i++ question
- int a[17]; int b = -1; /* a[17] same as b guaranteed in ANSI C? */
- How was Windows made ?
- Please help a n00b write a compiler :-)
- How to declare an array of sort functions for qsort()?
- data types (bitwidth) and multiplication
- gdb: insert assemble code but NOT machine?
- variable argument lists and ..
- A question on incomplete definitions
- question about pointer
- bitwise increment one liner
- looking for a complete CRC32 program
- Hidden read of indeterminate memory
- good night
- C ---> device programming
- How can I trap an API call by windows
- Optmization
- Why isn't this working correctly?
- reading filenames in C
- Undefined behaviour question
- What causes segmentations faults in malloc?
- running program as a background process
- looking for function
- Why does this work? (rot13 function)
- printf() and character arrays
- Misc Qns...
- UTF-8 in char*
- Forming protocol messages with structure instances
- How to compute time into integer?
- Is this correct?
- having a problem with calling a function
- new strcomp() function.
- function and fileio questions
- Rounding to next highest number?
- ftell()
- dsp conversion
- Designer's notes
- AlphaSort for singly linked list
- Looking for c code to create and manage a buffer like a com port would be managed
- Where is stdio.lib?
- Urgent HELP! required for Caesar Cipher PLEASE
- in what field is C used the most?
- Little to big endian conversion
- C 99 -- C++ 2003 diffs
- warning: dereferencing `void *' pointer
- safe scanf( ) or gets
- Learn C Now diskettes
- anything wrong with this?
- getw
- undefined reference to `OpenPrinterA@12'
- strcmp() And if
- accessing dos from c program
- Compiler Warnings
- copying an array of pointers to structures
- Parsing options in the same way they are passed to main
- typedef warning in self-referential structure
- parsing config file
- speed and passing data
- setvect and getvect in dos.h
- OT test
- ANSI C Compiler
- Convert __DATE__ to unsigned int
- Swap space size in C
- scanf"tricks"
- The "->" operator
- help with sendto (linux)
- I'm losing my marble.
- Question About Casting
- stdbool.h and backward compatibility
- select + ncurses probleme
- PATH_MAX
- fgets() and scanf() peculiarity
- compilation file dependency
- ferror()
- malloc and free
- Global initialization of function pointer array
- GNU GMP arbitrary precision limitations
- Using m68k assembly in c
- about MALLOC
- alternate function names
- Preference: Header File OR Compile Flags?
- Converting datetimes from/to UTC/GMT including daylight saving
- lookup data structure that returns the previous element as well
- SUMMARY: How to return an array from a sub-routine.
- --(int)d
- relational operators on pointers
- simple algorithm for finding primes
- Array C'tor
- Problem with fread function
- porting issues ?
- Strange error
- open() flags
- K&R-Style Function Declarations: Good or Bad?
- C Programming Book
- %lld conversion
- extern access to variable
- problems with CR (carriage return) and LF (line feed )
- freopen()
- Error in Numerical Recipes lubksb routine
- random() and fork()
- typedef Used to Cast Function Pointers
- How to read a CDA file from a CD audio
- Reading a line from a file
- Translate from c to asm
- a dumb strcat question
- Question on file size
- Convert a binary value to unsigned decimal value
- Functions with variable amount of arguments i.e. printf()
- -x == ~x + 1
- GMP and finding MSB of type mpz_t
- Solved by reading this Group!
- Low Level Help Requested.
- enum fails with using declaration
- C or C++ program?
- ANSI clear screen [MS & Borland]
- c struct help
- C programming Interview Questions
- Unpredictable program behavior ..
- Who succeeded in compiling Crafty Chess source code?
- source code for independent component analysis ??
- getting CPU usage in windows 2000
- Getting the middle of a string
- binary search tree removal - stuck - HELP!!
- Can I send char as array argument?
- mindless: Do you have a good name for a class that...?
- YYAT (Yet Another Acronym Thread)
- aceept() ?
- Predefined macro namespace
- Books/texts
- Work schedule
- How do I: Main thread spawn child threads, which child processes...control those child processes?
- threads -> multiple?
- Open file without know the complete name?
- more header files?
- bsearch script segfault
- Array of function pointers
- Getting address of structure to string array / pointer problem
- Debugger "print" clears memory corruption
- Double to string?
- Writing safer C programs
- outportb() / inportb() and Win32
- 32-bit IEEE float multiplication
- Are the functions "time" and "scandir" thread-safe?
- Converting Character Array to String
- freopen, fclose and stdout
- c.l.c charter
- int to unsigned int conversions
- to find execution time
- Input/Output function
- bit manipulation question
- need help with search code
- Manipulating string constants with preprocessor macros - possible?
- gets() rationale
- c struct help
- operator ++
- Effect of goto on local variables
- how this is evaluated ?
- GMP problem with simple thing
- sizeof main;
- Do I really release memory ??
- Scientific Calculation with long double
- Need help with my Calculator program.
- file name with variables
- Pointer validity
- AMD opteron 64
- replacement for relational operations
- deleting and sorting in files
- regular expressions in C
- How to return an array from a sub-routine.
- EFFICIENCY question: need help from the C geniuses
- How to remove the type defined by "typedef"?thx
- How to find out a type id
- File Viewer that stops at the 24th line
- scanf() vs gets()
- Calling C functions from Tk script.
- linking assembler code to C via C library
- help generating an array of array with malloc or calloc
- Reading specified Location
- New Forums
- Is C99 the final C?
- Http Post in C
- ping John Smith.
- GTK errors with Visual C++
- %ls C89?
- What is the proper way to handle errors from function calls?
- Can some "C" expert correct me an efficient way of manipulating the data from the pointer
- when GOTO makes sense.
- structure member allocation
- Copy Protection?!
- Developing a simple GUI
- Tokenizer interface
- Prototyping rules/recommendations sought
- Comments reqd
- typecasting a bitfield to unsigned long long
- [Q]What is different between strcpy and sprintf in this case
- [maybe OT] signal( ) standard ?
- longjump
- Looking for C programmer interested in powerful data compression project
- how to make elegant use of preprocessor directives
- Question on COM port
- Reading a file line by line... in reverse
- I need to display an array of structures on screen of an unknown length
- Multiple function selection
- How can I "peek" at the keyboard without suspending?
- sigset_t and gcc
- Pointer to array of unspecified size
- Standards compliance
- Link two lists
- Reverse a linked list
- Error in the standard?
- web search with summarized result/web pages
- File read/write operations
- k&r book
- postgresql binding to c
- Style Question - Checking for Poor Parameters
- Clearing of structs...
- malloc
- reading a file in reverse order (bootom-top)
- malloc vs. realloc
- Graphics/GUIs in C
- hopeless scanf (or I'm hopeless :))
- EXIT_SUCCESS guaranteed to always be zero?
- #include <math.h>
- Scientific C Software, Public Domain
- C programming - reading from a file - help request!
- simple c array help needed
- Binary Search to search linearizer table?
- some interview questions.
- partial preprocessing
- va_copy implementation
- [Lang C]Linear Algebra, Calculus In language C with gnuplot.
- Reading Unicode Strings from File
- about BigEndian and LittleEndian
- a problem about using macro?
- Comparing elements of an array to a char
- debugging - help
- sig_atomic_t
- Question regarding pointer typecasting and manipulation
- class and method
- Single tasking?
- malloc() again
- Pointer Question
- how can get other process pid
- I'm sorry for post same message three times by mistalke!
- how can get other process pid
- how can get other process pid
- how can get other process pid
- Writing an Emulator
- fgets() - supposed to be simple :)
- Trouble with malloc().
- data conversion
- Passing structure value to pointer
- data transfer
- number of characters in a string
- About Sorting
- About sorting
- test
- parsing C code
- [possibly OT] the comparison function in qsort
- [possibly OT] the comparison function in quicksort
- file i/o issue
- memcmp() semantics
- why do strcpy, strcat, & co return a pointer ?
- malloc() and free()
- Best way to learn?
- best way to chop off leading char in string?
- I'm new at C, and I'm having problems with descisions and loops
- how c language to realize multiple ?
- volatile inhibits side-effects
- older standard drafts for download?
- printing error mesgs.
- Makefiles with multiple targets
- problem with array
- initializer needs constant
- Returning an assignment?
- question on avl trees
- c event handling - how?
- how c language to realize multiple ?
- how c language to realize multiple ?
- Safe subset of C?
- how the realloc( ) allocates memory ?
- C Coding Styles and the use of Macros
- Theoretical Problem
- libc and thread safety
- tailing a log file using c ...
- Expat problems
- malloc syntax
- Lvalue Required......Why?
- Pointer to function
- Complicated circular type definitions: help!
- Problem with a Regular Expression in C. Need Help!
- code for relativity
- what is the default return type of a function?
- what is the default return type of a function?
- isprint() equivalent for ISO-8859-15?
- Header include order
- Memory layout question
- Can realloc potentially cause a memory leak?
- EOF (novice)
- Datastructure design
- How can I embed the *regex* engine into C program?
- need some help with I/O
- C Array Sort - Pass By Reference.........
- Counting program lines except comments
- Linker error multiple definitions
- How do you save input in a text file?
- Can't figure this out
- const char * to char[]
- Pointing to high and low bytes of something
- bug? instruction not compiled below comment
- Hash Map API Preference
- request for code review
- How to call a function from one project to a function in another project ???
- Documenting C Code
- LL(2) to LL(1) conversion
- winMain link error
- VFW.h link error
- gcc compile problem
- gdb and dbx question
- An Evolutionary Analysis of GNU C Optimizations
- passing an array to a function?
- Prime number algorithm in C
- is this some c code ?
- where do I get libraries , snippets etc
- Artist needs help with bitmaps
- what are the reverse functions of atof( ), atoi( ) and atol( ) ?
- cpencrypt, in out parameters
- A simple math libary problem?
- Segfaulting when trying to create custom 'fgetline' function
- Difference between using exit(n) and return n in main()?
- Code, generate thyself!
- Using arrays in C.
- void pointer arithmetic
- recursion
- Variable argument lists
- Efficient Programming
- Somebody misunderstod me
- @@@ A Serious Question @@@
- Windows c programing
- Does malloc add size information to program?
- what is good irc networks and channels avialable for c programmers
- Pointer mutations
- Code Critique Please
- assigning values to structure members
- Deferencing void pointer
- Insert EOF marker into file
- logistic regression implementations
- socket programming
- check out this code! any ideas for me fellas?
- c source
- line directive
- Structures, Pointer and gets
- Pointer mess.
- header file question
- Use of do...while(0) in ASSERT macro
- writing 5 bits at the time to a file
- C compiler with BSD lib socket included ???
- Using temporary register Variable
- Trigraph sequences
- vi-style command-line editing in gdb
- Strange fwrite
- Function declarations & use of static functions
- Mix C++ DLL with C main program
- Function declarations/defaults
- udp_var.h
- Working with threads
- calling other functions
- Structure Compatibility
- zip
- Look for SOAP implementation for C (not C++)
- in out parameters in CPEncrypt
- Printing double with no trailing zeros
- Calling C DLL from VB
- Preprocessor fun; \xdigits
- Want to optimize this procedure, any advice?
- Very strange error
- windows.h question
- struggling with strings
- Question on switch block scope
- components of a floating point value
- how tp pass a stream into a structure
- Defining int64
- two exiting points in void function?
- how to return an array from function
- mblen and mbrlen
- mix c and c+++
- writing tsr in c
- Initialising structures
- in realloc(): warning: chunk is already free