132,726 Archived Topics
Remove Filter ![]() | |
Hello, I am making a Banking System, and this is the code for main. import static java.lang.System.out; public class BankSystem { public static void main (String[] args) { new username(); Password.setPassword("1234567"); new Password(); } } However, the problem is that both the username frame and password frame appears together. How … Software Development java | |
hello i was trying to do one of my assignments but i got stuck at sorting my strut arrays elements by alphabetical order. here is the code that i have dose so far but after this even reading as much as i can, i can not get to go any … Software Development c | |
So my program is supposed to ask the user for a hex and decode the Mpeg for the Version, Layer Description, and sampling rate. So My problem is getting the smapling rate any suggestions? TITLE CS2650 Assembler Assignment #3 Template ; Student Name: Cody Squadroni ; Assignment Due Date: 11/25/2012 … Software Development assembly | |
Hello, I'm making a linked list and when i try to make a member function to return a new object i keep getting an error reading: "‘node’ does not name a type". I think im writing the function wrong, any help would great. #include <iostream> class list { private: class … Software Development c++ linked-list | |
Im getting errors that i don't understand how to fix, any help would be greatly appreciated! >C:\MinGW\bin\g++ -pedantic -Wall -Wextra A9COPY.cpp -o A9COPY.exe A9COPY.cpp:36: error: expected constructor, destructor, or type conversion before '*' token A9COPY.cpp:44: error: expected unqualified-id before "void" A9COPY.cpp:44: error: expected constructor, destructor, or type conversion before "void" … Software Development c++ linked-list seo | |
I'm calling a c++ project from c# , the process is like this , i enter some numbers in a textbox and when i push a button it calls a c++.exe program and run it with the numbers i've inserted in texbox ,after this return the result in another textbox. … | |
Hello great coders, I am writing a chess game in c# using windows forms and i need your help. I already wrote the code to get me the chess board but i need to populate the chess board with officials and this is where i got stuck. Here is my … Software Development | |
The following short program is obvious wrong (it's taken from the book "How Not To Program In C++" by Steve Oualline, p.15): int main() { // An array for the squares int array[5]; int i; // Index into the array for (i = 1; i <= 5; ++i) { array[i] … Software Development c++ | |
I have a code::blocks compiler and I try to use gotoxy(17, 13) but I get a link error " undefined reference to gotoxy" somebody please help me!! Software Development c++ | |
Ok, as my previous post on this topic stands, I need to make a C++ licensing system where I can Enter A New License code into the database as the software is created, But I need it to be able to be licensed through the internet, such as: The user … Software Development c++ | |
I am trying read CSV files in a C program on an AIX system. I am having problems getting fscanf to recognize the comma delimeter. I have read previous posts on this issue, and used the techniques dicussed in those threads, but I am still having the issue. Specifically, this … Software Development c | |
Is there any way of running and compiling with known errors in the code. Her is my reason. I am using a reference to word 2008 and word 2010, so as the program will work with both versions. Trouble is that if the computer I am using to test the … Software Development vb.net | |
Hello I am designing a bank account program to retouch on where I left C++ at and am having a few problems. I wish to have a unique account number for each bank account which is represented by an object e.g. account1, account2, account3. I am struggling to implement something … Software Development c++ | |
I am having trouble getting the codebehind to execute properly. I am new to c#.net, what I have is a web-based log in form that when the user enters their username and Id it will check against ms access to verify the username and password. I am getting this error … Software Development dataset html-css microsoft-access open-source | |
hhey sir i need some information about his topic urgently Software Development c++ | |
Hi, I have been working with some legacy code at work. There seems to be a common logic in storing an entire table in the database as an array. I have got no clue at all as to why this needs to be done. The recordet is open the entire … Software Development visual-basic | |
I am trying to convert a listbox to an array so i got this line var modarray = listBox1.Items.Cast<String>().ToArray(); but then i also need to use an int array so i tried the following int[] arr = modarray.Cast<int>().ToArray(); but i get an error that suggests that is not possible to … Software Development mathematics | |
hey guys i need some help on table values for example i have a table for books and it has two fields one is number of Copies and Number of Borrowed how do i subtract and add values to each fields for every single transaction on the same table? Software Development vb.net | |
Hi :) I'm writing a simple program where I need to create multiple lists when i start (from a file) and write them to the file when I quit. I've googled and found that the best way is to put all the lists into a tuple and then write that … Software Development python | |
Hi everyone, I was writing a program to show visually some vectors I was implementing with Java but I ran into an issue. My program has 3 classes, a driver, a Vector class and a VectorDisplay. The driver and vector class are self explanatory, but here is the code. Driver: … Software Development java java-swing | |
Can you give me some codes of how to make a Online Grading Enquiry System using visual basic. i need your help sir beacause this is uour project. hope can you help me Software Development vb.net visual-basic | |
I have two files which goes like this : FILE A is : J5 J15 J25 J30 J35 and FILE B is: J0 23 56 J5 24 58 J10 26 60 J15 29 63 J20 31 36 J25 23 32 J30 51 14 J35 34 21 J40 46 12 The … Software Development c file-system | |
Sorry I'm new here, so I might not be posting this correctly, tips for next time would be appreciated. I'm having a problem with my delete string script within my program, here's the code: //program to input a list of names, display them, sort them, and edit the list. #include … Software Development c++ | |
Hi I have trouble with implementing a dynamic two dimensional pointer array on allocating memory for it. I tried it this way but not sure if it's correct. The array should contain pointers to heap allocated **Integer** objects const int size = 10; Integer *** twoD; twoD = new Integer**(); … Software Development c++ motherboards-cpu-ram | |
I am currently working in a Statistics Calculator which should display mean, standard deviation, median and mode. I have the graphical interface  This one has a text box where you get to write the list and by clicking the button it stores the fist value and goes to … Software Development mathematics | |
In my project, I have two seperate forms and in one of them I can add various panels using a button. After adding let's say 5 panels I click on one of them and I need the code to tell me which panelI clicked on. The reason I need this … Software Development vb.net visual-basic | |
![]() | Hi I am the new in C# and I do some semestral project, I have done generating the entity data model, and I want to connect to the database from class by dbcontext using the ConnectionString. I have problem to bind a connection to these database. Can someone help me? … Software Development ![]() |
1.I Have one form with a textbox 2.In keyDown event While pressing F1 an another form opens. 3.In the second form,i have a richtextbox.I want to edit tat richtextbox and pass that value to form1's textbox while clicking a button in form2. Form1 Code: private void Export_Load(object sender, EventArgs e) … Software Development | |
Hello everyone... I love the magic that programming does, that's why am here. Right here, I am using ..........Visual Studio (VB.net) 2012 ..........SQL Server 2012 I am actually creating a program to do two main functions.... 1). To Search for records from multiple MSsql tables and display the result in … | |
I'm having problems on replacing an inputed number without using gotoxy....im using TURBO c++ 4.5 compiler btw... Here's a sample output should be like this Enter elements: 1 2 3 4 5 6 7 8 9 10 Enter position:3 Enter replaced value: 14 New elements: 1 2 14 5 6 … Software Development c++ | |
Below is my code in c++ //The data below r fixed ie the data to be uploaded in the buffer is in this format :KL10<nnnnnn><ssss> KL (is the ID) , 10 (the total length of n and s), n(6 digit integer), s(4 digit serial no) case 1: char InBuffer[64]; BOOL … Software Development c++ | |
i want to replace a certain text in text file and i can't figure it out the code that need to perform this function. example in my text file have 12345 hello 789 morning 1234 good text i want to edit morning text to replace night result : 12345 hello … | |
Hello, I am writing a Java applet which uses the JExcel API to write to an Excel file. I have pasted the run-time error that I get below. After some research about the Exception, I added a policy entry using the policytool command for any Java program by selecting CodeBase<ALL>. … Software Development api gui java java-swing | |
Hey guys, So I've thoroughly gone through the topics by searching this site but I couldn't find something which can help me. I'm making a task for my friend and let me tell you that it's been a year or more since I've used C++. I've moved on to C# … Software Development c++ | |
Hi guys, I am trying to work on something where I set an image in a picturebox and then use getpixel to scan the whole image and find the percentage of the colour I am interested in, in that image. The problem is that if the image is large then … | |
i have a barcode 41/3/100 , 100 will be saved in data base when i scan barcode with scanner it will read 41/3/100 when i click the button how should i search the record only with 100 ???? help | |
Hello All, I have a small doubt w.r.t using mutex locks. Say we have a thread-safe function: int counter; void foo() { LOCK_MUTEX(); // say by pthread_mutex_lock ++counter; UNLOCK_MUTEX(); } Now, i understand that this is thread safe because only one thread can "own" a mutex at a time and … Software Development c operating-system | |
I'm about at my wits' end trying to figure this out. This is homework, so any hints would be appreciated. I was tasked with filling in a few blocks of code (these are denoted by comment lines with a number resting in the middle) involving function calls in MIPS. The … Software Development assembly | |
Hello perhaps you could help me with a problem please. I wish to display a table of results using a JTable. Customarily I use a 2D Object array which is initialized with the data in a manner as follows: public Object[][] data={ {"Biology",25},{"Additional Math", 54},{"Geography",43},{"History",21},{"Spanish", 47}, {"Information Tech.",110},{"Technical Drawing",54},{"French",45},{"Physics",76},{"Chemistry",76}, {"Principles … Software Development java | |
There is an unresolved external symbol in main.cpp when i try to call the insert function. I can’t find the reason why this is happening? Any help is appreciated. main.cpp #include "List.h" int main() { LList<int> number; number.Insert(1); } list.h #include <iostream> using namespace std; template <class T> class LList … Software Development c++ linked-list | |
Hi, I wonder how the SendMessage method is used. I have googled around but can´t find any straight forward method of how to just send a String to another application. I have 2 desktop applications with a Form handle named: "Application1" and "Application2". I wonder how I will pass the … Software Development | |
how do i check if a menu item in my JMenuBar has been clicked? for instance, i have a JMenu with an item called exit, which i need to make close the form. how do i do this? import javax.swing.*; public class selector_form extends JFrame { /** * */ private … Software Development java java-swing | |
So I need help asap. I can't figure out how to modify code from my book to work with my problem. I'm givin an input file, the first value is the dimension of an n x n matrix. every value after is a weight for each vertice for the matrix. … Software Development c++ | |
I cannot make my program calculate the total of two integers (one on the main form, and the other on a different form). It keeps putting in the value "0", but when I tried it without a button it'd always just put one of the chosen integers instead of adding … Software Development vb.net | |
I have been working on a few projects and needed a method similar to pythons string.split(). I decided to make a reusable piece of code and export it as a .dll, the code is below: std::vector<std::string> Editor::StringHandler::Split(std::string data, std::string tokens) std::vector<std::string> returnList; std::string temp=""; bool found=false; for (auto i : … Software Development c++ | |
![]() | Hi guys, This is not related to syntax or runtime problem. What I am going ask is more about how Linux and Windows handle writing data from buffer to a file. I have this code here, wrapped around a timing block, to write a buffer to a file. StartCounter(); if(rows … Software Development c |
Okay so I am having trouble with my depart function. When I output I keep getting 0 for the license plate number and the count for each time a car moves is not right. Any help would be great. Thank you. ____________________________________________ The BASHEMUP Parking Garage contains a single lane … | |
hey guys i need some help on my code here.......... im trying to do some computation about the biling system or a library if the borrwer returns the book on time it will be no charge.......but if hte book is damage then it will charge him trice the ammount of … Software Development vb.net | |
I am working on a java project for school. I am trying to think more into a professional mindset rather than a student. The project I am working on is about hashing. The rest of the project looks really good, but this part makes me wonder if a professional programmer … |
The End.