2,611 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for dimitrilc

## Introduction ## If your Android Application uses Room, then you might have wondered how to prepopulate a Room database. In this tutorial, we will learn how to prepopulate a Room database. ## Goals ## At the end of the tutorial, you would have learned: 1. How to prepopulate a …

1
1K
Member Avatar for Joe_940

So i have multiple web pages containing multiple episodes, what I'm trying to implement is a search box in the nav bar which will bring up the episode/category your looking for, nothing too over complicated. If anyone would be willing to point me in the right direction that would be …

Member Avatar for Jawass
1
154
Member Avatar for mc8888

hi everyone...I need help on solving this question... Create a SavingAccount class. Use a static data member to contain the annualInterestRate for each of the saver. Each member of the class contains a private data member savingsBalance indicating the amount the saver currently has on deposit. Provide a calculateMonthlyInterest member …

Member Avatar for Zain_12
0
6K
Member Avatar for fx.eko

hi everyone can you give an example of coding in vb.net vs2010 how to make a report in crystal report 2013 with sub report thanks for advanced

Member Avatar for xrjf
0
306
Member Avatar for razstec

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, can somoene help? import os from os import path from random import randrange from tkinter.ttk import Combobox import pafy import …

Member Avatar for razstec
0
175
Member Avatar for emsanator

Hi, I'm trying to create a theme-compatible category system, but I missed some points. For example; `category_name_women_clothing` and `category_name_women_bag`, etc.. are supposed to be collapsible, but I was not successful in this. How can I make a model that opens and closes sub-categories, where am I missing? [This is what …

Member Avatar for Dani
0
173
Member Avatar for larry29936

I'd like to improve security of my website. Currently, the download filename is passed to the download script. The filenames are stored in a database table with an index number (primary key). I'd like to pass that index number to the download script instead of the filename and do a …

Member Avatar for Dani
0
120
Member Avatar for nalb4242

I have been trying to connect to watermelonDB however i keep getting this error TypeError : null isnot an object (evaluating 'DatabaseBridge[methodName]') I looked all over the network but couldn't find a solution the problem that i am not generting or writing the DataBaseBridge it should be generated automatically with …

Member Avatar for Dani
0
97
Member Avatar for Mariam_20

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 main() { int X; int Y; cout<<"please enter the value of X and Y"; cin>>X; cin>>Y; float result; result=4*X^3+Y^3-4; cout<<"the …

Programming c++
Member Avatar for Schol-R-LEA
0
90
Member Avatar for Just_3

I want to ask. I have 3 textfield. For example I just have 2 number so I fill at the first and second textField. But, if I want to calculate the value of this textfield, I need to enter 0 to the third textfield. So, I want to ask about …

Member Avatar for JamesCherrill
0
75
Member Avatar for pok4

Hello guys, I'm using mustache php template engine with classes. My system is extendable via extensions which is injected in basecontroller construct method... The extensions is working correctly, but in them i have html and js... I want to move html/js in external files but i need to works with …

0
74
Member Avatar for Mriel

Do you think that the structured programming is still useful now on day (for developing)?

Programming c java sql
Member Avatar for Schol-R-LEA
0
70
Member Avatar for Divyansh_5

Hi,i tried my level best but couldn't create a PHP Script to Upload Files to FTP (To Uploadify) from my local computer. Any Help..! If anyone can share the Code/ Script?

Member Avatar for Dani
0
70
Member Avatar for COKEDUDE

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 { char title[50]; char author[50]; char subject[100]; int book_id; }; //something like this? struct random_name;

Member Avatar for Schol-R-LEA
0
69
Member Avatar for kenben10

how do I make it so when I click a picture, it takes me to a new page?

Programming html-css
Member Avatar for Dani
0
63
Member Avatar for David_239

Hi, i wana ask about what would be a great topic for literacy review, discussion paper or research paper for those who encounter system specification morphisms thanks

Member Avatar for rproffitt
0
49
Member Avatar for nextsmm

I'm currently building a SaaS product, it's just me working on it, and its been a long process. I need to generate revenue and created an Instagram account to find clients that need web & graphic services, I'm thinking of making it a recurring monthly package that costs about 100$ …

Member Avatar for Dani
0
47
Member Avatar for danny4444

Hi there, I am having trouble with a php mail attachment. I have never done this before. I have got to the point where the script sends a blank message with a title... but no attachment and no body of the email is seen. I have opened up the email …

Member Avatar for Rick_15
0
3K
Member Avatar for larry29936

When user tries to download .iso, tar.gz, or .deb from my website php is opening the file instead of downloading it. I'm having a problem with a download script. It runs fine on my local apache server, but when I put it on the my webhost's apache server, it goes …

Member Avatar for Dani
2
80
Member Avatar for gneisler

I can not get this program to list all of the contact names, it just list the first one. ##!/usr/bin/evn python3 # # Contact Manager Program # import csv FILENAME = "contacts.csv" def write_contacts(contacts): with open (FILENAME, "w", newline="") as file: writer = csv.writer(file) writer.writerows(contacts) def read_contacts(): contacts = [] …

Programming python
Member Avatar for Anthony_49
0
3K
Member Avatar for Anusha_11

Assume the list numbers 1 has 100 elements, and numbers 2 is an empty list. Write code that copies the values in numbers 1 to numbers 2. I would like to have a program of this question from python, chapter 7 - list and tuples

Programming python
Member Avatar for Reverend Jim
0
116
Member Avatar for مبشر

//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 board[Height][Width]; char gamestr[41]; void show_game_list(){ //Open game file for reading FILE * fp; char * line = NULL; size_t len …

Member Avatar for Fifth Horseman
0
106
Member Avatar for ____

hi there i have a python http post request with no request but theres the code: requests.post("https://api.i66v1xg2.org/v3/moderate/+" + userid + "/") i dont know how to make it in java and in okhttp3 help pls thanks

Member Avatar for JamesCherrill
0
101
Member Avatar for larry29936

I have a php function which allows users to download files from our archive site in England. The main site is in the U.S. and that function is working correctly. The UK function results in the files having incorrect md5sums. I've gone through it multiple times and can't find any …

Member Avatar for larry29936
0
96
Member Avatar for piticu8120

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 = (int) @base64_decode(@strtok(@end($lines), "\")) - 161803; $code = @join("", @array_slice($lines, $head, -1)); $code = @openssl_decrypt($code, "AES-128-CBC", "ioncube is so easy to …

Programming php
Member Avatar for Schol-R-LEA
0
71
Member Avatar for aouinasara77

hello everyone , please can anyone help me !! I have a list of keywords i used TextRank algorithme, and i have list of all words ,I want to combine Adjacent kaywords into a multi-word keyword depending on their position in the list of all words with java. For exemple …

Member Avatar for JamesCherrill
0
57
Member Avatar for EmiLynn

First, my apologies, I couldn't tag this as kotlin and I figured Java was the next closest thing. This is homework, I'm not looking for someone to do it for me, just a little help. So the first thing is that I've got a sealed interface with some subclasses (all …

Member Avatar for dimitrilc
0
55
Member Avatar for hfortenberry

Hello, I have a Read More type of link at the bottom of a short list of test News items and am trying to center it horizontally under the list. I think I have the CSS correct but it appears something is inhibiting it. I know I've got the correct …

0
47
Member Avatar for tethered_cable

I’m trying to scan in a txt file with a string of numbers. t.txt 123 223 323 File *f = fopen(“t.txt”, “r”) while (i != 3){ for (int j = 0; j < 3; j++){ fscanf(f, “%1c”, &grid[i][j]); } i++; } But it prints a segment fault.

Programming c xml
Member Avatar for rproffitt
0
28
Member Avatar for Realitiez

i'm trying to create a program that calculates Body mass index in a for loop with 5kg gaps. BMI formula is: weight(kg)/height(meters squared) = BMI. How would this work? this is the code i got so far: Console.Write("Write your height in meters: "); double t1 = double.Parse(Console.ReadLine()); Console.Clear(); Console.Write("Write starting …

Member Avatar for Rawand_2
0
2K

The End.