This is how I think I would re-structure everything in a first step, tell me if you think this is a good idea.
So, at the moment I have six separate entities, I'll call them Processing Modules....
Type: Posts; User: Median
This is how I think I would re-structure everything in a first step, tell me if you think this is a good idea.
So, at the moment I have six separate entities, I'll call them Processing Modules....
Thank you for such an extensive answer. I've read it only once and will for sure read it some more times so I can really sink those concepts in.
The part of identifying what is similar on the...
I understand what you mean, but, as I said, I am re-structuring a module that is only a small part of the whole software, so, changing the paradidm to FP would mean that this module would be totally...
Thank you for you answer!
At the beginning of the architecture design, we decided that each main task would be performed in its own class.. This means that I have a ProcessFingers class that will...
Settle down guys :) Lets try to keep this conversation on topic.
None of the comments were really helpful but thats because my question is so vague that it doesn't really have an answer.
Mario...
What I found out while I was reading about UML, is that it is a good tool to represent an existing architecture, it is not used to idealize the architecture itself. What I need is to re-structure an...
There is a lot of material online about the UML. Is there any source you can point me that will help me to draw a simple/basic UML diagram so I can get started with this?
I'm really interested in...
I do not know what UML is. I'll come back when I am able to provide you with those diagrams.
Hello everyone.
I've been working as a programmer for some months now, and, during this time, I have been improving my programming skills a great deal. My strongest suit is implementation,...
The way I did works nicely, but it is true that your way seems much more elegant and correct.
Thanks for the help
That would be possible using some shared pointer (boost) funtionalities, but since this is a file that is phisically in the hard drive, its more straightforward this way.
I suggest you write an independent function that will print the gameboard everytime someone plays. That way your code will become 10 times smaller.
You print the gameboard with the changes in a...
Ok problem is solved, actually it was easier than I thought, and it was thanks to the tip that Elysia gave :)
in main:
int main (int argc, char **argv)
{
fstream...
@ grumpy:
I'm sorry I wasn't to clear in my OP. I'm programming under ROS (Robot operating system) environment, which has it's own funcionalities and I didn't want to put to much information that...
Hey everyone! I want to do a basic thing but for some strange reason there is something not working.
I need to write to a file but I'm handling all the code in a callback function, which in turn...
Hello everyone.
I realize this isn't a GTK forum, but I am still hoping that someone might know how to get this going.
I used glade to make a GTK GUI. It has several buttons and each one has...
Hello!
I programmed the 4 in line game in ASCII characters. Now, I am creating a visual interface for it, and this brings whole new concepts that I must learn.
I using the openCV library, and...
OK!
My game is finally finished, couldn't have done it without your help AndiPertsi!
Thanks a lot!
This is the last thing I have to implement in my code and the game will be completed.
I need to be able to save and load game. For that I save the values of the cells in a txt file in the...
hehe it did the trick
You are right.
I rebuilt my whole program in order to make it simpler. This time i accepting one digit (integer) as user input. It simplifies everything.
But another problem arises. When I ask...
I thought about that, reading the move as an integer, it sure would avoid all this meaningless subtractions, etc. But since the move had to be written in the following way [row,col], i didn't know...
@AntiPersi!
Thank you so much for taking the time to write such an extensive answer, I really appretiate it.
This is my first program that has more than 40 lines.
I'm having a class in college that is being my main resource for learning. My teacher gave us the basis of the 4 in line program which was the...
That was arsh ... I started programming in C 1 month ago, cut me some slack, I will get better with practice