132,726 Archived Topics
Remove Filter ![]() | |
Hey guys As many of you are well aware I creating an EPOS System I have a datagrid that stores details about all of the items which the user wishes to buy in the transaction. However if the user changes his mind I have a feature that cancels the row … Software Development vb.net | |
Hi, is there a method check the number of records in data reader? like the count of rows. ? Software Development vb.net | |
Hi!! I am working on a POS system, and i have a problem with the project's publication. The system must be installed on over 30 branch, so i need the make a publishing that every time anyone in any branch run the application it get update with the newest version … Software Development publishing vb.net | |
I'm creating a simple platform scroller using C++ and the Allegro library, and also .fmp maps created using the tile-based editor Mappy. I have two maps created, which will serve as my two levels. Once the first map is run through, I want to switch to the second map. What's … Software Development c++ | |
I want to make banking system which calculates all information about bank either there is Account manegment system or any other...plzzz tel me some tricks to make this program by using simple java Software Development java | |
Employee.h [code]// Base class. #ifndef EMPLOYEE_H #define EMPLOYEE_H #include "stdafx.h" #include <cstring> // Constant for the name's default size const int DEFAULT_SIZE = 51; class Employee { private: char *name; // The name double empNum; // The employee number int hireDate; // Number of hire date on hand // Private … Software Development c++ | |
I'm working on the following assignment and could use some help: A teacher has five students who have taken four tests.The teacher uses the following grading scale to assign a letter grade to a student, based on the average of his or her four test scores: Test Score Letter Grade … Software Development java java-swing | |
[CODE]#include <stdio.h> #include <stdlib.h> typedef struct { int finalMark; /* Ï ãåíéêüò âáèìüò ãéá çï ìÜèçìá */ }StudentType; struct var { StudentType *aStudent; char onomaa[20]; char eponimoa[20]; }; typedef struct var newtype; newtype a; main() { int bathmos; char onoma[20]; scanf("%s",&onoma); strcpy(a.onomaa,onoma); printf("%s",a.onomaa); system("pause"); scanf("%d",bathmos); strcpy(a.aStudent->finalMark,bathmos); printf("%d",a.aStudent->finalMark); system("pause"); }[/CODE] this … Software Development c | |
I have to write a program where the producer gets the some number of inputs from the user and the consumer takes from the shared memory and prints their squares.In my program i have the shared memory size as 5. my program works perfectly in the area that producer and … Software Development c | |
I'm writing a program of Conway's Game of Life. I think I've figured out most of it but there something wrong with the rules I've set up [CODE=c]for(row=0;row<20;row++) { for(col=0;col<21;col++) { n=0; if (a[row][col]=='*') { if(a[row-1][col-1]=='*') { n++; } if(a[row-1][col]=='*') { n++; } if(a[row-1][col+1]=='*') { n++; } if(a[row][col-1]=='*') { n++; … Software Development c | |
Hi, I have 2 forms, Main & About. When the About form is showing it is TopMost, now I have added code so that when a LinkLabel is clicked on the About form, the About form closes:- [CODE] Form.ActiveForm.Close(); [/CODE] This works fine except that the Main form is now … Software Development | |
i ve gone through a link while dong google search to handle the dialog boxes prompts in web browser control..this is the link. [url]http://www.codeproject.com/KB/dialog/WindowInterceptor.aspx?display=Print[/url] and i ve tried like this, [CODE] namespace intercept { [DllImport("User32.dll")] public class WindowInterceptor { IntPtr hook_id = IntPtr.Zero; Win32.Functions.HookProc cbf; /// <summary> /// Delegate to … Software Development api web-browser | |
Hi, I'm supposed to create a program where I want to purchase tickets to a theater based on rows and columns of the seats. The program uses two-dimensional arrays and constructors, and is supposed to display somethine like this: "ASU Gammage Theater 1. View available seats 2. Request tickets 3. … | |
i have some gif image which i converted to .cursor file and trying o use in my winfrom like that [CODE] Cursor c ; public Form1() { InitializeComponent(); } private void button2_Click(object sender, EventArgs e) { c = new Cursor("cursors\\newcursor.cur"); panel1.Cursor = c; }[/CODE] but i getting error that cursor … Software Development file-stream | |
pls help me Write a VB program to capture and view the following student’s records: Matno, StudentName, Dept, Program &Level. Use MS Access or any other database. Note: Divide yourselves into groups Software Development visual-basic | |
Ok, I have a code that I only want to use for the first form1 load, so that means never use it agian. So how do I use a code once then never use it again? Software Development | |
Hi all, I have a question about moving through the elements in a web browser via C#. I currently am trying to get a checkbox to become unchecked using the HtmlElementsCollection... I have so far been able to implement putting text into a message box that is on a webpage, … Software Development html-css web-browser | |
Hi everybody, I'm starting to work with C#, almost every doubt I've had, I've found it in forums or tutorials in Internet, but there is one that I don't. How can I check if a string value is a number? I have a function that returns a string and I … Software Development c# | |
Alright, so, I decided to write an IRC Bot in C++ to get used to socket programming. Everything went fine of course, but I have one bug: when the server sends me a PRIVMSG (a message sent by a user to the server, then comes to me) it prints a … Software Development c c# c++ client-server socket-programming | |
hi friends, i am doing visual c++ course , i got a image which captured from webcam, that image to be stored in 2d array can any one help me how to store that RGB image in to an array please. | |
Hi all, I am very much a beginner and I'm struggling just to pass this class..so go easy on me. I keep getting this 1 error and I cannot figure out why. I'm sure it's something simple but I'm at a dead-end here. This is the error I get, it … | |
Hello everyone, I am having some trouble getting replaceAll(); to work. I am trying to apply it to a String array that has 4 rows and writing the portion of the code as follows [CODE] for(int i = 0; i < 4; i++){ lines[i].replaceAll("this", "that"); } [/CODE] For one reason … Software Development java | |
I'm trying to do a program that gets the averages of positive and negative numbers in an array that consists of numbers I have to read from a file.txt. I'm having trouble in how to put the numbers in the file.txt into the array and I can't seem to understand … Software Development c++ | |
Hello people I have a small doubt in operator overloading I am trying to overload the assignment operator. Here is my code for that [CODE] class rational { int x; int y; public: //All the constructos rational operator= (rational num) { // Why do we need to return a reference … Software Development c++ | |
Hi everyone! This is my first post. I'm relatively new at c++, but not completely ignorant, so please bear with me. Anyway, I'm trying to create a game in a console application. However, I don't really know how to have multiple things happening at once. At this point, I want … Software Development c++ open-source | |
I have been working on a number of card games. Important, of course, is shuffling the deck. I have come up with a few different ways to do this. Currently I do not shuffle, but to deal a card, I lay out the deck in order, selecting a random number … Software Development linked-list vb.net | |
I didn't know where to put this but this seemed to be the best place. I took an internship this summer and found out that I will be doing embedded development in C/C++ and Linux for phones(land line voip stuff). This is bad for me since I have always been … Software Development c operating-system | |
Hi Everyone :-) I'm writing a small Python script that invokes the Linux shell and runs some BASH commands in it. My problem is, I can't seem to use the output and store it in a Python variable. Here's what i'm trying: [CODE] import subprocess value = subprocess.call("ls -la", shell=True) … Software Development python | |
How would I do something like this? I know that this will not work, I'm just using it to show what I need with help. When a user is suppose to enter a number, but instead enters a string or char, it gives him a cout message saying it doesn't … Software Development c++ | |
![]() | Howdy all. I had an assignment to build a subnet calculator that would take (and validate) an IP and CIDR input and return the net_id, broadcast_id, first and last assignable IP addresses, and the number of assignable IP address. Would anyone care to look at my code and offer criticism? … Software Development perl |
Hi all, How to access the value of WER from the following: [code] valuesfor1 = [('WER', 100)] valuesfor2= [('WER', 700)] [/code] My requirement is I need to compare WER from valuesfor1 with WER from valuesfor2. ie something like [code] if [('WER', 100)] < [('WER', 700)] : print "values for 2 … Software Development python | |
Hey guys I am having a problem writing to my text file. I notice when the data is written some of it comes out as gibberish. Take a look and let me know what I am doing wrong. Thank you. [CODE] #include <iostream> #include <string> #include <fstream> using std::cin; using … | |
I am trying to create a program that reads a data file and computes the water usage for each hour of the day, the average hourly usage for the day, and the time of the highest hourly usage. I already created the main program, and two other functions, along with … Software Development c | |
Is there a way to catch the text a user types, then do some function on it and then return it to the screen? input(text) -> function(text) -> output(text) I want to colourize certain words, so I want the function to find those words and then colorize them.. Software Development python | |
Hello. I would very much appreciate if someone would aid me with a hint. My problem is as follows : read two arrays of chars and merge them into a third array like so : ARR1 :123abc ARR2: rt678iogl ARR3:1r2t36a7b8ciogl The problem must be solved without pointers and string.h Basically … Software Development c | |
i am writing a program whereby i have written the instructions the shell of the program, and have written code for inputting values, but how do i collect all the information i have inputted. I am aware it involves arrays but can you help and point me in the right … Software Development c++ | |
Everytime btnSendClick is execute, 2 messages will be added to the rich edit. The first needs to be of fixed values (BOLD, size 8 etc) The second needs to be changable by the user using a FontDialog box. This is my below code, but it doesnt quite work, it pretty … | |
A square plate divided in 100 squares or nodes by a grid. the temperature of the nodes form a two-dimensional array T[i][j] .the temperature in all nodes at the edge of the plate is constrained to be 20*C by a cooling system, and the temperature and the temperature of the … Software Development c++ | |
Hi everyone: I'm having problems constructing a loop and I'd appreciate any advice. This is probably a simple problem, but I just can't make it work! This isn't homework! I'm an old fart and I'm new to C++. Here's what I want to do: take a vector and insert it … | |
[code]#include "stdio.h" #define ROW 4 #define COL 4 void input_matrix (int, int, int A[][4], int B[][4]); void add_matrix (int, int, int A[][4], int B[][4], int C[][4]); void loadidentity_matrix (int, int, int D[][4]); void main (void) { int A[ROW][COL]; int B[ROW][COL]; int C[ROW][COL]; int D[ROW][COL]; int i, j; input_matrix (ROW, COL, … Software Development c++ | |
Hi, I am loading images from the internet. I am using PictureBox1.imageLocation() but it takes a while to load the image. Is there a way i can load the images faster? it shows an error icon before it displays a picture...how can i get rid of that? Please help Software Development vb.net | |
Hi All, I really need help with this its driving me crazy, I am writing a noughts and crosses game and everything works but the checkwinner sub routine, so basically if someone gets three X's or O's in a row then a message box pops up saying either X has … Software Development vb.net | |
Hey folks, I am new on the forum and new to Python. I am making a news site and using python/django. My site will get all the news from the DB and fill up the template. As there is about 10 lines for the news and at some moment i … Software Development python python-django | |
Hello everyone, I am trying to make a simple web browser for my own benefit (not a school project). I have been looking through multiple videos on how to do so, and could only find 'simple' web browsers on almost every video for visual c++. Anyway, the videos work, but … Software Development c++ web-browser | |
Stupid request i know :S but i wrote this program so long ago and my C++ knowledge is so bad i need help remembering how it works :( ive completely forgot how linked lists work ive been working with javascript + java and amoung all my uni assignments my brain … Software Development c c# c++ linked-list | |
I keep getting these two errors. Timing.java:45: <identifier> expected Public void double squared(double n) ^ Timing.java:54: <identifier> expected Public void double exponential(double n) I can't for the life of me figure out what I am missing. I've been away from Java for about 2 years and I was never really … Software Development java | |
Anyone have any good links to tutorials for printing with C#? I need to mimic a form that we have. It's a rather complex form, so if you know of a tutorial that is better than just printing rows and columns of data would be greatly appreciative! Software Development c# | |
This code takes in a scrambled input word and gives out the unscrambled list of words. Eg... Input = time Output = mite, item, emit etc. I had posted an unscrambler in java sometime ago. This one is the improvement over the previous one. In the sense, the java unscrambler … Software Development python | |
Hi All, First of all Here is the question and what I have done so far. A) The helper method boolean isVowel (char c) should return true if the character it recieves is an uppercase or lowercase English vowel. For Our purposes, Vowels are the letters a, e, i, o, … Software Development java |
The End.