-
Began Watching I should get 7 after this code but it is giving me 9 words Plzz help
def Count_Total_Words(str1): total = 1 for i in range(len(str1)): if(str1[i] == ' ' or str1 == '\n' or str1 == '\t'): total = total + 1 return total string = … -
Replied To a Post in Solve that problem
Is this your assignment? Homework? Please read the following: https://www.daniweb.com/welcome/rules https://www.daniweb.com/programming/threads/534782/the-code-please#post2277444 -
Began Watching Solve that problem
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 … -
Replied To a Post in I would like to learn structured programming
No problem. Start at https://en.wikipedia.org/wiki/Structured_programming -
Began Watching I would like to learn structured programming
I would like to learn structured programming -
Replied To a Post in Write C++ program for Elgamal Encryption. Give the results after Run the p
Please read the following: https://www.daniweb.com/welcome/rules https://www.daniweb.com/programming/threads/534782/the-code-please#post2277444 -
Began Watching Write C++ program for Elgamal Encryption. Give the results after Run the p
Write C++ program for Elgamal Encryption. Give the results after Run the program code. -
Replied To a Post in Got an error warning: move_uploaded_file () on Mac
This sounds correct. Windows and the Apple OS do not have same/similar file and folder permissions so my answer is it's about permissions and not a code issue. Here's a … -
Began Watching Got an error warning: move_uploaded_file () on Mac
<?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]; … -
Replied To a Post in Please help me with the following problem!!
Read https://www.daniweb.com/programming/threads/534782/the-code-please#post2277444 -
Began Watching Please help me with the following problem!!
To realize a function of reading from the file in the structure. in c++ Example using namespace std; struct user char name [40]; char first name [40]; char email [50]; … -
Replied To a Post in Hand gesture recognition using car game by Python
Neat idea. Was there a question here? Also, Python doesn't mean there's a camera or suitable input device so maybe it matters what machine you are trying this on? -
Began Watching Hand gesture recognition using car game by Python
Hand gesture recognition using car game by Python -
Replied To a Post in Multiple fields of one record into datagrid for Visual Basic.
First, VB6 is over 28 years ago and good luck buying a license today as well as installing the system on today's Windows. I'd move to vb.net and for your … -
Began Watching Multiple fields of one record into datagrid for Visual Basic.
Dear Team, I am underprocess of a working for Tailor software where i need your kind and appreciation advise. I have fields of cloth like shirt and trouser of a … -
Replied To a Post in Discuss various forms of functions and parameter types with suitable coding
As you know this, please make a tutorial here on Daniweb. -
Began Watching Discuss various forms of functions and parameter types with suitable coding
I know more information about this topic -
Replied To a Post in personality prediction from text
My answer will be no. " without training data " and the accuracy so high is why. That aside the more I learn about ML (machine learning) is that training … -
Began Watching personality prediction from text
for personality prediction from text by using unsupervised learning method or without training data can we able to use any other method for better accuracy nearly 75% -
Replied To a Post in How can i skip a character while inputting from a file in ifstream?
I see a possible gaffe on my part. Line 16 calls out an int and we are comparing a char on line 26. Possible fix? Change int to char on … -
Replied To a Post in Are you going to get the vaccine?
Mary and I received the Pfizer vaccine. We are in the 65 and older group (not by much) and for us it was just a sore muscle for a week … -
Gave Reputation to Dani in how can i combine number php
> Thanks for the comment. That makes me think you need to use the following function to convert numerics to strings. PHP is an untyped language. There's no need to … -
Replied To a Post in checkdnsrr gets an Internal Server error
Time to try other PHP or check configuration. Why? I tried that on a few online PHP sites and got this: "Warning: gethostbyname() has been disabled for security reasons" That … -
Began Watching checkdnsrr gets an Internal Server error
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 … -
Replied To a Post in how can i combine number php
Thanks for the comment. That makes me think you need to use the following function to convert numerics to strings. Read https://www.php.net/manual/en/function.strval.php -
Replied To a Post in how can i delete notification from the bar notifications
There must be some missing detail. Nothing in the code seems to emit a notification. -
Began Watching how can i delete notification from the bar notifications
how can i delete notification from the bar notifications without deleting from database like facebook. when i click cross the notification disappear <?php $sql_get1=mysqli_query($connection,"SELECT * FROM message WHERE status=0"); if … -
Replied To a Post in how can i combine number php
I can't see how any combination of the variables given results in 9213 or such. Maybe your examples were incorrect? -
Began Watching how can i combine number php
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 = … -
Gave Reputation to newnew1234 in How can i skip a character while inputting from a file in ifstream?
I'v tried it with char array and string as well using ignore function but nothing seems to work and it doesnt output anything either -
Replied To a Post in codeigniter 4 about login
> : i mean like this now i login in mozila browser then i open another browser like chrome if i login in chrome yang login in mozila will auto … -
Replied To a Post in How can i skip a character while inputting from a file in ifstream?
To me this code is working too hard. Here's my take on it. /****************************************************************************** Online C++ Compiler. https://www.onlinegdb.com/online_c++_compiler Code, Compile, Run and Debug C++ program online. Write your code in … -
Replied To a Post in Java heap size issue
Hello Mr. M. I want to comment about 32 bit here. Over the past few months at the office we've been clearing the office of old gear and computers. Along … -
Began Watching Java heap size issue
Hi Dw. I had java 8 installed I'm, the problem is that when I run a bat file that uses the java it says Invalid maximum heap size -Xmx4g. I've … -
Replied To a Post in Approximization of pi in c++
I have thoughts about this one. 1. Since it's float, just declare the value and be done. 2. Use the old pi = [4.0 * atan(1.0)](https://www.google.com/search?&q=4.0+*+atan(1.0)) 3. See more than … -
Began Watching Approximization of pi in c++
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 … -
Gave Reputation to Naheedmir in How do you pronounce certain networking terminology
The following are some of the networking terminology that most people pronounce incorrectly: * SQL used to be SEQUEL * SUS server * VPN as a vippen -
Gave Reputation to Husoski in How do you pronounce certain networking terminology
The one that I stumble over, even decades after getting it "corrected", is URL. Learning networking concepts from books rather than a classroom, I still tend to read that as … -
Replied To a Post in China has made remarkable economic achievements in a very short period of t
Cite sources please. "Reported coronavirus deaths, per day, in the U.S." looks to be well under half what it peaked at. Sadly a lot of the US state leadership seems … -
Began Watching China has made remarkable economic achievements in a very short period of t
China has made remarkable economic achievements in a very short time, especially in 2020, and achieved some success in fighting against COVID-19. The United States saw that China was developing … -
Gave Reputation to Husoski in java eclipse indexOf question
I'm new around here, so I don't know how well your question fits the "show some effort" rule on assignments. I don't see any harm in helping you with the … -
Gave Reputation to Reverend Jim in Split a string into individual words
You're counting hooves and dividing by four. Why not just do Dim Search As String() = s.Split() Then instead of referencing the words as Search1 Search2 . . . You … -
Replied To a Post in Hi everyone, I'm 6Maxi
According to what I can find you launched on April 1, 2021. I would have stayed quiet and avoided that date. I also see a flurry of spam about this … -
Began Watching Hi everyone, I'm 6Maxi
I am 6Maxi, a professional freelancer at 6Maxi. It is a trustable marketplace for digital services for just 6 dollars. -
Replied To a Post in how disable buttons accept and reject after changing the status
I'm guessing you need a tutorial on the disable. https://flaviocopes.com/how-to-disable-button-javascript/ looks good. -
Began Watching how disable buttons accept and reject after changing the status
<?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' … -
Replied To a Post in How can i skip a character while inputting from a file in ifstream?
Let's see the code you tried. -
Began Watching How can i skip a character while inputting from a file in ifstream?
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++ … -
Replied To a Post in Do all Sorting Algorithm follow Greedy technique?
A great write up is over at https://en.wikipedia.org/wiki/Greedy_algorithm -
Replied To a Post in Hi everyone, I'm serenitybranne
I don't think there is a tutorial about using the Daniweb editor but maybe you need something before that. Here's a tutorial on copy and paste which should be fine …
The End.