Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
~21.0K People Reached
Interests
Nothing to see on this page,not your business
Favorite Tags
c# x 27
c++ x 25
oop x 23
java x 13
php x 9

58 Posted Topics

Member Avatar for PulsarScript

What does mean by saying polymorphism allows programming in general rather then programming in specific?

Member Avatar for JamesCherrill
0
304
Member Avatar for PulsarScript

Hi everyone .I am looking for some nice c# project,-free source on which i can apply unit tests,rhino mocks,stubs.Can you sugest any source to get the project,i need to practice on tests.Thanks

0
147
Member Avatar for PulsarScript

Hi,i have a code like this : using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ClassLibraryMoq { public class Class1 { public interface ISendr { string send(); } public class smsSender : ISendr { public string send() { return "SMS send"; } } public class emailSender : …

0
137
Member Avatar for PulsarScript

Hi,can somebody help me to call the boolean method in foreach in client. Here is my code: Client namespace Client { class Program { static void Main(string[] args) { var list = new List<Tuple<int, string>>(); list.Add(Tuple.Create(100, "Andy")); list.Add(Tuple.Create(200, "John")); list.Add(Tuple.Create(300, "Sally")); foreach (var item in list) { Console.WriteLine(item.Item1.ToString()); Console.WriteLine(item.Item2); } …

Member Avatar for PulsarScript
0
2K
Member Avatar for PulsarScript

Hi all would like to ask question about JPA syntax ,which of this 2 versions of code syntaticly better and safer? public static Prices getPriceById(int id){ EntityManager em = DBUtil.getEntityManagerFactory().createEntityManager(); return em.find(Prices.class, id); } or this version : public static Prices getPriceById(int id){ EntityManager em = DBUtil.getEntityManagerFactory().createEntityManager(); try{ Prices pr …

Member Avatar for JamesCherrill
0
208
Member Avatar for PulsarScript

Hi have a question,why i do not get value output for FutureValue,do i use in the wrong place in Main method calculateFutureValue() ? package sd4.dobs.ui; import java.util.Scanner; public class Console { private static Scanner sc = new Scanner(System.in); public static void displayLine() { System.out.println(); } public static void displayLine(String s) …

Member Avatar for PulsarScript
0
597
Member Avatar for PulsarScript

Hi all i have couple jsp pages and java class as follows below.Can you help me with the session on the handleForm .jsp As this page supposed to show all info entered by the user in the form.I did manage to display session object in thanks,jsp But have now a …

0
183
Member Avatar for PulsarScript

Have a problem on line 128 : out.println("Location \tAveragePrice"); Not recognize it.And the program not compiling. Have a txt file(cars.txt) : CARREG MAKE MODEL COLOUR LOCATIOn PRICE OWNERS MILEAGE 09-L-1258 OPEL ASTRA SILVER LIMERICK 12999 0 35000 01-D-7845 FORD FOCUS BLACK LIMERICK 1500 3 85000 11-D-7425 NISSAN ALMERA WHITE DUBLIN …

Member Avatar for JamesCherrill
0
390
Member Avatar for PulsarScript

Hi,please help.Stack with streamtokens.I want to figure out how to print the table : County Max Min Condition Clare 4 0 Cloudy Cork 3 0 Rain Kerry 4 1 Showers Limerick 4 1 Cloudy Tipperary 3 -1 Clear Waterford 2 -2 Clear in format : County Average Daily Temp Freeze …

Member Avatar for JamesCherrill
0
295
Member Avatar for PulsarScript

Hi all can you throw some light on the resolution of my problem,should be simple ,but can not figured out .Here is my server and client class,The problem is server does not show the JOption pane with result. public class Client { /** * @param args the command line arguments …

Member Avatar for PulsarScript
0
1K
Member Avatar for PulsarScript

Hi all.I got task to do,here are the details: A social network service consists of a representation of each user (often a profile), his/her social links, and a variety of additional services Registered users may register and set up a PROFILE/ home page, photo etc. Please advise the steps,how it …

Member Avatar for midastouchwebs
0
157
Member Avatar for PulsarScript

Please,help to set the relational notations in database table.Would much appreceate the help. ![database.png](/attachments/large/4/7de31bb1f14ab6db9af54e4c91d912a7.png "align-center")

Member Avatar for diafol
0
136
Member Avatar for PulsarScript

Hi can anyone help with EER diagram,have databse,but need EER diagram,in workbench backword engineer does not create the relationships automatically.Need to set up manually.Just for 4 tables.Can someone help? I will upload then my database file.Thanks

0
106
Member Avatar for tinstaafl
Member Avatar for tinstaafl
0
7K
Member Avatar for PulsarScript

How do i slow down event,so the output would look like this? ![inf0.jpg](/attachments/large/4/604aa730335dcea1405b3a2282ba3097.jpg "align-center") using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Timers; namespace Event1 { public delegate void DingDongHandler(string text); public class ClassWithEvent { public Timer DingdongTimer { get; private set; } public event DingDongHandler DingDong; public void …

Member Avatar for JOSheaIV
0
136
Member Avatar for PulsarScript

Hi have a question,i know it is always a good practice to include default in the switch,but can it be omitted in this case? As i see it would be redundant. static void Main(string[] args) { bool quit = false; do { var option = ShowMenu(); switch (option) { case …

Member Avatar for TekknoDraykko
0
147
Member Avatar for PulsarScript

namespace BinaryFileIO { class Program { static void Main() { FileStream BinFile = new FileStream("BinFile.bin", FileMode.Create, FileAccess.Write); BinaryFormatter bformatter1 = new BinaryFormatter(); //right to file Random rng = new Random(); for (int i = 0; i < 10; i++) { // how do i put to the file and than …

Member Avatar for yesi_1
0
134
Member Avatar for PulsarScript

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CompareLab { abstract class Person { public string Name { get; set; } public string Id { get; set; } public Person( string name,int ID) { Name = name; Id = ID; } public abstract void DisplayDetails( ); } …

Member Avatar for pritaeas
0
139
Member Avatar for PulsarScript

![Untitled1.jpg](/attachments/large/4/af84738d3622fd36115e8d4a78a992f1.jpg "align-center") Hi all,how do i do cascade on delete and update on this to tables,i have database,once i enter lecturer i can not delete because of constraints between this 2 tables.I tried in Lecturer table choose cascade on delete and update,not allowed,if do from module table same story. ![Untitled.jpg](/attachments/large/4/7437ddeb602b1183a2451fa886597054.jpg …

0
107
Member Avatar for PulsarScript

Hi this is my program,supposed to output all methods ,based on "square" input and based on"circle" output case circle.But in any of the scenario only one function gets executed,What did i missed? using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; delegate int OperationDelegate(int a); namespace DelegationLAB { public …

Member Avatar for tinstaafl
0
152
Member Avatar for PulsarScript

Hi, how can i avoid of key beeing inserted into wrong location.If i do lets say 3 numbers ,5 digits long like 12345,23445,56745 and choose location 45,they will be inserted to location 45,but if try to insert 67452 to the same location it will be inserted,but i need it to …

Member Avatar for StuXYZ
0
198
Member Avatar for PulsarScript

Hi all,can someone help to identify and remove strange blue lines in the form: //here is the form: <form class="getinput" method="post" action="<?php echo $_SERVER['PHP_SELF'];?>"> <div> <h2>Login</h2> <table class="form"> <tr><td> <label> <span>Lecturer ID</span><input name="lecturerId" type="text" id="tableField"> </label> </td></tr> <tr><td> </td></tr> <tr><td> <label> <span>Password</span><input name="password" type="text" id="tableField"><br/> <input name="send" type="submit" id="sendButton" value="Submit"> …

Member Avatar for JorgeM
0
130
Member Avatar for PulsarScript

I have this program,all i am stuck with is how to check if my file League.bin exits and if it is exists need to de-serialized into ArrayList and if it does exist user should initialize 4 teams,which i tried in FootballMethod(),plus i tried to do in the main top check …

Member Avatar for tinstaafl
0
158
Member Avatar for PulsarScript

Here is my code,how do i use the length property to show length of the random.bin file? static void Main(string[] args) { FileStream fs = new FileStream("random.bin", FileMode.OpenOrCreate, FileAccess.ReadWrite); // has to be declared in method scope Random r = new Random(); for (int i = 0; i < 10; …

Member Avatar for tinstaafl
0
158
Member Avatar for PulsarScript
Member Avatar for diafol
0
145
Member Avatar for PulsarScript

Hi here is my code,can someone help to edit the directory.getfile(),so i could output all files in c:\ Windows ? using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LogicalDrives { class Program { public static void GetLogicalDrives() { string[] drives = System.IO.Directory.GetLogicalDrives(); foreach (string str …

Member Avatar for sfuo
0
203
Member Avatar for PulsarScript

Hi can anyone give an answer? Found this in cryptology book: ii. Assuming that your computing platform can perform 1 billion divisions per second (and assuming that the rest of the program takes negligible time), what is the largest number of digits an inputted integer n could have so that …

Member Avatar for Smalls
0
123
Member Avatar for PulsarScript

Hi all,can someone show how to ctreate binary file ,using Filestream and rand function Random r = new Random(),then close,open file and read numbers from file and write to the console binary numbers.I see i need the loop structure.Can't find an example.Thanks in advance.

Member Avatar for tinstaafl
0
115
Member Avatar for PulsarScript

I need to appned .txt to user input,like course and put in to the file,looks like i managed to do it ,but in second part need arraylist and insert into it subjects and then right to the text file and ouput/display. For some reason the 'exit' is diplayed too and …

Member Avatar for ddanbe
0
169
Member Avatar for PulsarScript

Hi all here is my database,need help to add and associate edit button to the table

0
86
Member Avatar for PulsarScript

Hi All ,how do i round up this to 2 decimals: public override double GetPaymentAmount() { double paymentAmount = (WeeklySalary * 52 / 12); return paymentAmount; }

Member Avatar for Smalls
0
171
Member Avatar for PulsarScript

Here i have my deposit class: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; namespace CollectionAccounts { public class DepositAccount : Account,IDisplayable { private double interestRate; public DepositAccount(string id) : base(id) { interestRate = 0; } public double InterestRate { get;private set; } public void AddInterest() …

Member Avatar for PulsarScript
0
144
Member Avatar for PulsarScript

Here is the file.The idea is to create phone book, and retrieve items from menu. The error i have with ofstream method. And in generlal is structure/layout of program correct?

Member Avatar for ddanbe
0
98
Member Avatar for PulsarScript

Hi all,here is the task Write a program y = PrimeCheck (n) that inputs an integer n > 1, and outputs an integer y that is 1 if n is a prime number and 0 if it is not. The method used should use a brute force check to see …

Member Avatar for PulsarScript
0
266
Member Avatar for PulsarScript
Member Avatar for PulsarScript

Hi all ,how to create multiplication table,based on user input.User enters 1 value in one box,second value in second box and pressses the create table button for output? Regards

Member Avatar for pixelsoul
0
89
Member Avatar for PulsarScript

Hi all,here is the code c# Array.Copy,what does the o means in the code block? using System; class Program Hi all what does the 0 means in the code block? using System; class Program { static void Main() { int[] values1 = { 4, 4, 4 }; int[] values2 = …

Member Avatar for deceptikon
0
557
Member Avatar for PulsarScript

//Hi all just switching from c++ to c#.Can anyone help,with the question i have: //this is a peace of code from c++ banking aplication int ShowMenu(void); void AddAccount(vector<CAccount*>& list); void DisplayAccount (vector<CAccount*>& list); void Lodgement (vector<CAccount*>& list); void Withdroawal (vector<CAccount*>& list); void InterestRate (vector<CAccount*>& list); CAccount* findAccount (vector<CAccount*>string ); bool …

Member Avatar for ddanbe
0
2K
Member Avatar for PulsarScript

//please can someone explain the output 4 8 12,why is it so? Thanks int count = 0; do { for( int i = 0; i < 4; i++ ) count++; cout << count << ‘ ‘; } while ( count < 10 );

Member Avatar for PulsarScript
0
199
Member Avatar for PulsarScript

//The code contains 10 distinct syntax errors. //Rewrite the code, correcting all syntax errors. int _tmain(int argc, _TCHAR* argv[]) { int numStamps{4} = {0,0,0,0}; ProcessFileData(numStamps); DisplayDenominationTable(numStamps); double totalCost = CalculateCost(numStamps); cout << "Total cost of stamps is " << totalCost << " euro"<< endline; return 0; } //this is my …

Member Avatar for Suzie999
0
242
Member Avatar for PulsarScript

Hi all,how do i link lets say thankyou.html page to my conatct.html page,so the idea is after submiting the page,by pressing the submit button,the confirmation page should pop up. Thank you. Part two - how to set up php so the request/submited page is sent to my email

Member Avatar for Bob Hensley
0
191
Member Avatar for PulsarScript

Hi all! I do the project about seafishing from the boat.Can anyone help to build the interesting storyboard.? Opened for ideas 24/7.Regards.

Member Avatar for stultuske
0
158
Member Avatar for PulsarScript

Hi to all! I decided to make project about cars and their makes. Can anyone suggest some interesting functions that it might have,to make it interesting Thank you,i opned for ideas 24/7

Member Avatar for vmanes
0
105
Member Avatar for PulsarScript

Hi to all,i have to make project with the classes.Can anyone suggest the topic for the project?Or show the idea.Thank you.

Member Avatar for rubberman
0
111
Member Avatar for PulsarScript
Member Avatar for PulsarScript

Hi to all,can someone can help with animation project and help with the steps. I have canvas created and a few imagesof pacman 7x7 px ,how will i make him move left,then right,up? It something to do with positioning.And second question is how to put the diffrerent color on the …

0
96
Member Avatar for PulsarScript

Hi all.How to make the ball in pixel art,so i could use perfect round ball in my anumation project? Or how to make perfect shapes

0
63
Member Avatar for PulsarScript

here is the code #include "stdafx.h" using namespace std; void GetPicture( ifstream& infile, int picture[8][8]); void GetCanvas( ifstream& infile, int canvas[45][75]); void InitBlank( int blank[8][8]); void InsertPictureInCanvas( int picture[8][8], int canvas[45][75], int startrow, int startcol); void ShowCanvas( int canvas[45][75] ); void Delay(int time); int _tmain(int argc, _TCHAR* argv[]) { //load …

0
89
Member Avatar for PulsarScript

Hi all,can enyone give a solution ,how to emplement random function,so it could randomly select numbers from the saved text file(grid) and output in matrix . What i try to do is:Create animation project,but would like color matrix as a background.What i did so far is came up to the …

Member Avatar for owenransen
0
189
Member Avatar for PulsarScript

Hi to all,could anyone please suggest the animation project? I am on the first year of software development course and need to start with animation project.Any ideas,suggestions?Regards.

Member Avatar for llgms
0
146

The End.