instruction
stringlengths
71
95.1k
I'm a new developer just starting out learning HTML5, CSS3 and JavaScript. Below is my attempt at building a portfolio website. I am finding it difficult getting my site to respond better when adjusting the screen size. Text and images are just going all over the place when resizing the browsers window or viewing on mo...
I'm learning C# and have written the below class to encapsulate the game state of Conway's Game of Life and its update methods. I'm also learning about implementing light automated unit tests for this project from the beginning. My overall goal is to build an Android app implementation of the game (using Xamarin) whe...
I have implemented the following question and looking forward for the reviews. Question Explanation : We have a two-dimensional board game involving snakes. The board has two types of squares on it: +'s represent impassable squares where snakes cannot go, and 0's represent squares through which snakes can move. Snake...
I would like the array elements to minimize by preserving their orders. For example: 3,7,9,7 is given 1,2,3,2 is yielded 1,99,90,95,99 is given 1,4,2,3,4 is yielded. Think array can be ranged btw 0 to 100, exclusively. My try’s time complexity is \$O(n^3 + n)\$. Can there be more efficient way to solve this? int[] ar...
I know this is a weird program but I am trying to learn how to write Python programs. This program will accept user input, starting by having the user specify a file path then continuously looping through a set of option which the user will choose. The options are basic Pandas methods, get mean, variance, and standard ...
I need people who have experience with React to review my code. I want to make a debounce using Lodash. import debounce from 'lodash/debounce' const [name, setName] = React.useState<string | undefined>(undefined) const [displayedName, setDisplayedName] = React.useState<string | undefined>(undefined) const changeName ...
I'm a beginner and self taught and just want to see if there are neater ways of doing what I am doing, or whether there are bits of code that are poorly written. I think Lines 100-204 are the most crudely written. Below I've also determined who is bowling first and therefore assigning a dictionary to that team for ther...
I wanted to create a simple method that creates two random teams for football/soccer match from a list of players with a requirement that the goalkeepers should be in different teams (so that one team should have at least one goalkeeper). It's a simple task and I wanted this method to be as clean as possible, let me kn...
I don't know how to use classes and i think its meant to be used here to avoid repetition of functions but i can be completely wrong, i am a student who keeps learning bit by bit. Please can you take a look into my code? i truly appreciate it :) import nmap import re from sys import argv, version #Open the file then re...
Hello everyone I was told to post this here instead of StackOverFlow. I am using PyAutoGUI currently as this was the best tools I could manage to find to use a piece of software that has no native Python function. I am using the mouse and keyboard control to design maps for Dungeons and Dragons using the software Dunge...
This is my first Stack Exchange question, so please bare with me. I'm following this tutorial on youtube by The Cherno, Im only up to episode 16 and I have done this on another laptop before and had 3000 FPS. On my new laptop, im only getting 600 FPS. I dont think it is the code but everything I have looked up has just...
Is the code properly documented/commented? does the code handle errors properly? any suggestions to improve the code Help outline the object-oriented principles shown in the code. using System; public class testScore { public static void Main() { string str1; double dbl1; Con...
I've recently reached a milestone for my Othello clone. This is my first Python project and the farthest I've come to a full program beyond small scripts and little automations. I'd love for you to critique and help me to write better code. Link: https://github.com/Mcclujdd/othello Most of my code here: board.py import...
Overview This is a program that encrypts and decrypts messages and texts using two simple algorithms. Please note, the algorithms used in this project are not suitable for production use. I used them to help deepen my understanding [beginner] of the general ideas behind Java, encryption, working with files, and interac...
Well, there are many game of life's already, but after posting an answer on it in C#, I thought I might as well check if I did any better and if there is anything new to learn - there always is. Design: main object is a Board which represents a board including the living cells; both the initial board and the subsequen...
I'm solving the classic problem of finding two numbers from an array that sum to a given value. Can anybody please check whether my analysis of time and space complexity is correct on this one? # O(n) time | O(1) space def twoNumberSum(array, targetSum): for x in array: y = targetSum - x if y!=x an...
Taking forward the code written for the math library previously mentioned here. link. Wrote templatized functions for mode and standard deviations. (Some of the changes to the previous reviews were not made yet. Please review the same. NB: I get certain comments regarding the inclusion of headers. This is a part of a v...
From the PEP8 "Function names should be lowercase, with words separated by underscores as necessary to improve readability." Then we have popular libraries like matplotlib with arguments i.e. linewidth and markersize, which is apparently doesn't follow the convention. The question is when you have arguments with the ex...
Python Beginner building an automation irrigation system in Raspberry Pi. The Python has two functions: Single wire temperature sensor (DS18B20) that prints/monitors temperature Turn on LED (will be relay switch) The idea is when the temperature gets too hot, it will turn on the switch/Led that will turn on the air c...
I'm working on a project that will have both a server and a client, using Boost's ASIO library for networking. I'm not really comfortable working with Makefiles, but, with some help from Chase Lambert's https://makefiletutorial.com/#makefile-cookbook and other things I found online I got the following Makefile: BUILD_D...
I'm trying to write a function to replace the standard std::stod(...). I want to parse the following valid inputs: /[+-]?\d+(?:\.\d+)?(?:e[-+]?\d+)?/g Here's the RegExr link. And also the words infinity, +infinity, -infinity, undefined, +undefined and -undefined. Note, if I remember well, infinity and +infinity are the...
The Microsoft.Extensions method for Polly, to use policies via dependency injection, serviceCollection.AddPolicyRegistry() only allows to add already created policies, while still defining the ServiceCollection content, so other DI service instances, such as loggers, are not available. To resolve the problem and also b...
I'm new to Rust. I wanted to create a script to read the contents on a directory, and then generate a js file exporting this assets. I wrote this code, it works but I'm not totally happy with it. I want to know the best way to do this. you can check full code here: https://gist.github.com/JoseLuna12/0e576081761fa059447...
For the company I work for we spec lengths of tube of varying lengths. For a given project let's say there is a list like this 100', 115', 105', 205', 195', 240', 240', 130', 180', 140', 225', 85' Edit 4: Entries in the list can not go over 285', and are always rounded to the nearest 5'. The goal is to figure out how t...
This is a simple implementation of the calendar(1) utility included in some UNIX systems (all BSDs have it, GNU has not). I do not have much experience with <sys/time.h> and <time.h> Manual: CALENDAR(1) General Commands Manual CALENDAR(1) NAME calendar - print upcoming events SY...
It's my first time using stack exchange and getting my code reviewed, so if you find any issues with this post, please tell me. Anyway, I have done a very simple program in JS to find the average length of a decimal number created by a Math.random() function. The program works well, but since I'm new to coding, any imp...
A very simple function that can be used such that it returns a pointer to the first character on which func returned 0. However, it also handles escaped lines. Needless to say this could be very useful in my cases, for example skipping spaces when converting a csv to an array. /** Skip characters from @src * @func: iss...
A unix convention is to use - as a placeholder for stdin/stdout in command lines, e.g. gcc -x c - to compile stdin as C. I often find myself writing logic to get this behavior in my Python scripts, so I abstracted it out into a context manager: from typing import IO class argfile: def __init__(self, default: IO, f...
My daughter and I are trying to teach ourselves Python and OOP. We wrote a hangman game, and we'd really appreciate some feedback. Are we heading in the right direction? How could we improve it? Anything that makes a Python programmer go "ouch"? Anything that makes an OOP expert cringe? All sorts of questions occur to ...
The aim of the implementation is divide an array to two sub array which the total of the every sub array should be equal. If Array is dividable then method return true else return false. For example: This array can be dividable to two sub parts and each sub array sum is equal to 5. int[] array = {4, 1, 1, 3, 1}; // tru...
I recently started making a game in JavaScript, but I've only really built the renderer. This is the first 'real' game I started working on and I don't know if I'm doing any major things wrong and if there's things to improve. renderer.js function Renderer(atlas){ this.canvas = document.querySelector("canvas"); ...
Below is a simple calculator program in which I'm using break statements to control the logic. I was wondering if this is overkill on the break statements or is it OK. while True: try: print("Choose operation(+ | - | * | / | Enter 'e' to exit)") op=input() if op!="+" and op!="-" and op!="*" ...
I read about, that I only should have up to two parameters and a function should have about 10 lines. Now I am in trouble to achieve this. It is a Javascript/JSON thing in C#. I have too many parameters and too many lines in a function and I would like to reduce it. I reduced it already, but what can I do better. I nee...
I have for some time been frustrated by the limitations around enumerations in VBA. Googling didn't find anything really simple and comprehensive. So after a bit of head scratching I came up with the following code which provides a neat intellisense based solution for managing enums to allow easy access to: member nam...
I'm working through these Koans: https://github.com/paytonrules/typescript.koans#readme I'm on file 3, collections, the very first function foreach: export interface Dictionary<T> { [index: string]: T; } interface ArrayForEachIteratee<T> { (value?: T, index?: number, collection?: Array<T>): any; } interface Dicti...
I'm writing a breadth first search algorithm in Haskell that supports pruning. It is guaranteed that the search will never encounter nodes that have been visited before, so I implemented the search as a filter along a stream of candidates. I'm concerned about the efficiency of the code. Is there some slow, bad-practice...
Could someone please help me out, I'm trying to remove the need to iterate through the dataframe and know it is likely very easy for someone with the knowledge. Dataframe: id racecourse going distance runners draw draw_bias 0 253375 178 Standard 7.0 13 2 0.50 1 253375 178 Standard 7.0 13 11 0.25 2 ...
I am just beginning to learn Python, and thought I would give myself a challenge using the lessons I have learned so far. I am following the Udemy course, Automate the Boring Stuff with Python. The point that I've reached so far has covered the basics of functions, handling errors, lists and dictionaries. I wanted to s...
I'm trying to capture all input fields in a form (i.e. sign_up.html) & validating them - if one of them is null or empty then it should show a validation message. I've done it but I'm looking for an elegant way to do it. sign_up.html {% extends "layout.html" %} {% block main %} <form action="/sign_up.html" method="PO...
Overview I am working on an android To-Do app. I have a piece of code that I use to work with tasks.I am new to android development and want to grow, so I would really like someone to rate my code and tell me how i can make it better. Code TaskManager.kt class TaskManager { fun isNeedShowNotification(task: Task): ...
I want to learn Java, so I ported a C# Enigma implementation of mine. It got UnitTests and is running. I'm looking for a review, telling me, where I don't know best practices, where I break naming conventions, where I look like a C# programmer writing Java:-) Thanks & have fun Harry https://github.com/HaraldLeitner/Eni...
I want to learn Python, so I ported a C# Enigma implementation of mine. It got UnitTests and is running. I'm looking for a review, telling me, where I don't know best practices, where I break naming conventions, where I look like a C# programmer writing Python:-) Thanks & have fun Harry https://github.com/HaraldLeitner...
The following bash code is meant to check every second the amount of NEW (relative to the last second) network socket files. at the end of the run it summarizes every 60 entries (should be 60 seconds) and output a file called verdict.csv that tells me how many new network sockets were opened in that minute (I run under...
Hello I have this function that looks for nested value 3 levels deep currently // This handle nested data to be applied to filter option which comes from filterProps.prop values // This is currently chained 3 level deep I.E clock.props.children to add more just keep chaineding const handleNestFilterProp = (prop: ...
First post. I posted this on stack as well but somebody suggested I post it here too/instead. I wrote a shortest-path script for a Unity game project, and while it works, it gets so slow when applied at scale that it crashes Unity when executed. This is to say, it works slowly for a single test character, but scale is ...
I was told that the following code of mine was poorly written. How bad is it? Do you have any recommendations? #include <iostream> #include <fstream> void ioMenu(std::ifstream&, std::ofstream&, std::string&, std::string&); int ioMenuChoice(); void fileOpener(std::ifstream&, std::ofstream&, std::string&, int&); void f...
This is the first project I have ever undertaken and now that I've gotten it to a point I feel comfortable with, I would love to get some review and tips for any improvement on it! I am especially interested in getting tips on the design, readability and unit testing part of my code and any and all tips for improvement...
I have a function called USB(), that will observe a USB stick's insertion and delete files inside of it, if there are some: import os import shutil # 1. Check and clean USB def USB(): usb_inserted = os.path.isdir("F:") # <-- returns boolean...checks whether a directory exists if usb_inserted == False: ...
I've started my journey of learning assembly on my Mac. As a start, I've decided to write a program to print the numbers one through ten to the console, then a final string signifying the end of the program. I want to kick bad habits to the curb quick, and know if there's any optimizations I can make to this code. Any ...
Currently I am working on a project for which I want to have the different links (div elements) placed randomly on my webpage. To accomplish this, I first generate a set of coordinates and later check whether they overlap (SO thread, user @Robson helped me figure things out). However, since this is my first JavaScript ...
I have two ArrayLists of objects and the after comparison I am taking out the value which has a difference based on the attribute. So in my condition when the deptCode is the same in both lists but deptName is different then the output will be the updated deptName. Here is my code. public class educationMain { pub...
I'm very new with Go (started to learn it two weeks ago) and I would like to get your comments on the code below. The code is implementation of identifier used by DHT (Kademlia) The code works as expected in tests. package identifier import ( "fmt" "math/bits" ) type idBuilderType struct { length int } t...
In a larger project, I need a (rather simple) expression parser able to accept numerical values, operators and string identifiers. Fine, a lexical parser fed with some input which gives tokens one at the time to the syntactic parser. As a token can contain one single value type at a time, I decide to use an union. Prob...
I have recently gotten back into writing python and i decided to take up a project of writing a backtracking algorithm in python to solve Sudoku puzzles How it Works A matrix is declared to represent the Sudoku grid the blank spaces on the Sudoku grid are represented by zero A function is declared that checks for all t...
I have a list of dictionaries x and a list of random numbers x_randoms. I want to update each of the dictionaries with the values from the list of random numbers. I've done the following and it works, but it feels a bit strange: import random x = [{'key1': '123', 'key2': {'key2.1': 500, 'key2.2': True}}, {'key1':...
I am using Next.js and want to properly implement session management into this serverless architecture. I checked out nextauth but I am not really a fan and it doesn't implement some things I think I might need, so just trying to keep things simple and do it myself. I also read through express-session where most of thi...
I wrote a binary search to find the closest element to x in an array. How can show the correctness of the algorithm for any cases? Because it handles with floating points and variable length arrays, there are many cases. import java.util.Arrays; import java.util.NoSuchElementException; import java.util.Random; public ...
This code was originally posted here. An exercise into learning OOP and Python. A huge thanks for the time and effort that @ferada @Alex Waygood @m-alorda and others put into commenting on it. You can run it as a repl here: https://replit.com/@scripta/Hangman#main.py Most of the issues raised have been acted on. A coup...
Introduction I have implemented a generalization to the inclusion-exclusion principle, which extends the principle from sets to more general objects. In short the principle calculates the left by doing the calculation on the right In order to extend this to general objects, these objects need to have some structure (...
I'm currently trying to improve my ChaCha algorithm implementation. Here's the my code (written in C): #include <string.h> // memcpy #include <stddef.h> // size_t #include <stdint.h> // uint32_t typedef uint32_t ChaChaSigma [4]; typedef uint32_t ChaChaKey [8]; typedef uint32_t ChaChaNonce [4]; typedef enum ChaChaStand...
I recently got this question in an exam, this is how I implemented, it is working fine. However, I would like to know if the code can be improved, as I think it for sure needs to be improved. The question was: In the past, Twitter had a 140 characters limitation per tweet. If you wanted to enter longer tweets, you had...
I've Never really made a game or such in python but was bored, so I tried to make a hangman game. I don't like how many if else statements I used but I can’t think of a better way to do it. Any feedback is appreciated! # global varibles SECRET_WORD = "Python".lower() #main function def main(): #setups Variable ...
taking into account the scale2x algorithm for scaling an image to 2x. Im using winapi in an Emulator. When tha scale2x algorithm is used i don't see too much difference in the image scaled2x as it states in Scale2x algorithm My C++ class is as follows: typedef unsigned long pixel_32; class Scale2x { pixel_32 * surf...
I am new to web development and would like to get feedback on a JavaScript library that automatically finds and replaces text on a webpage using the MutationObserver interface. EDIT: Seeing that this has gone a week unanswered I've cut out non-essential code to reduce the line count from 300 to more manageable 150. The...
The problem is that we have an unsolved sudoku board, and we want to validate it, we need to check each column, row and sub-square. Here we represent a empty cell with -1. My idea was to create a multi-threaded solution to this problem, where we deal with each case. I didn't know how to pool threads before this problem...
Function: Outputs daily and weekly dose totals with means for time between doses and dose amount. Code: from decimal import Decimal from dataclasses import dataclass from typing import List, Dict, Iterable, Collection UNIT = 'u' SUBSTANCE = 'sub' @dataclass class DayDoseMean: day: str time_dose: Dict[float,...
I am brand new to programming in C. I am following along with the book "The C Programming Language, Second Edition." I am making my own modifications to the example code presented in the book as I go along. Anyway I am posting my code here for review because I want to make sure I am off to a good start. There a few thi...
element.parentNode.parentNode.children[3].innerHTML is fine but not element.parentNode.parentNode.querySelectorAll(":nth-child(3)").innerHTML (outputs undefined) I also tried different numbers in :nth-child() but without any progress. Any ideas why? I get this with Mozilla Firefox 91.0.
This is a follow-up question for Tests for the operators of image template class in C++. As G. Sliepen's answer mentioned, I am attempting to use Boost.Test and several test cases are created with BOOST_AUTO_TEST_CASE_TEMPLATE structure. The experimental implementation Image template class implementation (image.h): /*...
I created a quick "demonstration of proposal behavior" tool for my post on MSO: A proposal to put ALL answerers on a path to curating better content. Because I have never asked for a review before and I am not a JavaScript or CSS SME, I'd like to see if I've used any antipatterns and how my code can be made more direct...
Firstly, the code relies on importing images, so I'll link to the repository as well as including the code here. If it's an issue that images need to be downloaded OR there is another solution please let me know and this post can be deleted and a more appropriate one can be made or I can annoy people on reddit with my ...
I'm currently writing a game of chess, and, more specifically, I'm creating the code for the game board. The board is simply a static class that contains a multi-dimensional array representing the board, and methods to interact with it. The method in question for the purposes of this question, is called TryGetEntity: p...
Well, it's not actually a schema validator but anyway... Motivation I'm writing a library which is a UI to work with some electronics - modules. Each real module is represented by a corresponding class in the library. I've decided to add the ability to program a module at once using the config entity. Also it should be...
I have a headless application that does either of two things. If table does not exist within database create it and copy all the data over OR If table exists update it Now I usually use access layers but this application is a bit older so I can't. This is what I've written. using System.Collections.Generic; using S...
I write a function which takes as input 2 arrays of zeros and ones ~8000 elements per array. Input array size is variable, can have much higher number of elements. The density of ones is expected to be higher than zeros for most cases, but outliers may exist. My function eps calculates a statistic on these array pairs ...
let array = [1,7,2,2,3,7,4]; while(array.length){ // get last item let item = array.pop() // remove duplicates const filteredArray = array.filter(content => content!==item); // if filteredArray had duplicate items then log the item if ( filter...
I have multiples measurements and I want to render it into tables like this Measurements Operator browsings FTP DL FTP UL Location Event Date Operator avg min max avg min max avg min max Verizon USCell T-Mobile for each measurement rendered there is always 3...
Description It is valid to say, this work started and evolved from a standalone DQN implementation, which I included in an old question, to a mini-library xagents, housing 7 re-usable tensorflow-based implementations of DRL algorithms. Due to the medium-sized codebase ~= 6k lines, it cannot be included in a single post...
I'm working on a GPyT (generative python transformer) project and I have written the below script to download lots of Python files from github.com to train my model. It works fine, but there is a problem I guess because it becomes slower with every file it downloads. It takes more time to download new files and while t...
I'm implementing a function called is_proper_integer that will check the string whether it is a valid integer literal by borrowing the idea from C++ grammar. Function signature: constexpr bool is_proper_integer(std::string_view str, std::optional<std::reference_wrapper<parse_integer_er...
This is my third version of building a simple Python calculator. The first two versions only operate on two inputs to perform calculation, this version allows multiple inputs. However, the result will leave a .0. Other than that, is there any way I can further improve this program? I've also included docstrings to expl...
I have array [1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4] so I want to move all duplicates at the end of the array [1, 2, 3, 4,1, 2, 2, 3, 3, 4, 4, 4]. is there is another best way to do the same Go Time O(n) and space O(1) package main import "fmt" func main() { a := []int{1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4} key ...
I have a dataframe of cases that score 0-1 on a group of binary attributes. What I want to do is extract all possible ombinations of attribute triplets (e.g. A/B/C, A/B/D... out of A-E) and then sum for each possible combination triplet the number of times a case in the original dataframe matched those attributes. Usin...
Here I have a multidimensional list in python. Suppose I take an input, how do I find the number of adjacent elements of that input which are alphabets other than itself? If there are multiple indices at which the element is placed, then we have to print the maximum of all possibility. For example, the number of adjace...
I have this class export class CurrentLanguageService { currentLanguage(loggedUser: User): string { if (sessionStorage.getItem(LanguageStorageKey) !== null) { if (Object.keys(Languages).includes(sessionStorage.getItem(LanguageStorageKey))) { return sessionStorage.getItem(LanguageStorageKey); }...
I've been doing project euler problems in Haskell, and often I've found the need to get the value that gives the maximum of a function. For example, answer = argmaximum $ map collatzLength [1..10^6] Where collatzLength is a previously defined function. I came up with this code, which is heavily influenced by learning ...
I have this doubly-linked list data structure that runs all the single-element operations in \$\Theta(\sqrt{n})\$ time (refer to this post and this repository). (See this for benchmarks.) (See this for unit testing.) I have plans to submit it to the one of the two projects: OpenJDK; to substitute java.util.LinkedList ...
I have this benchmark program for my indexed linked list. It looks like this: com.github.coderodde.util.benchmark.LinkedListBenchmarkRunner package com.github.coderodde.util.benchmark; public class LinkedListBenchmarkRunner { public static void main(String[] args) { long seed = System.currentTimeMillis();...
Here I have the unit tests for the indexed doubly-linked list. It goes like this: package com.github.coderodde.util; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.Ar...
So I've made a button in the right-bottom corner of my HTML-page, but I was wondering since it's the first time I've made this, if there is another better way to do this, or if you guys can see anything funky about the way I did this? This post is mostly to learn how to do things the right way, since I'm a beginner at ...
The assignment problem is about assigning tasks to workers, where each pair (worker, task) has a cost. The Hungarian algorithm builds an optimal solution for this problem. It has two variants, depending on the representation of the cost relationships: one with bipartite graphs, and one with cost matrices. I have implem...
I have created two simple classes: resource and container. below is the full code. actually container keeps resources. and in the beganing it will get all the resources and store them in datalist of resources. The other function is simply prints out all the resources in container. Please review my code and see if its o...
I have written the following function which works as expected but I still see there is some room for improving its readability def get_claims_to_search(): claims = [] database_priority = DatabasePriority.objects.first() low_priority_claims_databases = ClaimsDatabase.objects.filter( deleted=False, p...
I recently posted a bunch of code of my to-do list application and after getting some very helpful and good suggestions on how to improve, I took a shot at it! Here's a link to the former post I made -> A to-do list application written with Java I have now used the one and the same instance of storage in each of the cl...
SQLiteDB VBA Library is a set of VBA helper functions for the SQLite engine. The primary motivation behind this project is to provide convenient access to extended introspection features. Because of its generality, ADODB/ADOX libraries provide only limited metadata information. The Introspection subpackage of this libr...
I'm attempting to integrate with a rather dated API (for work so I can't disclose actual naming, endpoints, etc), and their data models for POST endpoints, very clearly implement an interface that looks similar to: public interface IExternalData { int CallerId { get; set; } string CallerName { get; set; } } Wh...
What I'm trying to do is quite simple: my table has pagination. So if I have 12 items to show and my max items per page is 10, I will have 2 pages, one with 10 records and another with just 2. I created a code that works just fine, but it seems rather dirty. What is the best way to have the same outcome as the code bel...
ContactEditor uses Excel VBA as a prototyping platform for a personal information manager combining the "Model, View, Presenter" (MVP) pattern and a persistent storage manager. Fig. 1. Data manager application The design of the MVP part follows the ideas/tutorials/code from the RubberDuck VBA blog and demos. The datab...
I've created simple sorting visualizer in c++ using SFML. I'd love some feedback on how can I improve the code and OOP design. Whole project: GitHub main.cpp #include "controller.hpp" int main() { Controller app; while (app.isAppRunning()) { app.update(); } } controller.hpp #pragma once #include "model.hpp...
In the previous post, I presented my Storage Library. Here, I would like to focus on the integration of the library with the MVP component. Functional class mapping First of all, the figure shows a new member of the Storage Library, the DataCompositeManager data manager, not discussed in the previous post. Since the ...