2,611 Recommended Topics

Remove Filter
Member Avatar for
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
553
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
496
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
388
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
212
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
209
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
187
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
162
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
155
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
154
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
123
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
113
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
92
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
76
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
72
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
66
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
61
Member Avatar for IbtiSsam

# filter cars according to their brands # *** ![filtrer.png](https://static.daniweb.com/attachments/4/999b4e6902a96108f372a91436f490d7.png) > hiplease help me to *filter the cars* that's the code of > index.php(displaying cars from database) <section class="gauto-offers-area section_70"> <div id="myBtnContainer"> <input type="hidden" name="marque" id="myInput"> <div class="row"> <div class="col-md-12"> <div class="site-heading"> <h4>Viens avec</h4> <h2>meilleures offres</h2> </div> </div> </div> <div …

Member Avatar for Dani
0
54
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
51
Member Avatar for Joseph_53

When using checkdnsrr I get an Internal Server error. I am using PHP RPM on IBM i. Has anyone seen this error and could give me information on how to address it? <?php $domain="w3schools.com"; if(checkdnsrr($domain,"MX")) { echo "Passed"; } else { echo "Failed"; } ?> Error received when running scrip: …

Member Avatar for Dani
0
48
Member Avatar for A-33 Gaurav

Selection sort uses the greedy techique, do all other sorting algorithm follow greedy technique?

Member Avatar for rproffitt
0
46
Member Avatar for Ken_526

having problem in coding a small system, which can let user to key in the input and save it into txt before checking the txt file whether the data is duplicated or not

Programming c++
Member Avatar for Naheedmir
0
42
Member Avatar for ultimatebuster

Is it possible to store a certain function as a variable? If not, is it okay to make a class, and define a function. Store the class as the variable and invoke that function?

Member Avatar for tomas_petricek
1
32K
Member Avatar for markusd5454

Below is a program that asks the user to input a username and password. Once logged off the user is asked to re-enter their username and password. Is the program correct where it checks if the username and password input before is correctly input again?. Any help would be welcome …

Member Avatar for Reverend Jim
0
86K
Member Avatar for Shift_

I got bored of revision last night, and decided to have another go at python! So to refresh my memory and have a bit of a practice I wrote a quick phone-book program. I'd be grateful if y'all could give me some tips and ways to improve on it/make it …

Member Avatar for TAJUL ISLAM_1
0
10K
Member Avatar for nishant52

I want to run PHP files without .php extension. For eg:- If i open myhost/docs/default it should run "default.php". Please tell me how to implement it.

Member Avatar for shalini_8
0
4K
Member Avatar for gianrocks

hey everyone, i am to create a database filled with pdf files and its stored into binary. i was able to convert each file into binary but the problem is dat now i cant display it in the viewer.. can someone help me? i remember that i used to do …

Member Avatar for Owais_4
0
3K
Member Avatar for M.S.A 

Hi all .. I've been doing my coursework .. I have done 30% of it .. but I've met problem since the day before yesterday .. I've tried to solve it but I couldn't .. I've been requested to write programme that promote the user to enter a file name …

Member Avatar for Gergely_1
0
2K
Member Avatar for mollyrock705

![Inked235345364566556546_LI.jpg](https://static.daniweb.com/attachments/4/b5bf788aff340f6e41ee2b6d28f1f5c9.jpg) Sample output: Enter number of guests: 40 40 guests have been invited. Enjoy the party!

Programming asp.net c++ java javascript
Member Avatar for loveboat
0
453
Member Avatar for Onion13

Learning C# and I am working on a C# scrolling shooting game. The game works so far but when the player finishes a level, I want the enemies to appear on the far right of the screen and the player on the left of the screen. When the level is …

Member Avatar for Onion13
0
305
Member Avatar for kemeb12872

I hope I am doing this right, I am a beginner in C and I am having trouble to figure out how to modify an entry. I am doing a phonebook application that will write and record into a text. file. I have finished most of the coding but I …

Programming c
Member Avatar for Juan_23
0
260

The End.