-
Replied To a Post in Passing array as const
Suzie you got my name wrong :( -
Replied To a Post in OOP development problem
Thats a good looking pdf - shall have a proper read later. It's normally called the "Liskov substitution principle" but I like the "Barbara Liskov Principle". We would have to … -
Replied To a Post in Passing array as const
Sorry one last thing to add! You can use File.ReadAllLines which already returns a string array so no need for lines 2 and 3. -
Began Watching OOP development problem
For my own use, I'd like to develop a small Vector and a Matrix class, independent of some big libraries that exist out there. My question is: Should Vector and … -
Replied To a Post in OOP development problem
I don't know anything about those objects but my tip would be to consider the Liskov substitution principle in making your decision. -
Replied To a Post in Edit Post Bug
Ok cool as least I'm not going mad! Of course there are workarounds as you suggest, I was just mentioning it in case someone wanted to fix it. -
Began Watching Chat app with back end .net server
I am developing a ios app with a chat feature. I have a Back end .net server. how can i achieve this goal ? -
Replied To a Post in Chat app with back end .net server
It may help if you break your questions into smaller more easily answered chunks rather than one monolithic question. -
Began Watching Nested Loop
Write the nested loop that causes this output below: *It can only use one if statement ( I'm having issues solving it I never solved a nested loop like this … -
Began Watching Microsoft Excel how to copy a spreadsheet in the same workbook and links to
Hi I thought this was easy. I want to copy a spreadsheet in a workbook to a new spreadsheet in the same workbook preserving links. So as the source worksheet … -
Replied To a Post in Microsoft Excel how to copy a spreadsheet in the same workbook and links to
Can you not just copy and paste? -
Edited Edit Post Bug
Is there a bug when editing a post? To reproduce follow these steps. a) Reply to post b) Edit to correct a typo maybe c) Save d) Edit again as … -
Edited Edit Post Bug
Is there a bug when editing a post? To reproduce follow these steps. a) Reply to post b) Edit to correct a typo maybe c) Save d) Edit again as … -
Edited Edit Post Bug
Is there a bug when editing a post? To reproduce follow these steps. a) Reply to post b) Edit to correct a typo maybe c) Save d) Edit again as … -
Created Edit Post Bug
Is there a bug when editing a post? To reproduce follow these steps. a) Reply to post b) Edit to correct a typo maybe c) Save d) Edit again as … -
Began Watching Edit Post Bug
Is there a bug when editing a post? To reproduce follow these steps. a) Reply to post b) Edit to correct a typo maybe c) Save d) Edit again as … -
Began Watching Passing array as const
I have a function that counts the commas in each item of an array of string. public int CommaCount(string[] sarray) { int count = 0; int commas = 0; for … -
Replied To a Post in Passing array as const
You could do it like this string[] wibble = { "AAAA", "BBB,B", "CCCCC" }; Console.WriteLine(CommaCount(wibble.ToArray())); Or like this: public static int CommaCount(string[] sarray) { var copy = sarray.ToArray(); int count … -
Began Watching Make Javascript countdown doesn't reset when page refresh
Excuse me, I want to ask how to make javascript countdown doesn't reset when page refresh?? thank you in advance -
Replied To a Post in Make Javascript countdown doesn't reset when page refresh
The scope of JavaScript code is per page so refreshing the page is like making the code start again - like switching it off and on again. So if you … -
Replied To a Post in Get difference in minutes
Actually my joke about it being 1 minute is way off as just noticed one time is AM and the other is PM! -
Began Watching Problem keeping variable's value...
I have a (probably stupid) question I hope someone can help me with.. So, I set a variaible beased on a form in put in the code behind, but then, … -
Replied To a Post in Problem keeping variable's value...
You are declaring your variable inside the curly brackets. This is the scope of the variable. Move it onto line 25 with string theamount; then assign it in your if … -
Replied To a Post in knight tour c# need help here
What knight tour do you want - can you be a bit more specific about the requirements? -
Began Watching knight tour c# need help here
please help me to make a knight tour code using c# form -
Replied To a Post in knight tour c# need help here
Are you talking about chess? -
Began Watching cascading Drop Down Error selects 1st item instead of selected item
I Am Using Cascading Drop down In Asp.Net Website But As I Select Third Or Forth Item From Drop down And Save It, It Stores First Value Only. I filled … -
Replied To a Post in cascading Drop Down Error selects 1st item instead of selected item
If you show us your code that might help. -
Began Watching Redirect from Wordpress to Windows
I have a website in wordpress and I have taken a new domain which is in windows server how do i redirect the wordpress website to this new domain in … -
Replied To a Post in Redirect from Wordpress to Windows
What is the current domain and the new one? -
Began Watching I want to create a campus chat group can any one help with the code please
Please someone help me create campus chat group i really need it -
Replied To a Post in I want to create a campus chat group can any one help with the code please
The code for this would be quite involved and I would assume would be web based? If so I'm confused why you posted in C++? -
Began Watching Error comparing IF statements
I am trying to compare IF statements. if ($_POST['price'] =="see all"){ //show okolo } else if ($_POST["accommodation"] =="see all"){ //show chibuzo } This works but as soon as I add: … -
Replied To a Post in Error comparing IF statements
That's right as the first if condition is satisfield. Try putting the last one at the start instead. if ($_POST['price'] =="see all" AND $_POST['accommodation"]=="see all") { //show henry } else … -
Began Watching Pick the closest number out of dictionary
Hi guys, I am trying to write a program which picks the closest number possible out of a dictionary. The dictionary contains 50 doubles values, and I use a random … -
Began Watching help with a list of strings
Hi guys, I'm looking into MVC and I'm reasing this tutorial http://www.asp.net/mvc/overview/older-versions/hands-on-labs/aspnet-mvc-4-fundamentals I've got to the point of adding a model and the class they add is this: public class … -
Replied To a Post in help with a list of strings
Hi This is indeed a Generic List. You can create a List of anything eg List<Customer> or List<Invoice> To Add things you just use: var model = new StoreIndexViewModel(); model.Genres.Add("Horror"); … -
Replied To a Post in how to add new model class
Is what a serious suggestion? -
Began Watching What is your current motto?
What is your current motto? What phrase would you use as motto in this current period ? Mine would be “think, but don't overdo it. Act” -
Replied To a Post in What is your current motto?
Always code as if the person who will maintain your code is a violent psychopath who knows where you live. -
Replied To a Post in Anyone using Google's Go language?
Counter arguments suggests that you put forward an argument. I didn't see any, I just saw oppinion. If you want to put forward an actual argument feel free to start … -
Replied To a Post in Anyone using Google's Go language?
I'm cancelling my interview, can you not read? -
Replied To a Post in Anyone using Google's Go language?
Thanks iamtwee, that was a valuable contribution. I shall stop coding in C# immediatley. I do have an interview tomorrow paying £400 per day but I shall ring and cancel … -
Began Watching How to remove white spaces from string
I am struggling to remove white spaces, any body help me var dt1="11 : 30 : am"; I want the result var dt1="11:30:am"; -
Replied To a Post in How to remove white spaces from string
Don't you ask this question every day? I can find it in 10 seconds with Google, it doesn't need a discussion! -
Created What Music Do People Like?
What music does everyone like? I have a very wide spectrum of tastes including the following: The Beatles David Bowie Jewel Simon and Garfunkel Alanis Morisette Alisha's Attic I Nine … -
Began Watching What Music Do People Like?
What music does everyone like? I have a very wide spectrum of tastes including the following: The Beatles David Bowie Jewel Simon and Garfunkel Alanis Morisette Alisha's Attic I Nine … -
Replied To a Post in What are you eating/drinking right now?
Prosecco and Lasagne with beef AND chicken - WTF? -
Began Watching codeigniter admin folder location
i am creating an admin panel in my project. So to sepeate admin files i am creating admin folder in my views can i also create admin folder in my … -
Replied To a Post in codeigniter admin folder location
Sounds like some kind of MVC architecture - is this right? If so which specific one?
The End.