132,726 Archived Topics
Remove Filter ![]() | |
Hi All, I got a program which was written in c++ for unix at 1999. There are almost a hundred of source code files and makefile is available also. I do not have access to unix because of this, I need to get it worked in windows. My question is … | |
Hello! I have a question, I have been struggling with this for a bit (I welcome any constructive criticism and pointers) now, and I am pretty new to C++. I am in the process of writing a program that takes names in the format of LAST, FIRST; the it loads … Software Development c c# c++ file-system objective-c | |
Hi, I am using a 16-bit compliler and i wanted to execute a dos commmand through c++ using system() command.I wrote the following code but it didn't help [code=cplusplus] #include<process.h> void main() { system("c:\\windows\\system32\\Notepad"); } [/code] I even tried wid 'system("notepad")' but even tht didn't run the command.Plz tell me … Software Development c++ | |
I have recently made a program that gets the links from a webpage, then checks to see if they are valid or not. I used the HtmlElement to get the "HREF" attribute and stored all the links into a list. I also tried using the HttpWebRequest and stored the stream … Software Development file-stream open-source perl | |
I am trying to create a sudoku generator in turbo c++ for a project. This code is not working for some reason....Please help! [code] #include<iostream.h> #include<conio.h> #include<stdlib.h> int chkcol(int u[x][y]); int chkrow(int v[x][y]); int chkbox(int w[x][y]); void main() { textcolor(WHITE); textbackgroundcolor(MAGENTA); clrscr(); int sudoku[9][9]; for(int i=0; i<9; i++) { for(int … | |
Why must the use of the this keyword, or similarly the use of the super keyword in constructor chaining, be on the first line of an overloaded constructor? In other words, actual class construction cannot be split between constructors. If re-direction must occur, it must be the first line of … Software Development java | |
I have: Table1: Service: - IDService - ServiceName Table2: Order: - IDOrder - IDServiceFK (foreigh key) I have database table called "Service", in which I store service names. Then I have another table called "Order", in which is the foreigh key of Service. Services are shown in the listView control. … Software Development listview | |
Hi All, I am getting segmentation fault when I am allocating memory for the node second time. [code] struct host_msgs_list { [B]struct host_msgs_struct *message;[/B] struct host_msgs_list *next; }; struct host_msgs_list *root, *temp, *temp1; root = NULL; temp=root; For the first message (i.e. OHAD), it’s able to allocate the memory. We … Software Development c linked-list | |
Hi, I am new to Java, but have been programming in C++ for a few years now. I am working on a project where I have to write a class to implement a gameboard. To do so, I'm using a 2D array of objects. I have a method that swaps … Software Development java | |
[b]Split from - [url]http://www.daniweb.com/forums/thread231732.html[/url] [/b] Hi guys i want to make a project in which i am planning to create a full functional shell. But i don't know how and where to start from. Please anybody reply if you have any knowledge regarding this. Any website ,any starter information will … Software Development c | |
I need help creating a grade calculator in C. I am not allowed to use conditional statements. My problem is that I have written code to determine how many total points the student has, but I cannot think of a way to classify those points as an A (90-100), B … Software Development c | |
I'm trying to compare strings in a Linked List and it throws a null pointer exception somewhere in the method smallest() which is where i have the strings(nodes) comparing each other. I've been Trying to find the answer for two days now and I've gotten nowhere. PLEASE HELP! The code … Software Development apple java linked-list | |
Hey, i wanna get the text from a NOT selected index. Does anybody know how to do it? Thx! Daniel Software Development c++ | |
Hi dear friends: I am going to post some nice Pascal examples here , i hope it will be useful to you all. I hope you will also post here your good programes : lets start : 1) [code] program operators; uses crt; begin clrscr; writeln(17 div 3); readln; writeln(7 … Software Development first-post pascal | |
Hi All, Till now I haven't done any serious debugging (Jump to line, blah blah). What I have done so far is read error and try to decode. Now I want to use variables form stack etc. In WingIDE/Python I will click on stack and see variables and what they … Software Development c++ | |
It's been a while since I've posted. Things have been going well for my project, but I'm coming back to the issue of setting up a SQL server on my user's computers. Sknake was kind enough to give me the command line switches to get a MSSQL install set up … Software Development mssql user-interface | |
Hi, coding a IRC Bot I have came across this when I tried run in debugging. NullReferenceException was unhandled @ this code [CODE]// Send PING to irc server every 15 seconds public void Run() { while (true) { IrcBot.writer.WriteLine(PING + IrcBot.SERVER); IrcBot.writer.Flush(); Thread.Sleep(15000); } } }[/CODE] Complete code of files: … Software Development client-server http-protocol | |
Hi there, I'm making a settings dialog for my application but I'm having a problem figuring out how to implement it. I'm trying to make a settings dialog that has a treeview on the left-hand side, clicking on the nodes of the treeview would switch the dialog background based on … Software Development c++ | |
I plan to make Java image viewer I just started today and I had hard time with GridBagSizer After long time of pain it turned to be fruitful. Here is what I have so far. I want the following, of which I have failed: 1. Make the components fill the … Software Development java java-swing | |
I don't understand what the following functions does in the code random walk ( sample programes in the player/stage library) could someone please be kind enough to help me understanding it 1. in the following one why dont we just use 0 whats the need to use gindex? [CODE] if … Software Development c++ | |
Hello, I am trying to create a function that compares lower and upper bound IP addresses. If the lower bound IP address is greater than the upper bound IP address I would like the program to 1. display the error 2. terminate immediately Problem is, when I use exit(0) to … | |
Hi i am new to shell scripting, i need some help please. I have a folder that i am sharing between my linux server and my windows computer. I want to do a shell script that let me know when the size of that folder has passed 110 gb, and … Software Development shell-scripting | |
I want to read characters(256 of them) from a file and put thier numeric value in an array.Then i want to send 16 characters in batches from the array onto a loop in successive steps to perform operations on them. My problem: First i can read the first batch of … | |
How to install OpenGL for CFree 4.1 in Win7. and how to use graphics.h library in Cfree in Win7. Please help me, thanks. | |
[code] if (a>b || a==2){ System.out.println("yes") } [/code] [quotes] in if command it gives an error, sayin operator || can not be applied to a boolean. I want to know how to use the and &&, or || operations in java.. [\quates] Software Development java | |
hi, i am developing a mobile application for my company, but i am having some problems storing and retrieving data from my database which is located in my server. Does any one know how i can do it. Using rms will only get the data out from the server stored … Software Development java | |
hi, i am trying to build a simple program where system asking info (name,age,sex & location) to make a table using do-while loop. for each info will create one new row in table that i dont know how to make.. please help me... here, i made for one single row … Software Development java | |
Hi, Could someone kindly tell me how to stop maximizing a dialog box with cursor? Like, when we create a toplevel window, it is possible to maximize that window with mouse, holding its border. I want to fix the size of the window? How? Thanks in advance Regards | |
I'm trying to find some good websites with questions such as "Create a program that does blah blah.." And then gives the solutions so I can program and then compare my program, or use it for help. I have taken C++, and C++ advanced, data structures (taking advanced data structures … Software Development c++ | |
Is it possible to have a combo box with a listview view drop down list? Help pls.. I have an attachment and i want to know how it is possible. Software Development listview visual-basic | |
Hello guys, Been doing good in my thesis: Face Recognition System, a little more improvements and its all done. Now, I'm planning to deploy my application in terms of a installer (i.e. .msi). I know that VS2008 Pro can have this with no pain but I'm using VC# 2008 Express … Software Development c# visual-studio | |
hello all I am a second semester c++ college kid so bear with me I am writing a program that takes in bank account info, sorts it, prints it, and then prompts the user if they would like to view any specific records via the account number or the name … | |
My numbers are not being read in to the two dimensional array correctly and i'm completely lost :confused: [CODE] #include <iostream> #include <iomanip> #include <fstream> #include <string> using namespace std; const int SIZE_MONTH=4; const int SIZE_DAYS=31; int main() { float temperatures[SIZE_MONTH][SIZE_DAYS]; string months[SIZE_MONTH]={"January","February","March","April"}; ifstream inFile; inFile.open("temp1.dat"); if (!inFile) cout<<"File not … Software Development c++ | |
Can anyone tell me where I am going wrong with my code? I keep getting two errors stating ';' expected (on lines 22 & 23). I am new to this so I am not sure what I can post and what I can't, so I am just going to post … Software Development java | |
So the problem comes in, in the last method called printComparisonResults. I just have no clue what to do?? Thanks for your time! My Class: [CODE] //StudentRecord //Nick Elliott 02/01/10 import java.util.Scanner; import java.io.*; // A StudentRecord contains a student's first name and their gpa public class StudentRecord { private … Software Development java | |
I have create a date table in access and visual basic 6 in textbox but when i try to add record there is error message shown. plz help me.[code][/code] Software Development visual-basic | |
Little bit help here i wanna cp the no of files listed in text file... i tried to use [CODE]for songs in $(cat "~Desktop/1/list.txt"); do cp $songs NewSongs/; done[/CODE] but my text file has the path with spaces like /home/rhohit/Music/00 Database/Albatroos/Albatroos/Albatroos - 01.आवाज.mp3 /home/rhohit/Music/00 Database/Albatroos/Albatroos/Albatroos - 02.खसेका तारा.mp3 /home/rhohit/Music/00 Database/Albatroos/Albatroos/Albatroos … Software Development shell-scripting | |
Hi all.. please can any one post 5/6 hard decision viterbi decoder in c.. its urgent..... Software Development c++ | |
I am developing a code to find the occurence of digits in a string. I need help. When it compiles I get the error: cannot find symbol variable countDigits Software Development java | |
I am looking for MSFLXGRD.ocx file for my exe program to run on vista Software Development visual-basic | |
My assignment: Create a class with a method that accept a charge account number as its argument. The method should determine whether the number is valid by comparing it to the following list of valid charge account numbers: 5658845 4520125 7895122 8777541 8451277 1302850 8080152 4562555 5552012 5050552 7825877 1250255 … | |
I want to upgrade a program written in Visual Basic 5 on a number of clients machines. I had no difficulty creating the distribution disk from instructions in the programmers manual, but I can't see any reference to creating an upgrade disk. I can write a dos batch file to … Software Development visual-basic | |
I have a doubt regarding the exception in tmaskedit component in delphi.i am using tmaskedit with editmask as date option.i am using three maskedits with these same property.but when i am trying not valid date or giving empty data,exception is caused which i am not able to handle.i dont knw … | |
Hello, I'm trying to upload a file to a server with VB .NET. I can't figure out what to do to read the file to put in the post data. I have the rest of my code set up, and here is my post data setting: Dim data As String … | |
When I load Visual Basics, which has VB, C++ and so on, I have problems with the internet. Errors come up on web sites and not allow me to use there sites, ie... ebay. I need to know what the heck I can do to stop the errors so I … Software Development c++ visual-basic windows-xp | |
Hello, I am using turbo c++, dos one, and am making a program, but theres a problem... My program runs on an infinite loop and has a small delay in between...It takes user's keystrokes at the start of loop like this, [CODE]int in; while(1) { if(kbhit()) in=getch(); . . delay(100); … Software Development c++ | |
Hello, I am making some program, and have some problem, i want to list all files that are on HD, and if I want to list all files in C: with this command with only one backslash after C:( system(dir C:\ /s/b/a-d> C.txt)) it only list files that are in … Software Development c++ visual-studio | |
Im doing the auto sign up in some websites but the thing is i want to use the NumericUpDown tool in Vb.net 2008, for example i choose 10 in NumericUpDown then i click the button then it will process or rather it will create 10 accounts... please give me an … Software Development vb.net |
The End.