132,726 Archived Topics
Remove Filter ![]() | |
Hi Daniweb, I am currently taking a computer science class in school, and was given an extra project(because I'm so far ahead of the rest of the class). I am stumped on how to get the of the slider bar to do what I want. In the project I have … Software Development visual-basic | |
Can somebody help me formulate a VB program the would Record TIN numbers of a tax payer? With a sorting function and search function. The most basic of VB that could be formed. Any replies would be a great help! :D Thank you. Software Development visual-basic | |
I have sstab with 9 tabs. Each tab have 4 text box. I have named all the textboxes in arrays. For eg. In first tab the array is txtbox0(0),txtbox0(1),txtbox0(2),txtbox0(3)... Similarly in the second tab, ihave six text boxes named as txtbox1(0),txtbox1(1),txtbox1(2),txtbox1(3)..... Each of this tab shows one table of my … Software Development visual-basic | |
[CODE]// #include <iostream> using namespace std; #include <cmath> #include <math.h> int main() { float a, b, c, t, s, area; cout << "Enter the lengths of your triangle's sides: "; cin >> a >> b >> c; if(a>b) {t=a; a=b; b=t;}; if(b>c) {t=b; b=c; c=t;}; if(a>b) {t=a; a=b; b=t;}; if((c*c) … | |
Hi all, I've got a certain instance in my program where an integer variable, let's call it 'x', is initialised in one part of a class, however the value is not present when the integer is called in another class. To explain further, I've got 2 classes - 'class1' and … Software Development java | |
Dear Experts, I am working on a project for Cyber Cafe on VB.Net. I am unable to give the facility for storing how much data downloaded and uploaded during net surfing on a particular computer. Software Development vb.net | |
I need to create a bank account class which consists of deposit and withdraw methods. I need to have classes that inherit from superclass, a current account and savings account and a test/driver class that calls all methods and operates the system? something like: public abstract class BankAccount { private … Software Development java | |
Hi This is Singleton class program, please let me know any changes required in this code............... #include <iostream> using namespace std; class Singleton { private: static bool instanceFlag; static Singleton *single; Singleton() { //private constructor } public: static Singleton* getInstance(); void method(); ~Singleton() { instanceFlag = false; } }; bool … Software Development c++ | |
Hi, I need to do a file read and extract all the numbers in the text file to be used in my java program. However, I'm having some problem with the try and catch statement. Must the try and catch statement be in the main loop only? Can't I used … Software Development java | |
Hi there, I am trying to find the max and min value in a an array of size 100, but the input is stopped when there is a 0 entered, and it too gets added to the array. The code below works good, EXCEPT it's min value is always -2, … Software Development c | |
hello, i am a beginner to visual studio. i want to know how can i use pthread in visual studio 2008. am i supposed to download the dll? if yes, then after downloading how can i use that dll in my project. please help. Karishma. Software Development c++ visual-studio | |
I have a 18kb 1024 x768 jpeg image that is set as background image of my form. The problem is the form now lags like crazy. How can I eliminate the lag? | |
I am trying to define a 2D array of 1000 by 1000 ints and then test which transversal method is faster (row major or column major). I have this written [CODE] #include <stdio.h> #include <time.h> int main() { clock_t start, end; double elapsed; start=clock(); int array[1000][1000]; int row, col; for(row=0; … Software Development c | |
hi guys, i am not able to declare the array dynamically in c will you help me out thanks Software Development c | |
*EDIT-I know strtok doesn't actually 'return' a segfault-I realize after submitting topic that is poor wording. Hello, I am having a problem with the C function strtok, as follows: [code=c] void function_name (char * cmd) /* Gathered from another function using readline. Assume 'ls -l' in this example */ { … Software Development c | |
Hi, I'm trying to learn OOP, and I've run into a problem. I am supposed to have the user create a user name, and then I'm supposed to import a list of movies for the user to rate. I created a class called Movie. The function within is supposed to … | |
I need help...This is the class i am supposed to use... [CODE]#ifndef_MINESWEEPER_H #define_MINESWEEPER_H #include <iostream> #include <ctime> #include <cstdlib> using namespace std; const int SIZE = 3; class minesweeper { public: minesweeper(); minesweeper(int mines); void resetGame(); int flagCell(int x, int y); void unflagCell(int x, int y); int uncoverCell(int x, int … Software Development c++ | |
Hi everybody I defined an array pointer to hold a massive amount of data, (actually the RGB data of a screen with 1024*768 pixels). the data is assigned from another temporary array to the this array within a function that calculates the values of the temporary array and then assign … | |
i wan create a datatable complex like tis 1!any1 can teach me how to do it? The datatable consist 5 datacolumn(col1,col2,col3,col4 and col5) the data of row of col1,col3 and col5 is fix("A","Book","100") and tis same data will insert into 30 row (when the ds.Tables(0) got 30 row) the data … Software Development vb.net | |
I have a problem with my console program. I have a text file named "myRecord.txt" with the following contents: 101,Carlito Caballero,500.00 102,Tina Gamboa,560.34 103,Angel Caballero,750.55 104,Kyla Shane,850.32 105,Jogie Glen Mait,1000.00 If I run the program, the console should prompt the user to enter the id number (which is the set … Software Development c++ | |
[I]<<edit: [URL="http://www.daniweb.com/forums/post191005.html#post191005"]split from here[/URL]>>[/I] Hi. My i ask something?,,can you help me please to solve this Problem? How Can i call Full Record using strtok and strcmp in text file Please!!!! [CODE]101, Carlito Caballero, 500.00 102, tina gamboa, 560.34 103, angel caballero,750.55 104, kyla shane, 850.32[/CODE] Here's the code [CODE]#include … Software Development c++ | |
I'm working on a prototype program for my class assignment. I didn't wanna jump into it quite yet until I understood how functions worked so I decided to make this. It's going pretty well and now what I'm trying to do is make it so the program takes user input … Software Development c++ | |
Really stuck on this and its supposed to be easy. I'm supposed to input 2 positive nonzero integers into x and y. Then return the value of x times y. The book has an example of 7 * 4 = 4 + 4 + 4 + 4 + 4 + … Software Development python | |
Hello Members, My program consists of a JFrame, which opens a JDialog. At this point, the modal is "true" for the JFrame when the JDialog is opened. What I want is the following: Once the interaction with the JDialog is complete, the modal for the JFrame should be turned off … Software Development java | |
Hey guys, I'm working on my first GUI assignment and I wanted to make sure I have the layouts finished and such before I move on to the coding for the calculations and such. Here's the instructions: (4 classes) [B]CreatePanel[/B] CreatePanel extends JPanel defined in the javax.swing package. It should … Software Development gui java java-swing | |
hi, I have problem with my application. when i run the application it gives an error "there is no source code available for the current location". It doesnt read any of the msgbox i put in all forms.I dont know what goes wrong with my application. Please help. Its very … Software Development vb.net | |
I am mostly familiar with C++. :?: Please help. Question is below : Write a program to discover how many numbers between 1 and 40 can be expressed as the sum of 4 positive squares (e.g. 15 = 12 + 12 + 22 + 32). Software Development c++ | |
hello everybody hi im a student of SGRRITS (my institute) in my inst we have turbo c++. is it a good platform for doing programming now a days and does any industry us it now a days. no.2: please can you suggest me its substitute which are better than it. … Software Development c++ | |
hello........ I m studying MCA 1st year.... I want to do pure C mini projects...... I need a list of Projects on C platform........ So anybody help me please............ Software Development c | |
dear i am in trouble i am having a datagrid view where the name of Dgview and textbox name is textbox1 i want to search data according to textbox i want to write a code in events textbox1_keypress whenever you write a word L in textbox so the dgview row … Software Development vb.net visual-studio | |
Hi all, Having another problem with a program. I thought i had this one pretty good, i was confident about it, but no luck. The problem was with initializing a variable, i try to add in to output what the variable is and it says it needs to might not … Software Development java java-swing | |
![]() | Hi, I'm having a small problem with the program that I'm doing. Here is the instructions for it: Write a program named ConvertDate that converts a date entered by the user into another form. The user’s input will have the form month day, year The month will be one of … Software Development java ![]() |
Hey guys, I've constructed this program and I have this error that I don't understand. What I'm trying to do is have a user type in a positive number and then it counts up to that number. If the number is divisible by 3 or by 5, it prints Beep … Software Development java | |
Is it possible to password protect a dll at compiletime. Please excuse my noobness, but let me explain what I mean. You app an runtine makes a lot of calls to a function in a library so it opens it and keeps it open for the duration your app is … Software Development c++ | |
I wrote a small hello world type of character device driver. When I type echo -n "abcdef" > /dev/bond and do a cat /dev/bond then only last "f" of above input abcdef is displayed rest nothing is displayed. I have experimented many things but I am unable to catch the … Software Development bsd c data-structure linux-kernel | |
Hello I'm looking to extract jpeg image data from a mjpeg stream, but I'm not sure how to do this in c++ . The code snippet below does the job of connecting to the remote ip camera server & receives the mjpeg stream via tempBuffer variable. [CODE] // Loop and … Software Development c++ file-stream | |
can I use fopen,and fwrite with ShellExecute? to take file in buffer,drop it in directory and run it with ShellExecute I did this way but I just get cmd window and file is corupted do I have to use some API to take file in buffer? | |
How can i make a program that will accept a series of inputs named as inserts and arrange them in the form of binary search trees. Do you have any source codes what I can use as reference? Your help is very much appreciated! Thanks for the reply Software Development java | |
Hi everyone, I'm just wondering in Java, if there was a way to just check once for a number in an array? [CODE]for (int i = 0; i < array.length; i++) { if (array[i]>0){ count++; } } [/CODE] This code will check for all positive numbers. Is there a way … Software Development java | |
I've taken a course in c# and started practicing by getting questions from books or sites to be good at programming but I think I'm not getting to the right track and I want to be professional in c# language so what is your advice to me ?? thank you … Software Development | |
2 things that i dont understand: [CODE]class BTree{ private Node head; public void add(int info){ Node node=new Node(info); if(head==null){ head=node; return; } Node current=head; while (true) { // what does this mean? where is the true value derived from? if(info<current.info){// to what number does the current.info refers to? if (current.left==null) … | |
i wan create a datatable complex like tis 1!any1 can teach me how to do it? The datatable consist 5 datacolumn(col1,col2,col3,col4 and col5) the data of row of col1,col3 and col5 is fix("A","Book","100") and tis same data will insert into 30 row (when the ds.Tables(0) got 30 row) the data … Software Development vb.net | |
Hi: I'm new to this forum. First, a little about me. I'm an advanced beginner/hobbyist (oxymoron?) who has managed to learn VB by downloading, studying books and writing programs in the Express editions of VB2005 and, more recently, VB2008. Moreover I have learned to use MS SQLSever express editions as … Software Development user-interface vb.net | |
How to make a program in python to do this? 20% of the score comes from the average of 8 Quizzes (each has maximum of 10 points) 20% of the score comes from the average of 2 exams (each has maximum of 100 points) 40% of the score comes from … Software Development python | |
hi, i want to connect to a site and use data in it, like a program that connects to [url]www.imdb.com[/url], search for a movie and returns information, i want to do that with [url]www.cheatserver.com[/url], or [url]www.cheathappens.com[/url] i want to write a game name in a textbox, and when i press … | |
So I'm making a smiley face. It' compiles just fine, and at the run time it says "process completed" but the applet doesn't pop up. I have absolutely no idea what's going on!! Here is the error message: java.lang.NoSuchMethodError: main Exception in thread "main" Process completed. Here is the beginning … Software Development java | |
guys i am having some trouble here, please help me. I need it badly. What happens is when i ckick on the log in button, the button must first verify the date, then the password and username, if the date doesnt exist on the user's database, he should be logged … Software Development visual-basic | |
[CODE]#include <iostream> #include <conio.h> using namespace std; main() { int a,b; b=50; cout<<"enter a value less than 50: "; cin>>a; do { cout<<"A number: "<<a<<endl; a++; Sleep(100); } while (a<=b); getch(); return 0; } [/CODE] Software Development c++ | |
Is there a way to sort an empty list of strings as you add more values to the list? I cannot find a decent example of this anywhere and struggling with this. The insertion sort seemed like the logical plan, but I cannot for the life of me find anything … Software Development python |
The End.