Check Application
-
-
Hi there, how can i check whether my application runs already or not on the system (OS), so that if i try to start the application again, instead of start a new instance of the application, then just bring the application to the foreground. thanks
http://www.codeproject.com/cpp/avoidmultinstance.asp[^]
// "Life is very short and is very fragile also." Yanni
while (I'm_alive)
{
cout<<"I love programming.";
} -
http://www.codeproject.com/cpp/avoidmultinstance.asp[^]
// "Life is very short and is very fragile also." Yanni
while (I'm_alive)
{
cout<<"I love programming.";
}Hamed Mosavi wrote:
// "Life is very short and is very fragile also." Yanni while (I'm_alive) { cout<<"I love programming."; }
These many compilation errors in your small code. Are you a true lover of programming ;-) error C2001: newline in constant error C2015: too many characters in constant error C2143: syntax error : missing ';' before 'constant' error C2143: syntax error : missing ';' before 'while' error C2001: newline in constant error C2015: too many characters in constant error C2143: syntax error : missing ')' before 'constant' error C2143: syntax error : missing ';' before '{'
Sreedhar DV [Real success is having courage to meet failure without being defeated.]
-
Hamed Mosavi wrote:
// "Life is very short and is very fragile also." Yanni while (I'm_alive) { cout<<"I love programming."; }
These many compilation errors in your small code. Are you a true lover of programming ;-) error C2001: newline in constant error C2015: too many characters in constant error C2143: syntax error : missing ';' before 'constant' error C2143: syntax error : missing ';' before 'while' error C2001: newline in constant error C2015: too many characters in constant error C2143: syntax error : missing ')' before 'constant' error C2143: syntax error : missing ';' before '{'
Sreedhar DV [Real success is having courage to meet failure without being defeated.]
Sreedhar DV wrote:
These many compilation errors in your small code
Oh my god! Did you really compile that!:-D I knew one day that happens. Someone notices the ' in I'm. I decided to put it there so that it would be more readable by non programmer members. It used to be 'Printf("...' and someone claimed it's better to use
cout
(because of it's performance!:wtf: performance in CP!) Now if I remove that'
as well, I guess only programmers understand it;) I decided to leave it to be, after all no one(?) is to compile or use this.Sreedhar DV wrote:
Are you a true lover of programming
Yes! Enough lover to continue coding for 6 years even when I don't earn enough money from that.;)
// "Life is very short and is very fragile also." Yanni
while (I'm_alive)
{
cout<<"I love programming.";
}