Search Results

Search: Posts Made By: James Denton
1,521
Posted By James Denton
Script to copy functions
I need script code that does the following.

It would go into all the .c files in the current directory and in each file, it would copy the function headers for all the functions that are not ...
1,603
Posted By James Denton
For typedef struct
Hello
Could you do the same for structures defined using typedef?

For example:


typedef struct {
int numer;
int denom;
} Rational;should turn into:


typedef struct {
int...
2,488
Posted By James Denton
Thanks
Thanks!!
2,488
Posted By James Denton
Convert string using sed
I have a couple structure definitions in my input code. For example:
struct node {
int val;
struct node *next;
}; or
typedef struct {
int numer;
int denom;
} Rational; I...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 12:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy