132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pato wlmc

Hello everyone, I'm trying to compile the "Simple VRML" example, from the ARtoolkit library. The problem is that when i try to compile it, it keeps telling me: [CODE]1>------ Build started: Project: UANLartoolkit, Configuration: Debug Win32 ------ 1>Linking... 1>LINK : fatal error LNK1104: cannot open file 'libjpeg.lib'[/CODE] Now, thats kind …

Software Development c++ virtual-reality
Member Avatar for Ancient Dragon
0
594
Member Avatar for night_guard

[code] class x(object): def __init__(self): self.x=1 class y(x): def __init__(self): super(y, self).__init__() [/code] what is it doing "super" function in here?

Software Development python
Member Avatar for Gribouillis
0
183
Member Avatar for simonfoley

Hi there I'm studying Visual Basic (using Visual Studio 2008) as part of an all-round IT foundation degree...I must confess that programming is becoming my weak spot! Unlike the C++ I was taught last year, I'm not finding VB too easy...probably becasue I've never programmed this way before and I've …

Member Avatar for simonfoley
0
309
Member Avatar for Sudo Bash

I have two questions relating to classes. I have run into a problem in using classes in multi-file programs. Here are three example files which illustrate the problem I am having and the errors I am getting. [B]file1.cpp[/B] [CODE=c++] //file1.cpp #include<iostream> #include"file3.h" using std::cout; using std::cin; namespace baz { extern …

Software Development c++
Member Avatar for programmersbook
0
3K
Member Avatar for judithSampathwa

hi there, i have a code to validate a tel number but the thing is i want it to restrict it for 10 digits. currently i can add any number of digits how can i restrict it to 10 digits the code is below [CODE] public bool ValidateTelNo(string TelNo) { …

Software Development asp.net regex
Member Avatar for Narue
0
434
Member Avatar for JKP()

Im new to java and I would like to participate in some small projects.. let me know and I'll be glad to work with yha..

Software Development java
Member Avatar for JKP()
0
95
Member Avatar for rhum123

[CODE] #include<iostream> #include<stdio.h> #include<conio.h> using namespace std; int main () { float nep,b,sum,temp,i,j,median; cout<<"Enter the number of Elements"; cin>>nep; double element [10]; int index; for (index=0;index<nep;index++) { element[index]=0.0; } for (index=0;index<nep;index++) { cin>>element[1]; sum=element[1]+element[2]; element[1]=element[2]; element[2]=sum; } b=sum/nep; cout<<"Mean:"<<b<<endl; for(i=0;i<nep;i++) for(j=i+1;j<nep;j++) { if (element[3]>element[4]) { temp=element[4]; element[3]=element[4]; element[4]=temp; } } …

Software Development c++
Member Avatar for programmersbook
0
174
Member Avatar for ambageo

Hi! I've got this structure struct *cell{int row,int column,int distance, struct cell *next}. By calling a function, I fill a linked list . The problem is that I cannot find how to delete the nodes that have the same row and column.Let me provide an example. Let's say that the …

Software Development c linked-list
Member Avatar for ambageo
0
191
Member Avatar for like_bilal02

Dear Freinds Is it possible in vb.net that when my mouse focus in button it size increase the button or change like when we click on google images it comes in front

Software Development vb.net
Member Avatar for ShahanDev
0
215
Member Avatar for yasho

I am working with Visual studio 2003. Have data grid , data adapter and dataset and an access data base In access database the one field "time" is defined as date/time and format as medium date. This field stores the time properly i.e. 3.00PM But when i load the datagrid, …

Software Development dataset vb.net visual-studio
Member Avatar for ShahanDev
0
112
Member Avatar for Zvjezdan23

#include "StdAfx.h" #include <iostream> using namespace std; int main(); { cout << "7 + 3 = " << 7 + 3 << end1; cout << "7 - 3 = " << 7 - 3 << end1; cout << "7 * 3 = " << 7 * 3 << end1; return …

Software Development c++
Member Avatar for Zvjezdan23
0
143
Member Avatar for دموعي

Create a JAVA applet program that accepts and displays object‟s details on respective GUI components. The Applet consists of seven GUI components such as two labels Name and Price followed by two textfields of size 10 respectively. There are two buttons labeled as ADD and DISPLAY followed by a Textarea. …

Software Development gui java
Member Avatar for دموعي
0
101
Member Avatar for mrclark

I have made a program consisting of about 15 smaller projects, each with their own .dll/.exe I need to make a custom installer that will prompt the user for different options, which the installer setup built into VS10 does not support. I need to be able to have this run …

Software Development vb.net
Member Avatar for Luc001
0
183
Member Avatar for kkcaddy

hi all i am using the visual basic portable, and the about form, splash screen, and the other additional forms refuse to appear. i would like help, if it is to use a different vb. thanx all

Software Development visual-basic
Member Avatar for kkcaddy
0
96
Member Avatar for peter_budo

I'm trying to get hang of custom events and listeners. I found example of single event-listener, but I'm curious how to extend from single method to multiple that are related. [code=Java]public interface CountListener{ public void countEvent(int count); public void multiplyEvent(int multi); }[/code] [code=Java]public class Counter implements CountListener{ public void countEvent(int …

Software Development java
Member Avatar for svedrenne
0
3K
Member Avatar for arshi9464

i am unable to understand WHAT MAKES THE BYTECODE IN JAVA, MACHINE INDEPENDENT. I mean how does the bytecode built after compilation becomes machine independent, or what are the properties that make the bytecode machine independent? EXAMPLE:- If i compiled a program on a x86-64 machine and after sometime i …

Software Development java
Member Avatar for ~s.o.s~
0
170
Member Avatar for dbphydb

Hey all, I am basically a QA tester. To ease some process, i need to download 2 files from some server and calculate the time taken to download each file. 1. The file names are constant 2. The location from where i want to download these files is constant Can …

Software Development python
Member Avatar for richieking
0
380
Member Avatar for trust_noone

i'm wondering how to use a function named timer(); while executing another function at the same time??? can anyone help me with this?? i researched about threading but it's too complicated for me

Software Development c multithreading
Member Avatar for Trentacle
0
92
Member Avatar for hsetaknev

Hey guys,I admit I do commit Mistakes But this piece of code got well executed in my college (USED TURBO C++) But in my home PC (UBUNTU) Its not getting COMPILED [CODE]#include<stdio.h> /*header*/ //#include<conio.h> /*header*/ #include"maths.h" int main() { int rur1,rur2,b,a,c,x,y; int d; //clrscr(); printf( "Enter the value of A …

Software Development c ubuntu
Member Avatar for Trentacle
0
155
Member Avatar for emrahteam

Hi, I want to get all character starting zero to end from tetbox to an array. How can I do that? Thanx

Software Development
Member Avatar for kvprajapati
0
76
Member Avatar for david56connor

Hi, I have been working on this for quite a few hours now and can't seem to find a solution! My knowledge of VB.Net is quite limited and I'm trying to jump in at the deep end, I'm trying to log in to a website (a game in which I …

Software Development http-protocol vb.net
Member Avatar for david56connor
0
1K
Member Avatar for jimJohnson

I have a quick question about posting. I am retaking over my final C++ class and still have the programs from the class. Even thought the class is a month away I am planning on working on them early. Would there be anything wrong with posting about each piece of …

Software Development c++
Member Avatar for Narue
0
92
Member Avatar for vanalex

Hello everybody! I wrote the following classes: OilStation: [CODE] class OilStation : public Date{ protected: int code; char *Address; float Amount[K]; public: ... }; [/CODE] and Price: [CODE] class Price : public OilStation { public: Price(){} void changeAmount(); ... }; [/CODE] In changeAmount function i try to change the elements …

Software Development c++
Member Avatar for vanalex
0
82
Member Avatar for RC331133

Hello Daniweb. I've been working on a small POS termal printer, and now i've run into a problem. The problem is somewere deep down in the mystical depths of ESC commands. However, to the point... I've printed a barcode (EAN13), The barcode comes out but there is a small problem …

Software Development pdf printer vb.net
Member Avatar for RC331133
0
115
Member Avatar for Dizzzy

Ok so ive been writing code for a web server to return requested files, It works well for html and txt files but when an image is requested all i recieve is the url of the file... In firefox in conqueror i dont get anything. All i do is read …

Software Development c c# c++ http-protocol image web-server
Member Avatar for NicAx64
0
266
Member Avatar for blueciel

VB6.0:Calculator Hi im new here.. anyone can help me with my program... please.. i have a project calculator using VB6 with the combination of operation like this 100 + 50 - 20 * 2 = 260 please help me.. thank you..

Software Development visual-basic
Member Avatar for AndreRet
0
159
Member Avatar for TomaCukor

hey guys , its my first but hopefully not last post , i have this wordcounter(actually recepie reader) project it looks for the word "csoki" given in input and then if it finds it it asks perfcentage of "csoki"(short for chocholate in my lang) and stores the value in array …

Software Development c
Member Avatar for WaltP
0
265
Member Avatar for marktyers

Hi I am new to assembler programming and am trying to get a simple program up and running on a PIC12F675 using a PICKIT2 I have wired up the circuit using pins 1-5 on the PICKIT2 programmer according to this diagram: PIN1 MCLR to PIC PIN4 PIN2 VDD to PIC …

Software Development assembly flash
Member Avatar for marktyers
0
189
Member Avatar for Lardmeister

This short C# code will calculate the fibonacci number of an integer and display the result in a Windows GUI label.

Software Development gui
Member Avatar for nive.s
0
505
Member Avatar for bhagawatshinde

Hi, I want to display the data in the 2 column of PDF using iTextsharp. Like this way e.g. Q.1 aaaaaa Q.5 eeeeeeeeeee Q.2 bbbbbb Q.6 fffffffffff Q.3 cccccc Q.7 ggggggggggg Q.4 dddddd Q.8 hhhhhhhhhhh On next page Q.8 aaaaaa Q.12 eeeeeeeeeee Q.9 bbbbbb Q.13 fffffffffff Q.10 cccccc Q.14 ggggggggggg …

Software Development pdf vb.net
Member Avatar for bhagawatshinde
0
169
Member Avatar for Petrica7

I'm making a small program for a tvtunner. One of its functions is the ability to change audio level (master/wave/linein...). In Windows XP works fine. In Vista/7 I know only IAudioEndpointVolume interface. It works only for master volume. So, until I will find a better solution, I start the program …

Software Development audio pascal windows-vista
Member Avatar for Petrica7
0
110
Member Avatar for connectafrica

Hi I am using Pastel Partner V11 - runs Pervasive SQL - i would like to query the data using Microsoft Excel Query - please can some-one help me : 1/ set up the ODBC connection - on a network 2/ query the database Thanks very much

Software Development microsoft visual-basic
Member Avatar for AndreRet
0
196
Member Avatar for felix001

I currently have an XML (pasted below) that I want to place into a dictonary. With each dictonary key being the content of the XML`s <TITLE> markup and the values containing the content of the XML`s <ARTISTS*> markup. [CODE]<EXAMPLE> <CD> <TITLE>TITLE1</TITLE> <ARTIST1>ARTIST-ABC</ARTIST1> <ARTIST2>ARTIST-DEF</ARTIST2> </CD> <CD> <TITLE>TITLE2</TITLE> <ARTIST1>ARTIST-XYZ</ARTIST1> </CD> <CD> <TITLE>TITLE3</TITLE> …

Software Development python xml
Member Avatar for griswolf
0
138
Member Avatar for HESSENY2000

[B]welcome Dear all this my first topic in DANIweb so that I'm waiting for more than help , I try to design time calculator to calculate time by Minutes you can see code (((( Private Sub Command2_Click() If Val(Text1.Text) = 0 Then MsgBox "type any Date and Time value": Exit …

Software Development visual-basic
Member Avatar for AndreRet
0
117
Member Avatar for Peter_morley

Hello I'm trying to pass a key array to a function in another class and its not working. Can anyone explain to me essentially what the key array is? Is it an array of char? Well anyways here is my code I'm getting errors please help. Thanks HERE IS MY …

Software Development c++
Member Avatar for vinayakgarg
0
208
Member Avatar for vinayakgarg

Hello I am developing my first game in Allegro. Till now i found it easy to use. But now i read that for running a game allegro.dll is required on computer. Tell me if it is correct. Also many people say that SFML is better than Allegro, since the latter …

Software Development c++ gaming
Member Avatar for vinayakgarg
0
282
Member Avatar for NeilA

Hello everyone, I am looking for some instructions on learning C# for a 15 year old. He is creating some games in Unity 3d program and is doing pretty good following tutorials but i don't think he is understanding the programming concepts. I searched google but can't find anything that …

Software Development c#
Member Avatar for jonsca
0
181
Member Avatar for Steve Mac

Hi, everybody. I would really like to know if there is anyway in which I can package two or more set up files together with my vb.net application; so that after installing the application, it automatically starts installing the other applications from the other set-up files. In my case I …

Software Development client-server vb.net
Member Avatar for Steve Mac
0
99
Member Avatar for Reverend Jim

When I try to build a C++ project I get the error message in the title line. I am trying to help my son move his development from a unix cluster to his laptop. He is running Windows XP Pro and has installed the Eclipse IDE for C/C++ Developers. The …

Software Development c++ gui ide unix visual-studio
Member Avatar for nezachem
0
4K
Member Avatar for iwanttolearnc

im reading a text file that contains data in a fashion similar to this $1.2.3.4.5.6$ %7.8.9.10.11.12% *a.b.c.d.e* what i want to do is read only data enclosed by '$' and skip to the next line if the data contained are not. written below is my code. im kind of stuck …

Software Development c
Member Avatar for iwanttolearnc
0
139
Member Avatar for aligajani

I want to sort the getSal values in the myList. It should be a sorting algorithm implementation so that adding or removing objects does not affect the performance. [CODE]import java.util.*; public class payment { public String name; public int salary; void setName(String _name) { name = _name; } String getName() …

Software Development algorithm java
Member Avatar for aligajani
0
176
Member Avatar for EngSara

Hello.... I am running a C++ program that takes an N array and reads a from a file. One requirement of this project is that it returns an elapsed time of each function so the function efficiency can be calculated based upon an input. I am attempting to implement the …

Software Development c++
Member Avatar for menauman
0
6K
Member Avatar for novice20

can anyone suggest a simple method to define an enum in python. as some examples floating on net, i used class Animal: DOG=1 CAT=2 print Animal.DOG but it doesn't seem to be working...

Software Development python
Member Avatar for novice20
0
126
Member Avatar for gpta_varun

Hi All We all have read a lot about utility of copy constructor. I have a simple question .Consider the code below. Is it ok to directly copy one object's content onto other ? [CODE] Class A { ...... }; main () { A * obj_1=new A(); // Next the …

Software Development c++
Member Avatar for Fbody
0
163
Member Avatar for raden1

I am making a simple python game. I would like to be able to restart the game based on user input. You have a certain amount of guesses to guess which way to coin falls. If you lose you would get the option of restarting, instead of just breaking the …

Software Development python
Member Avatar for ultimatebuster
0
139
Member Avatar for Swapnilkadam

How create a Report in VB6.0. pls send me detail as early as possible.

Software Development visual-basic
Member Avatar for romel.bunag
0
99
Member Avatar for rawtea

Hi! I'm trying to write a program that converts an inputted decimal number into its hex equivalent. Here is the source code along with the .h files: [code] .286 .model small datas SEGMENT byte PUBLIC 'data' newl DB 10,13,'$' msg_hex DB "Hexa: $" msg_zec DB "Dec : $" tabela DB …

Software Development assembly
Member Avatar for rawtea
0
305
Member Avatar for Mr_PoP

[CODE] #include "includes.h" int main() { SYSTEMTIME st; GetSystemTime(&st); ofstream syslog; //st.wDay= 30 syslog.open("today"st.wDay".txt"); syslog.close(); system("Pause"); } [/CODE] bt idk how to make it this line is completly wrong syslog.open("today"st.wDay".txt"); can anyone help me :)

Software Development c++
Member Avatar for Mr_PoP
0
85
Member Avatar for jimJohnson

I have a couple quick questions with the program that I am doing. This program is a hi\lo program and here are my remaining issues... 1. When I click the high or low button in my program it does not make changes to my token (I want the default tokens …

Software Development vb.net
Member Avatar for Unhnd_Exception
0
113
Member Avatar for khurram.1987

Hi, i am trying to connect to MySQL database [ICODE]mysql[/ICODE] using JAVA .. using code given below, [CODE]import java.sql.*; public class dbExample{ public static void main(String[] args) { System.out.println("Listing all table name in Database!"); Connection con = null; String url = "jdbc:mysql://localhost:3306/"; String db = "mydb"; String driver = "com.mysql.jdbc.Driver"; …

Software Development java java-netbeans mysql
Member Avatar for khurram.1987
0
161

The End.