- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
73 Posted Topics
Re: F1 List and ArrayList and see what exactly the difference is :) | |
Re: make a new post and don't hijack another person's thread... read the forum rules. also before you post that question, you need to make an attempt at completing it first. | |
Hey All, I'm an avid c++ programmer, fairly new to C#. I understand most the basics and I can get simple tasks complete in C#. I'm looking for any links to tutorials on writting a scripting language in C# if anyone has/knows any. In relation to this question, I seem … | |
Re: >How observant of you. I criticize a lot of things, and I'm usually right. >I simply said that I think you're a bad programmer and stated one of the two most obvious reasons. omg, /bow in the presence of Narue the almighty nerd... loser. | |
Re: Here's a simply way to do it with a while loop. Just add more cases if you need to add another line of numbers. [code=c++] bool Done = false; while(!Done) { cout << i++ << ' '; if(i == 8) { i = 2; cout << '\n'; } cout << … | |
Re: microsoft.com has tons of tutorials asp.net 2 and c# | |
Re: [code] [COLOR=green]#include[/COLOR][COLOR=green]<iostream>[/COLOR] [COLOR=green]using[/COLOR][COLOR=green]namespace[/COLOR][COLOR=green] std;[/COLOR] [COLOR=green]#include[/COLOR][COLOR=green]<string>[/COLOR] [COLOR=green]int[/COLOR][COLOR=green] main()[/COLOR] { [INDENT][COLOR=green]char[/COLOR] y; cout << [COLOR=green]"Enter a character or number: _\b"[/COLOR]; cin >> y; [COLOR=green]if[/COLOR](!isdigit(y)) [INDENT]cout << [COLOR=green]"It's a Letter"[/COLOR]; [/INDENT][COLOR=green]else[/COLOR] [INDENT][COLOR=green][/COLOR]cout << [COLOR=green]"It's a Number"[/COLOR]; [/INDENT] cout << [COLOR=green]'\n'[/COLOR]; [COLOR=green]return[/COLOR] 0; [/INDENT] } [/code] | |
Re: And that's found within: using System.Diagnostics; | |
Re: You obviously didn't google this. There's hundreds of pages shown with a simple search for "Send Fax C#" or "Receive Fax C#" [URL]http://www.codeproject.com/Purgatory/Fax-XP-ing.asp[/URL] [URL]http://www.interfax.net/en/dev/c.html[/URL] [URL]http://channel9.msdn.com/ShowPost.aspx?PostID=63710[/URL] | |
Re: Do you have to allow negative input? Edit: BTW: You're getting the bad output because your app is dividing by zero most likely. | |
Re: people sometimes prefer int main as it has a return type. and return types are good practice for detecting good/bad returns from a function. i read some places that it's only possible to pass parameters to ur main if it's return type is int. if that's true, that'd be another … | |
Re: [code=c#] System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.StartInfo = new System.Diagnostics.ProcessStartInfo("asdf.exe"); proc.Start(); proc.Close(); [/code] | |
Re: Why dont you show us what you have and maybe ask questions about what you dont understand? We aren't going to do the homework for you. | |
Re: please use code tags im getting a headache reading that. | |
Hi All, A long time ago I researched Reflection and created a solution demoing my learnt capabilities from it. In my example I did not pass any arguments into the Invocation of the method call using reflection. I went to tackle this and I seem to be hitting a few … | |
Re: C++ is what major software companies use to make games. End of story. C++ will never be replaced by C# because they serve two totally different purposes... C# was not designed to make full fledged games. It is of course not imposible, but it is not feasible. You can do … | |
Re: Make an attempt, post your code and then we can help on what you dont understand. | |
Re: If you publish it creates a clickonce application shortcut that packages together each file that is part of the entire solution as a .deploy. It is given a pre-made installer and even installs .NET framework on the machine. | |
Re: Also there doesn't seem to be any funcionality in your linkedlist that isn't present already in the linkedlists the .NET framework has to offer. Unless you're doing it juts purely for a learning experience. | |
Re: Is this a joke? | |
Re: The save code looks fine to me. You should debug it and perhaps check the actual image some more before saving it (manually of course). | |
Re: For the love of god surround that in code tags... BTW, not all code paths return a value means: Your methods do not return a value in EVERY scenario. There are some scenarios that do not return anything. So taking your ComputeHoursMinutesAndSeconds method. It ends with: [code] if (num < … | |
Re: Try using StreamReader. [code] using System; using System.Collections.Generic; using System.Text; using System.IO; namespace ReadLines { class Program { static void Main(string[] args) { using (StreamWriter _SW = new StreamWriter("File.txt")) { for (int i = 0; i < 200; i++) _SW.WriteLine("Pre-200 #: " + i); for (int i = 0; i … | |
Re: Ok, I wrote a little test application to time this because you got me interested. Here's the calculation I used (based off your example). [code] // Test single appends, going 10,000,000 times. for (int i = 0; i < 10000000; i++) _SB1.Append("Test"); // Test append + append going 5,000,000 times. … | |
Re: I prefer click once deployment. Google it for references | |
Re: You can compile any program into binaries but those binaries have requirements most of the time. Such as for C# it requires the host machine have the .NET Framework (at least version used to compile). Like the previous poster said, click once is also available and i use it at … | |
I've been looking around at various examples of Reflections and couldn't find any that go into detail about the scenario i need. Let me explain what my current situation is: Main Console App (passes down a string to Class A) -> Class A which sole purpose is to take the … | |
Hey all: I've been trying to figure out how I would go about doing the following task. Basically, I have a folder with about 20,000 notepad files. My goal is to have one big word document, and append the contents of each notepad file to the word document. Each notepad … | |
Re: probably wont fix it, but if you're using a messagebox and getting the result from it, you should use the DialogResult property. It would be something like this... DialogResult dr; dr = MessageBox.Show("Yes or No?", "Prompt", MessageBox.Buttons.YESNO, MessageBox.Icon.Question); Then check for dr == DialogResult.Yes or dr == DialogResult.No | |
Re: in c++, yeah it sucks in c# it's rewarding, and useful in the real world. | |
So, here's my problem atm: I've declared the timer as a class member [code] private int numSS; private System.Windows.Forms.Timer timer1; [/code] I've initialized the Timer in the constructor: [code] timer1 = new System.Windows.Forms.Timer(); timer1.Tick += new System.EventHandler(timer1_Tick); timer1.Interval = 1000; [/code] A Method of mine starts the timer [code] public … | |
Re: BaseToken is returning a child classes variable (tokenValue), which it doesn't know exists because it's the Base class. The base class should declare the variable. | |
Re: The point of using .NET is that it is very easy to quickly produce applications. Of course this is the only reason why I use it at work. Of course i use unmanaged languages for games/etc, but when it comes down to it, i've never run across an app that … | |
Hey All, Threading may not be the answer to this, but here's my current situation. I have a form that I want updated about every 5 seconds. I couldn't figure out how to do this, so I just did a refresh on a button click on that form. However, in … ![]() | |
Re: From my personal experience, learn everything you think you can on your own before investing in a college that specializes in software development. I went to Fullsail in the Game Design/Development track. I graduated, but I wish I had known a thing or two about programming before I took the … | |
Re: all you told us is that you have to do a problem using classes, a list, and polymorphism... and math is optional. why dont you tell us the problem? or start an idea of your own and then we can guide you towards achieving that goal. | |
Re: if it will tell us all we need, it should tell you al you need too :) | |
Re: what will be the impact of what? a performance hit on the program? pretty much none... you can consider namespaces containers for classes, which don't actually exist in memory in the current program unless you are specifcally "using" that namespace. and in any case, the impact of anything in C# … | |
Re: I've been sent here by the gods of compilers with this message. [URL]http://msdn.microsoft.com/vstudio/express/downloads/[/URL] You will now "fit in" with the rest. But in all honesty, I really can't say enough about the 2005 express editions of visual studio. They truly are amazing. And not only that, but it's as close … | |
Re: it's definitely on line 27... /MindReadingOff post your code... | |
Re: discard the spaces between the name/rate/dep/type | |
Re: what errors are you getting if any? what output are you getting if any? what's the freakin problem? | |
Re: press : CTRL + SHIFT + B to build it CTRL + F5 to run it in release F5 to run in debug These are all in the drop downs on the IDE. | |
Re: why is accept() not prototyped? | |
Re: you could use the line.BeginsWith or line.StartsWith (forgot which one it is), and pass in "//". If it returns true, then don't count the line and go to the next line. | |
Re: space invaders. Ship classes (Ship HP, Speed) Bullet classes (Bullet DMG) Enemy Ship classes (Ship HP, AI/Pattern) | |
Re: to get you started [code] struct Customer {[INDENT]int accountNumber;[/INDENT] [INDENT]double balance;[/INDENT] [INDENT]int credits;[/INDENT] [INDENT]int charges;[/INDENT] [INDENT]Customer(int _accountNumber, double _balance, int _credits, int _charges)[/INDENT] [INDENT]{[INDENT]accountNumber = _accoutnNumber;[/INDENT] [INDENT]balance = _balance;[/INDENT] [INDENT]credits = _credits;[/INDENT] [INDENT]charges = _charges;[/INDENT] } Show() {[INDENT]cout << accountNumber << '\n' << balance << '\n' << credits << '\n' … | |
Re: not sure why you're asking this... it wont make a difference whether or not we think you did a good job. |
The End.