132,726 Archived Topics
Remove Filter ![]() | |
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 | |
[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 | |
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 … Software Development microsoft-access vb.net visual-basic visual-studio | |
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++ | |
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) { … | |
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 | |
[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++ | |
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 | |
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 | |
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 | |
#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++ | |
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. … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
Hi, I want to get all character starting zero to end from tetbox to an array. How can I do that? Thanx Software Development | |
![]() | 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 ![]() |
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++ | |
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++ | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
This short C# code will calculate the fibonacci number of an integer and display the result in a Windows GUI label. Software Development gui | |
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 … | |
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 | |
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 | |
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> … | |
[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 | |
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++ | |
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 … | |
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# | |
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 | |
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 | |
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 | |
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() … | |
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++ | |
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 | |
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++ | |
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 | |
How create a Report in VB6.0. pls send me detail as early as possible. Software Development visual-basic | |
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 | |
[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++ | |
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 ![]() | |
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 |
The End.