3,045 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for pdk123

Hello, I want to call the function from a python file. By googling, it looks like I need to use the following function. I added a "Sample.py" in the same place where the exe is stored for the c++ . int main() { Py_Initialize(); // Create some Python objects that …

Member Avatar for pdk123
1
831
Member Avatar for WolfShield

Hello everyone, I am writing a program that has a part where the user can type in notes, and I would like the program to insert the date and time into the beginning of the note. I have the time and date part figured out: [CODE] import datetime now = …

Member Avatar for Ajeet_8
0
10K
Member Avatar for Fedwa

Hi everyone here, I'm trying to show information about the material according to the year of meeting(is a meeting when they decide to buy a new material) so I use a drop-down list and the information will show according to the year chosen by the user, but it shows the …

Member Avatar for Dani
0
6K
Member Avatar for potato_1

Hello, I want to use the checkbox to update the status of a row in mysql using php. If it is checked and submitted, the status will change from 'collect' to 'received'. I tried many ways but I am not sure where the problem is :( please help! <?php include(config.php); …

Member Avatar for Dani
0
1K
Member Avatar for Madhvi_1
Member Avatar for Dani
0
199
Member Avatar for Hope_9

(a) Create a class named LivestockProject with fields that hold a membership number, the name of the member, surname, date of birth, gender, location and initial number of livestock (cattle) turned in. Include a constructor that initializes each field to appropriate default values. Also include methods to set and get …

Member Avatar for rproffitt
0
144
Member Avatar for lilindiekid

Hi guys! I am currently using c++ and I wanted to start doing basics of a game with oop. And I thought MGT would be good. So, the problem is idk where to start with. I'm planning to use only Land, Creature, Enchantment and, Sorcery cards. so is there any …

Member Avatar for JamesCherrill
0
140
Member Avatar for eman_12

[You may use arrays] Credit Card Number Validation Payment card usage in Egypt is on a steady rise. According to the CBE report there are over 22 million active debit and credit cards in Egypt. This means that vendors accepting payments through these cards need to have a way of …

Member Avatar for rproffitt
0
139
Member Avatar for lilindiekid

1. Combat between two creature cards: Reduce the defending creature’s HP by the attack power of the attacking creature card AND reduce the attacking creature’s HP by the attack power of the defending creature card. If either the attacker or the defender or both of them is/are reduced to 0 …

Member Avatar for rproffitt
0
105
Member Avatar for clife

Hi , I am new to python. I am trying to have a logrotate feature and also try to print the logs in formatted fashion. So I have created two handlers one for log roataion and other for log formatting. The log rotation is working fine as alone, but as …

Programming python
Member Avatar for rproffitt
0
98
Member Avatar for Ayshhh
Member Avatar for adisharma

Hello All, I just want to know what the average salary of python developer in india and Can anyone know which country gives the most salary?

Programming python
Member Avatar for rproffitt
0
84
Member Avatar for lilindiekid

Can anyone help me to write combat class? 1. Combat between two creature cards: Reduce the defending creature’s HP by the attack power of the attacking creature card AND reduce the attacking creature’s HP by the attack power of the defending creature card. If either the attacker or the defender …

Member Avatar for rproffitt
0
61
Member Avatar for nur_721

help me to identify the problem with this code public class Calculate { int service; } int price(int total, int amount, int currency)//overloading { int price(int total, int amount)//overloading { return service; } } C:\Users\User\Documents\Calculate.java:12: error: class, interface, or enum expected int price(int total, int amount, int currency)//overloading ^ C:\Users\User\Documents\Calculate.java:17: …

Programming java
Member Avatar for JamesCherrill
0
59
Member Avatar for Denis_12

Write a program that stores information about the products in a single linked list that is being sold in a store: product code, product name and price. In the second single linked list stores data on products purchased by individual customers. Each of the element of the second list represents …

Programming c++ database
Member Avatar for rproffitt
0
57
Member Avatar for Omar_24

how to create an app that employees can use to manage the main warehouse. The app must allow the user to enter the spare parts by serial number, name and/or use an external par code reader and specify which parts were dispatched to which aircraft notified by its number in …

Programming vb.net
Member Avatar for Reverend Jim
0
56
Member Avatar for Farah_6

Develop a visual basic program that asks the user to enter an integer positive number, then reverse this number as a single integer and display it in a textbox. For example, if the user enters 235 the output should be 532. If the input is 79534 the output is 43597 …

Programming vb.net
Member Avatar for rproffitt
0
43
Member Avatar for Błkèęš
Member Avatar for Dani

DaniWeb was written in Codeigniter, and when posting to the forums, we use database transactions that look like this: $this->db->trans_start(); ... insert into the posts table ... ... update the member's post count ... ... update the tags table ... etc $this->db->trans_complete(); On occassion, the error log will show for …

Member Avatar for Dani
1
4K
Member Avatar for Griffin_3

nlp = spacy.load("en_core_web_sm") Error found OSError Traceback (most recent call last) <ipython-input-3-8d092272a28e> in <module> ----> 1 nlp = spacy.load("en_core_web_sm") ~\anaconda3\lib\site-packages\spacy\__init__.py in load(name, disable, exclude, config) 45 RETURNS (Language): The loaded nlp object. 46 """ ---> 47 return util.load_model(name, disable=disable, exclude=exclude, config=config) 48 49 ~\anaconda3\lib\site-packages\spacy\util.py in load_model(name, vocab, disable, exclude, config) …

Member Avatar for Dani
0
161
Member Avatar for Mnashmanne

: Mining Temperature Data The highs and lows of the 3 first weeks of 2020 temperature data are available on a piece paper and we have decided to store them in a three-dimensional array in which the first index represents the 3 first weeks of the year, and take the …

Programming c c++
Member Avatar for rproffitt
0
96
Member Avatar for zak99

Consider the following implementation of the node and doubly linked-list: Extend the class doubly_linked_list by adding the following methods: *Largest method .This method should return the largest element in a doubly linked-list. *Delete method. This method should delete the first occurrence of an element (value) from a doubly linked-list. template …

Member Avatar for Dani
1
89
Member Avatar for wackyal

how do you extract all email addresses from a string and put each extracted email address as an element of a simple array? <?php // define and implement your php function here function get_all_emails($text_field) { // ---- Beginning of Green Section --- // create an empty array $emails = array(); …

Member Avatar for Dani
0
3K
Member Avatar for clementer

I am looking to sort an arraylist of arraylist of doubles and I require help? I was informed that I need to implement comparator or comparable and then use the collection.sort to sort the list of list in order... ArrayList<ArrayList> list = new ArrayList<ArrayList>() If you look at the list …

Programming java
Member Avatar for tinstaafl
0
839
Member Avatar for Joslup

Hello! guys, I am developing a java game, "the rabbit, turtle, bird," I have a small problem, I do not know how to put attributes to the objects created, for example, a goal of 60 feet, the turtle walks " shift "of 4-8 meters, 6-12 rabbit, but has a 60% …

Member Avatar for Ayesha_17
0
709
Member Avatar for Jonah_4

What are the byte values of basic data types : char , int , long , long long, float, double.?(using sizeof() )?

Member Avatar for Husoski
0
138
Member Avatar for David_208

Ci-après le code : <?php $query = "SELECT ownerID,ownername,ownerbureau, is_deleted FROM notes.owner WHERE is_deleted = 0 AND ownername IS NOT NULL ORDER BY ownername,ownerbureau"; // Prépare une requête à l'exécution et retourne un objet $stmt = $pdo->prepare($query); // Exécute une requête préparée $stmt->execute(); $previousGroup =""; $first_group = true; ?> <select …

Member Avatar for Dani
0
91
Member Avatar for Siti_4

Construct a program in C++ to calculate a net selling price of a car from variety of models. The requirement of the program are: a. The program should be developed according to object oriented programming language which contain: i. A class with a proper naming convention. ii. A constructor with …

Programming c++
Member Avatar for JamesCherrill
0
88
Member Avatar for Facundo_3

First I would like to say that I do not speak English so sorry if I express myself badly. Hi, I need to know how I can solve this game. "Archers in the Forest". The game consists of a forest represented by a grid, 5x5, 7x7, 9x9 (The user will …

Programming c javascript php
Member Avatar for rproffitt
0
79
Member Avatar for Battlecode10

I am currently creating a Hangman program using Object oriented programming in C++. I tested my words class and it runs perfectly with a sample main that I was using. The classes that I need help with are Hangman and HangmanConsole. I am not sure what to do to get …

Member Avatar for Dani
0
78

The End.