199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pro-tek
Member Avatar for NightOwl19

Heya guys, i've been learning python for few weeks now and it's one of the best decisions i have made in my life so far..it's quite an interesting language and very helpful for beginners, i must say..now i tried to do some tickling with django and somehow managed to install …

Member Avatar for Manjunath_3
0
363
Member Avatar for berserk

I dont fully understand this issue at all, it makes no sense to me for several reasons but ill liust the main ones i have code elsewhere that works just fine and is identical in function and setup i dont think the issue is a registry key issue, this i …

Member Avatar for rproffitt
0
663
Member Avatar for ravi_14

Hi All, I am trying to implement generic link list in c++ . But getting below error . Please assist me to correct it. LinkedList.hpp LinkNode<E>* head; errr: unknown tpe name ''LinkNode // LinkNode.hpp // cplus // // Created by Ravi Rathore on 10/12/15. #ifndef LinkNode_hpp #define LinkNode_hpp #include <stdio.h> …

Member Avatar for deceptikon
0
288
Member Avatar for butterflyTee

FROM: ORACLE 9i Give the SQL statements that determine the following: 1. Which customers lives in New Jersey? SELECT * customer FROM customers WHERE state = 'NJ' 2.Which orders were shipped after April 1, 2003 SELECT * FROM orders WHERE shipdate to_date('01/04/2003', DD/MM/YYYY') 3. Which books are not in Fitness …

Member Avatar for Miris_1
0
2K
Member Avatar for gogs85

Hi i get all information what i need but i dont know how to get facebook profile image and save to file and in mysql save path. Here is my code for call fb api : <?php session_start(); include_once("config.php"); // facebook id include_once("includes/functions.php"); //destroy facebook session if user clicks reset …

Member Avatar for cereal
0
362
Member Avatar for LibraryCode

Hi,how would i need to change this code to accept strings insted integers in avl tree? template<class T> void InsertItem(TreeType<T>& tree) { cout << "Enter number: "; int num; cin >> num; tree.InsertItem(num); cout << "Number inserted:" << num; }

Member Avatar for deceptikon
0
347
Member Avatar for pritaeas

Hi. We're looking into building an easy to use audio player to use at parties. BPM Studio works great, but most people don't know it and have trouble using it. So far I've found [NAudio](https://naudio.codeplex.com), which makes playing mp3's easy. I'm looking for something I can use so I can …

Member Avatar for qingshan05
0
439
Member Avatar for JoseL7

Ok, I need help finishing my homework. I do not want the answers, just hints that will take me to finish the program. I am still a begginer at java so bear with me please. This is my hmw: Write a java program to help students to calculate his/her grade. …

Member Avatar for jwenting
0
254
Member Avatar for compuser

I basically wrote a program for a phone card company, using about four classes. Im not sure what im doing wrong, but my program is not compiling. Most of my errors occur in the fourth file (class superphonecardinc) where the else if(command.equals("getLimit")) begins. Im thinking that I used too many …

Member Avatar for happygeek
0
820
Member Avatar for stef02

Hello, so I needing some help with creating a program for my class. The lab requires us to use pointers. This is the description of what we have to do... -Write a function that accepts an int array and the array’s size as arguments. -The program should ask the size …

Member Avatar for David W
0
326
Member Avatar for Sapir

Hi, I have some pictures of two white dices with black dots, and I need to recognize the value on each visible face of dices. For example, from image that includes dice with 6 dots and another dice with 5 dots, need to get [5 6]. Any ideas? It's really …

Member Avatar for rproffitt
0
843
Member Avatar for thirsty.soul

Hello Everyone Help needed, Has anyone implemented frequency analysis attack on caesar cipher in PHP and predicting the possible key for it. it should input the cipher text and predict the key using frequency analysis chart.

Member Avatar for cereal
0
1K
Member Avatar for scheppy

Ok, so I have a JButton on my program and later on in the program i want to put an image on the JButton I have many buttons that start out with images on them, but Im wondering how to add images to the JButton at a later date so …

Member Avatar for JamesCherrill
0
4K
Member Avatar for alaad

Hello, I would make a full setup for my java application but I have no idea how can i make it, and I would make a class installer like in .net because I want some tasks running during the installation. Thanks for your help.

Member Avatar for alaad
0
319
Member Avatar for davy_yg

I think I find a few points that are quite good to utilize: index.php <meta name="keywords" content="Branding, Web Design, Packaging, Illustration" /> <meta name="description" content="This is One, a multipurpose website" /> <meta name="author" content="Davy Gunarso"> Another thing that I would like to ask is what is the purpose of using …

Member Avatar for minitauros
0
278
Member Avatar for COKEDUDE

Can someone please explain these errors? I don't have a multidimensional array so I don't understand how I'm getting this error. main.c:291: warning: passing argument 2 of ‘type_specifier’ from incompatible pointer type main.c:263: note: expected ‘int *’ but argument is of type ‘int **’ main.c:291: warning: passing argument 3 of …

Member Avatar for deceptikon
0
438
Member Avatar for COKEDUDE

I am trying to pass the address of strings_line_tokens to split_string. I would think I would need the "&" for the address then one of these methods would work. static void split_string(const char *buffer, size_t buflen, char ***strings_line_tokens) static void split_string(const char *buffer, size_t buflen, char **strings_line_tokens) static void split_string(const …

Member Avatar for deceptikon
0
247
Member Avatar for SimonIoa

ello i am a bit confused because i asked a couple of programmers but i couldnt get a straight answer. I want to make my website -it is written in PHP, Javascript, Jquery- a multiplatform app. As far as i read flash builder for PHP with ZEND is the best …

Member Avatar for SimonIoa
0
460
Member Avatar for EarhawkPH

i have this problem about the betting system of my game. Here's the scenario: Your money: 300 Your bet: 300 JOptionPane appears: "you have insufficient money to bet" Here's the code for the main program: /* * To change this license header, choose License Headers in Project Properties. * To …

Member Avatar for JamesCherrill
0
437
Member Avatar for blueguy777

How to remove duplicate mobile numbers from input text box1 and print the result into text box2. Example mobile nos: 7795012345 7795012345 7795012345 7411312354 7411312354 9900454321 9900454321 9632554123 9632554123 output should be: 7795012345 7411312354 9900454321 9632554123 <?php $myarray = array(); $myarray['numbers']=$_POST['numbers']; foreach($myarray as $num){ $numbers=$num; } $unique = array_unique($numbers); $output=implode("<br …

Member Avatar for blueguy777
0
567
Member Avatar for COKEDUDE

I'm getting infinite recursion here. I'm sorry if this is obvious but I don't see what I'm doing wrong here. program() gets called from main, then program() calls declaration_list(), then declaration_list() calls declaration(). I don't see how in the function declaration_list it ever calls declaration_list() again when right before that …

Member Avatar for overwraith
0
157
Member Avatar for COKEDUDE

Yes I did read these two posts. http://stackoverflow.com/questions/3082914/c-compile-error-variable-sized-object-may-not-be-initialized http://stackoverflow.com/questions/14186879/c-error-variable-sized-object-may-not-be-initialized My case is a bit different because I'm using `char * ptr[buflen]`. This is what I have tried: char *ptr[buflen] = {0}; //This gave me the variable sized object error. char *ptr[buflen]; memset( ptr, 0, buflen*buflen*sizeof(char)); //I figured this would work …

Member Avatar for deceptikon
0
8K
Member Avatar for LibraryCode

/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package my.GeographyQuiz; import java.awt.*; import javax.swing.*; /** * * @author K00190164 */ public class GeograpgyQuiz extends javax.swing.JFrame { …

Member Avatar for Traevel
0
196
Member Avatar for shayan_doust

Dear all, I was given a project to write a software that would track contracts. Everything is successful until I read or write the current data from the JTable to the textfile. This also happens when I read the textfile and insert the data into the JTable. The exception I …

Member Avatar for Traevel
0
491
Member Avatar for mattyd

I apologize if I asked this question before - I may have. I am hearing two sides to this issue: 1. .php files WILL display in a web browser 2. .php files will NEVER display in a web browser I find this very confusing. I am watching video tutorials and …

Member Avatar for almostbob
0
508
Member Avatar for iarpana

import java.io.*; public class testprog { public static void main(String args[]) throws IOException, InterruptedException { String command="find BEL/ -type f | wc -l"; Process p=Runtime.getRuntime().exec(command); p.waitFor(); BufferedReader reader=new BufferedReader(new InputStreamReader(p.getInputStream())); String line=reader.readLine(); while(line!=null) { System.out.println(line); line=reader.readLine(); } System.out.println("Done"); } } It's return null value. plz help me

Member Avatar for jwenting
0
243
Member Avatar for malatamil

while running the phpunit project am getting error like "cannot open file src/autoload.php". i tried with this reference https://phpunit.de/getting-started.html. In cmd i used the below command line >> phpunit --bootstrap src/autoload.php tests/MoneyTest please anyone help me to solve this issue.

Member Avatar for malatamil
0
980
Member Avatar for Anusuya S

HI I am a part of database testing team. I have imported a tables.csv file which contains two fields 1. table name- all the tables of a database 2. Primary column- primary column name of the respective tables. I am trying to write a sql query for getting the table …

Member Avatar for Anusuya S
0
241
Member Avatar for AntonyRayan

Hi... Is there any other solution to use map but not google map, which works in offline also?

Member Avatar for almostbob
0
926
Member Avatar for iamthwee

Hi, I can successfully use the upload form in codeigniter without jquery/ajax, trouble is I need it for a rich text editor. Any ideas how to go abou this. Ta.

Member Avatar for Freddy_2
0
4K
Member Avatar for shamas195

if top=0 write:"stack is empty" else top__ push(stack,N,top,x) if top=N write:"stack is full" else settop:=top+1 set:stack top[x] if top=0 write:"stack is empty" else top__ push(stack,N,top,x) if top=N write:"stack is full" else settop:=top+1 set:stack top[x]

0
139
Member Avatar for Sophia_1

Hi everyone, am trying to save excel/docs filename in mysql and then display the filename and open the file to edit. The filename can be save in mysql but unable to display the filename and open the file. Appreciate if you could advise. Thanks a lot. <div id="tabs-1"> <?php error_reporting(E_ALL …

Member Avatar for Sophia_1
0
362
Member Avatar for yoou

-Hi, I'm having trouble with B.I. Media Solutions Auction (phpprobid) , I'm getting the error message: Fatal error: Cannot redeclare password_hash() in /home/betti397/public_html/includes/functions_login.php on line 147 I've been at it for hours. I couldn't see any obvious errors in functions_login.php but then I'm not much good at PHP code. Here …

Member Avatar for rproffitt
0
502
Member Avatar for James_43

Hi all, I have a multidimensional array [0]:[0], [1], [2], [3] and I want to try and find the min and max values of each index of that array over the whole array. I am using: for ($i = 0; $i < count($input); $i++) { $string1[] = $input[$i][1]; $string2[] = …

Member Avatar for James_43
0
180
Member Avatar for James_43

Hey there, Over the past few weeks as an excerise I've been trying to create a C# image viewer. At the moment I have one window, with a list of images displayed in a ListBox. When I the F5 button, a second window pops up at fullscreen, and I want …

Member Avatar for James_43
0
1K
Member Avatar for bLuEmEzzy

Hey guys please help me with my code, I want to disable select drop down if $stat=a, this is my code. Thank You! echo "<select name='name' id='name' 'if ($stat =='a'){ echo ('disabled');}'>";

Member Avatar for bLuEmEzzy
0
2K
Member Avatar for shayan_doust

Dear all, I was told to write an application for my assignment that would keep track of contracts. The problem is, I have no clue how I can make this application write JTable into txt file every 5 seconds and wheever application would open, it would read the txt file …

Member Avatar for JamesCherrill
0
563
Member Avatar for blueguy777

The following table query is not executing properly, what is the correct syntax? $m_query = 'Insert into'.$job_id.'(`mobile`,`routeID`,`status`) values ('$mobile','$routeID','Sent')';

Member Avatar for pritaeas
0
252
Member Avatar for Doogledude123

I have a custom class which extends JPanel and overrides the paintComponent() method. Here's what that looks like: @Override protected void paintComponent(Graphics g) { if(redrawRequested) { g.setColor(ETCH_BACKGROUND_COLOR); g.fillRect(0, 0, owner.getAppWidth(), owner.getAppHeight()); redrawRequested = false; } g.setColor(Color.BLACK); g.fillRect(pointX, pointY, PIXEL_SIZE, PIXEL_SIZE); } The same custom class also implements KeyListener. I am …

Member Avatar for JamesCherrill
0
427
Member Avatar for loldafuq

Here is what i have to do Create Class CSalary with private member variables string m_strProfession double m_dSalary Constructors:Default,Copy,Explicit Functions: 1/string GetProf(void),double GetSalary(void) 2/SetProf(const string val),SetSalary(const double val) 3/Output(ostream&) and Input(istram&) 4/Operators:<<,>>,=,==,<,double operator*(const CSalary&obj) Create Class CCalcCorr with private member variables: vector<CSalary>m_vCity1//data for city 1 vector<CSalary>m_vCity2//data for city 2 double …

Member Avatar for tinstaafl
0
355
Member Avatar for joshl_1995

Hello Daniweb Community, I'm wanting to incorporate my Facebook pages reviews into my website but I can't see the manage to get a permanent access token. I've tried the same key (which is permanent) that I use to get the news feed but that doesn't work with the reviews. At …

0
159
Member Avatar for Macko888

Hi I am currently developing a mobile / tablet application and i've run into a stump. I have a webview that loads a form from a website that i have no control over, this website utilises the django platform. So the situation is this: The form on the foreign website …

Member Avatar for Macko888
0
5K
Member Avatar for davy_yg

Hello, There is something strange about this website link: http://www.innovation.web.id/One/team-members.php The slides only works well on localhost IF I turn of the javascript. but only on localhost. NOT on online. I wonder why? I am taking the sliders from : http://flickity.metafizzy.co/ nav.php <link rel="stylesheet" href="bootstrap-3.3.5/css/custom.css" media="screen"> <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script …

Member Avatar for diafol
0
306
Member Avatar for davy_yg

Hello, I wonder how to create website with seo optimized? Thanks in advance.

Member Avatar for diafol
0
215
Member Avatar for divinity02

hi I am trying to build this multiplication game program, well it is the same multiplication game as before. It seems to be working fine but it is not giving me the exact output. first: - when the user enter the correct answer the first time, the game stop when …

Programming gaming java
Member Avatar for JamesCherrill
0
278
Member Avatar for tiger86

I've decided to write a Website in C++. I am sick of dealing with languages that layer on top of other languages, so I just want to write it in C++. I know about CGI++, but I was wondering if there were any other tools or methods used for writing …

Member Avatar for zelrick
0
3K
Member Avatar for Liang_1

Dear all, I am developing a website which can upload photos and also uploading Name, Descrptions etc using one form and one "submit" button. I found this below: http://plugins.krajee.com/file-advanced-usage-demo#comments The Example has some codes but I am not sure how to put it into a HTML Form and submit to …

Member Avatar for Liang_1
0
1K
Member Avatar for jamesjohnson25

There are two methods in different classes public EmployeeBean viewEmployeeByID(String EmployeeID) public EmployeeBean findByID(String id) Given, the description of each method of what it supposed to do public EmployeeBean findByID(String id) This method should use the JDBC select statements to retrieve the record based on the given Employee ID, Store …

Member Avatar for jwenting
0
357
Member Avatar for chubbyy.putto

what I am trying to do is store same letter to same node. For example: let say I have person, people is sent to be put into a node. This will create two node. I want to some thing like P: Person People Person and People are same note When …

Member Avatar for bernardo.mclobo
0
418

The End.