View Full Version : answers
- Help with pointers
- I can teach anyone how to get what they want out of life.
- versions
- Question about storing a maze board(like 2d array) into Tree.
- Please spot out the cause of this bug
- Core + malloc
- Bus Error asprintf. OS X 10.3.6. gcc 3.3
- Synopsis, please!
- memcpy as macro legit?
- Tool for buffer overflow prevention
- Micro-C -- Help monitoring a switch on 8051
- Initializing array of structure!!
- Typedef with GCC/G++
- how to pass a two-dimension array to a function in C++??
- How to replace: #if VAR1 == 100 ... #elif VAR2 = 1 ... #endif, With #ifdef VAR1 ... ? ... #endif
- How to best parse a CSV data file and do a lookup in C?
- i need help with this card game!
- how to do this?
- Tool for buffer overflow
- fast array copy
- getc and ungetc
- need for doubly linked list
- what does that have to do with C?
- Got stuck with wchar_t *argv[]
- query on #ifndef _FILENAME_C
- extern with incomplete types
- Learning C
- C Web crawler code
- qsort
- C socket programming UDP
- RPC program building
- Memory Management
- Projects
- Hash Tables & Linked Lists
- char vs int
- Pointer of array's ( example: get the third word of the sentence )
- How to read data ?
- functions and main
- Memory allocation by malloc
- Question about setjmp on Itanium HPUX.
- update hash table
- Opaque data type
- call to malloc with size 0
- C = only language that easily deals with shared mem. access ?
- text fixed with graphics and eqations
- how to hide characters on screen
- Subtracting 0 from one-past-end pointer
- 47270 Mining the Web: eigenVectors, Kriging, Inverse DistanceWeighting Searches 47270
- C/C++ code beautifier
- >>> TERRORIST AND EVIL ANGLO-SAXON RACE AND RELIGION <<< FACTS YOU WONT HEAR
- seems OT; will demonstrate relevance
- Handling text with C?
- Definition of NULL
- programming a network adapter
- [META] unanswered questions
- how to read source code?
- developing c code to access partition table
- How To Reduce Number Files by Putting file1.c and file2.C Together
- const members
- Learning C with Older books ?.
- Simple vsscanf source code
- How can I get a name of function running currently.
- Unions and portability...
- Directory/File recursive listing using standard/portable C?
- defining wide-character strings with macros
- project doubts please !
- regexp confusion
- HP/UX Itanium C comiler & std C
- telnet
- Write a customized printf function in C
- How to pass variable argument list to another function w/ variable argument list?
- Just need a few questions answered...
- Value of uninitialized char
- Learning C from old books ??
- test
- C pre Processor
- Problem with big matrices
- Get array size by a pointer dynamically
- noop comparator for qsort
- getting variable type in C
- using pthread to receive data on a socket and simultaneously play it using /dev/dsp
- has anyone followed sedgewick's "algorithms in c parts 1-4"?
- fscanf
- Stuck with a strange core (C code) -- Please help.
- trigonometical,rad,acos... HELP please
- How does C cope if architecture doesn't address bytes?
- Bitwise idioms
- Simple vsscanf source code?
- What does "void (*vector[])( )" means?
- Modify Static Data Okay?
- Recursive Calls with Ellipses
- homework problem
- Meaning of Packed and Local types
- Follow-up on Newsgroup Survey
- fork(): how can I kill forked process and all ITS children, but leaveparent alive?
- 2 q's re sedgewick's algorithms in c parts 1-4 book
- Golf Competitions
- EOF character
- strings
- nonzero != 1, right?
- Obfuscate C tricks
- Sprase matrix
- printing a pointer's value
- Does this invoke undefined behavior?
- The C language on Mars
- special character to strings and vice versa
- Please review
- write 2D array to binary file
- using volatile ptrs ...
- Graph DFS implementation (stack usage)
- convert 'C' code to 'Fortran'
- test(sorry)
- libavl example code?
- Arraym malloc() and free() question
- Embedded application: C vs C++: a data point
- seq point/atomic var
- [轉錄][轉]*肮O轉文魔人
- allocate space for typedef data type
- Confused about functions
- why char *p = "can not modiy"; char p[] = "can modify"
- Getting time in milliseconds
- role of preprocessor
- DOS to Windows
- listing all files in a directory
- CPP predicates for compiler extensions
- Functions as function parameter
- Quiting a program using pure C
- c string
- Mutex entirely in ANSI-C possible, without I/O routines?
- bitness of machine using C language
- Doubts:Steve Summit's page/Chapter 22
- simple c-code
- sizeof dynamic array
- Crazy stuff
- install source code to a drive other than "C:\" ?
- Just a question
- Character arrays
- memmem function
- sig_atomic_t
- Walking a hash table created by hcreate_r()/hsearch_r() ?
- Puzzle
- Need to talk to a telnet server and send a telnet break
- static cons and static
- Argument Processing
- Giving the preorder & inorder lists, How can be constructed the corresponding B-TREE ?
- How to create a new directory in C
- Variadic functions
- ASCII to HEX
- Memory allocation
- Graphs (BFS and TFS)
- World's First Book on Professional Data Recovery Programming
- phooey! .. The batch file cannot be found
- caste Q
- check structure member at compile-time
- Nmap Malloc etc...
- double-linked list elements swap
- Nice way to do help screen output?
- hashlib package
- Sig handler causing core dump
- packed datastructure - how to define?
- Seeking Borland C++ 4.5x
- 10 limiting display
- address of a statement in C
- Count the frequency
- linked list
- Flash and C integration problem
- Extracting file system information
- Convert VB code to C code.
- array subscripting
- Complex array definition
- How to best do the following string operations...
- getch?
- file io trouble
- how to "new" a two-dimension array in C++?
- Pro*C Compiler
- Game looping problem?
- 4-bytes or 8-bytes alignment?
- comparing unsigned long and unsigned int
- C multi-dimensional arrays and pointers
- Why C?
- String Comparison
- Newbee array pointer question
- Data Recovery Programming Book
- char array initialization: Is 'char a[] = ("a")' valid ANSI C?
- help needed with C grep program. About pipes and ls in shell
- Web Cam, Notification of Broadcast
- "..." as a function parameter?
- Utility to partially preprocess
- Please review my tutorial
- c: 4 Millions Domains data with Category
- printing address using pointer
- C Help Magic Square
- Collections Library for C
- Constructors/Destructors for struct with function pointers
- Adding a Sentinel
- hi
- Trouble using string functions
- '\0' ?
- static structures
- Get System Memory in C
- How To Send Http/1.0 404 Not Found Error Page In C
- file operations FAQ etc
- C... Why not c++?
- dynamic allocation
- pointer array question
- problems in saving to a text file
- reentrant functions
- position independet code
- Segmentation Fault...
- Compile error message
- Confusion with C
- assert( x > 0.0 && 1 && x == 0.0 ) holding
- A bit off topic; setjmp/longjmp
- Getting call stack (like dbx where cmd)
- data bus model...
- Can use macros to solve this problem?
- how the following printf statement works
- How to delete files in a sub directory
- How to call a shell command within C?
- What is returned ?
- Extract a function from C code?
- rand() implementation
- Reading from file
- implementation of rand() ?
- sorting an array of three kinds of stones
- Infinite loop problem in linklist
- URGENT: Need help in setting environment variable.. pls help
- detect recursive C code
- detect recursive C code
- test
- Binary files, little&big endian setting bits
- access union member via ptr
- keyboard driver code for XP
- Is this legal stuff as per C Standard?
- Is this legal ?
- Why can't constants have commas?
- resolving a warning error
- What is multithread safety
- Sort 1-D of a 2-D array and copy both
- Can Array Work within Structure?
- Strings in C source code
- Why will this not generate a random number!?
- couple of questions on streams
- strange problem with optimisation
- Code for substring & int conversion
- URGENT: pls help, Need to know how to set Environment in Visual .NET (using C)
- How to generate all possible permutations with repetitions?
- Here is my full program excluding the search and delete functions
- qsort + structure problem
- fftw-3.0.1-fma + Lynxos+PPC G4 fails tests.
- Array scope
- fopen failed when called several time.
- memory use
- Function that standardize a string with lowercase and uppercase ?
- Some Interview Questions
- Keeping a file in memory
- Array initalization doubt.
- Dynamic analysis tools information
- What's wrong in my function of reverse the doubly linked list with dummy node.
- Problem reading struct in a file
- Pointers to structure and array of structure.
- rola i funkcja jezyka c w terazniejszości
- limits reached
- stack size
- Nested Statements.
- simple question??
- Help with newb's project
- Interesting coding idea
- Inititalising a char array from multiple sources
- A good article about vulnerabilities
- C was created by Commodore ! ! !
- Tail space in struct within struct
- Compiling a tar.gz source file in Windows
- Multidimensional arrays
- Commenting the source code.
- Inconsistent time zone
- Unexpected repeating of my output function
- rand() function doesn't work well??
- glib: problem with GArray
- How To Use C To Write A Web Server?
- Can a double always represent an int exactly?
- strncpy help (long)
- vulnerabilities
- UCLA freemason lecture in Toronto
- Trees Query
- derangement: code review request
- k&r Ex1-24 without stack
- Where to start
- Difference between Macro and Function...
- A small question about Duff's Device
- test
- Strtol vs sscanf
- array of function pointers --- syntax error!?
- Access from function in struct (pointer to function) to other items in the struct (advanced)
- K&R2 2.3 : /n vs /r
- return a string?
- Usage of scanf to prevent buffer overflow...
- GetByte(int x, int n)
- bignums.h
- strlen in a for loop with malloc-ed char*
- Anyone can help?
- Anyone can help?
- printf() formatting - stripping zeroes, padding
- printf() formatting - stripping zeroes, padding
- Printing "long double" type via printf() on MinGW g++ 3.2.3
- modulo encrypt problem
- Errors with typedefs
- executable and GDB
- Why can't i make static function
- pow function
- How to convert float to int in #define statement?
- sscanf feature in C++?
- variables at specified memory locations ...
- Global Variables
- header file in C
- Access Violation in linked list
- [URGENT] fgets reading last line in file twice
- Pointer Guide Nearing Completion
- Parallel port programming
- ...malloc ...from Rome :-)
- Super Mario Shapes
- char and unsigned char
- test
- hexadecimal
- Borland C and Microsoft Visual C
- Fatal: Unable to open file 'WS2_32.OBJ'
- NEWBYE - GRAPHIC QUESTION
- c equivalence of const_cast?
- Duff Device reference ...
- A program that reproduces itself
- swap two numbers
- very very very long integer
- pointers to incompatible types
- scanf problem
- C Puzzles
- very very very long integer
- Code reading technique
- CORDIC algorithm
- Any interested programmers?
- Global access of static variable
- Global access of static variable
- Pointer to a Pointer to a struct
- C to Java Byte Code
- Pro*C Question - printing varchar
- Write only memory
- An error which is driving me slowly mad
- Safer and Better C
- problem to compile with...
- Linkerproblem with mcal/datetime.h
- a simple wget in C language?
- offset of a member inside a structure
- Question about char pointers init to const strings
- Built-in primitives for complex
- Floating-point bit hacking: iterated nextafter() without loop?
- C + Malloc
- Request for code review.
- Index out of bounds question
- get current path
- Libraries to handle common tasks
- Reduce duplication
- A graph application
- malloc and free
- Variable size arrays and pointers
- arbitrary array index range?
- how much of C is enough?
- Scan input - But only if something has been typed
- How to retrieve the name of the file from a FILE *
- can strftime() product non-locale specific (i.e. UTC) results?
- gcc in linux
- #define and external static
- list view control
- Doubt about getchar() and scanf() for a character?
- integer index problem
- why segmentation fault when copying a character?
- Copying structs
- friends, namespaces and operators.
- LNK 2001 error using the cl compiler??
- Is this legal ?
- authentication
- File locking
- K&R 1.5.1 exercise
- why this C code did'nt works as expected
- error w/ pointer to structures
- Array size using pointer
- Why 'sizof (CBuffer::m_pData)' doesn't work ?
- tree problem
- Systemdiag via c.prog
- Doubt regarding const......
- string copy problem
- Unitialized pointers?
- scanf address
- flush(stdin)
- Linked List problem.
- Connect two pointers (arrays)
- double while loop in linked list
- EVIL AMERICAN GOVT (aka FBI) is full of SADISTS and PERVERTS
- what does "strict alignment" mean?
- Global variable declaration in headers
- bit masking
- In fflush(stdin), what happens to flushed data?
- Variable number of parameters in a function call?
- having problems with math library
- Where can I find the implementation code for a function in C language?
- Help! Raw Socket CheckSum
- lcc-win32
- What type is a structure?
- Catching a process' own stdout
- Array of pointer Vs Pointer to Array
- bus error in linked list
- byte to LONG
- For in Macros??
- Recursive Union
- What Kind of DataStructures C using? ( Heap or Tree ??)
- How to create shared memory ?
- Function delcared inline but not defined inline
- having problems with pointers (segmentation fault)
- scanf() help
- stdout not open?
- Some advice about references on memory management in C
- Lexical variables - speed penalty?
- Is there an open source C compiler to Stack Machine?
- how to get the filename of a FILE pointer
- Ambiguity in semantics of assignments?
- How to create a bitmap?
- Broken pipe
- Compiler for Windows (Open Source)
- Problem with an array of pointers
- volatile
- newbiw question: What is the best way to declare and define global variables?
- oob, raw_sock, PingOfDeath
- LINK : warning LNK4078: multiple ".data" sections found with different attributes (60000020)
- extern and Static
- Script-kiddies use C to write evil programs ! ! !
- fgxfg
- Why is stdprn not defined under Windows?
- fdatasync() does not work
- 2 pytania o float'a w C
- When fopen() fails
- About Hast table
- char* gets(char* buffer)
- fsync()/fdatasync() issue
- libctiny.lib problem
- C++ array relative C question
- Julian timestamp to readable format
- Is there any library to get/fetch a remote URL?
- declare vs define of global variables
- Storing in array
- preincrement puzzle
- Size limit of enum type?
- newb compile question
- How to delete a line or a character?
- goto to switch labels
- function to perform a * b / c in long int format
- strncmp(a,b,0)
- How to parse a remote Internet XML document via 'Libxml2'
- arrays and K&R 5.10
- Design decisions on data structures
- Dungeon Master - like sources
- segmentation fault - code attached
- searching data for a large set of substrings
- need to be enlightened on pid_t
- Questions
- Reply
- Question about fgets.
- Questions about memmove
- setjmp.h and other people's implementations
- length of array filled with pointers?
- What is a type?
- Signal Call
- Question about concatenating quotation marks
- is there any way to check asynchronously whether stdin contain data to read?
- is there any way to check asynchronously whether stdin contain data to read?
- Compile and link
- watching a file
- atexit()
- Can I write a recursive type definition ?
- Function arguments
- Using mysqlclient library -- odd crash
- Unis signal handling in parent child scenario.
- fopen() vs. open()
- Could VC6 be integrated with gcc, and if so,how to do it?
- Compound statements in expressions
- Pointer Usage
- SET ADT
- OO in C
- Endless loop question
- Trying to understand pointers for function paramaters
- SMBus find devices
- problem with implementing pipe
- invalid floating point value
- how to efficiently find line number k
- unsigned long long + int
- attempt at qsort implementation
- "crunch"--I@can't understant its meaning!
- #include optimization
- opinions on logical OR variation
- SIOCGSTAMP question
- while Vs for loop
- a history question
- Why is this allowed in C?
- Obtain sizeof struct element using offsetof()?
- elementary construction +2
- How do I pass the & instead of a ptr?
- # inside a macro body
- Is this valid C statement?
- how do i link 3rd party lib on windows ?
- Sizeof(X) on different architectures
- sscanf parsing doubt
- EFAULT error in accept socket call
- syntax for e (natural logs)
- Order of structure members in memory
- printf conversion problem
- sscanf parsing doubt
- New Hand of the C Program
- align to double or to long double?
- OVeR grate
- Variable Sized Struct Members?
- Isn't C Programming In DOS, A Part Of This Newsgroup?
- integer to char table problems
- How can I use socket.h?
- Rectangle intersection
- Clearly, it is too late to fix c99 - C is dead
- contiguity of arrays
- strstr(char *str1, char *str2)
- elementary construction +1
- Disadvantage of using 'inline'
- 6 byte integer to string
- Invoking A DOS Program Through A "C" Program
- envp[i]!=(char *)0
- struct and union alignment
- need help creating a tree of processes(implemented in C)
- mysql problem
- C language portability support
- ++i vs i++
- calling fopen using function
- Beta testers needed - C to Java byte-code compiler/IDE
- Creating an MD5 hash with crypt.h
- Q: volatile struct elements or entire struct?
- Managing global vars between files
- elementary construction
- c-book
- Screen Handling
- Viewing the *.I file of my C source code in MS Visual C++ 6.0
- memory
- WinAPI to locate a file in directory
- context switching with setjmp
- C Program Portability
- C compling Error on IBM 390
- great
- malloc and pointer hell