132,726 Archived Topics
Remove Filter ![]() | |
I am a computer science student and i want to know how to create a c++ program to ping an ip address and check whether it is online or not? Software Development c++ | |
The program needs to ask for n and then output the first n terms of the Fibonacci sequence. exp. n = 6 1, 1, 2, 3, 5, 8 1+1 =2 2+1=3 3+2=5 5+3=8 My origional program used a nested for loop. I am not sure if that is right to … Software Development c++ | |
I am developving a number of projects in Eclipse that share common files (such as peripheral drivers). Each project therefore pulls together source files from a number of folders. Within my makefile I have concatenated together the names of all the source folders as can be summarised: [CODE] SOURCE = … Software Development c | |
Hey Everyone I am having troubles. i tried looking up how to make the main for invisable but i cant figure out how. i saw some examples but they made no scence to me. What i am trying to do is change from one form to another and hide the … | |
I have an array of strings as follows: [CODE]char *sCmdInt[8];[/CODE] I need to use elements from the array to pass to another dll. The function takes two LPSTRs as parameters. What I need to do is copy two elements from the array into ints/longs, and then create two LPSTRs from … Software Development c | |
What is the most comprehensive book/online source for multithreading? Thanks! Software Development c++ multithreading | |
how do i update, delete, add an sql database with c# | |
his is a follow up to the question I asked earlier and with the help of some people here I was able to start up with the function I want to write,but I am yet to complete it. Here is my earlier question: I have a series of files with … Software Development c c++ file-system open-source | |
Hi everybody, I need to take an xml file and remove 2 certain namespaces from it using XSLT("scrubbing metadata"). Also, I believe I would need to use the Transformer class in combination with the XSLT. Can someone help me out? Possibly giving me an example with namespace "A" and namespace … Software Development xml | |
was the idea of nested functions considered to be useless during the time of developing older c++ standard, because its usage is basically covered by another concept like object-oriented programming; or it wasn't implemented just as a matter of simplification? Software Development c++ | |
Hey frns I want to record the time that the application takes. I want that when i click on Start Button in label time starts from 00:00:00, & when we click on cancel button time resets to zero. I include system.diagnostics.stopwatch I just know start,stop & Reset methods are there.But … Software Development vb.net | |
Please tell me any good C++ compiler which works correctly on window 7 Software Development c++ | |
Trying to figure out how to write this program. I need some immediate help! Define a base class person that will contain universal information, including name, address, birth date, gender and identification (student, worker etc). Derive from this class the following classes: Student Worker Student_worker Add variable school for student … Software Development c++ | |
Hi all, I'm having some problem with my codes. I have a output that is generated into a txt file. Now, I need to read the txt file and convert the output into something else. This is the output that is store in a txt file: VAL LEU SER PRO … Software Development java | |
I can get variables from an html page into my perl cgi script just fine, but I want to process these variables (also works), and pass them to another cgi script. I'm not sure how though. I've tried to set up a new <form> inside of my perl script to … Software Development perl | |
I have problem with Radio Button I am making small online examination application. The problem is, suppose I select option 2 as the correct answer for first question, Then for second question option 2 appears as selected , This may confuse the candidate for examination,, Then if I make choice … Software Development java | |
I'm trying to merge two trees. This is the recursive function: [CODE] void Merge(node *primary,node *secondary) { if(secondary != NULL && primary != NULL) { Merge(primary->left,secondary->left); Merge(primary->right,secondary->right); } else if(secondary != NULL && primary == NULL) { primary = new node; primary->action = secondary->action; primary->left = NULL; primary->right = NULL; … Software Development c++ | |
I am trying to make a simple game. Using C# forms and picturebox [URL=http://img52.imageshack.us/i/bgproblem.jpg/][IMG]http://img52.imageshack.us/img52/8696/bgproblem.jpg[/IMG][/URL] but when I set transparent on the character, it goes through the form (I can see part of my desktop, instead of white space) :The character can move when I press direction keys, the character picture … | |
While doing a project i decided to do a mechanism in a panal of its own class, so i could manage the sizers and layout better, then i wanted to take the end result of that panel and display it in my window. Although when i run this code as … Software Development python | |
i have a form which once a button is clicked opens a new form via showdialog(). i want to send data from this new form back to the original form but am new to programming and have become very confused with the parent child relationships of forms. How would i … Software Development | |
Simply put I wish for text entered in one edit box to then appear in another edit box. I have created a MFC dialog and read many tutorials, but I'm still stuck. Here is my current DDX function: void Ctextentry23Dlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); DDX_Text(pDX, IDC_EDIT1, name); DDV_MaxChars(pDX, name, 20); DDX_Text(pDX, … Software Development c++ | |
To avoid double postings kindly refer the thread here, since I couldn't make up, which forum was best suited. [URL="http://www.daniweb.com/forums/post1297528.html#post1297528"]http://www.daniweb.com/forums/post1297528.html#post1297528[/URL] Please do take part in the discussion. Regards, Nisheeth Barthwal | |
I am building a program using VS 2010. It needs to be a set of forms that allows a manager to log in so that data entry people can enter in data based on another form. I also need to create a hot key set up that pulls up another … Software Development vb.net | |
hi i have created a matrix of 9 edit boxes. 3x3... i want to change the background color of the edit boxes during their creation. how should i do that ? thanks in advance... Software Development c++ | |
i have read many forums relating to getting the value of the selected row from the gridview and setting it to a textbox, however i cannot copy the code to my project. the code i have frequently seen is: [CODE] string selectedItem = MyGridView.SelectedRow.Cells[1].Text; textboxItem.Text = selectedItem; [/CODE] However in … Software Development | |
hi all, any one can help me that when i tried to connect .dbf foxpro3.0 database file to DAO control it throws an error like this "'F:\database\accno.dbf' isn't a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which … Software Development visual-basic | |
Hi all. I am, using Java for drop down menus, code follows. What I have not yet been able to figure out is how to make java display the page I select in a different frame. This is what is in the <HEAD> of one of my Pages. [CODE] <SCRIPT … Software Development java | |
I am creating a login page using Vb.net ... i have written coding but it shows some Error .. Here is mine coding .. .. Dim DataClass As New DataClassesDataContext Dim l = From Users In DataClass.Users _ Where (Function(x) x.UserName = txtUserName.Text And x.Password = txtPassword.Text).ToList If l.Count = … | |
Basically I'm trying to use an array to store inventory data, and I'm a little (lot) lost with vectors and such. I feel a little guilty asking for help three times in a day, but alas the semester is winding down and I'm in a crunch. My class (or should … Software Development c++ | |
/* About this program: - This program counts words. - The specific words that will be counted are passed in as command-line arguments. - The program reads words (one word per line) from standard input until EOF or an input line starting with a dot '.' - The program prints … Software Development c | |
Hello, I'm learning C++ and trying to build my own file zipper, because i like very much to work with zip files, but now i want to build my own zipper and it's so hard to find good resources to start. As you can see in my previous posts i … Software Development c++ | |
HI, I am very new to C# socket. I have tried several very simple code, but all of them lead to same error message: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:7 at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at MainClass.Main(String[] args) in C:\ConsoleApplication1\Program.cs:line 14 Below … Software Development c c# c++ socket-programming | |
Hi I want to blow up a picture. How can I do this in code, any ideas? VB 4 or 6 Software Development visual-basic | |
As c# doesnt have null character as in c I want to know how to find the length of string without using the length function??? Software Development | |
Hi, I've developed a console app and a win32 api GUI. The GUI is only used to get input file path and output file path specified by the user, as simple as that. I now want to pass those file path and call the functions in my console app to … Software Development api app-store c++ gui windows-api | |
hi guys, Does anyone knows how to highlight the words that are wrong at string str2 when compared to string str1? Below is my coding. Thanks. string str1 = "This is an good example, i like it."; string str2 = "This is a bad example, i dislike it."; str1.Split(' ', … Software Development | |
Hey guys, is there anyway a C++ program will continue to execute and not pause when I run a program for it? E.g I've already got [CODE] system("iTunes.exe.lnk"); main(); [/CODE] It calls main after it executes the program, but it is paused until I exit iTunes, is there anyway to … Software Development c++ | |
Dear All, When i make Setup of my project then my crystal reports keeps old database path how can i resolve it please help me. Software Development vb.net | |
hey dear experts is there a way to shutdown computer after downloading a file from the internet in vb6? i already know an effective forcefull shutdown code in vb6. i just want to execute that code after i finished downloading a file from the internet. how can i do it? … Software Development visual-basic | |
So I am having trouble with visual basic. I've scoured several forums (although someone might link me to another thread on this one) and have not been able to find a solution to my problem. I need to stop the code from running for an amount of time that varies … Software Development visual-basic | |
I have the strangest problem. First let me state that I am by no means an expert on either Web Applications or SQL. I have however, been delegated this project and have made some progress. First, all the servers for a small office I work in were upgraded to 64 … Software Development sql visual-basic web-server | |
I have a class that i have created of type StoreItem. It contains: String, int, double, int What I want to do is for the user to be able to add more items during runtime. I have tried to convert it to an ArrayList but I get errors telling me … Software Development java | |
hi every body i build login page in visual web developer using vb with standard create user control which have username,password,email,security question and its answer the question is how to customize create user control so i need only from it email and password without security question and security answer and … Software Development vb.net | |
I have a program in which a user enters a sentence in English into a text box, then the sentence is translated into French and German based on words in an array of structures that gets its values from a text file. I have almost all of the program written, … Software Development vb.net visual-basic | |
Hello.. Supposing that i have this code..i want it to end after a character is pressed..but i dont know what to add...i can end it if input is negative or zero..but not char..i tried some experiments but it will end up debug assertion fail..help would be great.. [CODE] // adds … | |
Hi all, I'm writing an application that imports and tidy up address data into a cleaned, deduped excel workbook ordered in rows with each column as an address field. One of the issues I've ran into is that we sometimes get a workbook where the multiple address fields are held … Software Development database-design dataset microsoft-office vb.net | |
I am using VB.net 2008 express edition I have figured out how to use some of the code snippets for the open xml sdk to create a drop down list of all the sheets in an excel file. I can also use the code snippet to get the value of … Software Development microsoft-office open-source vb.net xml | |
hello, can you help me please how can i random words and displaying it with the length of the string...example if the user inputed "stamp" then it will random the letters and display it 5 times... example: input : stamp output: pmast pmast stamp mastp sptma can you help me … Software Development java | |
I have a .NET winforms app that automates Excel and checks for a worksheet password. The requirements are to be able to detect 1) that the protection is turned off 2) that the password is removed (protected but there is no password) 3) that the password matches the correct password … Software Development asp.net microsoft-office vb.net | |
Hi, Please help me, this is my activity the Rock, Paper and Scissors Game, I need codes for this game. Like the game the program should determine the winner. In my output (please see attached), the Player1 and Player 2 should choose each a hand gestures in commands buttons: rock, … Software Development visual-basic |
The End.