43,549 Solved Topics
Remove Filter ![]() | |
Can i use borland c++ 5.5 to design graphic programs? if yes, please reference a book that i can use(ebook please). Software Development c++ | |
Hello, I am looking for some help with a program i am writing. It is supposed to ask you for the name of an object and the 'create' said object. It ends with an error message saying that the hard drive was wiped. The only problem is that i can't … Software Development c++ hard-drive | |
Hi guys, good day, just want to ask if there's a function that determines the number of days in a month, In a Roman Calendar, the days in a month are either 30 or 31, but if it's a leap year(every 4 years) the month of February is 29 instead … Software Development visual-basic | |
Hi All I am having a problem on finding a solution regarding the ff problem I need to do a search using a textbox and a datagrid, that means type in a text on the textbox and press enter and If a record is found the datagrid should point to … Software Development | |
What is a static method and when should I use one? Software Development python | |
I'm looking for some major help. I'm a decently new coder, taking a Python class independent study. I was writing a program for a two-player 21 game. (Like blackjack only I start with only one card... for some reason.) Only problem is, while the code doesn't seem to contain any … Software Development python | |
Guys.. I am trying to figure out Comparator so I can compare Strings in an object array (the object has other data types as well). I have been hunting around and have come up with this.. but I cant get it to work --> Can anyone point me in the … Software Development java | |
[B]Title:[/B] WinSock connect() problem. Client thinks it is connected even when Server is down As of right now, my program incorrectly displays the status of the connecting socket. Because of the if statements seen below, even when the server is down, my friends can access a part of the program … Software Development c++ client-server | |
I have two similar lists and want to create a new list with just the differences between the two. Is there an existing function or do I have to iterate with a for loop? Software Development python | |
Hi, I want to make a program that can make asterisks around the text, so the output is something like this: Enter string: Hello World ************* * Hello World * ************* I do not want to use the multiplication technique (ex: "*" * 5), and I want to try using … Software Development python | |
I am trying to compile this, but when I run g++, I get this: tom@griffindor:~/Projects/wermz$ make g++ -c -Wall -O3 main.cpp -o main.o g++ -c -Wall -O3 wermz.cpp -o wermz.o g++ -c -Wall -O3 logger.cpp -o logger.o g++ -c -Wall -O3 win_funcs.cpp -o win_funcs.o g++ -c -Wall -O3 lin_funcs.cpp -o … Software Development c++ | |
Hey, my problem basically is that I have no idea why images that I am loading from my files are not getting printed to this little panel I've created. Basically, the functionality i have is that users select units and then I want to lay out all the units that … Software Development | |
i am using scanner class, i faced problem when i tried to get a string with space. How can i modify my code to solve the problem. Here is my code: [CODE] import java.util.Scanner; class abc { public void main(String[] args) { Scanner abc = new Scanner(System.in); System.out.print("Name: "); String … Software Development java | |
I have two question: 1. how to read the string below into token ? 2. how to include the query into the token without having to reprint it? I have made a thread earlier but i have fixed and this version is shorter so i hope one of you will … Software Development c++ | |
I am building a code that needs to find the average of a set of scores in a list that can have amounts added and removed. I know how to find the average of a list of scores of a fixed number can someone help me on how to find … Software Development python | |
I always wondered how a programmer could efficiently generate a random number from a set* of numbers once and only once. I quickly realized the inefficient solution. Simply generate the number and if it equals one you have all ready generated then regenerate the number. Regenerating the number is a … Software Development python | |
Hello all, I am working on an assignment and came across a problem. The assignment is to take a file with integers and calculate the average. Here is my code: [CODE]#include <iostream> #include <fstream> #include <stdlib> #include <conio.h> double calculateAverage(double Number, double Sum); void trimSpaces(char Filename[]); int main() { ifstream … Software Development c++ file-system | |
Hello... This is my last assignment from my Data Structures class. I turned it in and got a good grade, but it still has one problem that I am unable to pinpoint. The assignment is as follows: Create an alphabetical linked list from a .txt file containing various names. (1 … Software Development java linked-list | |
So I'm working on a project for a class in which we have to create a parser for a made up grammar. The input is read from a file. When I use input that is in the grammar, the program works. For certain input not in the grammar such as … Software Development c++ | |
I want to populate my msflexgrid with lots of data from a database and it takes seconds for the process to complete. In that case, i need to include a progress bar that shows the progress of the process above and i do not know the code that will simultaneously … Software Development visual-basic | |
Write a new program called paginate.cc. It should work like this: Usage: paginate [--lines-per-page #] [--columns-per-page #] [--tabstop #] file [...] Required command line parsing: The options may be given in any order, but must all precede the file(s) to be printed. Parsing the argument should simply deposit the associated … Software Development c++ | |
The code below is failed to let me input the data twice because im only able to open the text file and read it once. I have included a part of the file. [CODE]#include <iostream> #include <iomanip> #include <fstream> #include <string> #include <vector> #include <sstream> using namespace std; class Record … Software Development c++ file-stream file-system | |
I can't find a simple command that does this. If there's no command that does this I'm going to spam python.org until they finally agree to put this in the next version of python. Software Development python | |
I've got a book for python 2. in school and the problem is that we're programming in 3. which makes it difficult from time to time to get it right, cause you cant just copy the text in the book to the shell. I'm stuck with this ex: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # … Software Development python | |
i need to write code for two "robots" that will chase each other around the screen. im stuck on a command which is the step(x,y) command which take the (x,y) coordinates of the other robot as a parameter which should just contain "pass" and will be overridden by the subclass. … | |
with the function: list(string) you put every letter from the string in a list, I want to put each 2 letters in a list so If I had the string: ThisIsATestt I want to get a list: ['Th','is','Is','AT','es','tt'] (There will never be a letter alone, so you don't have to … Software Development python | |
I can't figure out how to display the ImageIcons after I get three random cards. I tried to add the .png to the random number and that didn't work. I would appreciate your help. import java.awt.GridLayout; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JLabel; public class Exercise139 { public static void main(String[] … Software Development java java-swing | |
Dear Friend, i have a crystal report, in which i have amount of Different Items, now i want to calculate total amount of all that items and show Total Amount at the end of the Report. so please tell me how can i calculate Total amount of different items in … | |
please i need help in my c++ assignment its about loop ( while and for) and i cant do it im gonna write it and hoping if any one can solve them before 25\10 pleaaaaaaaaaaaaaaaaaaaaaaaaaaase 1- write a c++ program that will read in the integer N, and calculate: a) … | |
I have this code which I need to be compiled in 64-bit mode but have no 64-bit capable compiler. First of all, could somebody compile this code for me and put the executable on filedropper.com or something? And second of all, does anybody know of a free 64-bit capable compiler … Software Development c++ windows-vista | |
Hi! I am a beginer in C# and I have 2 forms in a project. The first one contains a [U]dataGridview[/U] with 3 columns: nr,date and obs and a [U]button[/U]. when i select a row and click on a button i want to copy the current nr,date and obs in … Software Development | |
Hello, I'm trying to create a program that calculates the hypotenuse and area of a right triangle. I need to round the hypotenuse to 2 places after the decimal, and one place for the area However, I can't seem to get it to work If I tried c = int(round(math.sqrt(a**2) … Software Development python | |
if I write 500 in a textbox then a label.caption show "Profit". If I write -500 the the label.caption show Loss. I write code[CODE]If Format(Text1, "0000000") Then Label1.Caption = "Profit"[/CODE] but for -500 what I need to write? Software Development visual-basic | |
Hi , I am busy converting a VB6 project to c#. Now in vb6 , the columns have intellisense like so... [code=VB] rsIBBSData!DrOrCr = 1 'rs is the recordset [/code] But in c# , i would either have to create an sql query , or use datarow with a column … | |
hello ! i have a probelm which i'm unable to understand.i'm programming in Dev-C++.when i'm compiling the programm i've written it's showing 'compiled successfully' without any error message,but when i want to run it is giving the message 'project not compiled' and hence not running the program.I can't understand what's … Software Development c++ | |
I have two dtpicker. here I want I select two date from dtpicker and the total sum of amount will show in two diffrent textbox. like: I have two field, expense and income. the total amount of expenses will show in a textbox by selected date and other textbox show … Software Development visual-basic | |
Hi I need a vb.net example code to execute a batch file when a button is clicked in my application .. The .bat file is in a different location and it must be called and executed.... Thanks in advance.. Software Development vb.net | |
Hello everyone, I need some help with instances and loops (I am a very new programmer). Basically, I have a problem where I need to make a program that has a circle move around a window every time the user clicks. This circle is suppose to have a text box … Software Development python | |
Hi Guys, I am stuck i need reports in my VB 6.0 small project (Crate Management System, anyone with good tutorials or ready to help me on this one, i have used ADODC and a Microsoft Access Database. Software Development microsoft-access visual-basic | |
#include <stdio.h> int main() { int age; printf("Please enter your age:"); scanf("%d", &age); if(age<100) { printf("You are pretty young!!!\n"); } else{ if(age==100) { printf("You are old\n"); } else { if(age>100) { printf("You are really old\n"); } } } getchar(); return 0; } the program just flashes wen i click run … Software Development c | |
Hi. I'm having trouble making a simple calculator. The code I have so far compiles, but it does not run. Right now I only have addition in because I wanted to make sure I was going in the right direction before I added anything else. I have to use a … Software Development c++ | |
hi, pls. tell me how to select value from a check box, & from a list box or combo box. actually i m new to c# , so sorry for this stupid question but i need your help. Thanx in advance. Happy Diwali Regards ~ Dimple Software Development | |
hi, i m trying to get value from of first column of selected row from datagridview. please help me....\ Thanks in advance Software Development vb.net | |
in my data report I have two rptfunction. both of them show the total sum. here I want 1 extra rptfuncion show the calculate amount. I mean it show (1st rptfunction - 2nd rptfunction). like: 1st rpt...2000 and 2nd rpt....1500. so the 3rd rpt... show 500. and one more thing … Software Development visual-basic | |
Hello everyone of DaniWeb!! I have an issue with the good old Mortgage Calculator I need to make this list, but i am not sure what i am doing wrong. any help? Here is the assignment Write the program in VB.Net (not Web based) and have it accept user input … Software Development vb.net | |
Im trying to write a program thats uses call function, but for some reason the program. Can someone help point out what i might be missing in the code? [CODE]#include <iostream> #include <cmath> using namespace std; void timeoffall(); void velatimpact(); int main () { double h; cout << "Please enter … Software Development c++ | |
Quick question regarding the Fraction class created in the header file. Someone in my group used this in the header and I was wondering if there was an alternative to coding it than what they used. Something simpler for me to understand. It seems they just took a shortcut. [CODE]public: … Software Development c++ | |
I'm needing to evaluate string infix equations and transform them to postfix equations. I'm following the info here: [url]http://scriptasylum.com/tutorials/infix_postfix/algorithms/infix-postfix/index.htm[/url] 1.) I'm confused by this line: "compare the precedence of the character with the element on top of the stack" It's asking me to compare the precedence of an operand to … Software Development java | |
How do i do that when Button5 is pressed it will add 3600 to the textbox1 and if button4 will add 1800 cuz when i do press the button 5 textbox says 3600 its ok but when i press button4 the 3600 change to 1800 i want it to add … Software Development vb.net | |
Hi... I'm a new user here. I've stumbled across this place on a couple occasions in the past, and it worked out to my advantage when I needed a little help with some coding assignments. My Data Structures class is working on stacks right now, and that is our current … Software Development data-structure java |
The End.