- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
- Interests
- Nothing to see on this page,not your business
58 Posted Topics
What does mean by saying polymorphism allows programming in general rather then programming in specific? | |
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 | |
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 : … | |
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); } … | |
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 … | |
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) … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Please,help to set the relational notations in database table.Would much appreceate the help.  ![]() | |
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 | |
Re: Where is the password is stored and is there any validation on password? | |
How do i slow down event,so the output would look like this?  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 … | |
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 … | |
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 … | |
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( ); } … | |
 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. ; namespace DelegationLAB { public … | |
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 … | |
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"> … | |
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 … | |
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; … | |
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 … | |
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 … | |
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. | |
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 … | |
Hi all here is my database,need help to add and associate edit button to the table | |
Hi All ,how do i round up this to 2 decimals: public override double GetPaymentAmount() { double paymentAmount = (WeeklySalary * 52 / 12); return paymentAmount; } | |
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() … | |
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? | |
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 … | |
Hi,can some one guide how to do this algorithm in c#? | |
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 | |
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 = … | |
//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 … | |
//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 ); | |
//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 … | |
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 | |
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. | |
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 | |
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. | |
How to create a class in visual studio 2012? | |
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 … | |
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 | |
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 … | |
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 … | |
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. |
The End.