132,726 Archived Topics
Remove Filter ![]() | |
i am a beginner, how to authenticate username and password to the database i hope i'll be responded soon Software Development vb.net | |
Hi , i wrote this program i am having problem its giving me error whenever i hit case 1 can any1 give me a suggestion what i am doing wrong [CODE] #include <iostream> using namespace std; #include <string> int main() { int y; int x; int ur_choice = 0; int … Software Development c++ | |
The below program works fine, but I want to add data exception using try and catch, can anyone please help how and form where I can start it? [CODE]import java.util.Scanner; public class ElseElseIf { public static void main(String[] args) { int number1,number2,number3,number4,number5; int largest, smallest; int twoDigitNumbers = 0; int … Software Development java | |
I have a an inherited form that has a panel control on it. I want to paste other controls onto this panel but the paste option is grayed out and won't let me do it. I made sure that the template form did not lock the panel. I'm stymied from … Software Development vb.net | |
Hello everyone, I've been coding small demos to improve my programming skills, and I've run into a problem getting indices of list items which I have been unable to figure out. I'm using C# 4.0, and Visual Studio Express 2010. I've tried to use the IndexOf(T) method, but intellisense doesn't … Software Development user-interface visual-basic visual-studio | |
I'm quite new to .net so would appreciate your help. My project is nearing completion and I would like to save my work prior to making changes each day, should something go wrong. Eventually I would like to end up with a series of archived projects so that I could … Software Development vb.net | |
Hi everyone, Well, First of all m glad to join a community of all master minds. My question is : I have a datagridview and each time i enter values in database the values are not reflected in the datagrid untill i load the form again. I want a method … Software Development microsoft-access vb.net | |
Hi everyone. I've been fighting with a piece of incomplete code for a while now, and it's really frustrating... particularly because it's due tomorrow. Anyways, when I try to compile my project it's spitting out linker errors at me: [Linker error] undefined reference to `clearBoard(int, char)' [Linker error] undefined reference … Software Development c++ | |
Hi everyone, I need to use python to read some data in my csv file, but the file I have contains 15 rows of introduction in front. all the data I need is from the row 16. I am able to read the data as the way I want it … Software Development python | |
Hi newbie there,this is code for chess game(just started) ,i want to convert the input in characters to integers via getMove function i have tried to made but its not working.. output is "invalid input" every time [CODE]#include <iostream> using namespace std; void printBoard(char board[][8],int row,int col); void getMove(int arr[],char … Software Development c++ | |
Do you have any ideas of how to bring Swing to a web site? Not use applet, but Swing only. Any sample code is appreciated. MyDreamGirl Software Development java java-swing | |
Hi there I'm not to sure if this should go here or in games development so please move it if required. I'm trying to make a basic function that allows my character to jump. The basic idea is to check if the character height is equal to that of the … Software Development c++ | |
Hi there, So I'm given a programming problem for a class, and here's what's given: An n x n game board is populated with integers, one nonnegative integer per square. The goal is to travel along any legitimate path from the upper left corner to the lower right corner of … Software Development java ![]() | |
Hi, I have to create an executable to put in windows task bar to read foxpro dbf file and update mysql table in the web server by checking new records in the dbf file comparing the unique key in both table whenever the internet connection is available in the desktop … Software Development mysql visual-basic web-server ![]() | |
Hey everyone, I am in the midst of creating a very basic auction site using C#. Only been learning the language for 3 months so still very much getting used to it and finding out new things everyday. I am using a local database to store my data and want … Software Development | |
Hello, I am trying to invoke a method that sits in an object that is in a different namespace than the namespace that is doing the call. My problem is that the called object name is not known by the caller. I have prepared two examples that show what my … Software Development | |
Hi All, I want to search specific range of rows in datagridview. I want to search the entire third row of my datagridview. How can I do that? Here's my current code: [CODE]Private Sub cmdSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSearch.Click For Each row As DataGridViewRow In … Software Development vb.net | |
I instantiate a class called Company where I have a lot of the logic of my system, I'm unsure about what visibility the following objects should have.... [CODE] public class Company { private Scanner input = new Scanner(System.in); private Employee[] employee = new Employee[100]; private Job[] job = new Job[100]; … Software Development java | |
Hi, all - I'm relatively new to iterators, and to template functions, so I suppose it was inevitable that the first time I tried to combine them, I'd run into a problem. Here's the function: [CODE]template <class T> int getVectort(ifstream & s, long nbrCells, typename vector<T>::iterator iter) { int rc … Software Development c++ programming-construct | |
I have been asked to create a method to merge two LinkedList. I am allowed to use only the following methods: From LinkedList: > addLast(E); > size(); From ListIterator: > E next(); > boolean hasNext(); > E previous(); > void remove(); The first list (list1) points to 2,6,7 The second … Software Development java | |
Hi, I created this student calculator code but in MASM32 it keeps giving me errors. I've modified it about 10 times but it's still wrong. Could anybody help me? [CODE].data ;the terminators NULL EQU 00H CR EQU 0DH LF EQU 0AH ;number of test scores allowed MAXSCORES EQU 5 ; … Software Development assembly | |
Hey guys, not sure what thread to put this in, please direct me to the correct one if this one isn't it. I'm struggling with a sub report in iReports. I have a report that selects from a MSSQL database, and uses a sub report to do a select from … | |
I'm having trouble writing binary data out to a file. My end goal is to add a chunk to a PNG file; which has a format of: length (4 bytes), type (4 bytes), data (lots of bytes), crc32 (4 bytes). Collecting each of these pieces is not a problem, but … Software Development python | |
Hi, Im new to java im trying to study sorting methods specifically bubble sorting i found this code online but couldn't understand what it means. can someone kindly comment the codes so I can uderstand it well. TIA here's the code [CODE] public static void sort( int a[], int n … Software Development java | |
I was asked to write a program, based on parent-child cooperation, which uses a “parallel” merge sort to a sequence of 800 numbers from a text file.I have to read the sequence of 800 integers, which I store in an array, and then pass half of them to a child, … Software Development c file-system multithreading programming-construct | |
Hi all, [CODE]import java.io.*; import java.util.*; class MapDemo{ public static void main(String args[]){ Map<Integer, Object[]> tMap = new TreeMap<Integer, Object[]>(); Object[] values = new String[] {"Tree", "Map"}; tMap.put(1, values); System.out.println("Keys of tree map: " + tMap.keySet()); System.out.println("Values of tree map: " + Arrays.deepToString(tMap.values().toArray())); } }[/CODE] The above code works good … Software Development java | |
Hi everyone! I am trying to understand tolower function... I don't get the locale variable to be honest and I would also like to know what I have to do so as to save the lower case string to another string and not just print it! That's my code... [CODE]#include … Software Development c++ | |
This is a class for a bigger project. I programmed it sepratly so that i know it will work when i include it in the project. This is a Palindrome project. SO i want to know if the a word is a palindrome or not. I get the program to … Software Development java | |
![]() | I'm trying to write a procedure to write a string directly to the video memory. It expects the address of the string to be in SI, the length of the string in AH and the offset in video memory to be in AL. The code correctly handles the length of … |
Hi Im currently a student trying to figure out how to search a 2D Array in C#. The program that Im trying to make is an Address Book. Basically I want to search the array for a keyword such as "First Name", I then want to be able to print … | |
Hi there, I wrote this client/server code but i can't make it work. and every time i try to debug the code the program goes in an infinite loop when executing the receive function. This is the client code [CODE]package client; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import … Software Development client-server java | |
hello guys how properly push,pop,display a char array into another char array, when come to int i can do but in char array its to hard to analyze.. pls guy need some help. thnx in advance Software Development c | |
Hello everyone. I am to program a simple shell in C for my project. So far my shell can execute simple commands and now I want to implement enviroment variables. I looked up on how to use the getenv, setenv, putenv. So far so good i've tried to use the … Software Development c shell-scripting | |
Hey Guys.. I am going to make a program that can ask for age, an then verify if the persons age is old enough.. The age limit has to be 18 years old, so the program asks for age, and then it will let person pass the age verification pass.. … Software Development | |
Need some guidance with this program. Never had experience with sentinels so I'm not sure where to start to calculate the multiple grade inputs. [B]Requirements:[/B] [LIST] [*]Sentinel needs to be used to indicate when there are no more students to process [*]Will read data about a student one at a … Software Development c++ mathematics | |
Hello. I need help in completing my c++ assignment. Below are the question details: [COLOR="red"]Develop a simple Paper-Scissors-Rock program. Make it a single player game where the player plays with the computer. The party that accumulatively wins 3 times first will win the game. Option: Your program may include a … Software Development c++ | |
I've been stuck on this for hours because I really don't understand file descriptors and how successfully print a file to one. Basically, I want to be able to open a file and then echo its contents a character at a time to a socket file descriptor. The code below … Software Development c file-system | |
I need help making a vector to shuffle the deck of cards randomly as well as picking a card from the top of the deck, then discard a card back into the deck. The program should then reshuffle after cards have been discarded back into the deck. [CODE]#include <iostream> using … Software Development c++ | |
On my development board, I am trying to make 8 LEDs (0 - 7) blink one by one. Here, is my code. What do I need to change to get my desired output, Please help. [CODE]int main (void) { int a,b; DDRC = 0xFF; PORTC = 0xFF; num = PORTC; … Software Development c | |
Hi everybody. I have a simple problem. Need send the c++ output to excel(csv->xls or xls direct) in formated data. I can send the data to excel, but i can´t format that like this: |_ col 1__|___col 2___|___col n____| row 1......|....2row 1 row 2......|....2row 2 row 3......|... 2row n What … Software Development c++ microsoft-office | |
hi I'm trying to make a help menu which open a new form when it's clicked but I don't how to link them together , so anyone can tell me what function call I should use?? I've tried Application.Run but i get errors. Software Development | |
Hi everyone, i just want to ask you help and solicit you ideas in java because i'm a beginner in Java. I have a project that some what like POS (point of sale). But may problem is i have no idea how to to. The problem is, I made a … Software Development java java-netbeans | |
![]() | Hello people, I have a 2 dimensional array of integers where 0 indicates a road and 1 indicates a wall: can you give me a general idea on how to draw a maze according ot my matrix on JFrame window that has JPanel as its contente pane ? Thank you … Software Development java java-swing |
This is a frighteningly subtle bug I first learned about in C (Andrew Koenig's ``C Traps and Pitfalls''), but it's still with us in Java, and I assume C++ as well... The following method looks like it should always return the absolute value of n, but every once in a … Software Development daniweb-bug java | |
Problem 1: Magic Squares: An n x n array, that is filled with integers 1, 2, 3, …,n2 is a magic square if the sum of the elements in each row, in each column, and in the two diagonals is the same value and each value in the array is … Software Development c++ ![]() | |
Hello, this is my first post. I have this homework assignment, and it is completed and it works! my question is just if anyone has any suggestions to clean it up or make it more efficient? I have two seperate files GuessTheNumber.java which is: [CODE]// GuessTheNumber.java //Written by Sean Kelley … Software Development java | |
if i hav to input time of clock as formatted style(HH:MM:SEC) using cin how can i write its code???? a question from @robert lafore(sams publication) . hope to get a best answer soon :) Software Development c++ | |
Dear Friends Can you help me to convert the following code from c into c++ and save the file as file.cpp. I would do that in order to use cout instead of fprint and for another reasons. [CODE]#include <stdio.h> #include <math.h> #define pi 3.141593 #define F(x) ((*f)(x)) #define sqr(x) ((x)*(x)) … Software Development c++ | |
I want to write a function to accept a single string that represent a credit card number as parameter and validates it with the format 9999 9999 9999 where 9 is any digit and each quadruplet is separated with a single space. Software Development java | |
hi there, im very new to programming and i have trouble coding a application that prompts the user for s series of first names and then display the number of names entered and then the name with the most characters in uppercase letters. the application output should look similar to … Software Development java |
The End.