199,114 Archived Topics
Remove Filter ![]() | |
I was just wondering if there are any books to learn how to analyze and debugging code of any programming language in general Thanks in advance for the help | |
Hello i been doing some program of my own, my program is to get the number of days paased in the year. I am having hard to get get the passed in the year. Now when i try to run and the output gives me "4438232", i am really having … | |
Hello. I have this tutorial and I'm at a lost. The program is suppose to calculate the call charges according to the rates. conditions: a) all calls start at 600pm and before 700am will be given 50% discount from the normal rate b) any calls that starts at 700am and … | |
Hiya Folks, Why is not mysql getting UPDATED, do you reckon ? <html> <head> <title> <?php $user?> Home Page </title> </head> <body> <body background=".png"> <?php session_start(); require "conn.php"; /*Check if user is logged-in or not by checking if session is set or not. If user is not logged-in then redirect … ![]() | |
Hello i want to make a script that allows the user to record audio from his device mic and then store it as a .mp3 or .wav file on my database. Does anyone knows any tutorials or scripts? I found this one `http://stackoverflow.com/questions/16413063/html5-record-audio-to-file` but i dont know to make it … ![]() | |
Develop a C++ program that finds the minimum of 4 even numbers entered by the user.? The program should display the following grades if the minimum value is found within the given interval; 60-100 A 40-59 B 30-39 C Below 30 Fail | |
I have a wordpress theme I am trying to modify as a single landing page but I have been running into some problems. I am trying to create two forms on a single page. I have been able to copy and paste the first form and replicate that as a … | |
I am strugling to find my productivity bottlenecks. I decided I could record a video, so that someone could see how I work and my thinking process. I know one way to increase productivity is to have experience with something. But often there is tasks which are rarely or first … | |
Hi friends , I have three table Countdown, Walk, Bon de reception The Id_marche is a foreign key in the countdown table and The Receipt table contains the Id_marche I want to insert in recordings in the counting table which contains Amount TTC so to calculate Amount TTC = TVA* … | |
Using the IAR, I need to develop a program to display a timer using the 7 segment displays, the counter must be able to count up to 59 minutes and 59 seconds and must be displayed in the following format: 59:59 (using the colon). Use software delay loops to approximate … | |
hello !! i want to ask that in below program if i want to change cin and cout into printf and scanf then how colud i?Becuse when iam changing my program in cin and cout it is not running :( [CODE]#include <iostream> #include <iomanip> int main () { long number; … | |
Hi guys i am trying to save information in to my access database , i created new instance of an ADODB.Connection object and ADODB.Recordset object but visual studio 2005 is given me an error message that ADODB.connection and ADODB.Recordset are defined, please can any one help this is my code … | |
Hello, New to programming and have been trying to use PHP and jQuery or AJAX to accomplish the task listed in the title. I'm using an MVC type of approach and have a page to remove wines in the view directory, the controller for the remove wine page in the … | |
All in the following code snippet - I have this code working without syntax error if a user accesses the page directly they get the message listed in the else statement "This page cannot be accessed directly " - and when the user accesses the page from a post method … | |
Hello, I have implemented pagination in MVC application. when first time page loads, it works properly, when I click on paging then it makes AJAX call and bind the data in my HTML table from json response. but after AJAX call, pagination is working. once AJAX call fires, then pagination … | |
Hi, I have a seminar in programming. My topic is how to use the api in C and how to use the api in vb6. I dont know anything about that. Can you help me a little bit? Thank you | |
I am attempting to create a simple project for the subject matter for learning and discovery purpose however it doesn't seem to work. My rest API works well but the integration of AngularJS with Laravel doesn't work. You can pull my mini project from [Click Here](https://github.com/solomon13000/angulara). Your help is kindly … | |
Guys, After getting putoff from php.net to learn php 7 (because it is not beginner friendly) and raoming around youtube for 1.5mnth to learn php and failing to get proper tutorials there, I returned to php.net. Was reading the CONSTANT chapter and really got pissed-off. Read this page and tell … | |
I have a simple form that submits a name to a database. the php works on the html form already. xml for form <Button android:id="@+id/button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Button" android:onClick="sumbitdata" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" tools:layout_constraintTop_creator="1" tools:layout_constraintRight_creator="1" android:layout_marginTop="53dp" app:layout_constraintTop_toBottomOf="@+id/name" tools:layout_constraintLeft_creator="1" /> <EditText android:id="@+id/name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:ems="10" android:inputType="textPersonName" android:text="Name" tools:layout_constraintTop_creator="1" tools:layout_constraintRight_creator="1" android:layout_marginEnd="69dp" app:layout_constraintRight_toRightOf="parent" android:layout_marginTop="222dp" app:layout_constraintTop_toTopOf="parent" … | |
Hi! Anyone can help please? I am searching around like crazy to make this work but no luck... There are allot of articles with some solutions but nothing works for me... Here is my code <?php require_once('../tcpdf/config/lang/eng.php'); require_once('../tcpdf/tcpdf.php'); // create new PDF document $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, … | |
Hi Everyone, I am having a bit of a mare trying to get my htaccess file working the way I would like it too. I am trying to redirect the index.php from websitename/directory/index.php to websitename/directory/ I have tried the following rewrites but nothing seems to be working, Hope someone can … | |
Having an issue passing info from the modal to the model so that I can do a where statement. The first line below is the link to open the modal. Works fine no issues. <td><a href="javascript:;" class="openModal" data-toggle="modal" data-target="#email_details_<?php echo $SP->fit_tv_rollout_info_id;?>"> <span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span> </a></td> <div id="email_details_<?php echo $SP->fit_tv_rollout_info_id;?>" … | |
#include <iostream> #include <stdlib.h> #include <unistd.h> #include <time.h> using namespace std; int createZombie() { if (rand() % 67 < 10) return 11; else return rand() % 10 + 1; } int main() { srand(time(NULL)); char enter; // game starts int playerAlive = true; int playerSkill = 9; int playerScore = … | |
Hello All, I'm currently working on a project which requires me to encrypt multiple text files at one go. I am able to retrieve the name of the files through listfiles() but how am i supposed to pass those files to File variable so that the encrypt method can encrypt … | |
Consider my post in this thread... https://www.daniweb.com/programming/software-development/threads/508038/how-to-change-this-program-to-fully-oop Consider this code... int main() { srand(time(NULL)); char enter; // game starts Player player; // title cout << "Welcome to Zombie War." << endl << "Press [ENTER] to start."; cin.get(); // player name cout << "Please enter your name: "; cin >> player.playerName; … Programming oop | |
can anyone help me with this assignment, Please. __________________________________________________ The brightness of a binary star varies as follows. At time t = 0 days its magnitude is 2.5, and it stays at this level until t = 0.9 days. Its magnitude is then determined by the formula 3.355-ln(1.352+cos(PI(t-0.9)/0.7)) Until t … Programming c++ | |
I have been alerted o the fact that there are "security issues" with Javascript, but have no idea what the issues are. I have written a webpage in HTML which incorporates a menu written in Javascript. A user alerted me to the fact that the menu does not appear with … Programming java javascript | |
hi everyone, Im doing a project of creating a office application.I want to to add all the options that in my project that are available in the microsoft word.I have a doubt in adding table in the work area.Can any one tel the solution to my problem. | |
All, I am trying to a call a fly program which generates dynamic images on a webpage and I'm geting this error -> malformed header from script. Bad header=/usr/home/gump/bin/fly: The main code is as such and I've tried various varaitions of the Content-Type headers to no avail - the simple-lib.pl … | |
Hello i have an other code that bother me because i am confused what i should do take a llok to the questions first: **Example 2: The GradeBook Class: Consider the attached GradeBook class. Complete the following tasks: 1-Modify the determineClassAverage method so it allows the user to enter the … | |
hi, does anyone know how to insert a background picture to a JPanel? I have googled around, found something seem more difficult than it should be, and a simple one as below but not showing the pic. [code] midBoard = new JPanel(); JLabel pic = new JLabel(new ImageIcon("Sunset.jpg")); //midBoard.setBackground(java.awt.Color.RED); midBoard.add(pic); … | |
Hello, So I am trying to read a text file into an array, but I am having issues breaking it up properly. Here is my text file: 0 Car Fixed 1 Brake 2 Windshield 3 Tires 4 Engine 5 Doors 6 Transmission and here is my code: #include <iostream> #include … Programming c++ | |
function email($reqNo){ //Database Configurations $host = "some.url"; $username = "someuser"; $pass = "xxxxxx"; $db = "mydatabase_db"; //Customer Configurations $cName = null; $cEmail = null; $DBConnect = @mysqli_connect($host, $username, $pass, $db) or die ("<p>Unable to connect to the database server.</p>". "<p>Error code ". mysqli_connect_errno().": ". mysqli_connect_error()). "</p>"; $SQLString = "SELECT name, … | |
I have a form on my checkout page that redirect to the payment gateway and at same time write customer info on database, but i don't know how to pass info that customer just fill on the checkout page to the payment gateway. I use php xml for the dynamic … Programming javascript php xml | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN? "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Address Book</title> <script type="text/javascript"> function addressBookItem (fname, lname, email) { this.fname = fname; this.lname = lname; this.email = email; } addressBookItem.prototype.write = function() { adrbook = "<tr><td>" + this.fname + "</td><td>" + this.lname + … | |
I was informed the if-statement is incorrect. I can't find the syntax error ? var curDoc = app.activeDocument; var selall = app.executeMenuCommand("selectall"); var fillrmv = curDoc.pathItems[0].filled = false; if (app.activeDocument.pathItems[0].filled = true) { for (i=0;i>fillrmv;i++) { curDoc.pathItems[0].filled = false; }; }; | |
Hello People, Do you know why iframe is not opening to the url (variable value) ? Here is latest update of the code but still it shows not the variable value as the iframe URL. Variable calls db row data. Mysql column "Latet_View" has an entry on position zero: http://www.google.com … | |
I'm trying to implement Callable for Strassen's algorithm to multiply two matrices. I'm new to this, and i'm having a few issues and I can't figure it out for the life of me :( . The first problem is that the program prints out 0 for all the elements of … Programming algorithm java multithreading | |
Hi i have other problems in other class the questions is ** The Person class Create a class called "Person" that includes three pieces of information as instance variables: a name, address, and age. Your class should have a constructor that initializes the three instance variables. Provide a set and … | |
Hello everyone, I have a reall small questions and i am stuck in the end of my code. I need just someone explane it to me please or maybe i am confused. Take a look... Questions: **Create a class called "Employee" that includes three pieces of information as instance variables: … | |
Php Experts, I am a complete beginner in Php. Trying to learn Php 7 as much as I can. I need your help to point me to the right direction. What kind of method in Php 7 is used to track urls belonging to a foreign domain ? I mean, … | |
Ladies & Gentle Men Programmers! If you add the following anonymous web proxy url prior to your chosen URL then you can view that URL anonymously via the http://anonymouse.org web proxy: Anonymouse.org[^] For example, if you want to view ebay.com then you'd view it anonymously via this url: http://anonymouse.org/cgi-bin/anon-www.cgi/ So … | |
Hi guys, as I have never used any design pattern I thought I might try to learn something by developing a small application. What I'm thinking is something like a radio controlled car simulation - I mean a really really simplified version of it of course - something like creating … | |
I am doing a mini project on Caesar cipher, I found one program but can't understand the 29th line "key = -key". Please help me. # Caesar Cipher MAX_KEY_SIZE = 26 def getMode(): print('Do you wish to encrypt or decrypt a message?') print("'e' for encrypt and 'd' for decrypt") while … | |
Hi there, I am stuck with a problem, and don't know where to start. I need to calculate the closest pair of points on the Earth using a divide and conquer method. I know I should calculate the orthodromic distance (or in other words the great-circle distance) but I don't … | |
Need Help to create **Gmail** style realtime chat app for my website. I found server for realtime chat here https://xmpp.org/software/servers.html (I will go for [ejabberd](https://www.process-one.net/en/) or [Openfire](http://igniterealtime.org/) **or** which one should I choose?) **Goals** 1. send & receive chat request 2. accept or reject request 3. show sent/pending chat request … | |
My ISP - upgraded the Apache servers and in doing so - the CGI/Perl script below that worked before since they didn't require use strict now does not - since I uncommented out the use strict - I'm getting two errors - at first I was getting: Global symbol "@allgifs" … | |
Programmer buddies, Do you mind pointing me to the right direction ? I've been waiting from dec 2015 to learn php 7 but no tuts on php 7 were out until a month or 2 ago but yet again they are not proper or complete tuts. Can you recommend some … | |
I wish to get good training about HTML scripting,i need to be developing web based aps,therefore i ask for experts in scripting languages like ASP.NET,PHP&Python but first,i need to go with HTML. | |
How do i get every user that installs my app but without asking the user to register anywhere also sorting by every time it joins (opens) the app. Any help will be appreciated. |
The End.