132,726 Archived Topics
Remove Filter ![]() | |
Grocery Point of sale system... -advises only, thanks! So here it is: 1. The system should have an ability to store up to 100 records. 2. Provide the following POS Application: a. Scan Buyer's Items-i'm not really sure about this one..is this where i'l input the barcodes of the //items … Software Development c++ | |
Hi there, I know this is probably a really stupid question, but I'm new to MIPS programming, and I was wondering, do you know if there's anything wrong with this code? This definitely isn't like high-level programming when the compiler shows you where the syntax error is. Not even sure … Software Development assembly | |
hi everyone...i have been searching for days on creating a dll files using dev c++... actually i know how to create the dll files but i dont know how to use it...u got what i mean right?? ^^, please2....anyone help me...i really want the tutorial..i would like to create a … Software Development c++ | |
hi, how can i check for a word that has noncharaters in it, as like sdf4df, 4rtrt, 909erter, appreciate a reply, thanks Software Development | |
![]() | Hi there, im relatively new to python and i just can't figure out parameters... Any help with this code? def main(): getInputs() answer = calculateWork() print (answer) def getInputs(a,b): num1 = int(input("Please enter your first number: ")) num2 = int(input("Please enter your second number ")) return num1,num2 def calculateWork(): return … Software Development python |
I'm trying to compile a program where i am using the libraries studio.h, math.h and conio.h when I try to use the gcc comand it says that conio.h " not such file or directory" Software Development c | |
Hi, I have a discrete event simulator for m/m/1 queue. How can I have a program based on priority queue using M/M/1 model. PLEASE help me to have an idea about priorities and thier implementations | |
this is a code from the book "the C programming language" by dennis ritchie, but for some reason its not working! #include <stdio.h> #define IN 1 /* inside a word */ #define OUT 0 /* outside a word */ /* count lines, words, and characters in input */ main() { … Software Development c | |
Hi. I am doing this program checking & comparing the speed of cache of two loops below, and I keep getting error "Automatic allocation exceeds 2G". I am trying to use dynamic array to make this work. Can anyone help me using Dynamic array? I am little lost on that. … Software Development c++ | |
Hi, I don't get the meaning of this question: change B and C inheritance to public and protected respectively This are the classes and their inheritances that I have: class A { public: int a; A(); //default constructor A(int, int, int); //another constructor ~A(); //destructor void printA(); //printA protected: int … Software Development c++ | |
To All Pythonist.. I have small SQLITE db.. for User Table 'SELECT loginUser from User'; sql = cursor.fetchall() listSQL = sql[:] for x in listSQL: print x listSQL SELECT Data Produce: (u'user1',) (u'user2',) (u'user3',) I want to match the list of user with a string input: example if the value … | |
An employee is paid at a rate of $20.75 per hour for regular hours worked in a week. Regular hours are up to and including 40 hours per week. Any hours in a week worked over regular hours are paid at the overtime rate of time and a half (i.e. … Software Development python | |
Hi everyone I'm stuck on a school project. The Following is the prompt: > Write an assembly language program that prompts the user to enter a string to be interpreted as an 8-digit hexadecimal number. Your program must convert the ASCII string representation of this hexadecimal number into a 32-bit … Software Development assembly | |
hi can someone please help me in updating one column in a table but you will be using three values from a textbox.. it was like this. tablebook column in tablebook is quantity i need to update a book quantity using the value from textbox1. but wat if i have … Software Development vb.net | |
How can I figure out where words intersect in the following? AAAA#BBBB .#.##C##H .#.##D##I .#...E.#J ##.##F##K ###..G..L '#' represents the black spots in a crossword where you cannot fill in. '.' represents the spots with missing letters that need to be filled in. I've read the puzzle into a vector<string> … | |
I have 29 text files as follows File 1 12313 : 23546 12313 23214 32465 File 2 13132 : 23546 12323 32125 32125 32121 . . . I would like to have python script which computes intersection between these files ideal result as follow 12313 : 23546 13132 : 23546 Software Development python | |
I'm having a little difficulty, trying to transition from c++ to objective-c. I tried to write a fairly simple Fibbonacci sequence computer, which I usually write to familiarize myself with new languages. Unfortunately, it doesn't work. I keep getting errors related to either comparison between an int and a pointer, … Software Development objective-c | |
Hello Everyone. I'm working on a Calculator for a game. So i decided to try to code the calculator to be as user friendly as possible. What i need help with is the following; Changing the effects of another form dependent on the button i click on my mainform. Example; … Software Development | |
Hi, I'm new to junit. I want to create test cases for if condition,loops. do we have any guidelines to write test cases for if conditions.Can any1 explain with an example. Thanks in advance. Lavanya Software Development java | |
Hello Im using org.apache.commons.net's FTP object to make FTP transfers. The problem is that when the IP is down (example, the PC is turned off) a exception saying "No route to host" pops up and not only delays my program but gives a nasty error. How can I avoid this? … | |
Hey, new to java, but trying to build a text-based adventure game similar in gameplay style to the original Zork series. http://pot.home.xs4all.nl/infocom/zork1.html This is not homework. It started as a way to practice what i've learned, but now I am determined to make this work with the simplest code possible. … | |
So I'm parsing a CSV and trying to create a new object from each record. Using BufferedReader != null runs thru the file just fine. Now I use string.split method to put each line into an array. Ideas on how to use the values in the array to create the … Software Development java | |
public void inOrderTraversal(TreeNode node) { if(node == null) { return; } inOrderTraversal(node.getLeft()); System.out.print(node.getKey() + " "); inOrderTraversal(node.getRight()); } I wrote this code for going through a binary search tree and printing out the items in order from low to high. it works just fine but i need to get it … Software Development data-structure java programming-construct seo | |
I am having trouble figuring out how to handle events for components that are created when I click a button. I have a class called rows which is used to create a row of components (combo boxes) . I have a button on my form that has an event to … Software Development | |
Hi there, newbie to python and in need of help for an assignment. I have to write a Python program that prompts the user to input the before-tax price of an item and the payment from the customer. It should then perform two tasks. First, compute and display the after-tax … Software Development python | |
Private Sub Cmd_Print_Click() 'On Error GoTo Error_Handler If newflag <> 0 Then MsgBox "Inserting New Record Mode, Press EXIT Button To Return To Normal Mode", vbCritical, "Attention" Exit Sub End If If RepNo.Text = "" Then Exit Sub Dim Report As New rstoreinmaterial Report.RecordSelectionFormula = "{DetailsStore_InOut_Material.RepNo}= " & Val(RepNo.Text) & … Software Development visual-basic | |
hey guys i need help for adding values of two or more fiels using ms access, adodc, and datagrid in vb6.0 . example of these is book quantity field with book title field with different titles. i need help ASAP for my library system project. help me please. help for … Software Development visual-basic | |
I downloaded Python 3.2.3 from the python.org web site. However, when I click to launch the python command line the initial message from windows is as follows: "Please waite while windows configures python 3.2.3. Using this link Python 3.2.3 Windows x86 MSI Installer (Windows binary -- does not include source) … Software Development operating-system python windows-vista | |
I have never used a background worker in vb.net, but from what I have read, I think it will help resolve an issue I am having during runtime. I am executing an sql statement, but it takes a bit to process. I think a background worker could help with this … Software Development html-css open-source storage vb.net | |
Good Day i just wanted to ask what does (x1, y1, x2, y2) in g.drawLine in creating a line in java applet.. thanks in advance Software Development java | |
alignas (since C++11) alignof (since C++11) and and_eq asm auto(1) bitand bitor bool break case catch char char16_t(since C++11) char32_t(since C++11) class compl const constexpr(since C++11) const_cast continue decltype(since C++11) default(1) delete(1) do double dynamic_cast else enum explicit export extern false float for friend goto if inline int long mutable … | |
#include<stdio.h> #include<conio.h> main() { int a[5],priority[5],adj[5][5]={0},i,j,k; a[0]=3; a[1]=4; a[2]=5; a[3]=7; a[4]=10; adj[0][1]=1; adj[0][2]=1; adj[0][3]=1; adj[1][0]=1; adj[2][0]=1; adj[2][4]=1; adj[3][0]=1; adj[4][2]=1; /* the ads[4][4] represents the linking edges adj[4][4]= 0 1 1 1 0 1 0 0 0 1 1 0 0 0 0 1 0 0 0 0 0 0 1 … Software Development c | |
Is method B any faster than method A below? I have legacy code written with method A and I need to know if there would be a performance increase if I modified it to use method B or is it just semantics? **Method A (Using pointer)** for(vector<TriggerAlgorithm*>::iterator it = _pTrigs.begin(); … Software Development c++ | |
Hi everyone i'm using vb 2008 for this project and i'm still not so familiar with it so please help me... I'm trying to display image from MS Access database to another form picturebox but its not working. this is the error i always encounter -> (System.ArgumentException was unhandled Message: … | |
Hello. I am having a tough time understanding the concept of double linked list. For now, i understand double linked list has 2 links, one forward and another one previous. data is in the middle. when inserting must check where to insert. if previous is equal to null, then can … Software Development c linked-list programming-construct | |
so i decided to try sfml, and i used the sample from the website to see if its working. heres the code //////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// #include <SFML/Window.hpp> //////////////////////////////////////////////////////////// /// Entry point of application /// /// \return Application exit code /// //////////////////////////////////////////////////////////// int main() { // Create the main window … Software Development c++ | |
[CODE]public class MinDif { public static void main(String[] args) { EasyReader keyboard = new EasyReader(); EasyWriter screen = new EasyWriter(); //Create an array to the length of the specified entry int numItems=keyboard.readInt("Enter the length of the array: "); String[] myArray = new String[numItems]; // Read in the contents of the … Software Development java | |
can anyone convert this code to GUI?? I really don't know where to put the GUI codes in it.. :( please help.. :( import java.util.Scanner; //main class public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print("Enter the size of the array: "); int … | |
Write an application that prints a summary report for a poultry farm. The farm has seven (7) chicken coups each numbered 1 to 7. When a farmer collects eggs each morning and evening, he records the coup number and the number of eggs collected from the coup. The data for … Software Development c++ | |
Hello all nice coders :) i have a question about a function i have that uses an class as input. hmm prob easier to explain after i show some code! class customer { public string number, name, phone; public void newcustomer(customer custom) { //write to a database //using the strings … Software Development | |
HI, I want to implemtna a file & filter architecture for reading data from a txt file and then removing the non alpahbatical words in it and display the 20 words in alphabatical order in the Consol window. how do i do it. appreciate a reply, thanks Software Development c# | |
how do i link ms access 2007 with microsoft visual basic 6.0 Software Development microsoft microsoft-access visual-basic | |
can c connect with database like mysql,access or sql server ? | |
Hello, I am struggling to find out what im doing wrong in this code. I am new to programming and i am stuck. Ive altered my original code after finding great help online but i am stuck...again. any help will be greatly appreciated. public class CreateDelivery { public static void … Software Development java | |
What are the constraints on the argument values of these two methods, and explain what the method does. int power( int base, int exponent) { if (exponent == 0) return 1; else return (base * power(base, exponent -1)); } int factorial (int n) { if (n > 0) return (n … Software Development java | |
Hi All, I am implementing a recursive registry delete using RegOpenKeyEx, RegDeleteKey and RegEnumKey. **Problem::** Though the code works perfectly fine for Vista x86/x64 and Win 7 x86/x64 but fails on XP for some keys in HKCR **Problem Area::** HKCR\Installer\SomeKey **Error Code::** 87 (INVALID_PARAMETER) **Weird Behaviour::** Deletes the key the … | |
if i divide a float value from 0 then i get output:- infinity and then throws NumberFormatException why can anybody favour me. Software Development java | |
Hi, How to do the custom FindBugs in Eclipse. I want to catch the specific bus from code Software Development java | |
i have a table employee. it has various attributes.(e_id,e_name,e_addr..) i have a data grid that displays all d values of employee..i need to now select multiple rows from the datagrid of employee such that only e_id gets inserted into another table. is there an sql or vb code that can … Software Development vb.net visual-basic |
The End.