199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Naveen_20

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

Member Avatar for ddanbe
0
328
Member Avatar for Andrew_39

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 …

Member Avatar for Johan_1
0
7K
Member Avatar for nadiam

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 …

Member Avatar for JamesCherrill
0
672
Member Avatar for UI

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 …

Member Avatar for diafol
0
262
Member Avatar for SimonIoa

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 …

Member Avatar for diafol
0
14K
Member Avatar for Rodrigo_5

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

Member Avatar for tinstaafl
0
319
Member Avatar for newbi11

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 …

Member Avatar for newbi11
0
379
Member Avatar for McLaren

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 …

Member Avatar for rproffitt
0
285
Member Avatar for MA_2

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* …

Member Avatar for rubberman
0
294
Member Avatar for Victor_15

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 …

Member Avatar for SeacoastView
0
596
Member Avatar for anny**

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; …

Member Avatar for helo_1
0
4K
Member Avatar for Clocker

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 …

Member Avatar for chilaka2
0
5K
Member Avatar for Kunyepa

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 …

Member Avatar for The Diamonds
0
177
Member Avatar for koneill

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 …

Member Avatar for The Diamonds
0
306
Member Avatar for Krunal_3

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 …

Member Avatar for The Diamonds
0
811
Member Avatar for ema_1

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

Member Avatar for Reverend Jim
0
187
Member Avatar for solomon_13000

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 …

Member Avatar for solomon_13000
0
394
Member Avatar for UI

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 …

Member Avatar for UI
0
305
Member Avatar for Joe_10

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" …

Member Avatar for JamesCherrill
0
400
Member Avatar for dbalas

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, …

Member Avatar for salman_15
0
4K
Member Avatar for Lloyd_4

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 …

Member Avatar for gottaloveit
0
585
Member Avatar for SeanKann

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;?>" …

Member Avatar for gottaloveit
0
289
Member Avatar for hegindra

#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 = …

Member Avatar for JamesCherrill
0
580
Member Avatar for Sagar_9

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 …

Member Avatar for Sagar_9
0
2K
Member Avatar for AssertNull

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
Member Avatar for Reverend Jim
0
613
Member Avatar for Gamal_3

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++
Member Avatar for Gamal_3
0
321
Member Avatar for davewylie

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
Member Avatar for rproffitt
0
217
Member Avatar for sunilkumarmano

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.

Member Avatar for Rajeev_7
0
2K
Member Avatar for koneill

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 …

Member Avatar for Geoff_3
0
1K
Member Avatar for Sameer_8

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 …

Member Avatar for JamesCherrill
0
270
Member Avatar for k2k

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); …

Member Avatar for JamesCherrill
0
14K
Member Avatar for Dick_2

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++
Member Avatar for Dick_2
0
2K
Member Avatar for gahhon

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, …

Member Avatar for gahhon
0
381
Member Avatar for momo_1

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
Member Avatar for momo_1
0
547
Member Avatar for gahhon

<!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 + …

Member Avatar for gahhon
0
610
Member Avatar for Siberian

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; }; };

Member Avatar for Siberian
0
361
Member Avatar for UI

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 …

Member Avatar for UI
0
377
Member Avatar for subhaac

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 …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Sameer_8

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 …

Member Avatar for Sameer_8
0
200
Member Avatar for Sameer_8

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: …

Member Avatar for Sameer_8
0
1K
Member Avatar for UI

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, …

Member Avatar for UI
0
448
Member Avatar for UI

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 …

Member Avatar for UI
0
345
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
318
Member Avatar for Rajan_8

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 …

Member Avatar for Rajan_8
0
694
Member Avatar for noname_5

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 …

Member Avatar for AssertNull
0
943
Member Avatar for Sylvia_4

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 …

Member Avatar for Sylvia_4
0
351
Member Avatar for koneill

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" …

Member Avatar for koneill
0
566
Member Avatar for UI

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 …

Member Avatar for UI
0
321
Member Avatar for John Rwaka

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.

Member Avatar for John Rwaka
0
207
Member Avatar for Stefce

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.

Member Avatar for rproffitt
0
293

The End.