3,068 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for JNSS

function to add two numbers, taking as arg/param & using inputs.

Programming python
Member Avatar for Rahul_53
0
64
Member Avatar for rutu9392
Member Avatar for Siddikulla
Member Avatar for Cheru John
Member Avatar for Katie_4

Hi I am coding a raspberry Pi to light up 5 LEDS for a binary number. I am missing some code because I am not sure what to put there, and my output is not coming out correctly. My output is below How many bits? 5 Enter the pin number …

Member Avatar for rproffitt
0
57
Member Avatar for Idoma

<! doctype html> <html> <body> <title> How to write a html file</title> <h1> how to write html</h1> <p> when creating a html file you make use of of your notepad </p> <h2> processing of html</h2> <p> when starting you make use of word like doctype, head, paragraph, body etc. You …

Member Avatar for Dani
0
57
Member Avatar for KINYUA_1

Am having trouble implementing a conditional structure for the BillingClient class method queryPurchases(String y) to check if user has an active subscription and let him download an image in the wallpaper app else prevent him from doing so. Am having trouble getting a comparison target for the if method here …

Member Avatar for Mr.M
0
52
Member Avatar for Lonely_2

In the program i made tried to login and it does not work i am not sure what i did wrong. [[Click Here](http://www.onlinegdb.com/B15uh6kB_)](http://www.onlinegdb.com/B15uh6kB_) #include <stdio.h> #include <stdlib.h> #include <string.h> #define MAXUSERNAME 30 #define MAXPASSWORD 20 typedef struct { char username[MAXUSERNAME]; char password[MAXPASSWORD]; } pass; int main() { char userName[MAXUSERNAME]; char …

Member Avatar for Prasad_9
0
51
Member Avatar for Haneen_1

Hi..please can anybody help me..im beginner and i have a hard assignment i need to write a c++ program that do the follwoing : 1.aske the user to enter two text file the first one containe the text file ,the second one contain list of words in one column Regardless …

Programming c++
Member Avatar for rproffitt
0
49
Member Avatar for simon_24

Hi every one! I real like programming, but I dont know which language to learn to become a best programer. I just need advise becouse there are many languages out there. Thank you

Member Avatar for Reverend Jim
0
43
Member Avatar for eslam ashraf

Mr.Sadik and Ramadan are competing together, both of them wants to become expert on Codeforces first. You will be given two numbers R1 and R2, where R1 is the current rate of Mr.Sadik and R2 is the current rate of Ramadan. Can you determine who will become expert first after …

Programming c++
Member Avatar for Dani
0
152
Member Avatar for Hafiz_6

<?php if(isset($_POST['submit'])){ $kategori = $_POST['kategori']; $nama = $_POST['nama']; $harga = $_POST['harga']; $deskripsi = $_POST['deskripsi']; $status = $_POST['status']; $filename = $_FILES['gambar']['name']; $tmp_name = $_FILES['gambar']['tmp_name']; $type1 = explode('.', $filename); $type2 = $type1[1]; $newname = 'produk'.time().'.'.$type2; $tipe_diizinkan = array('jpg', 'jpeg', 'png', 'gif'); if(!in_array($type2, $tipe_diizinkan)){ echo '<script>alert("Success")</script>'; }else{ move_uploaded_file($tmp_name, './produk/'.$newname); } } ?> **Error …

Programming mssql mysql php
Member Avatar for rproffitt
1
264
Member Avatar for Papa_Don

Hi Group, I'm using the split function for the very first time. I understand what it's doing. However I don't know how to output each individual word into a specific variable. As an example, the string is "Dickerson Tile Company". I have defined 7 variables to accept up to 7 …

Programming split variables vb.net
Member Avatar for Reverend Jim
1
84
Member Avatar for Syed_26
Member Avatar for TheNewKid

Hey guys, I have been looking around for a while but I can't seem to find any tutorial on how to print the contents of a RichEdit to a printer. Any help would be appreciated and if anyone has any links to a good tutorial please post them. Thanks! TheNewKid

Member Avatar for Greg_21
0
510
Member Avatar for Huzaifa Ehsan

The value of Ï€ can be determined by the series equation Ï€ =4 * ( 1 −1/3+1/5 −1/ 7+1 /9− 1/ 11+1/13+... ) Write a recursive function that takes an odd number n and uses recursion to approximate the value of Ï€ using the given formula including term up through …

Member Avatar for Reverend Jim
0
478
Member Avatar for IbtiSsam

<?php include('connexion.php'); include('security.php'); include('includes/header.php'); include('includes/navbar.php'); ?> <body> <?php if(isset($_POST["approved"])) { $id_location=$_POST['id_location']; $sql="UPDATE location SET etat = 'Approved' WHERE id_location = '$id_location'"; mysqli_query($connection,$sql); } if(isset($_POST["rejected"])) { $id_location=$_POST['id_location']; $sql="UPDATE location SET etat='Rejected' WHERE id_location = '$id_location'"; mysqli_query($connection,$sql); } ?> <div class="container-fluid"> <div class="card shadow mb-4"> <div class="card-header py-3"> <h6 class="m-0 font-weight-bold text-primary"> …

Member Avatar for IbtiSsam
0
375
Member Avatar for Asjdkwjsnc

I would like to know how it working. Here is the question.. isnt it put the method Iterable positions();? Please help me to figure it out. Suppose we want to extend the PositionalList ADT with a method, indexOf(p), that returns the current index of the element stored at position p. …

Programming java
Member Avatar for Husoski
0
208
Member Avatar for GermanPsycho

Hey, I'm trying to program a group-request system and now I'm struggling a little bit with the code. Well, I'll try my best to explain what I'm trying to do. ![requests.png](https://static.daniweb.com/attachments/4/c8beed25ef34924bc77f3007728ad5d3.png) I want, that when I click the accept button, ONLY the name from the person next to the accept …

Member Avatar for Dani
0
194
Member Avatar for Nymphalys08

Hi, how do you read multiple data types in a file and storing it in a linked list. I read the items with no linked list but when I used linked list it doesnt work. I think there is something wrong in my code. Programming language: C++ Thank you struct …

Member Avatar for pospisil80
0
176
Member Avatar for RC_820

hello all my name is rico, i want make some app like can combine number from input example : i have 4 variable like this $num1 = 96; $num2 = 20; $num3 = 19; $num4 = 37; so how can i get the result like this 9213 9217 9293 9297 …

Member Avatar for RC_820
0
161
Member Avatar for sbaker51

I'm embarrassed to admit that I cannot understand why in this very simple example that the "readln(age);" statement in the "else if" clause ignores the first integer entered in response to the "writeln('How old are you ',name:length(name),'?');" statement aroune line 16. It seems clear that the culprit is the "ch …

Member Avatar for rproffitt
0
146
Member Avatar for Rico_2

I want to create a login system in Codeigniter 4 like this so when the user has logged in on 1 browser / other device, and tries to log back in on another browser / other device then for the first login he will be logged out automatically examples like …

Member Avatar for rproffitt
0
116
Member Avatar for Cow cow

I want to make sqlite table like this format: | Matric | Name | GitHub Link | Status | |--------|-------------------------- |---------------------------|--------| | 243340 | Yu Zhixiong | https://github.com/abcde | Yes | | 250634 | Ahmad Afham Bin Noor Azizan | | No | I get two link is first link …

Programming java sql
Member Avatar for rproffitt
0
111
Member Avatar for Onion13

Working on a video game using visual studio and I am having trouble with the sound effect when the player shoots their weapon. When the player shoots multiple times, the sound overlaps. Ive tried many things and this was my last attempt. Can someone please help me? I am stuck. …

0
87
Member Avatar for newnew1234

how do i skip a char in filestream? i tried the ignore function but that doesnt work in filestream, i also tried using an array[i] and said if(arr[i]=="-") then i++ while outputting but that doesnt work either

Member Avatar for rproffitt
0
73
Member Avatar for Muhammad Hassan_1

program to find the structure of teacher and student lecture in c++ classes

Programming c++
Member Avatar for rproffitt
0
70
Member Avatar for annya

Hi, My insert funcation is added below, as in php 5.6 i was able to post array data to database using below funcation but in php 7 it was not working i spend hours to find an solution but nothing is working. Insert funcation public function insert($table, $data) { $formattedVals …

Member Avatar for annya
0
65
Member Avatar for chandkrishneel

Im trying to display/show the Total Average in the heading (beside it) and not in the dataset table. I tried different methods but it wont show. (The last method I tried to work with is what in including in the codes. <!DOCTYPE html> <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> <head> <meta charset='UTF-8' …

Programming javascript jquery
0
60
Member Avatar for fahim_10

Student need to go through the CASE STUDY shown in this exam paper Analyze and answer specific section based on your own thinking and work CASE STUDY Covid-19 pandemic is still on the progress despite several attempts of vaccine program around the world and many of successful ones are already …

Programming c
Member Avatar for rproffitt
0
49

The End.