- Home
- Premium Memberships
- Lottery Results
- Forums
- Predictions
- Lottery Post Videos
- News
- Search Drawings
- Search Lottery Post
- Lottery Systems
- Lottery Charts
- Lottery Wheels
- Worldwide Jackpots
- Quick Picks
- On This Day in History
- Blogs
- Online Games
- Premium Features
- Contact Us
- Whitelist Lottery Post
- Rules
- Lottery Book Store
- Lottery Post Gift Shop
The time is now 12:35 pm
You last visited
May 21, 2024, 11:59 am
All times shown are
Eastern Time (GMT-5:00)
Getting a first look at c conversion of the python program today.
Published:
Updated:
Got ahead on homework for the class, I am able to carve out a few hours before work to start setting up for the conversion to c.
I will need to start by finding the import path for the Pandas c headers, which I found in a local folder. Already have an idea of the csv read mechanism, have to figure out csv write in c, also calculating the malloc() c function to allocate just the right amount of memory.
Have to explicitly declare the variable types, nothing requiring more than a short INT. I would go character but the appended match count can be as high as 1,800 (or more)
Whatever garbage collection I need to implement and whatever pointers I need to iterate through each column will be focal points today.
Compiling and clearing errors will probably then be the workflow until a successful run of the test program happens. Only then can I convert the part of the program that counts to 100 and modify it to count to 10 billion, and also remove the timers. The outputs will be active as well. I disabled the csv write for the last timer test but re enabled them to make sure that the tests are complete.
This is one of those times where I am glad I first did a flow chart so the logic can be converted into another language easier.
Not going to be a quick journey like developing in python, but I am ready for that.
Comments
Post a Comment
Please Log In
To use this feature you must be logged into your Lottery Post account.
Not a member yet?
If you don't yet have a Lottery Post account, it's simple and free to create one! Just tap the Register button and after a quick process you'll be part of our lottery community.
Register