Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6169599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:53:05+00:00 2026-05-23T22:53:05+00:00

Are there any tools which help manage plain old c structures? I have a

  • 0

Are there any tools which help manage plain old c structures?

I have a number of structures that I would like to refactor under one big happy structure.

That is, I currently have:

typedef struct foo_s
{
  //variables
}foo_t;
typedef struct bar_s
{
  //variables
}bar_t;

static foo_t foo;
static bar_t bar;

I would like to use the following:

typedef struct super_s
{
  foo_t foo;
  bar_t bar;
}super_t;
static super_t super;

Now, global replace of “foo” with “super.foo” and “bar” with “super.bar” works, but I have to pay close attention for any naming gotchas.

Is there anything more specialized?

Enviroment: Usually, I work with Eclipse IDE for C/C++ Developers under Linux, but any tool/plugin/script/whatnot under Linux or Windows would be great.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T22:53:05+00:00Added an answer on May 23, 2026 at 10:53 pm

    In MSVC (even the express version, which is free) you can search for all code references of a specific token, this should help you out in at least finding more precisely all places where a struct/variable/function is being used, within all project files.

    since this search uses the token reference graph, it will in fact filter out things which have the same variable name but aren’t the same actual value, which is already a boon.

    [EDIT]

    I forgot that you must enable this manually, since its set to using “raw textual search” by default…

    in the main menu go to:
    Options -> Text Editor -> C/C++ -> Advanced -> References

    and set Disable Resolving to False.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there any tools available that will calculate code metrics (for example number of
Is there any tool that lists which and when some classes are effectively used
Are there any tools to effectively compare two XML schema's? I have seen some
Are there any tools that can tell me what percentage of a XSL document
Are there any tools that will spider an asp.net website and create a static
Are there any tools you would recommend for site architecture design and analysis? I've
Is there any good tool for working on Dabtabase apart from Toad which requires
Are there any tools or plugins to design a Panel independently of a Form
Are there any tools available for validating a database schema against a set of
Are there any tools for just browsing SQL Server? I ask because sometimes SSMS

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.