|
Hakan Bulut wrote: I have no time to writing code!..
So you expect us to write it for you, so you can submit it as your homework?
You didn't stop and think "That's really very lazy of me" or even "That's cheating!" at all?
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Hakan Bulut wrote: I have no time to writing code! Then I suggest you find a different career path; we are not going to do it for you.
|
|
|
|
|
There is no so exiting Project, then. No any developer has been done it for us yet.
modified 16-May-14 9:04am.
|
|
|
|
|
Yes, lots of people have done it, and I gave you links to some samples. We cannot help it if you are too lazy to go and study them.
|
|
|
|
|
This is not literally my job, a female students had requested it to me!..
|
|
|
|
|
Would you like to super-size that ?
“I speak in a poem of the ancient food of heroes: humiliation, unhappiness, discord. Those things are given to us to transform, so that we may make from the miserable circumstances of our lives things that are eternal, or aspire to be so.” Jorge Luis Borges
|
|
|
|
|
no.... no so like that size..
|
|
|
|
|
Time for someone to learn the Magic Words, I think: "Do you want fries with that?"
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
From the top of the site: Code Project - For those that code.
You have not clearly identified what you are looking for or what you have already tried.
People may be willing to help you with solve a problem you have with your code, but they will not simply give you the code.
And, it you aren't looking for code or help with code, then what are you looking for?
|
|
|
|
|
you're right! I was literally what I want
|
|
|
|
|
When Asp.net Development server start and to get the data on ftp server and store the database on every 5 minutes, It will not disturb my web pages.
please help me how to developed this kind of website?
Best Regards,
Muruga
|
|
|
|
|
|
Please provide me the C# code to read and write Node "HostName" of the below Xml File.
You can just save the below content into the .xml file.
<storage version="2">
<settings>
<hostname>Pabuild12
<portnumber>55051
<location>shared
|
|
|
|
|
You seem to be under the impression we are just waiting here to do your work for you.
Please read the guidelines at the top of the page, it may give you a clue.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
As suggested, please read this[^] first.
Tell us what you did and what the exact problem is, then we can give you tips or hints for a solution.
No one here will never ever write a solution for you. If you want that go here[^].
|
|
|
|
|
Friends, i need a code to make the function queue, deletions at the beginning and at the end inclisões. This code works correctly as Stack. I need it to work as a queue. Please
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class Pilha
{
private int[] valores;
private int topo;
public Pilha(int n)
{
if (n > 0)
{
valores = new int[n];
topo = -1;
}
}
public int Push(int valor)
{
if (topo < valores.Length - 1)
{
topo++;
valores[topo] = valor;
return 0;
}
return -1;
}
public int Pop()
{
if (topo >= 0)
{
int valor = valores[topo];
topo--;
return valor;
}
else return -1;
}
public string ImprimirPilha()
{
string saida = "\t";
if (topo >= 0)
{
for (int i = topo; i >= 0; i--)
{
saida = saida + valores[i] + "\n\t";
}
return saida;
}
else return "\tPilha Vazia";
}
}
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Pilha pilha = new Pilha(5);
int sair = 0;
string imprime = "";
while (sair == 0)
{
imprimeOpcoes();
int opcao = int.Parse(Console.ReadLine());
if (opcao == 0)
{
sair = 1;
}
else
if (opcao == 1)
{
Console.Clear();
Console.WriteLine("Digite um numero para inserir na pilha\n");
pilha.Push(int.Parse(Console.ReadLine()));
imprime = pilha.ImprimirPilha();
Console.WriteLine(imprime);
}
else
if (opcao == 2)
{
Console.Clear();
pilha.Pop();
imprime = pilha.ImprimirPilha();
Console.WriteLine(imprime);
}
else
if (opcao == 3)
{
Console.Clear();
imprime = pilha.ImprimirPilha();
Console.WriteLine(imprime);
}
}
}
static public void imprimeOpcoes()
{
Console.WriteLine("\nEscolha uma opção:\n");
Console.WriteLine("Sair digite 0");
Console.WriteLine("Inserir na pilha digite 1");
Console.WriteLine("Tirar da pilha digite 2");
Console.WriteLine("Imprimir pilha digite 3\n");
}
}
}
|
|
|
|
|
What exactly is your question? I hope you're not asking for someone to rewrite this for you?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
You do know that there's a Queue[^] collection in the System.Collections.Generic namespace, don't you?
You're kind of trying to reinvent the wheel here.
|
|
|
|
|
I'm guessing that's the whole idea - Computing Basics homework.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
After looking at it again, you're probably correct.
|
|
|
|
|
Hello everybody!
i need a code that allows me to listen to event log using my application c#
i want my application to be able to detect if an events is raised!
for exemple :
the event : Source == DNS Clients events & Event_ID ==1014
thank you !
|
|
|
|
|
What have you tried? Where are you stuck?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
EventLog MyNewLog = new EventLog("System", ".", "DNS Client Events");
MyNewLog.EntryWritten += new EntryWrittenEventHandler(MyOnEntryWritten);
MyNewLog.EnableRaisingEvents = true;
signal = new AutoResetEvent(true);
Console.ReadLine();
}
public static void MyOnEntryWritten(object source, EntryWrittenEventArgs e)
{
if (e.Entry.InstanceId == 1014 || e.Entry.Source.Equals("DNS Client Events"))
{
MessageBox.Show("ERROER Event Raised");
}
}
|
|
|
|
|
First, why/how is the EntryWritten EventHandler working/not working for you /
CodeProject has many articles on using the System EventLog, like: "Enhanced EventLog writing for .NET Applications:" [^].
Also see: [^].
“I speak in a poem of the ancient food of heroes: humiliation, unhappiness, discord. Those things are given to us to transform, so that we may make from the miserable circumstances of our lives things that are eternal, or aspire to be so.” Jorge Luis Borges
modified 15-May-14 19:52pm.
|
|
|
|
|
Hi,
Is there a way to override the painting of a WinForms listbox's internal scrollbar ? (yes, WPF may be the solution, but I can't use it in my current project)
I've already done some researches but I didn't manage to find any solution
I think that the best solution would be to paint inside the WndProc method, but I don't know which message has to be intercepted...
May someone give me some advice or just a little tip ?
Thanks in advance
|
|
|
|