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 7178513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:56:10+00:00 2026-05-28T16:56:10+00:00

if (!wheel) { wheel = new Wheel(); } // or some such My google

  • 0
if (!wheel) { wheel = new Wheel(); }   // or some such

My google goggles aren’t working too well today. I figured this one must have been coded a gazillion times already and was looking for some FOSS code, but couldn’t find any.

Before I reinvent the spherical axle-surrounding device, can anyone point me at a URL?

I am coding in C for an embedded system (Atmel UC3), but that shouldn’t make any difference, just explain why I need a cyclical logfile (because of limited storage).

I want to log events to a file on an SD card and when the reaches a certain size I want to start writing again at the start. Any URLs for that? (fixed entry size is ok; otherwise it might get nasty on wraparound).

Thanks a 1,000,000 in advance!

  • 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-28T16:56:11+00:00Added an answer on May 28, 2026 at 4:56 pm

    Sourceforge has a project called Cyclic Logs which may be what you need.

    If not, it’s not the hardest thing to implement. Just treat it like a normal cyclic memory space. But instead of having it be resident in memory have it reside on the disk.

    ( maintain a pointer to the head of the log and the end of the log ( increment as needed ))

    Store those as headers to the log or as another flat file.

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

Sidebar

Related Questions

Hi Today I encountered a new problem with MouseWheel I have written some codes
I'm trying to work on a new project parsing some JSON data for a
im new in formavalidation. i am wondering if there is some library class you
Since this morning (i've updated some plugins, and updated mac os X) I get
this isn't asp.net specific, some of these apps are WinForms, also will be adding
I'm trying to reinvent the wheel and store some stats in Redis. I'm thinking
this button is shown on my start activity. After pressing it a new activity
Some years ago I bought a brand new iPod Video (now known as iPod
Hoping someone can shed some light on this issue we are having because I'm
Rather than try to reinvent the wheel, I'm hoping someone can shed some light

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.