linux « string « C File Q&A

Home
C File Q&A
1.array
2.binary
3.delete
4.Development
5.directory
6.fgets
7.fopen
8.fprintf
9.fscanf
10.fwrite
11.header
12.include
13.input
14.LINE
15.linux
16.open
17.output
18.pointer
19.read
20.size
21.string
22.struct
23.Text
24.windows
25.write
C File Q&A » string » linux 

1. Search for a string in a text file and parse that line (Linux, C)    stackoverflow.com

This is "how to parse a config file" question. Basically i have a text file (/etc/myconfig) that has all kind of settings. I need to read that file and search for the ...

2. Text file to string array in plain c?    stackoverflow.com

I want to load a txt file into an array like file() does in php. I want to be able to access different lines like array[N] (which should contain the entire ...

3. Writing Bitmap to string insted of FILE* or XImage to PNG    stackoverflow.com

i converted the output XImage of my code to Bitmap, but the output file is massive, so i thought about compressing it using lzrw i use this code to write the bitmap ...

4. Unwanted characters written during string write to a binary file    stackoverflow.com

I have a program that walks the file system hierarchy listing the file path names on a binary file as follows:

struct list_rec{
    int seqno;
    int ...

5. Finding the owner and group of a file (as a string)    stackoverflow.com

I am trying to get a C string of the owner and group of a file, After I do a stat() I get the user ID and group ID, but how ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.