842 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Duki

Hey guys, here's the question I'm asked. **a.** *Define an enumeration type, triangleType, that has the values **scalene, isosceles, euilateral, and noTriangle**.* **b.** *Write a function, triangleShape, that takes as parameters three numbers, each of which represents the length of a side of the triangle. The function should return the …

Software Development c++
Member Avatar for Dani
1
5K
Member Avatar for foumzeur

Hi, I'm facing a problem: I've to make an undo/redo using Command's design pattern. I've succed to make one, but when I want to use my undo/redo btn in an other view, it gives me an NullPointerException. Does anyone can help me? Here's the code of the 2 view's First …

Software Development java
Member Avatar for JamesCherrill
0
210
Member Avatar for Cyril1

I have two different files, fileA contains employee data (ID and townCode) while file B contains field office data (OfficeID, Town, TownCode, officeCapacity) and a town can contain more than one office. i want to distribute these employees to the offices in the town against their names evenly What I …

Software Development asp.net mysql vb.net visual-basic
Member Avatar for Paul Norris
0
173
Member Avatar for rhea_6

package student; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); StudentA stud1 = new StudentA(); System.out.print("Please Enter Student Name:"); stud1.Name = scan.next(); System.out.print("Please Enter Student ID:"); stud1.StudentID = scan.next(); System.out.print("Please Enter Course:"); stud1.Course = scan.next(); System.out.print("Please Enter Student Section:"); stud1.Section = …

Software Development java
Member Avatar for Paul Norris
0
85
Member Avatar for Deepak_71

I have my resoruces stored in mysql DB: eg : > |IPaddress | Status| |10.x.x.x| yes| |10.1.x.x| yes| I am trying to get the available resource and after that will update DB with status No. > query = ("SELECT IPaddress from TABLE where status='yes'") cursor = mydb.cursor() cursor.execute(query) result=cursor.fetchall() query1 …

Software Development mysql python
Member Avatar for Dani
0
45
Member Avatar for joe82

Hello everyone, I am writting a code where result is not coming correct because I am not able to join 2 lines to make a single line. Please help me e.g my input file is: AATTCCGGTTT CCTTAACCCCC I want my code to first join them together as AATTCCGGTTTCCTTAACCCCC and then …

Software Development python
Member Avatar for vishakha_3
0
22K
Member Avatar for ddanbe

Well, there was a thread about a frequency function and a bell curve in Excel. [url]http://www.daniweb.com/forums/thread295203.html[/url] So here it is how about to do the NORMDIST function in Excel in C#.

Software Development c# mathematics
Member Avatar for dlhockey12
0
3K
Member Avatar for or.linux

According to my assignment requirement I wrote this program, but still doesn't work......can someone help.....please Here is my exercise: "Write assembly code in ASSEMBLY LANGUAGE to read a password from the keyboard. Display the message ' Enter Password: ' and echo each character that the user types as an asterisk(*). …

Software Development assembly
Member Avatar for or.linux
0
2K
Member Avatar for agrbinoo.albaker

Write a C++ program that inputs a wavelength and then displays the associated light color. If the wavelength is shorter than 400 nm or longer than 700 nm, display the message “Wavelength outside visual range”. Classify boundary wavelengths as the lower-wavelength color. For example, label a wavelength of 424 nm …

Software Development c++
Member Avatar for braian44
0
723
Member Avatar for manay

Hi! May I seek for your help on how to calculate the number of days between two dates excluding weekends and public holidays using javascript. Also, how to calculate the end date (start date and duration given) excluding weekends and public holidays. Thank you.

Software Development java javascript
Member Avatar for AlbertinaGeller
0
387
Member Avatar for Gabriela_4

Hello! So I have this homework that i have no idea how to continue. this is an exemple of input,but i have to do it for a general one: **7 pencils car ball candy tshirt bike video_game Mike Andrew Inna** and the output must be like this: **Mike: pencils candy …

Software Development c c++ java pascal python
Member Avatar for rproffitt
0
168
Member Avatar for ComSciNum7

I'm having trouble with these functions made for a C++ hash table...any and all pointers in the right direction would be greatly appreciated! EDIT: table.h is the problem file, but I included node.h just in case! // FILE: table.h #ifndef TABLE_H #define TABLE_H #include <cstdlib> // Provides size_t #include <string> …

Software Development c++
Member Avatar for tinstaafl
0
152
Member Avatar for Dima_5
Member Avatar for Naheedmir
0
140
Member Avatar for Alexandre_6

//************************************************************************** int Sieve_A_Valve = 3; //small distributor int Sieve_B_Valve = 4; int Sieve_B_Valve2 = 5;//Defined Pin as Variable int PreCharge_Valve = 6; //Defined Pin as Variable // VARIABLE CREATION //************************************************************************** unsigned long Relay_Test_Delay; //delay variable creation unsigned long Startup_Purge_Delay; //delay variable creation unsigned long Production_Delay; //delay variable creation unsigned long …

Software Development c
Member Avatar for rproffitt
0
75
Member Avatar for Satyajeet_1
Member Avatar for Naheedmir
0
60
Member Avatar for Nicholas_19

Could you please find an assembly tutorial or reply with a [link](http://www.example.org) to it? Also, I'm new in here.

Software Development assembly gui
Member Avatar for Dani
0
45
Member Avatar for c++help

i have a program that has one little glitch but i dont know how to fix it. If you can help it would be great. [b][code][/b] int main() { int a, b, c; b=0; c=0; do { cout << "Please enter a positive integer (negative integer to stop):"<< ' '; …

Software Development c++
Member Avatar for vishakha_3
0
11K
Member Avatar for NinjaLink

"Write a program that reads in ten numbers to an array. The program then reads the array and displays distinct numbers (i.e. if a number appears multiple times, it is displayed only once)" for example: 1 2 3 4 [B]5 5 [/B]6 7 [B]8 8[/B] 9 1 2 3 4 …

Software Development c++
Member Avatar for Nor_492
0
7K
Member Avatar for thecoder2012

Hi, i have an autocomplete textbox in vb.net. It is working fine, but now i need to pop up the window again when the user hits enter or double clicks. So far, i know that when the user hits enter, the keydown event raises with e.kecode = 13. I guess …

Software Development vb.net
Member Avatar for Leroy_2
0
4K
Member Avatar for ITKnight

Hi all, I searching for how to make autocomplete in textbox. however there are list contain fruits name. "Apple" "Banana" "Pear" "Orange" When i type "Ap" in textbox, program will completed the text and highlight the fruit name in listbox. How i can do this. Thank you

Software Development visual-basic
Member Avatar for rewardlabel
0
2K
Member Avatar for Archenemie

Im looking for the "best" GUI builder for java. I use Eclipse to write my scripts, and i would appreciate you guys telling me your favourite GUI Builder and the reasons why. Thanks

Software Development java
Member Avatar for dotxyteam
0
2K
Member Avatar for BalagurunathanS

Hi Friends.. I need to get the free space and used space in hard drive ..Can anyone provide me with the code..I need the code in VB.net..I need to see the space available in each drive individually.. Someone help in this regard as early as possible.. Regards, Balagurunathan

Software Development vb.net
Member Avatar for Edward Lance
0
818
Member Avatar for SP SINGH_1
Member Avatar for Dani
0
357
Member Avatar for Tiondi gilbert
Member Avatar for Naheedmir
0
215
Member Avatar for ky123

May i knw how to write a program that can set goal, record food/drink consumed and record foodcomposition???

Software Development c c++ java microsoft
Member Avatar for Prasad_9
0
112
Member Avatar for Nelam parveen
Member Avatar for Keep_2

Yeah, same with the topic how can I become a Java master or advanced? Now I have finished Programming 2, but I don't know that, which level of my skill in java, and I want to know what how does Java master coding looks like?? Thank you

Software Development gui java visual-basic
Member Avatar for Reverend Jim
0
78
Member Avatar for KINYUA_1

Am having trouble implementing a conditional structure for the BillingClient class method queryPurchases(String y) to check if user has an active subscription and let him download an image in the wallpaper app else prevent him from doing so. Am having trouble getting a comparison target for the if method here …

Software Development java
Member Avatar for Mr.M
0
53
Member Avatar for TheNewKid

Hey guys, I have been looking around for a while but I can't seem to find any tutorial on how to print the contents of a RichEdit to a printer. Any help would be appreciated and if anyone has any links to a good tutorial please post them. Thanks! TheNewKid

Software Development c++
Member Avatar for Greg_21
0
546
Member Avatar for Huzaifa Ehsan

The value of π can be determined by the series equation π =4 * ( 1 −1/3+1/5 −1/ 7+1 /9− 1/ 11+1/13+... ) Write a recursive function that takes an odd number n and uses recursion to approximate the value of π using the given formula including term up through …

Software Development c++
Member Avatar for Reverend Jim
0
495

The End.