Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~15.3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for boiishuvo

Firstly, the program used a doubly linked-list which contains ID and NAME lists. Both ID and NAME are parallel. For example, Tony 2456, David 3749, Jessica 9743 and so on. So I created a method; its function is to remove a specific ID by user input, then it should remove …

Member Avatar for boiishuvo
0
174
Member Avatar for boiishuvo

the data file contains: 1908,Souths,Easts,Souths,Cumberland,Y,14,12,4000 1909,Souths,Balmain,Souths,Wests,N 1910,Newtown,Souths,Newtown,Wests,Y,4,4,14000 1911,Easts,Glebe,Glebe,Balmain,Y,11,8,20000 Each line represents a season of premiership and has the following format: year, premiers, runners up, minor premiers, wooden spooners, Grand Final held, winning score, losing score, crowd What I need is to display a list of Grand Final held as 'Y'. …

Member Avatar for stultuske
0
276
Member Avatar for boiishuvo

How do you create a node with fullName and studentID in the "add" method and then put them into the correct positions which the name_first and name_second should move until the name in the name_first is larger than the new_Name and name_second is smaller than the new_Name? public class NodeDemo{ …

Member Avatar for JamesCherrill
0
275
Member Avatar for boiishuvo

This code works fine but it would be too long if the score is 50 or over. Is there any way to make it shorter and quicker? I tried to use for loop statement but it didn't work well. background(backgroundChange); if (score >= 5 && score < 10) backgroundChange-=0.8; else …

Member Avatar for JamesCherrill
0
187
Member Avatar for boiishuvo

Hey, I'm making a simple moving car at night with its headlight bulbs and I'm using PROCESSING software, not java. What I tried to make is when the car touches the right border, the headlight bulb of the right side of the car should be changed to the left side …

Member Avatar for bguild
0
259
Member Avatar for boiishuvo

I have one problem at the line 20-23. What I need is when the blue box touches the red rectangle, the blue box gets resetted (it goes back to where it starts). However, the problem is, it doesn't touch the red rectangle area properly. Any suggestions? Thanks in advance. float …

Member Avatar for margaret224
0
318
Member Avatar for boiishuvo

Okay I am trying to write a program where a parent process creates three child processes. Also waits for each of them to finish. Here is my code: [code] #include <stdio.h> #include <unistd.h> main() { int i; // create 3 child processes for (i = 0; i < 3; i++) …

Member Avatar for rakeshbiswal
0
4K
Member Avatar for boiishuvo

I made a simple program - conservative sequence integers with a sum, for example input: 15, the output should be 1, 2, 3, 4, 5 I made this program in c++ and it worked successfully, see below: #include <iostream> #include <string> using namespace std; int main() { int num, i, …

Member Avatar for Taywin
0
249
Member Avatar for boiishuvo

That is a little homework for myself. I was trying to make a simple program that you entry your name (acts as a password) and if it's on the list then you may access, otherwise (aka else) you're not allowed to access. The problem is I can't put more than …

Member Avatar for zeroliken
0
184
Member Avatar for boiishuvo

I want to make a program that it can create a HTML page. It should be able to make a table (with data provided) using the HTML by the program itself. This code also uses wsgi so when the program runs you will need to type the localhost on a …

Member Avatar for woooee
0
337
Member Avatar for boiishuvo

[CODE]info = '''<table> <tr align = "center"> <h1> Lachlan Osborn </h1> <p> Address: 5 Smith Street, Manly <br> Date of Birth: 26th April 1993 </p> <a href="semester.html"><b>My Semester Units</b></a> <p><b>Check out my <a href="hobbies.html">hobbies.</a></b></p> </tr> </center>''' def remove_html(text, info): import re text = re.sub(r'<.*?>', '', info) return text remove_html(text.strip())[/CODE]

Member Avatar for snippsat
0
283
Member Avatar for boiishuvo

I want this program to read a text file then target and replace anything start with < and end with > for example it finds <html>, replace that into **** but somehow i tested it and it didn't work than i expected. any suggestions? [CODE]def remove_html(text): txtLIST = list(text) i …

Member Avatar for boiishuvo
0
446
Member Avatar for boiishuvo

I am trying to make a python that can remove any occurences of any word in stopwords from the wordlist, but I don't know what is exactly wrong with this program. Any suggestions? [code]STOPWORDS = ['a','able','about','across','after','all','almost','also','am','among', 'an','and','any','are','as','at','be','because','been','but','by','can', 'cannot','could','dear','did','do','does','either','else','ever','every', 'for','from','get','got','had','has','have','he','her','hers','him','his', 'how','however','i','if','in','into','is','it','its','just','least','let', 'like','likely','may','me','might','most','must','my','neither','no','nor', 'not','of','off','often','on','only','or','other','our','own','rather','said', 'say','says','she','should','since','so','some','than','that','the','their', 'them','then','there','these','they','this','tis','to','too','twas','us', 'wants','was','we','were','what','when','where','which','while','who', 'whom','why','will','with','would','yet','you','your'] def remove_stop_words(wordlist, stopwords=STOPWORDS): wordlist …

Member Avatar for HiHe
0
807
Member Avatar for boiishuvo

When I tried to compile this code, it has one error says ThreadsDemo.java:37: 'else' without 'if' else { ^ I don't know what's wrong with that exactly? [CODE]import java.util.*; class A extends Thread { private static int counter=0; private final int id=++counter; A() { start(); } public void run() { …

Member Avatar for JamesCherrill
0
83
Member Avatar for boiishuvo

I designed to look like that picture click here: [url]http://i195.photobucket.com/albums/z285/boiishuvo/eg.jpg[/url] But I got two errors shown below: Pizza.java:150: cannot find symbol symbol : constructor Labels(java.lang.String) location: class Labels localJPanel5.add("North", new Labels("PIZZA")); ^ Pizza.java:187: cannot find symbol symbol : constructor Labels(java.lang.String) location: class Labels localJPanel12.add(new Labels("PRICE")); ^ Can anyone fix that …

Member Avatar for Ezzaral
0
282
Member Avatar for boiishuvo

I have many header files for stacks such as pushStack, popStack, destroyStack, etc eg //stacksADT.h file #include "P3-06.h" /* Stack ADT Definitions */ #include "P3-07.h" /* Create Stack */ #include "P3-08.h" /* Push Stack */ #include "P3-09.h" /* Pop Stack */ #include "P3-10.h" /* Retrieve Stack Top */ #include "P3-11.h" …

Member Avatar for Adak
0
4K
Member Avatar for boiishuvo

Hi, I wrote a simple program that should display the text (with specific fonts), one color background and drawing. I tried to run the program but it didn't work. Any suggestions? What is the method of Graphics that allow you to draw within the program? eg java.awt.Graphics but I don't …

Member Avatar for tong1
0
145
Member Avatar for boiishuvo

That is a stack program - I tried to change from integers to characters so when you enter a single char of a-z. I ran the program then it displayed shown below: Enter a number: <EOF> to stop: a Enter a number: <EOF> to stop: Enter a number: <EOF> to …

Member Avatar for Adak
0
128
Member Avatar for boiishuvo

I am a new learner of Java. Thq question is "Write a Java program ShowStars.java so that java ShowStars numA1 numB1 .... display a sequence of stars "*", starting from position numA1 and ending at position numB1. If there are further such integer pairs, say, numA2 and numB2, do the …

Member Avatar for javaAddict
0
182
Member Avatar for boiishuvo

Firstly I want to show you the code and it can run properly: You may copy each file and paste them into a C++ software and run it please. [B][U]Trader.h file[/U][/B] [code] const int NumSeller = 1; const int NumBuyer = 1; const int NumBids = 10; const int MinQuantity …

Member Avatar for abhimanipal
0
103
Member Avatar for boiishuvo

Ok firstly I want to show you my code here: [B][COLOR="Red"]Trader.h file[/COLOR][/B] [code] const int NumSeller = 1; const int NumBuyer = 1; const int NumBids = 10; const int MinQuantity = 1; const int MaxQuantity = 30; const int MinPrice =50; const int MaxPrice = 100; class Trader { …

Member Avatar for boiishuvo
0
145
Member Avatar for boiishuvo

Hello, I am only starting to design a C program that opens a file; [code] #include <stdio.h> #include <string.h> #include <stdlib.h> int main(void) { FILE *fp; fp = fopen ("file.txt", "r"); if (fp == NULL) { perror("Can't open the file"); return EXIT_FAILURE; } printf ("%d\n", fp); system("pause"); return EXIT_SUCCESS; } …

Member Avatar for abhimanipal
0
2K
Member Avatar for boiishuvo

Hi, my goal is to implement a program (in OO style) for cruise booking system that can accept and maintain customers’ reservation. Whenever a customer visits, that program should show him/her the current availablility of cabins. A customer can choose any available cabin with specified level (0 – 2, down …

Member Avatar for boiishuvo
0
133
Member Avatar for boiishuvo

[COLOR="Red"]Check out the red highlighter below, how can you sum the studentMark[MaxSize] for an average. For example (78.5 + 66 + 73 + 56.5 + 88.3 + 64.5 + 45 + 57) divides actualNum = average. I've been figuring that one for hours! [/COLOR] [code] #include <iostream> #include <string> using …

Member Avatar for VernonDozier
0
503
Member Avatar for boiishuvo

option_3(): >>cin >> studentID[actualNum]; is actually working though :S I've tested it and it works fine. The code marked in red is supposed to be just an average, but the thing is I have no idea how to sum (add) the studentMark then display the total of all students' marks. …

0
79