43,549 Solved Topics
Remove Filter ![]() | |
hi guys i am new to java and i barly learning i got some slides that teachs java from the start i started good at declaring values like ingers, strings, etc.. and made simple programs that counts sum of two numbers and the avarge and now i am stuck at … Software Development java | |
Hello! I am new to programming and c# and im trying to create a application that will guide you through a school with pictures. So you would be able to press forward, backward, left and right and it will lead you to a new picture. What I dont understand is … Software Development | |
Hey, I was just wondering whether it is possible to do multiple tasks in a console application at the same time. Like lets say if a program reads user's input and displays output at the same time, can the program carry on displaying output while it waits for user's input … Software Development c++ | |
Hello, Why break function doesn't work at that code ?: [CODE]double Number = 0, counter = 0; // declare here. for (int i = 1; i <= 10; i++) { //Entering ten numbers Console.Write("Enter the number:"); Number += double.Parse(Console.ReadLine()); //keep incrementing number /*If user write number 0 in console before … Software Development | |
Hello, I'm doing a full traversal of a binary search tree structure looking for a node by a field that is not the sort key. If the node i'm looking for is the root node, no problem. If it's any other node then the function has a Seg Fault. Anyone … Software Development c++ programming-construct | |
I need to make inspection of my code to Optimise it. Which profiler do you use and recommend? I use CodeLite IDE with GCC Compile (MinGW on windows) and wxWidgets for all GUI stuffs Thanks | |
I use Visual Basic 2008 I had this code in Visual Basic 6.0 that the replace the ASCII value of [COLOR="Red"]decimal point [/COLOR]for the ASCII value for a [COLOR="red"]comma[/COLOR][CODE] Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii = 46 Then KeyAscii =44 End Sub [/CODE] But this does not work Visual … Software Development vb.net visual-basic | |
well,I got some fundamental programming knowledge in C# and some Visual Basic. Inheritance,Arrays,Loops,DataBases,and create library files in VB.NET,create classes in VB.NET and ,create properties and methods and some other things. currently I follow Ivor Horton's Visual Studio 2010 and I feel it may take years to study the whole 1000pages< … Software Development c++ gui opengl visual-basic visual-studio | |
create pseudocode program that will be used in a medical office or billing department. The client needs to be able to access a database that contains all of the patient’s information as well as their medical records and billing information. The following features must be included in the final design. … Software Development c++ database-design finance | |
My whole program works completely fine ~400 lines of code including comments, but I have this at the bottom of my code. This is the last bit of code in my java program... Is this okay to have, if not what should I do instead. [CODE] private static void End() … Software Development java java-swing | |
Hello, dear Programmers! Prompt - how to get the coordinates (of picture box) of the point which was clicked (by mouse))? Thank you for your answer) Software Development | |
i have a major error whenever i run my code... im using visual studio c++ 2010 express. here's the code: [CODE]# include <allegro.h> # include <iostream> # include <cmath> #define down 0 #define left 32 #define right 64 #define up 96 int main(){ allegro_init(); install_keyboard(); install_mouse(); set_gfx_mode(GFX_AUTODETECT_WINDOWED, 640, 480, 0, … Software Development c++ visual-studio | |
how to copy data from one system to another in solaris.. i have tried rcp,scp commands but some times its not working.... tell me if there are any other commands other than rcp and scp . Software Development shell-scripting | |
OK, i have this Backup module for my system's database. Now i would like to have a module of restoring and deleting backups of it. Here's some info: The backup files created are stored in a Folder named "Backup" My database has 2 Columns having OLE type objects, Pictures and … Software Development visual-basic | |
Hello all... I'm trying to populate a Flexgrid using an SQL query that involves values external to the database being queried. The database contains latitudes and longitudes of points of interest on Earth. Ie. Point A, -43.5644,-79.5432 Point B, -89.5433, 76.3343 Point C, 54.6433 , 65.4432 What I want to … Software Development sql visual-basic | |
Im trying to do employee database using vb6.0, problem is that, is it possible that after clicking a command button this will call a PDF file... the Scenario is this: [command button] """""""""""""""""""""" "VIEW JOB DESCRIPTION" """""""""""""""""""""" [after pressing this will call/fetch the specific job description of the employee and … Software Development pdf visual-basic | |
Let P1 and P2 are two polynominals.. where p1 = 1 + 4X^2 + x^4 and p2 = 2x^2 + x^4 program is to multiply p1 with p2 p3 = p1 * p2 Like line 1: ( 1 + 4x^2 + x^4) (2x^2 + x^4) line 2: 1*(2x^2 + x^4) … Software Development c | |
Hello all, I've been a part of this community for a while now but after making the mistake of permanently losing access to my email, I've had to change my username :P Anyways, I'm looking to throw my hat back into the programming ring. I have the basic knowledge of … Software Development gui visual-basic | |
I want to know the procedure by which we can calculate time complexity of a C program. and how would we compare two algorithms. here are two sorting programs. how to compare both. [CODE] for(i = 0; i < n - 1; i++) for(j = i + 1; j < … Software Development c | |
[url]http://img195.imageshack.us/img195/6971/treeqg.jpg[/url] This is my tree.. one on the top is before and one on the bottom is after the change has been made.. did I do this correctly? Thank you in advance! Software Development java | |
SO, I have been working on this Java program that is to emulate an ATM. I am having an issue with the program calling my functions. The code currently does not run. The user inputs 1,2, or 3 and the code breaks because I am assuming that the constructor is … Software Development java java-netbeans | |
[CODE][/CODE]Hi, I hve some problem with inline attachment file.i already done with attached file,but when receiver receive the email,it not same like attached.for example like below. in the attach file: age total 12 - 15 5 16 - 20 8 21 - 25 10 when receive it becomes like that: … Software Development | |
My code is giving a wrong output for the 3rd pair of vectors im finding the dot product of, although the first two are correct. (outputs - 0, 3, -3(should be 1))... I just cant find wahts wrong, i was guessing something to do with the -1 in the b … Software Development c | |
My application freezes randomly with no error output. I've been beating my head over it's code and don't want to continue working on it until this problem is resolved. I'm thinking it's a synchronization problem. I've attached the source code. Any help would be greatly appreciated. Software Development java | |
[B]$? in linux gives the exit status of the recently executed command , as i have learnt. suppose i give a cd command at the terminal and if such a directory or file is not present, echo $? following it gives me 1. but, when the same is run via … Software Development python | |
![]() | I am trying to write a program to add large numbers with stacks. However, I do not know how to get each digit on to a stack individually. This is what I mean: For example, take the input 3784. How do I get the 3, 7, 8, and 4 as … Software Development c++ ![]() |
The assigment sounds like this : Write a C++ program that request and displays information as show in the following example of out: What is your first name? Betty Sue What is your last name? Yew What letter of grade do you deserve? B What is your age? 22 Name: … Software Development c++ | |
hello all i hav a script when i print it's execution in some line there is #+ in the starting and somewhere there is #++.can anyone plz tell me about these Software Development shell-scripting | |
Ok it's all about to create 4 class Class a , class b derived from a and c derived from b and test class Speed is an instance variable in class b and c. The method are : Start() -a method of all class to print the message"hee" override the … | |
I have this rather stupid litle excel issue which somehow just doesn't go away by itself; I'm creating a excel chart from three rows of information data. Each row has a header, so far so good. The first row exixt of calender data and I planned it to use them … Software Development vb.net | |
Dear All , The question is quite simple for all of you . I have a binary file . A description for this file says that : "first 2 bytes in the header is the number of records" I have opened this file and loaded it into bytes by this … Software Development file-stream file-system vb.net | |
Hello, I'm currently a student in college and to get right to the point - I'm having a problem with figuring out the logic of making the program. This is how I want my interface to look TOP - MasterMind : Probably JLabel CENTER - Where you set each guess … Software Development gui java user-interface window-manager | |
Hello, I'd like to get people's opinion on the below. Let's say we want to create a constant mapping between int & String within our application. An obvious solution is to create an Enum with a getter() which returns the String based on a given int. However, we could also … Software Development java | |
I am just curious if anyone knows how to BEGIN to start the coding for telling the program to have a GUI with typical fields, labels, buttons, panels, etc in a GUI, and then when a user presses a button, it goes to a complete different GUI with brand new … | |
Well I'll go straight to the point... I'm trying to recursively move through a binary search tree. I'm not really sure what is wrong with my algorithm (and I'm also pretty new to recursion) but this is what I have: [CODE] public boolean contains(BTreeNode<T> node) { return containsItem(root, node); } … | |
Hi guys, I'm having some trouble with my Java homework, and I was wondering if any of you could point me in the right direction. I need to find a loop that will add all the whole numbers from 1 to 1000 and print only the total. I've been spending … Software Development java | |
Hi! My JAVA+MySQL api worked fine yesterday, but today (when I try to connect to MySQL DB from remote machine) the fllowing erro is produced: [ICODE]Java Result: -805306369[/ICODE]. Although there is e.prinstachtrace() in my code, I received only this message. It happens here: [CODE] db = (Connection) DriverManager.getConnection("jdbc:mysql://" + url … | |
How would i go about converting raptor code into python code? Software Development python | |
Hi Guys need a bit of help. I right a c# program that connects to a database and do various things. One of them is to delete a record. currently I can delete a record that i specify but i want it to delete a selected row in the dataset. … Software Development dataset gui microsoft-access open-source | |
Hi everyone, I'm kinda new to this - both to DaniWeb and to C++ programming, so I hope you'll bear with me and my rookie questions. Anyways, I'm trying to build a little C++ program that my daughter can use to practice multiplication. It's supposed to receive two numbers and … Software Development c++ | |
Hello, Do anyone know how to continue the loop to get an average of entered numbers: [code] //Using loop to enter the numbers for (int i = 1; i <= 10; i++) { //Entering ten numbers Console.Write("Enter the number:"); int Number = int.Parse(Console.ReadLine()); /*If user write number 0 in console … Software Development | |
I'm a newbie in assembly Google search was not helping much can some1 tell me how to write %2 in assembly? ps. there might be more question coming up since I'm trying to finish my HW Software Development assembly | |
Hey guys, I have a question regarding this code I made some days ago.. (works fine) [CODE]#include <stdio.h> /*para printf(),scanf()*/ #include <conio.h> /*para getch(),clrscr()*/ #include <stdlib.h>/*para exit()*/ #include <math.h> //#include <dos.h> //#define NUMEL 20 double f(double x); void _error(int n); enum{INTERVALOS}; enum{SIMPSON1_3=1,SALIR}; int n; float a,b; //float X[NUMEL],Fx[NUMEL]; /*Metodo de … Software Development c | |
Hello, I am more experienced with Java and trying to write a script for a server I have. I need to learn Python anyway, so I am attempting to do it in python. I am not completely lost, but just puzzled why it would do this. Here is the code … Software Development apache python python-django | |
I am writing a program that calculates Fibonacci numbers... But I keep getting an error on my code when I try to compile it...: Fibonacci.java:18: illegal start of expression public int calcFib (int n) { ^ 1 error I don't know what I am doing wrong? Someone help? Here's my … Software Development java | |
Yeah I know the usual Palindrome problem, but anyway here it is. Given a number greater than zero and up to 200. Find Palindrome of it by adding its reverse to it and repeating until a Palindrome is reached. If taken more than 10 iterations stop. So here is my … Software Development java | |
Hi All, I have a first hashmap with some values and I have a second hashmap with diff values. Question: How can I find the diff between two hash maps and print only the difference. ~Vilas Software Development java | |
I'm trying to write a program which asks for the number of animals and then the name and the population of each animal. I want to get it to add the population of each animal but I having trouble getting the variables from the dictionary and adding them. This is … Software Development python | |
Hello, I have a problem with coding circumscribed rectangle in C# [B]console application[/B]. Whith that code i get just filled rectangle which is not correct fot my task: [code] //Entering dimensions of the rectangle Console.Write("Enter the height of the rectangle: "); int Height = int.Parse(Console.ReadLine()); Console.Write("Enter the width of the … Software Development | |
Hello. I'm trying to print some text using printDocument. I've managed to print out the text I need into a pdf. The text is taken from the database which is initially made when the windows form loads. The problem is: Once it prints, it shows the pdf, which is fine … |
The End.