View Full Version : answers
- malloc trouble
- References for machines where NULL is not zero.
- String is left containing the data originally passed to the function?
- pointers to pointers
- Looking for a C program to parse CSV
- Split string whose length is varying
- MACROs are ugly but...
- Charity license with a build in (almost DWIM ) t3d programming language
- standard variation
- malloc() for struct member
- struct initialization
- wrong print
- what is (*vector) ?
- what are REGS,SREGS ?
- Source code analysis tool
- Simulation of Sizeof operator
- Antsoft Best domain software
- Image BMP
- On what does size of data types depend?
- change clock's precision
- Algorithm newsgroup?
- limits constatnts
- Modularisation
- preprocessor directives
- What is the problem with the code?
- How to check out the segment dumped file and debug them in c? Thanks
- how to declare pseudo-matrix function argument that is not modified by function?
- what is at 0 address in a program?
- Which numbers evaluate to true and false?
- if and for statements
- Mimicking CAT or TYPE in C
- RGB(more than 16 colors please)??
- Reading Words from File
- parsing #define in a code
- Initializing Global Variables
- strange error with global variable
- disable stdout buffering ?
- Problems with my little c-program
- structure and constant memebers
- pipe with program arguments does not work?
- static and global variable
- assertion in header
- Puzzling compiler response to array initialization.
- Dynamic Memory Allocation for Reading String
- turn off the log file
- C question -- Know the answers to the following
- (OT) Google groups abuse
- Reinitializing static array???
- How to output to a buffer and send to client?
- generate all possible strings of given length given a set of characters
- Break the string into different parts
- Convert float -> char*
- static functions
- Suppressing "Parameter not used" Warning
- What's wrong with this code ? (struct serialization to raw byte stream)
- What's wrong with this code ? (struct serialization to raw byte str
- why it is not giving any error?
- why it is not giving any error?
- serializing an arbitrary data structure into a flat buffer (raw contiguousmemory block)
- sorting a hash table
- Different seeding of srand() during a SINGLE program run
- segmentation fault
- Namespaces clash in C
- forum
- What exactly is a text character in the computer?
- MSDOS-Based Compilable Code for RSA / Other Public-Key Scheme
- gdb debugger
- Linked Lists
- Instantly Download Software
- time problems 2
- time problems
- list of pointers to function
- How to code that system call? Thanks
- is fopen/fseek/fread buffered?
- what is funtion for delay in VC
- Is the behaviour defined
- Posix semaphores
- OPENINGS IN MUMBAI
- serialization of structure into a raw memory block
- Arithmetic properties of HUGE_VAL and errno
- count the number of occurrences of a substring in a string
- using memcpy()
- How to obtain library name at compile/preprocessor time?
- How to learn lists in C
- Help with system calls
- Help with system calls
- printf execution problem
- allocation alignment for global and local variables.
- Using make
- Universal (g)libc
- offsetof
- performing a "deep copy" on a nested structure
- Assembler vs Compiler vs Linker
- Size of structs containing unions
- Detecting Reads of Global Uninitialized Variables
- I think I'm gonna cry. (or newby problems with simple string function)
- Getting rid of excess #includes
- trying to compile with clock_settime(...)
- Dynamic memory allocation:Reading a file into buffers using a single linked list!
- File handling in C
- A[x][y][z]
- EMBEDDED SOFTWARE ENGINEER/ CAREER POSITION/ IN
- [Project] List & ConstIterator
- size of pointer in C?
- Global variables
- Recurssion: Why one crashes ?
- RAND between 0 and 1
- K&R Wishlist
- C quivalent of std::bitset
- a pointer that points to itself
- Calloc problem
- timer with millisecond precision
- How do I check for directory existence in Linux?
- memcpy(0,0,0)
- for( int i1=0,i2=0 ; i1<n1 && i2<n2; i1+=2, i2+=4)
- question on structs and memory blocks
- how to convert an unsigned char to byte
- Curses for gcc wanted...!!
- Scope for C/C++
- something right out of a box
- reassigning value of a pointer
- Standard for comments prefixing a function
- Good wait function?
- char -> int
- collocated architecture versus distributed architecture
- distributed computing choices
- #if (defined(__STDC__) && !defined(NO_PROTOTYPE)) || defined(__cplusplus)
- sandbox is the same as development machine?
- app-server....
- freopen()
- 2+ exp(approved lecturer)lookg for a career shift in software industC,C++,VHDL,Assemb
- Endianness of structure/union
- C Aptitude
- insure compilation
- query
- Packed Decimal handling library
- c complier in windows system
- c complier in windows system
- How to create file with permission 666?
- What are the important parts of C languages?
- Problem with free(int *)
- Dividing 1 by a number k
- A small question about 'printf'
- How to tell if a number has decimal places different than 0
- Memory alignment in structures
- visibility of variable
- Count Words
- Generate All Subsets
- "expandable" arrays - using pointers ... How to ?
- itoa, atoi - confused
- Faster for() loops?
- converting a preprocessor token to a string constant
- I don't quite understand this exercise...
- macro with variable length of argument
- how to print a short and long integer?
- Verify Html Tag
- open and read functions (can't make 'read' work..)
- best way to do this: on error goto beginning of the main()?
- How to apply sizeof operator on an array-of-pointers-to-functions?
- reading large text files in reverse - optimization doubts
- typedef
- structures, structures and more structures (questions about nestedstructures)
- code optimization
- Weird Issue
- Second Highest number in an array
- In which scope should variables be declared?
- Validating multibyte strings
- Execl() in windows
- Possible memory issue
- Learning C, Trying to Understand & (unary op)
- Stack emptying
- Pelles C POLIB.EXE /EXPLODE utility
- gcc warning
- Function stacks, code sections and other misc hackery!
- how to cut off the decimal?
- Null character and fixed strings
- trim 0s
- Initialize struct fileds to zero
- Need help in understanding gdb messages
- Does C guarantee the data layout of the memory allocated by malloc function?
- can't read file?
- How to concatenate strings that contains has nulls?
- Catching the unsigned int
- Alternate solution to krx113
- Open Position (Ottawa Canada)
- makefiles
- memcpy()
- a question about macro
- Initiate a union
- i want to convert function to an object file..is it possible?
- Information about a function declaration
- Rotate a grid...
- boolean short circuit
- "union"
- Return statement twice in the same expression
- Programming a TouchScreen
- gcc caller save register
- Using strcmp() after using strtok()
- how to dowload hd wm9 movies?
- need help finding SIGSEGV bug
- scanf is resetting the value???
- Constants: when to use L U UL ....
- overflow
- who can tell me the differece of this two ?
- GUI Question
- Faster algorithm for prim numbers in C...???
- How to mid string on a binary string?
- Pointer to Structure Casts
- Expert C programming available for download
- strtok() problem
- Why this function doesent work correctly...??
- How to debug gcc in Linux
- debugging question
- Need to seperate input scanf()
- string to hex
- compiling errors while initializing a structure has function pointers as members
- compiling errors cannot understand
- English interpretation of this code?
- Strange ARGC/ARGV Behaviour
- Telling an empty binary file from a "full" one
- Linear Equation solver
- Passing function pointer as argument to a function???
- Regarding Time conversion, secondly number comparison
- Questions about pointers to objects and pointers to functions
- Where can I find the C function library source ?
- Where can I find the C function library source ?
- Where can I find the C function library source ?
- NunniMCAX v. 1.4.1 released
- Runtime Structure
- how to allocate memory dyamically for multidimensional array
- Help on Astrolgical Calculation
- unsigned long long int to long double
- More on Multi-dimensional arrays. Question on Mr. Emmanuel Delahaye code
- I'm new
- Survey on the Effects of Organizational Culture on Software Productivity
- forking a process
- VerificationProgram0.09 for PointOnLineSegmentIn2D =D
- How can I encrypt string using the MD5 method?
- one producer thread, one consumer thread: mutex needed?
- how do i use debugging info in gcc to find line numbers of a function?
- struct member overlap?
- Can it work?
- conio.h (linking?) problem
- bytes: shifting doubles?
- precise string representation of float number
- multi dimension array initialization
- estracting single characters in a string
- declaring a function that returns a pointer to 1-d array
- Fast memory copy of 2 areas...
- finding anagrams
- substitute of semicolon
- Sparse Matrix operations
- A question about C program in Linux and Windows
- Checking stdin for new data
- whatdoido.c
- logical correctness?
- Telnet pc under NAT
- Adress arithmetic and dynamic arrays
- Floats to chars and chars to floats
- how password is stored and check the authentication??
- Please explain the output
- question about gets() and feof().
- Anyone able to understand this C program?
- Pointer to static storage causing warning by code-checker
- va_start problem
- Returning a 2D array from a function
- boeh boeh, font test, boeh boeh. =D
- fprintf or vfprintf
- Point on Line Segment in 2D. Which code is faster ? Can you improve it ?
- I had to try it
- Exiting a getch() if no input received...
- dynamic linking
- Getting a pointer to a variable by its name as a string
- why is double more efficient than float ?
- 1 more doubt !
- 2 doubts !
- Redirect stdout from java to c
- Should I do that...?
- integer to pinter conversion
- Useful libraries in ISO C
- integer to pinter conversion
- external linking
- allocating a 3D array
- how can i do this in o(n)
- How: User [input] defined number of itterations
- Filnames and timestamps
- integer promotions
- feof
- Conversion fron signed to unsigned?
- fgets and EOF in Bash
- Help: How to create a midi file using C?
- Documentation in C
- UNIX env var parsing in C
- sizeof('x') in C and in C++
- Function with variable number of arguments
- Testing a number for evenness
- Function with variable number of arguments
- Difference of 'also'
- extracting text from powerpoint file
- 0 vs '\0'
- floating format not linked
- Is this valid program
- !!, what is it?
- Double-indirect pointers to dynamically-allocated addresses
- Problems about conditional compilation
- pointer to void property
- Float to String
- structure member access issue
- dynamically allocating a 2d array
- folder lock in c
- Introducing Codase - the first powerful syntax-aware source code search engine
- C, lexical
- Floating Point Precision
- cpp: getting to the definition of a defined constant
- default int
- why is it comming
- How do I write printf("Content-type:%s\r\n\r\n",type)
- Extracting Digits from a Number
- Correct Identation/Contex can solve the too many compiler error messages problem when a closing bracket is missing.
- compiling errors cannot understand
- Question: Overflow
- Change case of string using PreProcessor
- can I use scanf to get input (some times user enters input sometimes not, just hit keyboard)?
- question about pointer define
- skipping parameters with printf
- offsetof() macro
- NEW-BEE need help
- struct task_struct;
- msg
- Macro Substitution Help Request
- fscanf() behavior on MIPS processor
- sine inverse of something
- does the system(char *) change the string?
- difference between unsigned char and char in c
- how to open stdout
- code problem
- Does anybody knows a C commpiler with <curses> under a DOS...??
- How to write this?
- gethostbyname(string here)
- Is "a >= b" equivalent to "a - b >= 0"?
- how to convert an int array to a char array
- opening a file based on a variable.
- implementation of the 'sizeof' operator
- Getting a stack trace
- Marshalling an array of Structures
- const int * assignment
- Should use of goto completely avoided in programs?
- why it does not work
- interesting pointer problem?
- How to optimize for loop?
- What am I doing wrong? curl
- Integer and character manipulation
- zhu tou
- Where is the stupid error?
- Hill and Transposition cipher
- Function pointer to void function and int function
- dynamic memory problem(i think)
- Currency conversion program
- function pointer question
- Unnamed compound object as "buffer" arguments
- Structure initialization problem
- help me with the program
- help me with the program
- help me with the program
- Interrupt of CD-Rom
- an activex control within a straight c program
- no runtime library with turbo C
- C/Cpp/Java HQ
- size of a function
- What is C99
- OpenGL Problem with code
- FOPEN_MAX minimum value
- Call once,return twice
- List of Function in C object file.
- How to read unicode file line by line on Linux platform
- Dynamic Arrays
- Newby question about arrays
- Simple question on static variables
- callback functions
- clearing low order bits / making a multiple of power of 2
- Object-Oriented Programming (run-time polymorphism) with C99
- Timer 9600/s
- C parser document
- is there a way to do this...
- Complex statement
- Doubly Link List
- Background color
- offsetof(struct foo, bar.mem)?
- scanf reads getch
- question abt fscanf
- Utility to read a hexadecimal number as string
- Specifying global array size with const int
- Or And Confusion
- Why does it run so long?
- Alignment in structure
- register allocation
- Detecting freed memory
- Why does it run so long?
- How to import a function from a library?
- Using Unicode in C programs
- what's the prob with goto
- what's the prob with goto
- Multiply/Divide a float with a power of two
- Object orientation.....
- Console Screen update - Iteration Count
- Console Screen update - Iteration Count
- N/W programming question
- LinkedList Pointer (REPOST - diff version)
- LinkedList Pointer (REPOST - diff version)
- Conflicting typedef with winnt.h, windef.h and winbase.h
- The importance of prototypes
- Prime numbers
- how to write these info to file?
- Data abstraction in C
- LinkedList Pointer
- malloc and pointer casting
- memset doubt
- Code consolidation
- More questions about casting function pointers ..
- confused abt file operations
- Why C/C++ errors are SO obscure/devious??
- understanding format specifiers
- low-level question
- Function pointer prototype interpretation
- Software Engineers required for USA
- object code from which compiler
- UnSigned Long
- How to eliminate the bitmap difference in big endian and little endian?
- Roots of a polynomial
- where the Turboc C c function?
- while (1) vs. for ( ;; )
- Parity check of a word
- pointers
- fscanf problem
- trouble with double free
- MACRO exclusion
- Outputing ASCII PPM files
- posting 20050827
- bit fields ordering
- How do you read two values returned by a function?
- Detect if stdin is via keyboard or via < file?
- Is char*[] convertible to const char*[]?
- Can i know who has issued a comand?
- two's complement done before storage or on the fly while computing
- two's complement done before storage or on the fly while computing
- How to choose between malloc() and calloc()
- access() doesn't work when a file is open
- Baffled by this ... (casting of function pointers)
- Function Pointers in a Structure?
- freeing structure
- Why doesn't strrstr() exist?
- Where the code trouble is?
- Return type
- Return type
- How to inline non-exported functions in library?
- current date
- How to change the starting address of a structure element?
- What is the best SOAP service to use?
- if (expression) check
- C wiki - struct tm
- im facing problem with fread()??
- Why can't the parameter be const in this program?
- _beginthread -- how to terminate a thread from out side of it.
- tokenising a string using another string
- Compound literals and VLA's
- function (const char *) vs. function (char *)
- malloc inside function (I know... I *did* search google first ;)
- Parse tokens from a string
- print "foo" without using ;
- Problem in Strdup()
- kernel timer
- Replacing a word into other word
- #include errors
- type casting
- Error of List Sorting
- Finding a substring in a binary string
- resolving a linked-list of numbers to a range
- tmpnam
- how will u call this fn
- Changing the functionality of rm command
- C FAQ wiki
- system call and library call
- Select element from Set randomly?
- right truncate of float variable
- (guaranteed?) default value of an unresolved external
- thread safety
- Non-recursive algorithm to find the height of a BInary Tree
- LOGO Linked List Sort using pointer
- const int value changing....
- What does this warning mean
- how can i Know whether atoi function call succeed?
- Multi-dimension array assignments
- printf parameter type wrangling
- taming the cursor
- Control CPU usage of a program?
- wchar_t problem
- Blocks, or not?
- music player
- Linking problem
- stack addressing & type nomenclature
- const variable reassignment
- c interview questions wiki
- file I/O question
- const char ** argument
- multiple file programs in c
- How to link C++ to VB.NET or JAVA?
- splitting a file
- Linking Libraries
- movie
- Compile errors: Curses.c...Perl5.8...AIX
- Virtual Key Codes, Scan Codes and ASCII Codes in C
- R: reading an excel file in C?
- reading an excel file in C?
- reading an excel file in C?
- scanf
- Array in struct
- duff's device / loop unriolling
- what's wrong with my dummy code?
- Memory Leak / Corruption
- hexadecimal to float conversion
- Do I really need to zero arrays?
- Does pthread emit a sigchld signal on successful exit?
- toupper and locale
- getting variable length strings from stdin
- get current user name?
- Interface between a C library and board support package
- resolving a list of numbers to a range
- RPG fight engine.
- C IRC channels ...
- Oko IDDE and DB-manager now shareware
- Need programmer for develop software (p2p remote administrator).
- Need programmer for develop software (p2p remote administrator).
- pointer arithmetic and user-defined types
- A problem with structures and pointers ...
- MACRO problem
- Error in Linked List
- setbuf(stdin,NULL) can't work, why?
- using '__' in names
- Why can't I initialize a global variable to NULL?
- what do most languages call a name-value pairing?
- How to protect/license a static library? Multiple instances?
- fopen ("file on shared drive","w+") doesn't work on 2nd call using Windows LabView DDL
- GUI for gcov on windows
- compare a large number of variables
- Coding the DJB way?
- Is the `export` keyword of C++ template ready?
- copy long strings in C
- Dynamic objects from files
- Working with files in C
- Advanced architecture of c++