132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Aws_1

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
Member Avatar for rubberman
0
154
Member Avatar for Search_not

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
Member Avatar for Search_not
0
270
Member Avatar for overwraith

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
Member Avatar for overwraith
0
214
Member Avatar for cambalinho

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) …

Software Development c++ os-x
Member Avatar for cambalinho
0
677
Member Avatar for pronob.roy.3110

what is differences between linked list and array

Software Development c++ linked-list
Member Avatar for Moschops
0
118
Member Avatar for paul1145

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
Member Avatar for xrjf
0
332
Member Avatar for Pinkkat

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
Member Avatar for stultuske
0
5K
Member Avatar for Lilgenski16

//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 …

Software Development algorithm c++
Member Avatar for Lilgenski16
0
235
Member Avatar for hfuehf

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
Member Avatar for Santanu.Das
0
3K
Member Avatar for arjay.veliganio

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++
Member Avatar for NathanOliver
0
146
Member Avatar for N S K

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?

Software Development java pdf
Member Avatar for N S K
0
3K
Member Avatar for kaye.santos.92

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...

Software Development mssql mysql vb.net
Member Avatar for kaye.santos.92
0
185
Member Avatar for Garidius

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
Member Avatar for Garidius
0
2K
Member Avatar for kaye.santos.92

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
Member Avatar for Piolo_1
0
164
Member Avatar for Piolo_1

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
Member Avatar for Piolo_1
0
136
Member Avatar for Builder_1

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 …

Software Development c++ queue
Member Avatar for Builder_1
0
380
Member Avatar for Auroch

Hello. I need to write a program to evaluate a definite integral with Simpson's composite rule. 1. ![fb9ac9a01f247c8a0ed8a606b7c10f4a](/attachments/small/4/fb9ac9a01f247c8a0ed8a606b7c10f4a.png "align-left") I know there is a Simpson's rule available in Scipy, but I really need to write it by the following scheme. 2. ![239643044a08379e5fe3747e13b2834e](/attachments/small/4/239643044a08379e5fe3747e13b2834e.png "align-left") , where a, b - limits of …

Software Development algorithm c++ mathematics
Member Avatar for Auroch
0
2K
Member Avatar for ddanbe

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
Member Avatar for ddanbe
0
3K
Member Avatar for Muhammad_70

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
Member Avatar for ddanbe
0
344
Member Avatar for Wajid sardar

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++
Member Avatar for Moschops
0
529
Member Avatar for AJones

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++
Member Avatar for Wajid sardar
0
2K
Member Avatar for pikai

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
Member Avatar for Santanu.Das
0
251
Member Avatar for aluhnev

//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
Member Avatar for rubberman
0
260
Member Avatar for UK-1991

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
Member Avatar for JamesCherrill
0
107
Member Avatar for shungkiu.lee

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
Member Avatar for JamesCherrill
0
186
Member Avatar for herrschteiner

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
Member Avatar for Software guy
0
311
Member Avatar for Kadian

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
Member Avatar for snippsat
0
374
Member Avatar for redtribal23

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++
Member Avatar for redtribal23
0
149
Member Avatar for lewashby

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++
Member Avatar for mike_2000_17
0
4K
Member Avatar for Trle94

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: …

Software Development listview vb.net
Member Avatar for Reverend Jim
0
164
Member Avatar for COKEDUDE

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
Member Avatar for Maritimo
0
190
Member Avatar for coding101

The purpose of header files is soley to satisfy the compiler?

Software Development c
Member Avatar for Maritimo
0
109
Member Avatar for qaff

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
Member Avatar for qaff
0
135
Member Avatar for divinity02

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
Member Avatar for JamesCherrill
0
298
Member Avatar for spowel4

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 …

Software Development dataset display mssql vb.net
Member Avatar for ddanbe
0
2K
Member Avatar for danchi

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
Member Avatar for danchi
0
125
Member Avatar for rhydham1

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
Member Avatar for stultuske
0
92
Member Avatar for nataraja833

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
Member Avatar for nataraja833
0
228
Member Avatar for pooja.singh.3950

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
Member Avatar for pooja.singh.3950
0
246
Member Avatar for ardi_lucy

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
Member Avatar for anita_2
0
1K
Member Avatar for kinbo

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
Member Avatar for bmwwbb54
0
224
Member Avatar for photoguy77

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
Member Avatar for chriswelborn
0
374
Member Avatar for ahmedsa

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
Member Avatar for cgeier
0
184
Member Avatar for divinity02

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
Member Avatar for Taywin
0
182
Member Avatar for chubbyy.putto

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
Member Avatar for Taywin
0
120
Member Avatar for JamesCherrill

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
Member Avatar for Slavi
0
197
Member Avatar for Silvainius

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
Member Avatar for Reverend Jim
0
159
Member Avatar for Stefce

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 …

Software Development image java
Member Avatar for JamesCherrill
0
323
Member Avatar for savedlema

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
Member Avatar for xrjf
0
392
Member Avatar for chrisschristou

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 …

Software Development c ubuntu
Member Avatar for chrisschristou
0
2K

The End.