132,726 Archived Topics
Remove Filter ![]() | |
This is what i have so far.. i've figured out how to do the mortgage payment but I am having trouble displaying the loan balance and interest paid for each payment over the term of the loan. can someone please help with the code and formulas? Here's the code i … Software Development java | |
Trying to find an easier way to write my code. I am using the graphics.py module. I will add the graphics program as an attachment for anyone who does not have it or doesn't know what I am talking about. The first program I made is archery. Just simple circles … Software Development python | |
[CODE] int [] wronglist = new int [incorrect]; for (int i = 0; i < 6; i++){ for (int j = 0; j < i; j++){ if (studentArray[i] != ansArray[i]) wronglist[i] = (j+1); [/CODE] ok i'm trying to write a program that figures out what number did the user got … Software Development java | |
Hi, I'm in a beginning class in C++ and we need to make an assignment that inputs a file, prints it to the screen, and then prints it to the screen again with an underscore every 5 blanks. I got the last part to work, but I can't get it … | |
Hi I have made a program on Visual Basic 2008. I have put textbox1 and button1 ONLY. I have disabled button1. I want button1 only to be enabled when we type some numbers in textbox1. I also want that we can ONLY type numbers in textbox1, not letters or other … Software Development vb.net visual-basic | |
hello Friends:; I have question and I wont your help.. I do it,but I'm stuk in printing :icon_cry:.. This the code, I hope you can help ,, Thanks Write a class TelephoneDirectory. It has a telephoneList attribute as a HashMap. The TelephoneDirectory has the following methods: a.addTelephoneEntry ( TelephoneNumber number, … Software Development java | |
Is there anything you have to glEnable for glutBitmapCharacter to work? Because when I use that function, nothing shows up on the screen. At the moment this is how I'm trying to draw: [icode]glutBitmapCharacter(GLUT_BITMAP_TIMES_ROMAN_24, 'A');[/icode] These are the things I've enabled: [code=c] glEnable(GL_DEPTH_TEST); glEnable(GL_TEXTURE_2D); [/code] Software Development c | |
Hello All, First of all, I am beginner so please bear with me. :) I want to extract data within the table from a html code. Lets consider HTML code to be in a file. I have read the data to a variable. Now using this variable I want to … | |
hi.. we really need help on how to d i s p l a y, a d d, s u b t r a c t, m u l t i p l y polynomials. the display should be in ascending order of degree.. and our program should be j … Software Development java | |
Cn anybody give me a program about adding nodes at the end of the list in C? I just need a basis of a program that I will be creating. I also needed its algorithm. Thanks in advance. Software Development algorithm c linked-list | |
Have another problem with an OBJ model format converter I'm making. As a test, I want to read in data from an OBJ file, and write it out in a different format, and then the other way around. The problem I currently have is that I want it to be … Software Development c++ | |
I want to know how to create a makefile so that I dont have to type in the files I am linking together. Also is it possible to use a make file which will run two files. I have a fraction.h file and fraction.cxx (implentation file) I have a main.cpp … Software Development c++ | |
Hi Netizens, I wish you guys can guide me in here. In the following code, I've compiled flawlessly and I didn't managed to get the output screen and I'm kind of in the dark since I didn't find the answer that I wanted through internet browsing after a while. Any … Software Development gui java java-swing | |
hello guys i have a question because in my I.O.File i use this to save the data in the listview in a c:\test.txt but the problem is that it only save one data and every time i click the save the previous data that i save is deleted and it … Software Development file-stream file-system listview vb.net | |
Hi all, I'm sure this is a trivial question for the veterans (and the newbs maybe as well). But I just can't find a straight answer to it. So here it goes: I have my main.cpp file, and 2 more files, custom.h and custom.cpp. Obviously, custom.h would contain declarations, prototype...etc, … Software Development c++ | |
I am new to this site, but is there anyone out there who could point me in a different direction. I am trying to get the "Knights Tour" to work. The issue that I am having is that it seems to print several number twice. Software Development c++ | |
This snippet defines a function [icode]exc_browse()[/icode] which displays the current python exception in the web browser. This can be useful to non web programmers who want a nicely displayed exception traceback (web frameworks usually include this feature). The idea of this function is to store the html code generated by … Software Development display python web-browser | |
in this program i've pushed 10 values into array but i use the condition [iCODE]if (tos==9)[/iCODE] which means no value should be stored at 10th position but when i am storing values, [iCODE]for (int i=1;i<=10;i++) first.push(i);[/iCODE] [CODE]class Stack{ int StackArray[] = new int[10]; int tos; Stack(){ tos=-1; } public void … Software Development java | |
I got some problem here..I wanted to generate 6 digits number without repeating into a textbox when the form load in java...but i m stuck and lost here...someone can help me ?? Software Development java | |
this is code for encrypting files using c language. //password encryption program for securing password //pws v 1.0 [B][CODE] #include <conio.h> #include <stdlib.h> #include <stdio.h> //create this directory first D:\Sec_pw (OR as per your system drive names) //file will be overwritten at each execution of program so use once //increase … Software Development c encryption | |
I'm attempting to run a simple VB script that opens an Excel 2007 spreadsheet, reads cell data and then echos it to the screen, however I get the following error: UpdateTitle.vbs(4, 1) (null): The server threw an exception Here is the code: Set objExcel = CreateObject("Excel.Application") objExcel.Visible = False objExcel.Workbooks.Open("C:\Temp\ADUserUpdates\ADUserUpdates\qryEmployee.xlsx") … Software Development visual-basic | |
Hi everyone, Im a python beginner so please bare with me, i have done the first few project euler but thats it, Im trying to write a script that will search all txt, htm, html files recursively through multiple directorys for a string and will then write the whole line … Software Development file-system python | |
Hallo everybody, Can someone help me with some regexs for testing : - in a textbox , i need to test only string carachters , not numbers,digits, spaces; - in a textbox , i want to text only numbers, not strings, char..other. Please.. Pattern patternForInfo = Pattern.compile("[a-zA-Z]", Pattern.CASE_INSENSITIVE); Pattern patternForNumere … | |
What is the maximum size of one Datagram Packet java makes. Iam implementing my own protocol with defined features which runs over UDP. For every packet i have defined a set of headers. Now these headers are to be defined in every packet. So unless i do not know the … Software Development java | |
[CODE]import java.util.Scanner; import java.text.DecimalFormat; public class Assignment3 { public static void main(String [] args) { Scanner scan = new Scanner(System.in); String first,last ; int id; //First and last names and ID input System.out.println("Welcome to the Grade Calculator"); System.out.print("Please enter your first name:\t"); first = scan.nextLine(); System.out.print("Please enter your last name:\t"); … Software Development java | |
distance does not name type mistake even though I suppose that I am right. pls help [CODE]#include <cstdlib> #include <iostream> #include <conio.h> #include <sstream> // struct unit with loop inside.... using namespace std; struct distance { int mt; float cm; }; struct room { distance length; distance width; }; int … Software Development c++ | |
Whats wrong with my code? [CODE=c]#include <stdio.h> main() { char x[10]; printf("Enter [True/False] : "); scanf("%s", x); if(x=="true") printf("Great..\n"); else printf("What's wrong?\n"); } [/CODE] result: [CODE]root@invecta:~# gcc -o result if.c root@invecta:~# ./result Enter [True/False] : true What's wrong? root@invecta:~# [/CODE] Software Development c | |
I think there may be a math error in my program and I may not be seeing it. Is it possible for someone to go over it just to make sure it is ok. I have done everything I could think of to try to fix it, but it is … | |
I am trying to create a cpp file that will enable user to download the content from a web URL & stored it to a desired html file. I am running on Linux. The program will call GNU wget CLI program to grab the content & stored it to a … | |
Below is code from an assignment I am working on, the parts in bold are what I have added. What I have to do is add command line argument "-c filename". Basically the code is a hashtable that when -c is used, user will enter a list of words into … Software Development c | |
Hi, I'm trying to create a Web Form in C# - the form has a username and password textbox. The user enters there username and password which I want the program to check if it exists in the SQL database. I'm trying to create a login.cs class and then run … Software Development open-source sql | |
hello guys can u help me with this my code [CODE] Dim myFile As String = "C:\report.html" Dim stream As New IO.FileStream(myFile, IO.FileMode.Create) Dim writer As New IO.StreamWriter(stream) writer.WriteLine() writer.WriteLine("" & TextBox8.Text) writer.WriteLine("" & DateTimePicker1.Text) writer.WriteLine() writer.WriteLine() writer.WriteLine("Customer Name | Cost | Number of hours | Time Start | Time … | |
i'm having problems with the edit function on my program. when i enter something, it crashes. it prints out "File not found" endlessly. [code] #include<iostream.h> #include<fstream.h> #include<conio.h> void info() { cout << " **********************************************" << endl; cout << " * Case Study - 2 *" << endl; cout << " … Software Development c++ file-system | |
How to connect dynamic IP in ODBC Driver using Visual Basic 6.0 Software Development mysql visual-basic | |
I've just started programming in c#, its a simple Forms application with single form. I have a class written in a separate .cs file in its own namespace. The rest of the code is in the Form1.cs file. I am able to create an instance of the my class and … | |
Could anyone instruct me about the Python code for magic square 3*3, I got some instructions but still made no dent in program. Could anybody send me the code? O(∩_∩)O Thanks! here's the instrctions: magic3 # In recreational mathematics, a magic square of order n # is an arrangement of … Software Development mathematics python | |
hello to all i m student of software engineering. i m making my semester project on hotel room reservation i want to get all records from ms acess in data grid.. plz help me... thankx Software Development engineering vb.net | |
I'm very new to programing, anyways, i was instructed to crate a program to calculate the are of rectangle, using the input from the user ( width, lenght ) using functions here is what i have, but i'm getting a error at the end [CODE] recWidth = input ('Please enter … Software Development python | |
I don't fully understand how to modify the datapaths/control signals to account for instructions. I have to make the single-cycle datapath able to do the instructions: jr lui addi bne I've been starting at this thing for an hour or so and haven't made much progress. With the jr instruction, … Software Development assembly | |
I don't know what is wrong with my code here, the if conditions there never run true.[CODE] String words [] = new String[10];{ //Store the word string words[1] = "apple"; words[2] = "ice cream";} String searchData = ""; JTextField mySearchArea = new JTextField(7); public void init() { setLayout(new FlowLayout(FlowLayout.RIGHT,10,10); add(mySearchArea); … | |
[COLOR="Green"]Function booklvwRec(str As String) Dim rs As New ADODB.Recordset catlvw.ListItems.Clear rs.Open str, connect, 2, 3[/COLOR] [COLOR="Red"](this section has an error, what is the error in this section) and the error state that: "[B][U]the connection cannot be used to perform this operation. it is either closed or invalid in this connection[/U][/B]"[/COLOR] … Software Development visual-basic | |
Hi, I am new to the world of assembly and am trying to understand the flags and interpretation between an asm file and my cpp code. I basically have an asm function called by cpp file that runs a divide routine and am dereferencing to return parameter value for pointer: … | |
Hi everyone, I m running program but got stuck in after if/else if statements, Jpane doesnt show anything.I couldnt figure out. Thanks [CODE]public class FancyGuessingGame { public static void main(String[] args) { Scanner console = new Scanner(System.in); int guess; int num; String name; String Guess; name = JOptionPane.showInputDialog(null, "Please enter … Software Development java | |
HI All, can any one help me how to convert customize date formats like these below "JAN FY2010" "Q1 FY2010" [CODE]DateFormat df = new SimpleDateFormat("?")[/CODE] as i couldnt find any matching date formats to these. Appreciate your help!!!!! Software Development java | |
Delphi has been always a preferred technology to develop desktop based applications, but now we can develop browser based application using Delphi component. Benefits: Transition to browser based easily using Delphi coding Easy debugging Ajax Techniques Full cross-browser applications We can host it on Apache If you are you looking … | |
[CODE]public static int totalCorrect(String [] studentArray, String [] ansArray){ int numCorrect = 0; for (int i = 0; i < 6; i++){ if (studentArray[i] == ansArray[i]) numCorrect += 1; } return numCorrect; } [/CODE] instead of returning the actual number, it always return 0. here is the whole program: [CODE]import … Software Development java | |
how to resize a button when mouse gose over it??? is it posible?? Software Development | |
I'm trying to write a function called (sumTo) that takes as [B][U]arguments two integers[/U][/B]. My function should use a loop to sum all of the numbers between the two (This includes the starting and ending numbers) and return the sum. I want the function to allow for either argument to … Software Development c++ | |
So, first off lemme explain what a substitution code is in case you don't know. In cryptography, it's a system by which one letter is replaced with another predetermined letter. For example, if "I" turns to "E", and "F" turns to "V", the word "If" would be written as "Ev". … Software Development c++ encryption | |
I am trying to convert char to wchar , but its not working !!the else case always executed in this code [CODE] char p[500]; while(getline(inFile1, line)) { //we read p from file that contain only one word "why"............for testing strcpy_s(p, 500, line.c_str()); string search = p; const size_t newsize = … Software Development c++ |
The End.