Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Swan10976y@AmyShackles I'm trying to make a timetabling program. It's really unfun and hurting my head.
-
@Swan Blast! Github stalking provided no further clues and I'm too tired to pretend that those words made sense! So.... multiplication tables or something to do with actual time? XD
-
Swan10976y@AmyShackles timetabling lectures into rooms and times. Some lectures clash. Yada yada yada. Just some dry university assignment.
-
hjk10156966y@Swan typical application where we wouldn't use C for no. Not that it is undoable or something.
Your data structure and interface are the two most important in this case. As long as your data format can handle all the situations your handling of all the exceptional cases should be rather straight forward. Perhaps you can use sqlite or something as you deal with structured data.
What are you doing for user interface? -
C is good against scurvy. That's why seafarers took it with them from the end of the 18th century, embedded in citrus fruits.
And that's how embedded C originated, still widespread today. -
@Swan the problem sounds like a varation of the N queens problem and should be pretty easy to solve like that. Some recursive routine and done.
If you want extra speed, you can add a hash table so that you can cut out nodes from the search that you already have reached via another transposition and found that they don't have solving children. -
“C gives you enough rope to hang yourself. C++ gives you enough to hang yourself and all your friends.” XD
Related Rants
I don't like C.
C is not my friend.
rant
c