199,114 Archived Topics
Remove Filter ![]() | |
![]() | I'm going to develop new pos system. So I need to choice right database for that. My software work in network. System going to be handle one thousand transactions per one day. And there are many cashiers will use software. I want to know is mysql database suitable or any … |
the compiler compile the code,but traversing output is wrong .please chech ny logic is correct,tell me best tutorial to learn of binary tree using stack . void usman:: inorder() { stack<node*>s; node *t=root; while(!s.empty()||t!=NULL) { if(t!=NULL) { s.push(t); t=t->left; } else { t=s.top(); s.pop(); cout<<t->data<<","; t=t->right; } } } Programming c++ | |
Here is the dilemna, I can't figure out how to count the time a value is above a certain amount in c#. Exercise: A radio station specialized in classical music is raising fund. People call in to pledge donations. Donors who pledge for $100 or above will receive a coffee … Programming | |
In creating dropdown in my project encounters problems(errors). I'm very new to codeigniter. Please check and advise what is wrong with with my code? **Model** Public function get_region() { $return = array(); $query = $this->db->get('region')->result_array(); if( is_array( $query ) && count( $query ) > 0 ) { $return[''] = 'please … | |
Hi Everyone Dont know if this is the right place to ask this but i Just wanted to consult anybody of you that might have an idea on what this core dump message means. Yesterday my website is down for almost 30 min and when i called the hosting provider … | |
Hi Everyone, I have a very strange issue with Posting a variable to a new page and reading the variable through GET - I have used the same code many many times on different pages but for some reason, I am unable to GET the Post variable to use and … | |
hey everyone, I am looking for a website template that is mobile responsive, with a header and 3 columns. in the left and right column there will be 3 items in each with a fixed height on each. the middle column needs to be adaptable to move without affecting the … | |
the text file has more than one word. the user to put the input from the jtextfield and get the input related word from text file, to display the jlist how | |
I've followed a tutorial for making php extensions in C++ and although there are no compilation errors, the extension just won't communicate with php. The tutorial is at [URL="http://www.talkphp.com/vbarticles.php?do=article&articleid=49&title=creating-custom-php-extensions"]http://www.talkphp.com/vbarticles.php?do=article&articleid=49&title=creating-custom-php-extensions[/URL] and my code is as follows: main.cpp [code=c++]#include "stdafx.h" ZEND_FUNCTION(fetch_talkphp_links); zend_function_entry talkphp_ext_functions[] = { ZEND_FE(fetch_talkphp_links, NULL) {NULL, NULL, NULL} }; zend_module_entry … | |
Hello, so, I'm playing a bit with **MariaDB 10.0.29** and I cannot understand why `FOUND_ROWS()` keeps returning the `1` whatever happens to the latest select query. Here's my test: > CREATE TABLE `test` (`id` INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, `msg` VARCHAR(100) NULL) ENGINE = InnoDB; Query OK, 0 rows affected … | |
A community college requires students to finish at least 72 credit hours and have a GPA of 2.0 or above in order to graduate. Create a C# console application to do the following. Ask how many credit hours a student has finished and what GPA this student has. Use only … | |
I'm working tonight on tightening up the CSS (reducing the amount of whitespace, margins, padding, etc.). Back in the day, this was super important because people wanted to have to do less scrolling, and see more content above-the-fold. Then monitors got bigger and bigger and resolutions got higher and it … | |
In vb.net application I have 10 Textbox and value entered by Barcode scanner So when one Textbox1 get the value by Barcode scanner the focus moved automatically to another Textbox2 and so on. I have this code but its working. Private Sub A1TextBox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) … | |
Sir, I have these codes function date_getFullTimeDifference( $start, $end ) { $uts['start'] = strtotime( $start ); $uts['end'] = strtotime( $end ); if( $uts['start']!==-1 && $uts['end']!==-1 ) { if( $uts['end'] >= $uts['start'] ) { $diff = $uts['end'] - $uts['start']; if( $years=intval((floor($diff/31104000))) ) $diff = $diff % 31104000; if( $months=intval((floor($diff/2592000))) ) $diff … ![]() | |
Hi guys. i'm new to this forum and new to programming in general. ive had some classes of vb.net and im just starting to actually play around with vb. im trying to make a program that starts with an image in a certain position (in ths case a car) and … | |
hi im hoping someone can help, I've been updating my website recently and noticed that for some reason when you navigate the pages after a few seconds of landing on any page it sudenly reverts to a different page, ive had various people test on multiple browsers and operating systems … | |
Hi, For my school assignment I am making a to-do list program in visual studio 2015, hence I will need a database to store all the data. I was wondering, for such a program which database will suit best. I was thinking excel, but I am not sure. Thanks, Anshul | |
I'm writing a python program that will search for a password that is the first piece in a string. I'm using raw_input() to do it, and here's what the code is like list = ['Nether\n'] password = list[0] print password if raw_input('Please Enter Password: ') == password: print "Successful" This … Programming python | |
I'm just laying here in bed browsing DaniWeb on my iPhone and I randomly clicked a link to the RSS feed. An iOS dialogue box popped up saying it was going to open in the News App. Then the Apple News app opened and it proceeded to tell me that … | |
Hi All, In below code i am getting ouput of process (based on name) memory and cpu utilization % using command "ps -C gnome-terminal -o %cpu,%mem | tail -n +2" .Here gnome-terminal is name of process for that i am printing these values. Now i want to implement the same … | |
In a Windows Form Application, (Windows 7, VB), I've added a WMP control named WMPlayer and a listbox (lstMusic) containing a few filenames of music (mp3). When the form loads, the play button is disabled until I click on a song to play, at which time I use the WMPlayer.URL … | |
Hi im im trying to get attributes from two diffrent tag names.. <img class="chimg" alt="SOME TEXT" src=" #1 IMAGE LINK TO GET"/> <span>" #2 TIME TO GET" </span>" SOME TEXT "</a> </h3> <div> <a href=' #4 LINK TO GET' onclick="window.open('Some link'); return true;" title=' #3 TITLE TO GET' >SOME TEXT</a> … | |
I am learning python from "Learn Python The Hard Way", I came across a source code "from sys import argv" and got an explanation that sys is a module from where argv is imported. Although, sounds simple but still not able to understand the concept behind. I would like to … | |
Hi, I wrote some code below, at the moment i'm testing so there's no database queries in the code but before i do that i'm hoping someone can help. The code below where it says `if(filesize($filename) != 0)` always goes to `else` even though the file is not 0 bytes … | |
Hi PerlGurus, I am really new to perl and liitle handson with the concepts here. I am trying to learn the hash & Array concepts and come up a self exercise to do practice. *Got two files * # inFile01 as below: # CLAYCOUNTY;Wood;statecode=FL CLAYCOUNTY;Wood;statecode=FL SUWANNEECOUNTY;Wood;statecode=FL SUWANNEECOUNTY;Wood;statecode=TX SUWANNEECOUNTY;Wood;statecode=TX SUWANNEECOUNTY;Wood;statecode=TX NASSAUCOUNTY;Wood;statecode=UT … | |
how to export my table data which is in mysql database to a csv file I am not getting any error or exception but my csv file is empty after successful running this code. code what i did: import java.io.FileWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; import java.sql.ResultSet; import java.sql.SQLException; … | |
Hello, I have to create a program that uses the ‘new’ operator to create a dynamic array in heap of the program. The program creates and populates its dynamic array one (int) elements at a time for each input data (cin). Key parts of the assignment. Hello, I have to … | |
Hello, I am working on a new screen for a program used by the U.S. Department of Labor. I am getting a signal SEGV (access to address exceeded protections) when I try to excute the command snprintf(rowh[1] + 30, 4, "%4d", baseyr + 1);. The string I am trying to … | |
Hello, I have this online shop that I am trying to configure: www.advance-web-studio.com/bestshop/ and www.advance-web-studio.com/bestshop/index.php How to make the first one direct to the second one. The result is different. I expect the second one appears not the first one. Can anyone help me out? | |
I want to update an excel sheet using form and not directly by entering into sheet. Could anyone please help with ideas, as this is a big excel designing a userform would be critical. thanks regards | |
“RunTime-13” Type mismatch error in code after access 2003 convert to 2010. | |
TABLE_ROWS 13 1 8 5 2 3 5 2 7 6 3 4 3 32 my select query results a table like this .Here i want to assign each item to each variables . a=13 b=1 etc... i tried with forech but i did not get out put.Here is my … | |
Hello DaniWeb Community, I'm making an online store and am wanting make a way to calculate the shipping the way I've got it at the moment is using [this](https://developers.auspost.com.au/apis/pac/getting-started). However, it isn't good for multiple items. So if one item is $10 and another (smaller) item is $5, so the … | |
I hope someone can help I'm trying to learn VB.net - migrating from VB6 and have a problem with overlapping images. what I want to achieve is the following 1. I have picture box on the form - call this picturebox1 containing an image 2. I have 2 buttons button … | |
Im very new to programming and I need to make a looping flexgrid with the specific code of grid1.additem 3guc+1 vbtab 3guc+2 vbtab 3guc+3 in the middle of my loop the flexgrid only needs to look like this 1 2 3 4 5 6 7 8 9 can someone help … | |
Hi. I have a secure web page and users to access it must register. After registration and login page when they access. I would like to make a module to redirect users after logging on page after gaining access a link. Function can be used: Header ("Location: / $ directory"); … ![]() | |
I'm trying to create a new version of Dazah's API to be fully RESTful. To that end, I'm following the article at: http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api I understand that it's bad practice to have endpoints that are verbs, and you should always use nouns. But what would an endpoint look like to join … ![]() | |
How can I do a bulk insert of rows but only if specific combinations of columns don't already exist? Those columns are not unique to the table. (Otherwise I could easily use INSERT IGNORE). Rather, I just need this to happen for one particular SQL query. ![]() | |
Hi, Been looking for a way to get value of items within a handler object. From the below i would need to call the value of the image with console.log(this.image);. I doubt that is the way to do it. but I cannot find something that can point me in the … | |
I have a project where I have to send data from an Excel spreadsheet to an Oracle database. Here is the code I am using and I need some help. It stops at the second string statement. I am trying to use an Excel range name to Insert or Update … Programming daniweb-bug daniweb-feedback oracle | |
Computer programs are complex enough beasts when they are just doing one thing at a time When you start to explore the world of threads, you end up with programs that do more than one thing at once, and life can get very complicated. There are two specific conditions that … | |
Hi, I am trying to open a large excel file (.xlsx) to ad some rows of data from another excel file. However, due to the size of the destination file i am getting the memory error. I tried the below, however when i create the worksheet object it is creating … | |
Hi, I am inserting data using while onclick event in href using jquery post method, it works successfully, But in controller after insertion, I wrote $this->load->view('viewnames'); But it is not loading that viewnames.php It displays nothing Programming javascript-jquery php php-codeigniter | |
This is to enter the admin page: http://localhost/masterlinkci2/admin/ admin/views/login.php <?php $this->load->library('form_validation'); ?> <?php echo validation_errors(); ?> <?php echo form_open('cpages/ceklogin'); ?> <div class="login-card"> <center><?php //echo $warning; ?> <?php echo $this->session->flashdata('warning'); ?> </center> <h2>Gionda CMS Login</h2><br> <form> <div class="login"><input type="text" name="username" placeholder="Username"></div> <div class="login"><input type="password" name="password" placeholder="Password"></div> <br> <input type="submit" name="login" class="login … | |
Good evening everyone, Does any one have a reference/videos/tutorials on how to use recursion effecitely in C++? v/r Programming c++ | |
I have a rock paper scissors code that works in python 2.7- it gives you 4 options (rock, paper scissors, or quit). However, I have to add a while loop to it and it somehow messes up my code whenever I add it. Can someone please help me? Thanks. import … | |
I am creating mfc antivirus application, but i am struct in between , i have completed till scanning directory but how to detect the antivirus in it,is there anyone to help? Programming c++ |
The End.