132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Hanyouslayer

What I'm attempting to do is read a text document to pass in variables into an arraylist of shape objects that I will use to create shapes. I don't need any help with the actual drawing of the shapes, working with the arraylist, or the initial scanning setup. I thought …

Software Development file-system java
Member Avatar for Hanyouslayer
0
816
Member Avatar for ReyJEnriquez

Hi Guys!.. Is the Datatable in vb.net can be indexed like a usual array?... Array[0]....Array[1]....Array[2]...etc But for DataTable?? How can we do that??...in such a way we can access a certain row.... Thanks guys:-)

Software Development vb.net
Member Avatar for ReyJEnriquez
0
113
Member Avatar for nitin1

import sys i=0; def func1(i): print "i am in function func1" if i<5: i=i+1 func1(i) else: return return def main(): print "beginnning the function\n" func1(i) print "hello Daniweb" s='aman' print "hahha" main() it is giving me syntax error in print "hahha" statement. WHat is that ? According to me, it …

Software Development python
Member Avatar for nitin1
0
206
Member Avatar for iwavetostars

Good day everyone - Since this is my first post, I must say hi. I just started learning Python 8 hours ago and I like to challenge myself, so following a guide on playing with files, I decided to make a program that would open a .txt and it would …

Software Development api python
0
169
Member Avatar for Robin_3

I have a task to disply user entered values in a single line while using cin and cout objects. Any one can help me to understand this?? My question is when a user enter a value in any veriable, cursor sholud not move to the next line... Please help if …

Software Development c++
Member Avatar for Ancient Dragon
0
491
Member Avatar for curt.owens.5

I have an assignment due at 8:00PM. I've had a ton of work to do this week and haven't really got to learn the topic before the assignment. I'm just trying to get the points for the assignment and learn the stuff after its due. Problem: You are to create …

Software Development c++ file-system
Member Avatar for Ancient Dragon
0
152
Member Avatar for FairyA

I have search though multiple similar topics but still can't find the answere. Would you please help ? The error is : **invalid initialization of reference of type 'ArrayT<float>&' from expression of type 'const Arrat<float>'** The above errors occur when I tried to do the following code , with operator* …

Software Development c++
0
110
Member Avatar for NCL89

Hi! i have a slight problem here,I have the following master tables M_employee EMPID Name 1 abc 2 xyz M_Division DIVID EMPID DIVISON 1 2 arts 2 1 science M_Designation DESGID EMPID Designation 1 2 Teacher 2 1 Scientist and based on the ID's present in the master table i …

Software Development data-science dataset
Member Avatar for theHop
0
214
Member Avatar for happygeek

In what has been called by some commentators the ‘most significant update in five years’ the latest version of Python finally come of age. Python 2.5 not only apparently fixes some 450 bugs discovered since the 2.4 release was, err, released, but also throws in some 350 patches for good …

Software Development python
Member Avatar for vegaseat
0
743
Member Avatar for illyaizevielvon.einzbern

Guys, can you help me with my project I can't see what's wrong with my program. The errors are: Line 138: Expected primary-expression before "int" Line 138: Expected ';' before "int" Line 158: Expected '}' at end of input #include<iostream> using namespace std; int telephone_bill() { int choice, min, tbill, …

Software Development c++
Member Avatar for ikel
0
280
Member Avatar for toll_booth

Hi everyone, I just downloaded and installed numpy, and I'd like to give it a try. But I can't seem to import it. When I try, this is what happens: Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for …

Software Development python
Member Avatar for vegaseat
0
340
Member Avatar for DamianPrinze

Sanchez Construction Loan Co. makes loans of up to $100,000 for construction projects. There are two categories of Loans-those to business and those to individual applicants. Write an application that tracks all new construction loans. The application must also calculate the total amount owed at the due date (original loan …

Software Development java user-interface
Member Avatar for minimee120
0
2K
Member Avatar for wrathofmobius

First of all, I should say I'm brand new to PyGame and am pretty new to advanced Python. I'm trying to make a side-scrolling game but just making a sprite move back and forth with keyboard input is proving to be a problem. It appears that the loop is running …

Software Development python
Member Avatar for vegaseat
0
893
Member Avatar for Xakzi

Hello! I am coding in windows form application c++/CLR I need help with coding a way to read everything in a folder, put the names of the files and put the names in a combobox. These files are for now images (.jpeg). And I would also like that, when I …

Software Development c++
Member Avatar for Xakzi
0
762
Member Avatar for zachattack05

So I have a table I am trying to create, but as I am working on this, I am worried that the idea is flawed. Here's the SQL code to create the table so far: CREATE TABLE #ConversionLog ( EventTime DATETIME NULL, EventType NVARCHAR(20) NULL, RecordID INT NULL, EventTarget NVARCHAR(255) …

Software Development sql
Member Avatar for zachattack05
0
258
Member Avatar for Jalaishaa

When I type the following code, I dont get the required output and I fail to understand why. Problem: Write a program to find the product of all the positive even numbers less than or equal to 30. Possible solution according to me: #include <stdio.h> void main(void) { int n, …

Software Development c
Member Avatar for Jalaishaa
0
182
Member Avatar for drsnet41

I'm trying to pass a .txt file as a paramater into my java program. The line that reads in the file is: Scanner in = new Scanner(System.in); My program is titled SetTest and the file I'm trying to read is Ted.txt. If I go to a Windows 7 command prompt …

Software Development file-system java
Member Avatar for sepp2k
0
12K
Member Avatar for somjit{}

I think i have understood the basic locks , synchronized statements and methods etc etc . I would like to actually program something that used all this. Something that is prone to breaking if one is not careful , also would love if there is swing involved ( i read …

Software Development java java-swing
Member Avatar for JamesCherrill
0
146
Member Avatar for Danja

Hello, I am trying to interface with a laboratory instrument using C++. I realize that my C++ experience falls short of desirable for this task; I am a self-taught amateur C# programmer delving into C++ and much of the code I have written is new to me. However, I have …

Software Development c++ data-structure operating-system
Member Avatar for Moschops
0
565
Member Avatar for bullet_1

I can search and find text in word doc through vba but I dont understand how to search images Its a big problem to me Can anybody help me thanks in advance

Software Development visual-basic
Member Avatar for Zephaniah
0
126
Member Avatar for alina.nazchowdhury

i made on screen keyboard program with visual basic 2008, i run it, its working great, i save it and then i wanted to open it again to review it, but its only showing me the code, i can not run it anymore. Anybody give me an answer to my …

Software Development visual-basic
0
108
Member Avatar for naamurad

I have been looking for Prim Algorithm on daniweb.com website and I found multiple threads dead but still unsolved. Few people needs expalination of Prim Algorithm and others need its working code. Well, to help everyout out, here is a link to working Prim's Algorithm code which is easier to …

Software Development algorithm c++
Member Avatar for naamurad
0
252
Member Avatar for dineshA

I am unable to insert data into database, plz help me out. This is my code using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace labsoft { public partial class test_group : Form { Form opener; public test_group(Form parentForm) { InitializeComponent(); opener …

Software Development dataset open-source visual-studio
Member Avatar for dineshA
0
371
Member Avatar for saintrenz

Can't Update my User Table "Hours" "Minutes" "Seconds" from the current value of the timer where it has stopped I used button to stop the time Imports System.Data.OleDb Public Class frmMain Public hh As Integer Public mm As Integer Public ss As Integer Public totalsec As Integer Public timercount As …

Software Development dataset open-source vb.net visual-studio
Member Avatar for gowans07
0
344
Member Avatar for Krontical

Hello everybody~! I'm trying to install the latest version of pyHook for my Python 3.3.2 shell. I am a new coder in Python, all though I am rather experienced in lua. Unfortunately, after multiple attempts of trying to install pyHook (1.5.1), I am unable to do so as I get …

Software Development python
Member Avatar for snippsat
0
730
Member Avatar for sankubha

how to run runtime.exec in java with administrator privelage

Software Development java
Member Avatar for sankubha
0
112
Member Avatar for Ahmed.C

## Hey Guys ## , I've recently stopped doing some of the projects which I wanted to do and took a look at SQL and came across Microsoft SQL and i was pretty pleased with wha tit can do so i downloaded the program and watched some basic MSSQL tutorials …

Member Avatar for JorgeM
0
330
Member Avatar for numbplum

**** Hey guys, I really need help on this. I just submitted my exam but I won't get feedback till next week. I'm hoping that you guys can help me review. Thanks! Question 1 For each non-static data member of a class, C++ allocates only one memory space. Question 1 …

Software Development c++ legal linked-list
Member Avatar for rubberman
0
837
Member Avatar for saintrenz

I am making a cyber cafe system where user have to login their own account and i want to use a field "REMAININGTIME" which determines how much time left they have in their own account database. and it will display in the form as lbl. form will be look like: …

Software Development vb.net
Member Avatar for KenSquare
0
1K
Member Avatar for ikel

I have built a simulation of real space rovers. My current implementation for the first rover looks like this // a 6 wheel-rover public class Rover1 { private Joint joint1; // discrete rotation -- for steering private Joint joint2; // continous rotation -- for wheel private Joint joint3; // discrete …

Software Development
Member Avatar for ikel
0
237
Member Avatar for ZombieKnight93

This is what the assignment is: (Airline Reservations System) A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You are to write an application to assign seats on each flight of the airline's only plane (capacity: …

Software Development java
Member Avatar for ZombieKnight93
0
7K
Member Avatar for Triryche

I am trying to use the values from numericUpDown boxes. With the execptoin of totalRunTime, all variables in this sample of code are from numericUpDown boxes. I have tried declaring totalRunTime as an int, decimal, double, ect... Am I missing something simple here? private void button1_Click(object sender, EventArgs e) { …

Software Development
Member Avatar for Triryche
0
1,000
Member Avatar for castajiz_2

private void Form1_Paint(object sender, PaintEventArgs e) { String theString = "A"; SizeF sz = e.Graphics.VisibleClipBounds.Size; e.Graphics.TranslateTransform(sz.Width / 2 ,sz.Height / 2); e.Graphics.RotateTransform(angle); angle++; sz = e.Graphics.MeasureString(theString, this.Font); e.Graphics.DrawString(theString, this.Font, Brushes.Black,-(sz.Width/2),-(sz.Height/2)); } I dont understand the last part with the DrawString(). The 2 last arguments of the method specify the location …

Software Development
Member Avatar for castajiz_2
0
598
Member Avatar for jess_35

I need to create a Java Temperature converter. I have everthing working except when I try to convert F to C I get nothing except the value in F field is changed to 32. The conversion for C to F is working fine. Any ideas what it coudl be?? import …

Software Development java java-swing
Member Avatar for JamesCherrill
0
283
Member Avatar for younes.keraressi

when i uncoment this line 144; i have error , and i debug and it was good, can anybody help me why i got this kind of error mybe should i declare List<employ>* list2, but it must wrok good like normale way List<employ> list2 #include<iostream> #include<fstream> #include<string> using namespace std; …

Software Development c++ daniweb-bug
Member Avatar for younes.keraressi
0
180
Member Avatar for cachapita

Hello, thing is Im doing my systems engineering internship in the systems department of a mall... the manager told me about a project they have in mind... and intranet were store owners can communicate with the mall to report problems and inform of payments. On this intranet, different departments of …

Member Avatar for AcmeUK
0
143
Member Avatar for woomar

Is it possible to make some Junit tests that assertTrue (condition, throw some exeption) if condition was false or if condition would throw something, say assertEquals (codition, new Excepption) ?

Software Development java
Member Avatar for somjit{}
0
215
Member Avatar for sasikrishnasamy

Hi, I have code like this, public void method1(){ ArrayList<String> list=new ArrayList<String>(); list.add("A"); list.add("C"); list.add("D"); for(int i=0;i<list.size();i++){ if(i==0){ new Test().addB(list); } } System.out.println(list) } public void addB(ArrayList<String> list1) { list1.add(1,"B"); System.out.println(list1); } output: List1: A,B,C,D List : A,B,C,D I Expected this Result: List1: A,B,C,D List : A,C,D Why List1 is …

Software Development java
Member Avatar for JamesCherrill
0
307
Member Avatar for subhashmedhi

hi all, i have written a shell-script which logs onto a mail-server using telnet and then tries to send the HELO command. The code for the same looks something like this: [code] exec telnet 150.236.18.66 25; echo "HELO"; [/code] The problem is that though the telnet connection is established the …

Software Development shell-scripting
Member Avatar for Tabsy
0
2K
Member Avatar for tieties

can someone maybe explain to me how the reply to property works, i want to give it an email address like this "message.replyto("ReplyAdd")", but it doesnt seemd to work. and the replytolist in the code also dont work i get this error when i put in breakpoint on it "count …

Software Development email pdf session vb.net
Member Avatar for Begginnerdev
0
246
Member Avatar for mohammed.alrasheed.353

In this exercise, you will create a program that adds, subtracts, multiplies, or divides two integers. The program will need to get a letter (A for addition, S for subtraction, M for multiplication, or D for division) and two integers from the user. If the user enters an invalid letter, …

Software Development c++
Member Avatar for bradly.spicer
0
302
Member Avatar for toxicandy

I have started a program that should be able to do basic cryptography functions such as reassigning letters to different letters. How I did this was by coverting each letter to an ASCii value and then storing them in an array. I am working with only the lower case letters …

Software Development visual-basic
0
72
Member Avatar for elie.karkafy

i am using the odbc data sources ( created from the control panel --> administrative tools --> odbc data sources ) to connect the crystal report to my access database . all things good and the data sources works like a charm , till i discover that generating the report …

Software Development vb.net windows-server
Member Avatar for Begginnerdev
0
219
Member Avatar for maori

Hi Guys Been searching around and cant belive it but have not found a tutorial on this what I want to have is a calendar that I can save appointments on I know the monthcalendar in the tool box but i'm looking for some code to save appointments and display …

Software Development
Member Avatar for maori
0
106
Member Avatar for Hanyouslayer

Okay, I feel like I busted something in my head because I can't figure out anything in Java anymore! I just confused the crap out of myself, and I can't seem to get back on the horse. What I'm trying to do is read from a text file to create …

Software Development java
Member Avatar for JamesCherrill
0
346
Member Avatar for Pyler

This method is supposed to reverse a stack by making a new stack and pushing popped items from this stack to the revertStack and then returning the reverted stack. When I run some tests, it returns an empty stack in stead. Any clues? public LinkedStack<E> reversed() { LinkedStack<E> revertStack = …

Software Development java
Member Avatar for JamesCherrill
0
223
Member Avatar for woomar

If I have a chess board 8x8 And in my copy constructor I want to deep copy it. How would I go about doing it? This is what I have: public class chessBoard { private Chess[][]board; public chessBoard (){ board = new board[8][8]; for (int i = 0; i < …

Software Development java
Member Avatar for JamesCherrill
0
753
Member Avatar for jared.geli

I want to know how can I trigger an event or at least display it in a Datagrid from database. Here's the scenario: DateFile Plate Driver EmpID OdometerBefore OdometerAfter 9/25/2013 ABC123 Jared 00369 4000 8000 9/27/2013 DEF456 John 00246 3000 8000 10/9/2013 ABC123 Jared 00369 8000 14000 10/9/2013 DEF456 John …

Software Development vb.net
Member Avatar for jared.geli
0
175
Member Avatar for mani_1991

hai friends, is it possible to generate barcodes using java....???? if it is possible how can i do that......??????? please give information about the how to developing barcode generator using java please any one can give solution for this..

Software Development java
Member Avatar for stultuske
0
216
Member Avatar for elie.karkafy

Remarque the hand punch is connected to the network throug a converter from serial to network , so i need to connect the port and the ip at the same time , any help ?

Software Development vb.net
Member Avatar for elie.karkafy
0
336

The End.