132,726 Archived Topics
Remove Filter ![]() | |
Hey guyz, i am having an assignment to implemnt a real time clock using cortex-m4 and display it on nokia LCD. i would be appreciated if i can get a source code for this project that might help me. and what are the required files i have to make to … Software Development | |
![]() | I'm making an instant messenger program and I want to allow clients to connect to each other privately(peer-to-peer) using their IP addresses. The only method I know at the moment is a client/server method where the server needs to be online for the client to work. How do I allow … Software Development client-server gui java peer-to-peer ![]() |
So, I am trying to get a query working that finds a certain flash drive attached to my computer and selects it's DriveInfo object. I am having trouble because on my system when I call the VolumeLabel property of one of my DriveInfo objects it throws an exception (IOException) because … Software Development | |
i did these menu class: class Menu { private: static int intID; int ID=0; bool primeiromenu=false; HMENU MenuHandle=NULL; HMENU hMenu=NULL; int menuposition=0; string strCaption=""; public: Menu(string caption="&Menu",HMENU subtmenu=NULL, HWND MainHWND=WindowMain) { intID=intID+1; ID=intID; if(caption!="-") caption=(string)caption + " " + to_string(ID); strCaption=caption; if(GetMenu(MainHWND)==NULL) hMenu = CreateMenu(); else hMenu =GetMenu(MainHWND); if (subtmenu==NULL) … | |
what is differences between linked list and array Software Development c++ linked-list | |
When kicking off an async job using backgroundworker, the process I tried is a My.Computer.FileSystem.CopyDirectory(a,b). The next step is to check the progress with bw.ReportProgress(x) but that statement doesn't get control until the copydirectory finishes. I'm not new to programming but to this backgroundworker. Any help would be appreciated. Thank … Software Development vb.net | |
Hi! I'm having trouble to figure out what is wrong with my program. I would appreciate if you could help me. About the classes and their requirements to consider: a.Create an Account class, which is the base class for all accounts that has public methods to get and set the … Software Development java | |
//BlackJack // Plays a simple version of the casino style game of blackjack; 1 - 7 players #include <iostream> #include <string> #include <vector> #include <algorithm> #include <ctime> using namespace std; class Card { public: enum rank {ACE = 1, TWO , THREE , FOUR , FIVE , SIX , SEVEN … | |
Hi I've searched all over the internet for this but can't find anything useful. I have form which a user fills out and then inserts in access database. But I also have a field DateTime in my table which I want to automatically save the current date and time in … Software Development vb.net | |
I need help with a program that reverses the letters in a word without altering its order in a sentence. Sample Input: What a sunny day Output should be: tahW a ynnus yad Thanks in advance! Software Development c++ | |
how to get the file signature in java? for example a pdf file has signature 25 50 44 46 ..how to get it using java? | |
i'am trying to create a setup file for my system where it has a database...can you help me???...i've tried to search it but it's only for mssql... | |
Hello to all in forum, Maybe some java expert could help me. How can I read chunks from binary file each chunk at a time? The chunks are separated with the bytes D2 followed by A7 and of variable length. This is whenever D2A7 is found, this is the End/Beginning … Software Development java | |
i am trying to start a form named login. i have changed my start up form in properties but different form start when i click debug. can you help me??? Software Development vb.net | |
i want to update all this column in 1 execution. any reply is highly appreciated.. thanku UPDATE tblstoreitems SET price='499' WHERE TypeOrModel = 'A130'; UPDATE tblstoreitems SET price='599' WHERE TypeOrModel = 'A140'; UPDATE tblstoreitems SET price='1899' WHERE TypeOrModel = 'Alpha Style'; UPDATE tblstoreitems SET price='1699' WHERE TypeOrModel = 'Amethyst'; UPDATE … Software Development vb.net | |
Simulate a patient’s lines using queues with enqueue ( ), dequeue ( ) and printQueue ( ) operations. Define a queue node in the following manner: typedef struct queueNode { int patientID; // Unique identifier; starts at 1; after 24 hours should be reset to 1 int checkupTime; // Random … | |
Hello. I need to write a program to evaluate a definite integral with Simpson's composite rule. 1.  I know there is a Simpson's rule available in Scipy, but I really need to write it by the following scheme. 2.  , where a, b - limits of … Software Development algorithm c++ mathematics | |
It was tinstaafl who put me on the right track. [Click Here](http://www.daniweb.com/software-development/csharp/threads/450463/graph-plotter) I did not know that .NET as of VS 2010 had a charting control! OK, let’s get started! But the learning curve, is as always, a bit steep. MSDN does not seem to provide too much code, so … Software Development | |
public static bool CheckIdentifier(String i) { bool state = false; char[] c = i.ToCharArray(); try { if (Convert.ToInt32(c[0]) >= 65 && Convert.ToInt32(c[0]) <= 90 || Convert.ToInt32(c[0]) == 95 || Convert.ToInt32(c[0]) >= 97 && Convert.ToInt32(c[0]) <= 122) { for (int Index = 0; Index < c.Length; Index++) { if (Convert.ToInt32(c[Index]) >= … Software Development asp.net | |
Source File not comiled error message occures #include <iostream> #include <stdlib.h> #include <time.h> using namespace std; main(){#include <iostream> #include <stdlib.h> #include <time.h> using namespace std; main(){ //declaraing and initialization integers int secretNumber = 0, UserNum=0; int UpperRange=0 , userMaxRand=0, LowerRange=0; cout<<"My Student ID Mc140402241 "<<endl; //Prompt the user to enter … Software Development c++ | |
Hi Folks: I just installed Dev-C++ 4.9.7 beta 7 and compiled a simple "Hello World" console app, I get a lot of error related to iostream.h file not being found. Dev-C++ is installed in C:\Dev-Cpp\ directory, Has anyone else have had this problem. Thanks AJ Software Development c++ | |
Dim con5 As New ADODB.Connection Dim rs5 As New ADODB.Recordset Private Sub Command1_Click() con5.Provider = "Microsoft.JET.OLEDB.4.0;" con5.Open App.Path + "\da.mdb" rs5.Open "[DEMO]", con5, adOpenStatic, adLockOptimistic 'The above code can't work when the database is protected. 'Please Tell, How can I solve it Software Development visual-basic | |
//Hi i do the delivery company project,this are my members of the base class //how do i create 2 constructors in base,one for sender and one for recipient? //I did one for sender ,but visual studio does not allow me to create identical for recipient //Can some one help to … Software Development c++ visual-studio | |
Hello guyz Just written a small code trying to make a scenario in which I get a name from user and see that the provided name is present in my array list if it is then it displays name found if not present in array it simply says name not … Software Development java | |
hello guys, well basically i have zero java knowledge, so don't mind me asking such kind of dumbass question( to you but not to me lol) so, i have a .txt file in which there is a number in such line (for example, 0 and 1) i want to print … Software Development java | |
![]() | I'm writing a bash script that redirects the output of a command to a file. The next thing the script should do is read the contents of the file, into the tenth line of a python script. It's tricky, because the line of text in the python script should read: … Software Development python shell-scripting unix |
he following code gives the error UnboundLocalError: local variable 'currentpl' referenced before assignment: if user_choice == 0: currentpl = 1 elif user_choice == 1: currentpl = 2 while gameover(num_sq): if currentpl == 1: pick = getPlayerPick(num_sq) while not validPlay(pick, num_sq): pick = getPlayerPick(num_sq) makePlay(pick, player_col[currentpl]) if currentpl == 2: pick … Software Development python | |
Okay so first is I am confused with the void function. It is said that void function does not return a value. If for example I have a void function that gets user input, like price and month, how do I use price and month to do another function? int … Software Development c++ | |
When I compile the following two programs one of them compiles and one of themse does not but I don't see a difference. The smaller program is the same only I've taken out a lot of the code so that I'm left with only the minimum that I need to … Software Development c++ | |
Hello everyone, I need small help.. So I got working text file loading to listview, but if file is to big it get whole app stuck untill it load it out... So my question is, is it possible loading with background worker and progress bar? Here is my current source: … | |
If you want to set an entire array to -1 is better to cycle through it with a for loop like this? for (int i = 0; i < 100; ++i){ array[i] = -1; } Or use memset like this? memset (array,-1,100); Software Development c | |
| |
Helo, i'm Qaff. i want some advice from system developer about the system that i want to create. this system is only about sales transaction which involve daily sales records and online order. what i means about daily sales record is when custumer buy something from our shop, we can … Software Development | |
hi all how do you build a java game called a multiple maths game. can anyone give me any advice, now I say advice to at least guide me in the right direction. I have to build a multiple maths game in java with levels, easy meduim and difficult. how … Software Development java | |
If I have a datagridview that is bound to a dataset which comes from a MSSQL database, how can I have the datagridview display only one row of data from the dataset rather than all of the rows? Specifically, the first column is a combobox which is bound to the … | |
Hello, I need a little help. I'm working with Drag and Drop between FlowLayouPanels, but I have issue, something is not suitable for me. I want to reorder controls on flowlayoutpanel by location, not by index, is that possible ? I'm asking because example: On one flowlayout I need to … Software Development | |
import java.util.Scanner; public class ConvertDate `{` Scanner console = new Scanner(System.in); public static void main(String[] args) { // Inputs the month, day, and year ConvertDate.prompt("Enter date to be converted: "); String date = ConvertDate.readLine(); // Trims the extra spaces String dte = date.trim(); // Creates the minimum space between the … Software Development java | |
package my_package; my_object obj_instance; String my_string; my_string = obj_instance.toString(); System.out.println(my_string) ; // gives my_package.my_object@asj128 // I've lost track of obj_instance but it in memory // and I want to recover it from my_string , like my_object obj_instance1 obj_instance1 = ( my_object) my_string ; some thing like string to object converstion … Software Development java | |
The Interviewer Candidate Problem It is a walk-in-interview setup having an interview room with one chair and a waiting room with a number of chairs. The interviewer interviews candidates in the interview room. When the interviewer finishes interviewing a candidate, he dismisses the candidate and goes to the waiting room … Software Development c | |
help me plz i need to sort ip address, am try to sort in java.util.Arrays.sort() but it not correct for eg [CODE] String st[]={"10.4.23.16","10.4.23.9"}; java.util.Arrays.sort(st); for(int i=0;i<st.length;i++){ System.out.println(st[i]); } [/CODE] the out put is 10.4.23.16 10.4.23.9 plz give idea Software Development java | |
Hi First of all let me tell you that my programming skill aren't great and I'm still learning java. Basically I'm trying to write a program that allow the user to enter a quantity in textfield1. Then when the confirm button is pressed, it'll display the result in textfield2 int … Software Development java | |
teacher assigned out of the book "python programming: an introduction to computer science. second edition. page 384 # 19 is as follows this below is verbatim from the book and the instructions for the assignment are "Python Assignment #10 Complete programming exercise #19 on page 384 from Chapter 11" create … Software Development python | |
Hi guys I need to make notification icon to any computers in Hr department when i added new Employee because my employee in my company forget to tell each others about any new employee added so that some process will by delayed Meaning IF i have 4 computers in HR … Software Development | |
I have write a program to read 6 numbers and find the average of all odd numbers. here is my code Scanner get = new Scanner (System.in); double average = 0, counter = 0 ; int i, num = 0, sum = 0, count = 0, total = 0; for(i=0; … Software Development java | |
I am very confuse about find the if the file is in english word. Let say that file contain some garbage letter and number but in that garbage letter and number it have a mean. Let say hello there in that file how do I set the code so that … Software Development java | |
Although layout managers usually scale text properly, with the spread of "retina" Macs with screen resolutions over 200 d.p.i. we can't just keep ignoring pixel size for grahics or animation. Toolbox has a method for getting the screen resolution, but I don't have access to enough varied machines to see … Software Development java java-swing operating-system | |
Hello again. I am back with the problem of using booleans with command buttons. Any reasearch I've done for other methods to complete my memory game have been for Vb2005, VB.net, VB2010, etc. Where as I'm stuck with VB5 not Knowing what to do. `PLEASE NOTE: boolFirst is declared and … Software Development visual-basic | |
I want to make new string to show under the first ("Verificiranje na akauntot !") text but i dont know what to do in the "jLabel3MouseClicked" class, please help me how do i paint the graphic after i press the label ? here is some code: @Override public void paint(final … | |
Hi! I'm developing an application for hospital patients information. Now, as common for hospitals, I need to add a feature for various reports.Now I would like to know if you think Crystal Reports are a good option still. I would like to present many reports which a user will choose … Software Development vb.net | |
hello friends i finally started programmation at school, we use ubuntu, at home i installed eclipse with MinGW i tried simple helllo world and it works but when i start mutiple exercices under same same project i get a compiler errormultiple definition of 'main' in c i tried `int main … |
The End.