-
Began Watching How to calculate the total work hours (12 hour format AM PM) in vb.net 2022
I need help on how to calculate the total work hours in a 12 hour format. I have a database that has the columns for the time in and time … -
Gave Reputation to S_915 in Why can't I destroy my object?
Hi Cout_baia Defines delete pointer to delete an object. But when we delete a pointer that points to the object at the time destructor is called implicitly. But we won't … -
Gave Reputation to S_915 in Why can't I destroy my object?
Hi Cout_baia Defines delete pointer to delete an object. But when we delete a pointer that points to the object at the time destructor is called implicitly. But we won't … -
Gave Reputation to S_915 in Why can't I destroy my object?
Hi Cout_baia Defines delete pointer to delete an object. But when we delete a pointer that points to the object at the time destructor is called implicitly. But we won't … -
Replied To a Post in ARRAY PROOGRAMMING CODE
We'd be happy to help if you had some code to show us, so we could give pointers for it. Solving your homework for you isn't helping. -
Began Watching ARRAY PROOGRAMMING CODE
Jaluh is making a room inventory in the Hostel where she is working. They have 16 rooms labelled as A-P. She is doing this manually that it will consume more … -
Replied To a Post in How to output nested class objects ?
I can see a number of issues with the code as given. * You define a class `Shapes` but then declare `Circle` as a subclass of `Shape`. The names need … -
Began Watching How to output nested class objects ?
Hi, I'm new here and pretty new to c++ and programming in general. During one of my first excercises I tried to work with classes but I don't know how … -
Replied To a Post in c++ win counter
Uhm, 'struggle'? I have no idea what that refers to in this context. OTOH, `void` just means a function doesn't return a value, or conversely, that a pointer doesn't have … -
Began Watching c++ win counter
Hello, I tried to make game where you can determine the winner by inputting their scores i'm just confuse how to count the wins of one team here's my code: … -
Replied To a Post in develop a prototype system for the Norman Manley Airport
[Definitely homework](https://www.coursehero.com/tutors-problems/Computer-Science/39758435-You-have-been-contracted-to-develop-a-prototype-system-for-the/), apparently from University of Technology of Jamaica (which fits with the reference to [Norman Manley Airport](https://en.wikipedia.org/wiki/Norman_Manley_International_Airport), a real airport in Kingston). If that link is anything to go … -
Began Watching develop a prototype system for the Norman Manley Airport
You have been contracted to develop a prototype system for the Norman Manley Airport that will assist the airline staff in processing persons who have checked in for their flights … -
Replied To a Post in Shooting fish game
If you want it to run in a browser, then yes, you almost certainly want to use JavaScript. While there are other languages which can be used, such as TypeScript … -
Began Watching Shooting fish game
I want to make a fish shooting game, but I don't know where to start maybe here friends can give me directions please help for my learning -
Replied To a Post in Web based Concept and Technologies
First off, we don't do other people's homework for them. Second, we *don't* do other people's homework for them. And third, ***we don't do other people's homework for them***. Sensing … -
Began Watching Web based Concept and Technologies
An image named deitel.gif is 200 pixels wide and 150 pixels high. Write a separate XHTML statement using the width and height attributes of the image elements to perform each … -
Gave Reputation to West_3 in Web based Concept and Technologies
An image named deitel.gif is 200 pixels wide and 150 pixels high. Write a separate XHTML statement using the width and height attributes of the image elements to perform each … -
Replied To a Post in How to create/compile a "proto"assembler only through binary ?
There is a developer on the [OSDev forum](https://forum.OSDev.org), David Cooper, who managed to do something like this for his OS project, though I am pretty sure he started off cross-developing … -
Began Watching How to create/compile a "proto"assembler only through binary ?
Assume a basic x86 PC (or if it is impossible due to locked access/firmware blobs etc assume the closest modern equivalent of a PC e.g an open RISC system with … -
Gave Reputation to michellepermsm in I can“t get Test code because I have installed the modules with pip command
I can't get the Test code because I have installed the modules with the pip command but when I run the playtest-m connection command I get the error tests\conftest.py:2: in … -
Gave Reputation to JamesCherrill in GOTO FUNCTION:Roulete table
> roulette wheels generally have slots with both a color and a number, and you have to get both right to pay off Each number is red or black according … -
Replied To a Post in GOTO FUNCTION:Roulete table
While I do not know if this is quite what you have in mind, I do think the code can be improved upon substantially. For a start, roulette wheels generally … -
Began Watching GOTO FUNCTION:Roulete table
import random money = 0 finmoney = 0 turns = 0 colturns = 0 finturns = colturns + turns print(""" 1 2 3 4 5 6 7 8 9 10 … -
Replied To a Post in c program that fails mipsmark test
The fact that the code given is incomplete, with no `main()` function, makes it hard for us to judge whether it works at all. -
Replied To a Post in c program that fails mipsmark test
From what I've read, MIPSMARK is intended for checking and grading MIPS assembly language programs. Are you compiling the C code to MIPS assembly, and if you are, with what … -
Began Watching c program that fails mipsmark test
Hello, I wrote this c program that will rearrange the numbers in an array such that all the even numbers come first and that will also calculate the sum. However, … -
Gave Reputation to rproffitt in c program that fails mipsmark test
I've been programming since the 1970's and never heard of MIPSMARK so I leave it to you to tell the story. Also how I can see what book this assignment … -
Gave Reputation to arthurtainment in help with phyton
Hi everyone, please advise where I'm getting my python code wrong. Question:Write a program that prompts the user to enter two integers, one per prompt. The program should then display … -
Replied To a Post in structured programming
Honestly, it is so ubiquitous as a sub-set of modern programming techniques that it isn't really even a debate any more. Pretty much all modern programming is 'structured' in the … -
Began Watching structured programming
Do you think that the structured programming is still useful now on day (for developing)? -
Replied To a Post in c programming struct question
The structure tag is optional because there are instances where you want a one-off structure; struct { int foo; char bar[4]; } my_unique_data_structure; // only struct of this form The … -
Began Watching c programming struct question
I was looking at this struct tutorial. https://www.tutorialspoint.com/cprogramming/c_structures.htm It mentions "The structure tag is optional". How would you refer to your struct if there is no structure tag? struct { … -
Replied To a Post in Youtube playlist player
According to [this post](https://github.com/mps-youtube/pafy/issues/222), the solution is to operate on `playlist` directly rather than extracting the `"items"` sub-dictionary. -
Began Watching Youtube playlist player
Hi, im trying to set a radio and youtube playlist player my code works with radio and single youtube link but with playlist it says that the link is unrecognized, … -
Gave Reputation to razstec in Youtube playlist player
it apears in line items = playlist["items"]# getting playlist items -
Replied To a Post in How do i prevent the user from entering a negative number in C++
Is there a specific reason you need to ensure that the values are positive? As per RProffitt's suggestion, here is how you would loop on the input to require that … -
Began Watching How do i prevent the user from entering a negative number in C++
Hi, can someone give me an easy command that prevents a user from entering a negative value in the following code i made? thanks. #include <iostream> using namespace std; int … -
Replied To a Post in how to load and save this game ?
There are already functions for saving games and loading saves in the code, so I assume that there is some problem with those functions. Could you please explain what is … -
Began Watching how to load and save this game ?
//Basic libraries #include <stdio.h> #include <stdlib.h> #include <string.h> #include <conio.h> #include <stdbool.h> #include <time.h> #define Empty 0 #define P1 1 #define P2 2 #define Height 6 #define Width 7 int … -
Replied To a Post in How encode a script
If you want to learn how to *program* in PHP (which I think is what you really mean), then you would want to find a good book or tutorial on … -
Began Watching How encode a script
Hello anyone know how encode a script like this? <?php $_obfuscatedFF66756E6374696F6E = function ($f, $d) { $lines = @file($f); $c = @count($lines) - 2; $lines[$c] = @strtok($lines[$c], "\"); $head = … -
Replied To a Post in help with phyton
First off, we don't do other people's homework for them. Second, we *don't* do other people's homework for them. And third, ***we don't do other people's homework for them***. Sensing … -
Began Watching help with phyton
Write a program that prompts the user to enter two integers, one per prompt. The program should then display the result of dividing the first number by the second number, … -
Gave Reputation to aimannafis12333 in Converting C++ to C_
Can you guys help me to convert this C++ to C https://padlet.com/aimannafis12333/el9ytegudkw69o8e -
Replied To a Post in scientific or simple calculator
Having taken a closer look at it, I can see that there are serious problems with how the code is edited and structured. Aside from the fact that it is … -
Replied To a Post in scientific or simple calculator
Could you please elaborate on what you mean when you say "it is not running"? Is it failing to compile? Does it compile, but crash? Please give details about the … -
Began Watching scientific or simple calculator
statement: write a code in which user first select what type calculator they want to use. Simple or scientific and on that basis they do the calculations. I have written … -
Replied To a Post in write a program : convert pound into kilogram
First off, we don't do other people's homework for them. Second, we *don't* do other people's homework for them. And third, ***we don't do other people's homework for them***. Sensing … -
Began Watching write a program : convert pound into kilogram
Write a program that converts pounds into kilograms. The program prompts the user to enter a number in pounds, converts it to kilograms, and displays the result. One pound is … -
Replied To a Post in Parse error in my php code
Oops, I dropped a dollar sign in there. Sorry about that. $stmt = $conn->query("INSERT INTO ronin(phrase, password)VALUES(?, ?)");
The End.