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,609
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,495
Posted By James Denton
Thanks
Thanks!!
2,495
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 03:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy