199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mreneeholland

Hi, I have been working on this all weekend and can't figure out what I am doing wrong. The objective is to collect 3 numbers from the user then display to them the numbers they entered, the lowest number entered, the highest number entered, the total, and the average. Can …

Member Avatar for mreneeholland
0
123
Member Avatar for Bosterk

Hello, colleagues, Greetings I'm developing this code but I have problems on the part of a database query look at the full function code in which I have problems other than data base is [CODE]import sqlite3 as lite con = lite.connect('MiBase.sqlite') c = con.cursor() c.execute("""create table inventario (codigo real, producto …

Member Avatar for Bosterk
0
173
Member Avatar for tubby123

guys, i am having trouble printing the LCS. This is the algorithm i am following to get the count of the LCS. [CODE]int main(void) { printf("\nThe LCS is %d",LCS(0,0)); } int LCS(int m, int n) { if(m==l1 || n==l2) return 0; if(X[m] == Y[n]) return 1 + LCS(X[m+1],Y[n+1]); else return …

Member Avatar for Momerath
0
177
Member Avatar for manzoor.ilahi77

Please suggest me for live video streaming as i am trying create a website in which I can update the video live for religious perpose

Member Avatar for diafol
0
164
Member Avatar for 47pirates

I need to show the content of one panel class into another panel of another class ..i am new to java so i would appreciate any help...plz help me... in short i just want to add one panel into another through actionlistener of some button..

Member Avatar for 47pirates
0
410
Member Avatar for utthu

I have attached the screenshot of my output. I guess, the syntax is wrong. Please help.! [CODE]<?php //initilaize the mysql user name and password //Database Config $dbHost='localhost'; //Database server $dbName='db'; // Name of the database $dbUser='root'; // Database username $dbPass=''; // Database password $source = mysql_connect($dbHost, $dbUser, $dbPass); if (!$source) …

Member Avatar for diafol
0
365
Member Avatar for fsefsef23

I have a textbook question that's a two parter, the first part asks me to write the definition for a sumStack function (conceptually) with the prototype as: void sumStack(stack<int> istack) I can do that part simply enough, by having it pop each value of the stack and adding that value …

Member Avatar for fsefsef23
0
266
Member Avatar for sairus

can you help me on how to convert the numbers into words . here is my example on how to do that program but im not sure if this is a correct program.. #<iostream.h> #<conio.h> int ones,tens,hundreds main() { cout<<"ENTER NUMBER"; cin>>number; cout<<"ENTER ONES"; cin>>ONES; if(number==1); cout<<"one"; else if(number==2); cout<<"two"; …

Member Avatar for WaltP
0
1K
Member Avatar for matt_stutts

I have a form that contains a cfgrid named idGrid (using CF9). Contains four columns: Autonum (for now, the pk), CR_ID (fk), ID, and IDType. These come from tblIDs in my db. The grid is editable but not the Autonum or CR_ID fields (select="no"). I am using code straight from …

Member Avatar for Sombra
0
404
Member Avatar for vicious217

I am working on a project and i need to have the colume of 3 boxes but I keep getting errors when I try to compile. Can anyone help and see what I am doing wrong? Here is what I have so far: [CODE]#include <iostream> using std::cout; using std::endl; class …

Member Avatar for WaltP
0
1K
Member Avatar for faizurrahman

AS javascript date function return gregorian Date. Can I retrun Hijri Calendar date from javascript date function and how? Thanks in advance

Member Avatar for Airshow
0
1K
Member Avatar for auwi987

hello can somebody check my query cause i'm having a hard time working on it., i need to insert data on my database when i process it tells syntax error in Insert into statement pls. help thnx [CODE][COLOR="Green"]try { OleDbCommand cmdSave = new OleDbCommand(); cmdSave.Connection = cls_DB.cn; cmdSave.CommandText = "insert …

Member Avatar for Mitja Bonca
0
128
Member Avatar for M.S.

Hi All When trying to open a URL with bellow code, it Gives "TypeError: not all arguments converted during string formatting" [CODE=python]import urllib City="%D9%85%D9%87%D8%B1%D8%A7%D9%86" Province="%D8%A7%DB%8C%D9%84%D8%A7%D9%85" myurl = 'http://www.owghat.com/owghat.png.aspx?Province='+'%s'+'&City='+'%s'%(Province, City) #the real address is:http://www.owghat.com/owghat.png.aspx?Province=%D8%A7%DB%8C%D9%84%D8%A7%D9%85&City=%D9%85%D9%87%D8%B1%D8%A7%D9%86 a="e:\\img.png" urllib.urlretrieve(myurl,a)[/CODE] So, what I'm doing wrong? AND Another question: How to encode a utf-8 string(example: مهران) …

Member Avatar for M.S.
0
165
Member Avatar for kpatel4991

Hello Everyone, I am Karan Patel from India.I am presently a Computer Engineering student.I am in my 5th semester. I want to develop an application in PHP.So will you please guide my all the required knowledge to do that? I have knowledge of HTML,CSS,Javascript and Joomla CMS. So what should …

Member Avatar for diafol
0
92
Member Avatar for Rahul1996
Member Avatar for kelvinnvl

I've to design a database for a tuition centre. Here is some business rules for it: - A centre has many student (1-m) - A centre has many teacher (1-m) - A centre offer one or more subjects (1-m) - A teacher teaches one or more subjects and a subject …

Member Avatar for kelvinnvl
0
2K
Member Avatar for JavaStudent101z

I need some help with doing a choice. Atm i have [code]choice = switch (choice) { case 'A': case 'a': { optel (); break; } case 'B': case 'b': { break; } case 'C': case 'c': { break; } default: { System.out.println ("You did not choose any of the options"); …

Member Avatar for NormR1
0
135
Member Avatar for pardeep3dec

Dear Experts, I have code for adding/deleting/modifying form icon and tool tip text to task bar. Its working fine in Standard.exe project but when i tried to use these code as dll file then i am getting error code 424 , object required. I already register dll file through regsvr32 …

Member Avatar for gooptek
0
124
Member Avatar for bradploz

How do you insert label values to database? here is my code.. [CODE]Imports System.Data.OleDb Public Class frmemp Dim con As New OleDbConnection Dim dbAddNew As New OleDbCommand() Private Sub frmemp_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim ds As New DataSet Dim dt As New DataTable Dim …

Member Avatar for hericles
0
409
Member Avatar for aman rathi

hello i am beginner to java i wrote a simple program of object array but it is showing run time error [QUOTE]Exception in thread "main" java.lang.NullPointerException at classarr.main(classarr.java:14)[/QUOTE] [CODE] class abc{ int i; } class classarr{ public static void main(String arg[]) { abc a[]=new abc[4]; int j; for(j=0;j<=3;j++) a[j].i=j+1; for(j=0;j<=3;j++) …

Member Avatar for JamesCherrill
0
103
Member Avatar for Majestics

How to add flash objects in java without Java Flash Player Api? Any idea. Just hint required.

Member Avatar for Majestics
0
101
Member Avatar for IndianaRonaldo

I need a little help with algorithm for my code.Given a word "abacus" i have the code to find all its anagrams but i need to include also the words that are smaller in length than the original word. That is, I wanna be able to list ABA,AAB,ACA....ABAC,ABCS....so on. Thanking …

Member Avatar for IndianaRonaldo
0
294
Member Avatar for ineedsomehelp:3

I'm suppose to make a code that is suppose to check errors on inputted letters but I can't seem to get it right cause when I input something either wrong or right it still prints "ERROR" [CODE]void check(char a, char b, char c, char d,char e,char f, char g, char …

Member Avatar for ineedsomehelp:3
0
217
Member Avatar for polas5

I have almost made the program which gives urls from google and collect in listbox and sort found as i typed links and copy into richtextbox. But i need to pick up all urls from google automatically from all pages. Because now it does only 1 page. Here is the …

Member Avatar for polas5
0
357
Member Avatar for geekme

I'm a beginner looking for Windows 7 phone app development. Have downloaded the kit and emulator. I follow tutorials to develop apps but I don't understand the steps.I use visual C# 2010 as the IDE .Please help as to what should I learn so as to understand the coding in …

Member Avatar for gameprogramming
0
109
Member Avatar for IMJS

I am trying to utilise a development kit for software that we use at work. I think I have found a member function that would address a problem I have and I'm trying to test it. The documentation says that it is used thus: [CODE] int SDKclass::SDKclassmethod( a_data_type** a_data_array_ptr, char*** …

Member Avatar for fruitymo
0
117
Member Avatar for weeon

Hi All.... how to search by price range [CODE] ---------------------------------------- id price | range_type | min | max ---------------------------------------- 1 | A1 | 1 | 100 2 | A2 | 101 | 200 ---------------------------------------- 3 | B1 | 151 | 250 4 | B2 | 251 | 400 ----------------------------------------- [/CODE] …

Member Avatar for weeon
0
112
Member Avatar for Mamun13

The following code shows a simple use of speech synthesis to speak the string "Hello World". [CODE]package helloworld; import javax.speech.*; import javax.speech.synthesis.*; import java.util.Locale; public class HelloWorld { public static void main(String args[]) { try { // Create a synthesizer for English Synthesizer synth = Central.createSynthesizer( new SynthesizerModeDesc(Locale.ENGLISH)); // Get …

Member Avatar for Mamun13
0
214
Member Avatar for lrh9

I'm interested in a generic event system for Python. I've searched the forum for similar topics, and I've searched the web for existing implementations. I haven't found exactly what I'm looking for. I'm familiar with the Observer pattern. However, my implementation and other implementations lack strong support for concurrency and …

Member Avatar for lrh9
0
116
Member Avatar for Lowchernhwee

well guys , i want to make a read and write from textfile ... but the problem is when i click the calendar, and click create now(button 1), it cant work... if i didnt click the calendar, it works well.. so how to solve this problem anyone? [CODE] using System; …

Member Avatar for Lowchernhwee
0
293
Member Avatar for tubby123

In programming terms, Is there any difference between Generate Anagrams, and Generate Permutations of a string ????

Member Avatar for Adak
0
148
Member Avatar for josh327

Hey guys I'm trying to create a tic-tac-toe program in c++. This is what I have so far. But it just produces garbage. [CODE]#include<iostream> #include<cstdlib> #include<ctime> #define frz system("PAUSE") using namespace std; //Global Variables const int length = 3; const int width = 3; //Function Prototypes void initializeboard(char [length][width], int); …

Member Avatar for VernonDozier
0
250
Member Avatar for smiles5611

Hi I am in a java class and am working on a mortgage calculator with gui. I think I almost am done and have the assignment parameters completed but am stuck on two issues. 1) can't get my scroll pane to work. 2) I want to have the user select …

Member Avatar for NormR1
0
250
Member Avatar for tubby123

Hey is there a way to find the maximum occuring character in a string without using a hash map. ? Maybe in dynamic Programming or something ???

Member Avatar for mrnutty
0
107
Member Avatar for Archenemie

I have been looking for tutorials for about an hour now for pythin networking and nothing i am finding is helpful. What i need is a python program that will take a computers ip adress and tell me if a specific port is open. Can anyone give me a quick, …

Member Avatar for Tech B
0
279
Member Avatar for Prelektro

Hello, [URL="http://www.daniweb.com/software-development/java/threads/223488"]http://www.daniweb.com/software-development/java/threads/223488[/URL] I need C code for a problem in given link above. I tried to convert it to C code but couldn't do it, i'm kinda beginner. I guess it's easy problem for pro programmers so i really appreciate if you can help me out.

Member Avatar for Prelektro
0
315
Member Avatar for Serafel

My basic problem is that I'm having a hard time implementing a Pthread that consists of a round robin dequeuing 4 arrays consisting of ints. Followed by a Pthread that creates random numbers with which to enqueue them with. I've written most of the code for the queue itself and …

0
239
Member Avatar for NewbieinC

[CODE]#include <stdio.h> #include <stdlib.h> #include <time.h> main(){ char cChoice; printf("****************************************\n\n"); printf(" FLIP!-TAC-TOE 3D \n\n"); printf(" Enter S to start the game or \n\n"); printf(" E to exit! \n\n"); printf(" Choice: ", cChoice); scanf("%c", &cChoice); if(cChoice == 'S') function1 (); else exit(EXIT_SUCCESS); printf("\n****************************************\n\n"); system("CLS"); void function1(){ char cMarker1; int i = …

Member Avatar for Adak
0
189
Member Avatar for obimobs

guys i need some help!.. my friends are having their project on web developing?? How can i create a Login System with this database?? [B]tbl_stud[/B] st_uname = logmein st_pw = 123 type_id = student [B]tbl_prof[/B] pr_uname = pro pr_pw = 321 type_id = prof tbl_admin ad_uname = adm ad_pw = …

Member Avatar for leakbali
0
111
Member Avatar for bigfixcat

Hi Everyone, this my first time. My question is how can I locate a non-ascii character in a string/field? Thanks, C

Member Avatar for smantscheff
0
39
Member Avatar for TrustyTony

Here is Mandelbrot set viewer in Tkinter and modules for shedskining (included compiled modules for windows in the zip file): [CODE]# mandelsh.py def mandel(real, imag, max_iterations=20): '''determines if a point is in the Mandelbrot set based on deciding if, after a maximum allowed number of iterations, the absolute value of …

Member Avatar for TrustyTony
0
2K
Member Avatar for clericcodered

Hi, I'm working on a bit of a self-tailored operating system, loosely based on MikeOS (I've kept some MikeOS calls, removed a few, added my own, stripped down the interface,..) and i seem to be stuck on a problem. I need to define userspaces and allow the system to accept …

Member Avatar for clericcodered
0
216
Member Avatar for theCompiler

hi there ! im new to programming , i cant figured out how to determine the highest even number and the lowest odd number among three numbers in C . does anyone out there have an idea ? i badly need your help . tnx in advance :)))

Member Avatar for Salem
0
220
Member Avatar for cozmo87

I'm writing an application for processing scientific data. The data is displayed in a jTable. I'm done with the data processing itself, now I want to do some conditional formatting to make interpretation easier for the end user. [LIST=1] [*]The last column of the table contains a threshold value, and …

Member Avatar for mKorbel
0
2K
Member Avatar for MarkGia

I have question about shell command well lets say i have this [CODE] Shell("\bin\game.exe", AppWinStyle.NormalNoFocus) [/CODE] Well as you know the command will come up an say File Not Found [CODE] FileNotFoundException [/CODE] So how can i put this command and when the file is not found turn up with …

Member Avatar for MarkGia
0
454
Member Avatar for Slyvr

I have 2 classes. One get/set BlockData, and one main class that loads,draws,updates. I have a big list of public Texture2D types that I have in the main class. I need blockdata to be able to get the texture2d types for each block and send it back to main...but blockdata …

0
72
Member Avatar for mehrantahir

Hi everyone, First time i am going to work on the search.please help me how i make search in my site,the website is about the products,i want the user search for the products by city name, [B][U]Requirements [/U][/B] The simple search give result of the products in the selected city,the …

Member Avatar for rayidi
0
168
Member Avatar for JavaStudent101z

import java.io.*; public class Wisk_project_template { private static BufferedReader inStream = new BufferedReader (new InputStreamReader (System.in)); //***************************************************************************** // handles addition private static void optel () throws Exception { // ask name System.out.print ("Hi - what is your name? "); // call menuLevels and ask for level menuLevels (); System.out.print ( …

Member Avatar for NormR1
0
207
Member Avatar for new_developer

What does "values", "data" and "field" mean in java ? For example, definition of encapsulation is hiding of data in a class and making this class available only through methods. In this way the chance of making accidental mistakes in changing "values" is minimized. In access specifiers, Java allows us …

Member Avatar for JamesCherrill
0
214
Member Avatar for laguardian

So, I created two forms: Input and Output. In the Input form, the user inputs the required information such as name and schedule. Then when the user is finished, he/she will click the "finished" button which brings up the Output form which has all the inputted info from the Input …

Member Avatar for laguardian
0
139

The End.