132,726 Archived Topics
Remove Filter ![]() | |
Hi there, I am experiencing a problem during the program execution. Here is the program: [CODE]#include <iostream> using std::cout; using std::cin; int additions (int a, int b, int c) { int k; k = a+b-c; return k; } int main() { int s; int x; int y; int z; cout … Software Development c++ | |
hello. i have problem with c# multiple form app. in my first form i have a combo box, a list, a text box and an add item button. in the combo box i have a list of products. once i choose a product from combo box and enter the quantity … Software Development | |
Hi folks, I'm working on a complex AI system that pulls information from the internet (and possibly from other live sources in the future) and learns from it in the same way that a human does. I'm not sure if this counts as a C# problem or more of a … | |
I am trying to create a program that counts the Prime numbers then I will continue and use this second method in my main method. I am confused how to count the Prime numbers. I just pulled the text from JEdit.. not sure if that was the right way to … Software Development java | |
this is in windows project i have one form which has a progress bar from that i am calling a class file which has decrypting function in it while it performs decryption of a file i want to show the progress of decryption in my form now how do i … Software Development file-system | |
Hi!!! I have made a database application and I am unable to delete the record in it.There is one comboobx, a textbox and a listview.For each item selected in combobox I am adding corresponding item entered in textbox . And each combobox and textbox item are displaying in listview.In database … Software Development listview | |
Hai I have to provide icons for my C# application (just like any other application!) But what is the optimum size of these icons used for different purposes? GUI has a icon, menu has got images etc. I got downloads in which different sizes of icons and even images in … | |
Hi, When using the following SQL query I get back just over 12,000 records. SELECT JobNumber FROM myTABLE; There are alot of duplicates within the records. I am wanting to only get back one of each JobNumber. If I use SELECT JobNumber FROM myTABLE GROUP BY JobNumber the number of … Software Development sql visual-basic | |
hi pls give me the full solution for this one. tnx | |
Hi All, I need help in passing data from a datagridview control to textboxes control. When the user select the data from datagridview and then click the command button control in form1, I want the record to be displayed in the texboxes of form2. How do I go about coding … Software Development visual-basic | |
hi! am a final year student and i need u to help me wit some project topics in vb.net. and the source codes. thanks Software Development vb.net | |
I am working on a Pong game that also uses a gun to shoot out the rear wall of the playing box, so that the ball may escape. I'm using Dev-C++ and the Allegro library. There are two slight problems... 1) The "bullet" fired from the gun hits its target, … Software Development c++ | |
Hey am trying to read contents of a text file into memory and will be read later by a different function. This is how i am considering doing it I was thinking of reading the whole file into an array but thought it might be too big seeing as file … Software Development c++ file-system | |
Hi, I'm trying to send an e-mail from a managed application. I found the following example: [code] MailAddress ^From = gcnew MailAddress("xxx@zzz.com"); MailAddress ^To = gcnew MailAddress("ttt@zzz.com"); MailMessage ^message = gcnew MailMessage(From, To); message->Subject = "Testing sending mail"; message->Body = "Body of message"; SmtpClient^ client = gcnew SmtpClient( "smtp.foo.com" ); … Software Development c++ client-server | |
I have problem with pop-up screen. The code can be compile and run but when the pop-up screen appear, I can't close the pop-up screen. I have to click a lot of times on the OK button. Here is the code:[CODE]i:Integer; begin for i := 0 to 4 do begin … Software Development pascal | |
Hi, I have a problem, I have written a class, inside another class. No problem with that, but I have now come to develop a unit test for the outer class. The JUnit must be able to test the methods of the inner class as well as all other class … Software Development java | |
Could anyone tel me that how can I link two widgets in PyQt4. one more thing I want to know. I have created a tabbed view. How can I add the vcontents in a tabbed view? Software Development python | |
how to read the output of the html, Actaully I am writing a small text as output whenever I invoke the html file but when I am using urllib.read() or webbrowser.read() I am able to read the source of the html rather than its output. I am a begineer So … | |
![]() | Dear Folks, I am trying to use python-idiom to reverse a list of lists so that, for example, a = [[1, 2], ['apple', 'orange']] becomes b = [['orange', 'apple'], [2, 1]] My code for this at present is: [CODE] import copy a = [[1, 2], ["apple", "orange"]] if type(a) is … |
Hi, I want to execute unix commands(pdftops and ps2pdf) in windows system using java environment. but m getting error.plz help me. here is my code:[CODE] public static Process p1; public static Runtime rt; rt = Runtime.getRuntime(); ////linux commands filename=args[0].replace(".pdf","temp.pdf"); String pdftopsCmd ="pdftops "+args[0]+" temp.ps"; String pstopdfCmd="ps2pdf temp.ps " +filename; p1 … | |
Hey guys, I recently found out how to make .py an exe using py2exe and I also found another program called "Smart Install Maker." I bought the license and wanted to let you know if you want to send me your .py, I will package it for you for free. … Software Development python | |
Here is the description of my project: write a program to produce an "addition table." This table should input two small int8 values from the user. It should verify that the input is correct(i.e., handle the ex.ConversionError and ex.ValueOutOfRange exceptions) and is postitive. The second input value must be greater … Software Development assembly | |
I am new to PyQt... I wanted to know how to add the contents in each tab of the tabbed view. Also, I wanted to know how to link two widgets./ Software Development python | |
Hi All, I am trying to get the maximum no of column in a table through XSLT code. Below i had placed the sample table format. Here column tagged as 'th' and 'td'. Some of the column having 'colspan' attribute. I am struggling how to add colspan value in a … Software Development xml | |
Hi all, I have been poking wx document and also google but i havent prevailed. All I need is to get all drives C, D, E etc just like my computer is. What is the trick? Thanks Software Development python | |
I have been beating my head against the walls about the all time favorite Cars Inventory program. I got Cars to compile but won't run due to a exception in thread "main"java.lang.NoSuchMethodError:main and spent many hours....trying to eliminate error. [CODE] // Cars.java //Car inventory program public class Cars { private … Software Development java | |
I am new student in c programming class and I have to do a program that shows "currency Conversion" and then make a flow chart and control sheet. Software Development c | |
Hello, so I'm fairly new to C++ but not to programming overall. I have created a simple TXT file with about 15 words in them, and I would like to write a program which asks me for a number of words, you type it in (simple cout, cin) and it … Software Development c++ | |
I'm doing programming which can traverse subdirectory and show lists. If I check just file part, it was not problem. But when I do directory part, and have to recurse program itself(I marked as "from this part"), it show strcat segment error. I'm thinking it's problem if string and char* … Software Development c++ | |
hi i dont know how to install ijl11.dll i have a exe version of it and how could i incorporate this dll to my application Software Development visual-basic | |
Did i use the code tag correctly ? let me know? Im trying to figure out how to error trap this program so if the user doesnt put in a valid response then a message will cum up and they will go back 2 the beginning until they do it … Software Development c++ | |
i have no background with arrays, so please treat me like an idiot. what i am doing: i have a task management system that can share a task between 1-50 different users. whenever a user adds a note or takes themselves off the task, i would like for each user … Software Development visual-basic | |
hi im doing a project using the bubblesort feature. I have to print out an inputted array of 26 characters sorted by ascii characters. i need to print them out ascending and descending, and also print out the top 3 occuring characters and their counts. i also need the largest … Software Development c++ | |
Greetings everyone! I hope to learn and become better in programming. But honestly, my heart fails me everytime I face a new assignment. This one is just another heartache. Thing is, the question wants me to print out n-bit strings in lexicographical order ( meaning increasing order ). And I … Software Development c++ | |
I'm new at this. How come this doesn't work... [CODE] Private Sub ColorKeyForm_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint 'Draws diagonal line of dot and dash on form Dim objGraphics As Graphics = Me.CreateGraphics Dim objPen As Pen objPen = New Pen(Drawing.Color.DarkBlue, 3) objPen.DashStyle = Drawing2D.DashStyle.DashDot objGraphics.DrawLine(objPen, … Software Development vb.net | |
i cant figure out why this outputs the wrong number when i say the length and width is 1 it outputs 2293544. and i dont know if its reading the 2 numbers i put in for length and width i use the magic formula and still does it case 'B':; … Software Development c++ | |
Dear Community, I know that Java and C# and various OTHER programming languages support a variable type Object, which is basically a variable that can hold ANY kind of variable type, from strings to booleans. I was wondering if this is possible in C++, I REALLY badly need something of … Software Development c++ | |
I want to use a proxy in my code. What I'm trying to do is open a list of proxies from a .txt and load them as the proxy. If I just can get the code to use proxy, I'm sure I can figure out the rest. Here is my … Software Development python | |
I am having some trouble moving labels up and down. I've gotten them to move left and right but cannot seem to get them to move up and down. Also I wanted to control a picture box by arrow keys. I'm not totally sure along which code I need to … Software Development vb.net | |
I am Trying to write a Java Program that animates 4 arcs to make it look like a moving fan. As of now I have the arcs drawn and Im trying to make buttons for my slow, med, fast and off settings Im getting the following errors: DrawArcs.java:6: cannot find … Software Development java java-swing | |
I am attempting to create a GUI for a console C++ program in Visual C++. Apparently, it is like learning the language all over. Here is my problem: I am attempting to write the contents of a textbox to a file, but I get the error "error C2228: left of … Software Development c++ gui open-source | |
hello all, i am new to c++ and just started learning about 1 week ago. i wrote a (console) program that does simple math, it asks you to enter couple numbers and will output an average. i want to know how to write and if statement where it will say … Software Development c++ | |
[CODE]I cant get this to read these numbers correctly 11.95f, SQFT2 = 12.35f, SQFT3 = 13.28f, PI = 3.14159f, when i run it , the answer comes out to be a whole number 11.[/CODE] i also need help on the do while loop i almost got it but i ended … | |
Good afternoon, I have been working on a simple problem for a long time because I am really not sure how to approach it. I need a user to type in a sentence at a command prompt, after that I trim the String and place it into an array to … Software Development c++ | |
Hi, well, I have an ArrayList with this values ACU ACU ACU ACU ACY ACY AER AER AER AGC I need to get the number of items of each Word, so for ACU we will get 4, ACY we will get 2, AER we will get 3, AGC we will … Software Development java | |
Hey guys, i am having a problem in my query statement. I am using Mysql in Netbeans and c++. Really Hope for some help. I posted it here as i read up a bit on it and it seems the solution is based on c++. What i am trying to … Software Development c++ | |
Hello, I am working on project in which i want a treeview should have multiple child that ie There is one parent and that parent should have multiple child and all this through coding using Primary key and Forieng key so any body who know ot plz send me the … Software Development | |
i keep getting 4 errors on here and i cant figure out what they are I followed the syntax i believe [CODE] } if (( tot_mon <= 0.0f && orig_mon <= 0.0f)) cout << "You need more cash, you dont have enough\n" << endl; else if (tot_mon <= 0); cout … Software Development c++ | |
I have a program for school. The program is an inventory program. It will start by writing blank records to a file. The user then should have a case drive menu. The user will select an option for what action they desire. Actions are add new record, change record, and … |
The End.