199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sinapse

I have this problem to solve for preparing for the olympiad and i'm not quite fond of the functions so that i want to do it classically but i find it harder.Here it goes: "During a desert operation a group of soldiers were lost from different squads.After the storm passed …

Member Avatar for Salem
0
159
Member Avatar for willydlw

my makefile: [code] DRIVER_SRC = PumaDriver.cpp PumaBody.cpp PumaMotor.cpp base_manipulation.cpp serialPort.cpp DRIVER_INC = PumaDriver.h PumaBody.h PumaMotor.h base_manipulation.h serialPort.h silvermax_commands.h All: $(DRI_SRC) $(DRI_INC) g++ -Wall -Wextra -g3 -fpic `pkg-config --cflags playercore` -c $(DRIVER_SRC) g++ -Wall -Wextra -nostartfiles -shared -rdynamic -o libPumaMotorDriver.so PumaDriver.o PumaBody.o PumaMotor.o serialPort.o base_manipulation.o install: cp *.so /usr/local/lib uninstall: rm …

Member Avatar for Salem
0
190
Member Avatar for csergec

Hi I am writing a function which gets values. These ones will be used in my sqlite query [code] def updateDB(tel, month, price): mytel = (tel,) myprice = (price,) connection = sqlite.connect("mydb.db") cursor = connection.cursor() sql = 'UPDATE mydatabase SET %s = ? WHERE number = ?' cursor.execute( sql % …

Member Avatar for csergec
0
2K
Member Avatar for bsg

Hi, I'm working on an events section for a website and have run up against the following problem: I would like every event registered to have its own web page on the site. What I would like to do is to have a template with basic layout, etc., and then …

Member Avatar for sedgey
0
122
Member Avatar for tableray

i want to show a msgbox when i click on the webbrowser control on my form.. how do i do it? why isnt there a mouseclick event in the webbrowser method listbox?

Member Avatar for Teme64
0
153
Member Avatar for Lukezzz

Hi I wonder how it will be possible to get the current date and time. I have looked around and there are many different ways to retreive this. I wonder what could be a good way to do that. As for now, I would like to return a string for …

Member Avatar for ArkM
0
103
Member Avatar for aveao

I need some help. I have been problems getting my programs to recognize variables outside of the subroutines even if I make them public. Ive been able to work around the problem until now. I am working with arrays. It wont let me declare the array outside the subroutine and …

Member Avatar for Teme64
0
265
Member Avatar for marias

Azul(Hi) i created program on php where i can output data set of any table by submitting query. i need help to input i mean to load data into the table from the HTML file can any one give help please thank you. this is the program i created, so …

Member Avatar for marjan_m
0
181
Member Avatar for sivak

i know what is the maening for method overloading ....can any one explain me method overloading with real time .NET example plz

Member Avatar for kvprajapati
0
100
Member Avatar for sivak

if anyone using abstarction and interfaces in your applications can u share that code.....just want to know when we go for abstraction and interfaces in .net applications

Member Avatar for kvprajapati
0
162
Member Avatar for gubju

Hey, for our project purpose we had to collborate java with vb using JNI.because in our project there is a idle checking procedure for the client from server which cannot be done with java.... can anyone help us with java code or JNI code....

Member Avatar for kvprajapati
0
73
Member Avatar for grisha83

Hello, I have a program called Date. While this program compiles and runs, I have noticed something weird. I have an output line that displays my values twice. Sample Run: The word date output is: February 12 2009 [B]The numeric output of the date is: 2/12/2009 The next incremented date …

Member Avatar for grisha83
0
124
Member Avatar for txwooley

If I have a list of 5 random integers, is there a simple way to iterate through the list and see how many of each number there are without using 25 if/elif statements. For example my list might contain [3, 7, 10, 10, 14]. How would I determine that there …

Member Avatar for txwooley
0
114
Member Avatar for Rastabot

I have to write a program the accepts a fully parenthesized like "((3*4)+(2-(4/2)))", or (3+5). It builds a tree for the expression, without the parentheses. So the tree for the (3+5) would be - "+" is the root, and the 3 is the left node and the 5 is the …

Member Avatar for sillyboy
0
138
Member Avatar for realestninja

Hello I wanted to compete with myspace.com because they are monopolizing the computing industry, and I am indeed jealous. I wanted to know if anyone here knows a lot about database programming, and can help me learn how to program something that has the looks and feels of myspace in …

Member Avatar for cwarn23
0
983
Member Avatar for fadia

Metro supermarket is a new supermarket opening in Riyadh. It offers attractive discounts for its customers. Write a program that will display to the user his new total price after discount. The program should read the total price from the user, calculate and display the new total price based on …

Member Avatar for fadia
0
163
Member Avatar for ranitsaha

[code]Imports System.Data Imports System.Data.OleDb Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim conn As String = "Provider=Microsoft.Jet.OLEDB.12.0;Data Source=G:\Visual Studio Projects\test\dbtest.accdb;Persist Security Info=False" Dim cmd As String = "SELECT * FROM Table1" Dim adapter As New OleDbDataAdapter(cmd, conn) Dim topics As New DataSet("Table1") …

Member Avatar for c0deFr3aK
0
316
Member Avatar for ShadowScripter

Mmm, I just love these error messages, I don't understand them what-so-ever and I can't interpret them. (Unsure where the post should be in the forum) I'm getting this error message at build time (Using VC++): [code=cpp]1>Linking... 1>main.obj : error LNK2019: unresolved external symbol _DirectDrawCreate@12 referenced in function "long __cdecl …

Member Avatar for Ancient Dragon
0
270
Member Avatar for crackerjacker

i was wondering, is their any way to do something, say msgbox, when an exe is ended via the end process in the task manager? thanks in advance!

Member Avatar for crackerjacker
0
125
Member Avatar for Pierre9

Hi all, I've written some functions that seem to be able to handle parallel AJAX requests. However, I am not sure if they would work under all circumstances. My idea was to create a separate object for each AJAX request in order to bind the right handler function to the …

Member Avatar for ShawnCplus
0
176
Member Avatar for musturd

[code=perl]#!/usr/bin/perl use warnings; use strict; push @INC, "C:/Perl/Modules"; print "What is current download directory? "; my $dir = <STDIN>; opendir DH, $dir or die "Can't open directory..."; my $parent = $_; while ($parent = readdir(DH)) { next if $parent eq "." or $parent eq ".."; if(-d $parent) { opendir DI, …

Member Avatar for musturd
0
192
Member Avatar for nanodano

I've been trying to solve this problem for a while now with no luck. I want to monitor an input buffer(cin) for a keypress. The catch is, I don't want it to hang if the buffer is empty. [INLINECODE]getch()[/INLINECODE] and [INLINECODE]peek()[/INLINECODE] won't work because one waits for a keypress and …

Member Avatar for cniggeler
0
151
Member Avatar for soppyhankins

Hello again all!!! I just have two quick questions... 1.) Is it possible for one to run a program through the "system(command)" and have the output come out on top of an SDL program? Like if I had a background of some sort and typed "system(echo "Hello!")" could I have …

Member Avatar for soppyhankins
0
209
Member Avatar for txwooley

I am trying to order a list containing integers. I want them sorted in numerical order from lowest to highest. I tried using sort but got the list baxk exactly as it was. [code=python] x = [5, 3, 7] x.sort print x [/CODE] What command would I usr to make …

Member Avatar for txwooley
0
84
Member Avatar for dliving

Hello, I'm new nere and very much a beginner with python. I'm trying to make a blackgame program not to play but to test strategies, like I used to play this wristwatch game and always double at 12 and surrender at 17. Which is bad strategy but I swore it …

Member Avatar for woooee
0
340
Member Avatar for serkan sendur

i want to see all the function calls from the very first to the very last one. is that possible? i tried call stack window but it shows the ones in the scope of the break point.

Member Avatar for serkan sendur
0
71
Member Avatar for AMetnik

Ok, i have read alot about this bugs now, and nothing seems to help. Hope someone have a step by step solution for me, or atleast can give me some more insight hehe ;) Here is a few intel on my work. Im working in netbeans on my labtop, uploading …

Member Avatar for peter_budo
0
602
Member Avatar for grisha83

I have two methods. One method was to set location of 2 points x and y. Another method was to copy that location. I used arrays. Well the program compiles but it doesn't display my values properly. Error message says: [D@af9e22. Does anyone know what this is? Thank you // …

Member Avatar for grisha83
0
77
Member Avatar for ddanbe

I have a form with a readonly textbox, some layoutpanels with some buttons in it and together they make up a calculator. (Yes I know this is YAC (yet another...)) but I have fun while still learning! When I click the buttons and manipulate the Text property of the textbox, …

Member Avatar for ddanbe
0
832
Member Avatar for tinajl

Hi, I am brand new to the DaniWeb Forums. I'm also very new to VB, and I taking my first course on it. I nearly have a large project done, but I have one main issue that I have not been able to resolve on my own as of yet. …

Member Avatar for tinajl
0
90
Member Avatar for atplerry

Hello, On my project that deal with online payment system, i want that when a user is buying goods from a website called e.g www.buy.com and want to pay using my payment website called www.pay.com when the user from www.buy.com choose to use my payment solution i want to redirect …

Member Avatar for sedgey
0
229
Member Avatar for tomo_uni

Television(boolean power, int channel, int volume); Keep getting error "missing method body or declare abstract" Can't understand why? Help please :) If you need to see all code ask TOM

Member Avatar for BestJewSinceJC
0
107
Member Avatar for mhodgkins

...and it's due by midnight tonight. But I've mad a huge effort. Can I get any help? I'm trying to stay alive in this class. :'( File attached.

Member Avatar for BestJewSinceJC
0
134
Member Avatar for mightykyle

well i'm trying to get my shuffler to work but i keep getting one. any ideas? #include <cstdlib> #include <string> #include <ctime> #include <iostream> using namespace std; const int number_of_cards = 52; void shuffle(int list[], int size) { srand(time(0)); for (int i = 0; i < size; i++) { int …

Member Avatar for mightykyle
0
198
Member Avatar for skisky

My book isn't getting into my head yet.... i have one project left in my C# class, where we are to create a base class. That class, from what i understand, is to contain common characteristics. (sports teams happen to be our theme). So i could have coach name, and …

Member Avatar for skisky
0
151
Member Avatar for tksrules

In python how to write a simple while loop?I am a C++ expert but i am starting to learn python. Lets say i need to write a while loop asking the user if he wants to input a number and if the user says yes, the program will input the …

Member Avatar for marium ahmad
0
86
Member Avatar for Azraeth

Good time of the day for you) I've got a simple question, but just unable to find an answer.. How to make dialogue item (button/scrollbar) visible/invisible? I've tryed ShOwWindow, but i can't point it to my button. Please help

Member Avatar for Azraeth
0
95
Member Avatar for Alex_

Hello, how does division works in nasm assembly language? I want to get the least important digits from a binary number. ex: 1001b /10= 100.[B]1[/B]b. The bold signed one is what i like to get. Any suggestions? Further explanation: What i want to do is convert a binary number into …

Member Avatar for Alex_
0
2K
Member Avatar for Seamus McCarthy

[CODE] public void deleteDvd(String title) { String DvdCompare; Dvd dvdObj; Collections.sort(dvds); for(int i = 0;i< dvds.size();i++) { DvdCompare = dvds.get(i).getdvdTitle(); dvdObj = dvds.get(i); if(title.equals(DvdCompare)) { System.out.println("Dvd is in system"); int index =Collections.binarySearch(dvds,DvdCompare); dvds.remove(index); //delete method in arrayList } else if (!title.equals(DvdCompare)) { System.out.println("Not found Dvd Object"); } } }[/CODE] I'm …

Member Avatar for Seamus McCarthy
0
187
Member Avatar for toadzky

I have a combo box that is populated from entries in a SQLite table. The entries are city names. Here is the code for the data binding: [code] cbb_City.DataSource = data; cbb_City.DisplayMember = "Accounts.City"; cbb_City.ValueMember = "Accounts.City"; [/code] It gets the values just fine but it has an entry for …

Member Avatar for toadzky
0
3K
Member Avatar for Monkey.D.Luffy

[U][B]Question detail as show as below:[/B][/U] How to design a simple grading system which able read data of a group of students. The data includes students’ names, nations, and marks of four subjects. This data is stored in a text file created by a text editor (notepad etc.). The system …

Member Avatar for Sky Diploma
0
395
Member Avatar for sunilpro

Hi all dotnet lovers, I wish to develope software for my college. This is desktop+web apps. I wish to go for .NET tech. I am puzzled how to use and integrate various technologies. My desktop app will run at office for regitration of students and accepting fee, offering various legal …

Member Avatar for sunilpro
0
96
Member Avatar for Xamas

I have class: [code=c++]template <class T> class Graph; And I have a function: template <class T> void Graph<T>::erase_greater(T needle) { if(TEMPLATE TYPE IS "STRING" OR "CHAR") { do nothing; } else { if(TEMPLATE TYPE IS ONE OF THE INT TYPES) { if(strlen(var1) > strlen(var2)) { USE Var2; } else { …

Member Avatar for twomers
0
178
Member Avatar for sunilsinha

Hi, I have to zoom a div. an image is placed as div background using css. while doing zoom in, what i did is increased width and height of div by 25px, but image which placed as div background is not streching. Also, when i zoom it, the text placed …

Member Avatar for sunilsinha
0
90
Member Avatar for j_cart007

hi ! i'm very new to assembly and learning bit by bit but unfortunately i'm asked to write a program which encrypts a string using caesar cipher encryption method and then print that encrypted text and save into the address. i'm very hopeful that somebody will definitely solve my problem …

Member Avatar for j_cart007
0
220
Member Avatar for sivak
Member Avatar for Capsi

Hi frnds, I m new to ajax. I have implemented the ajax autocomplete <ajax:autocomplete source="tag" target="make" baseUrl="autocompleteTag.htm" className="autocompleteTag" indicator="indicator1" minimumCharacters="1" parser="new ResponseXmlToHtmlListParser()" /> this my partial code. The problem is that when i press any alphabet say suppose "a", i get all names starting with "a" say amy, admin, anuj …

Member Avatar for navenchary
0
147
Member Avatar for shar164

I can't figure out how to perform a calcuation in a query and have the result output for use in a chart within a report. Forgive me I'm a newbie

Member Avatar for firstbateyboy
0
246
Member Avatar for Peyton

Hi there, Say I have the following while loop, that loops on the condition that a lne (a string) is received from a file: [CODE]while ( getline( inData2, line ) ) // Increment rows till none left { if ( !line ) { cout << "No data entered. Please enter …

Member Avatar for William Hemsworth
0
148
Member Avatar for ninjaimp

While i thought this would be really simple im really struggling on filtering a gridview twice! I can bind data to my gridview on the choice of my first dropdown box from a dataset but i would like to then filter those results from a selection in a second dropdown …

Member Avatar for ninjaimp
0
148

The End.