|
this "hello world" is shorter than C# version ...
Cheers,
|
|
|
|
|
newton.saber wrote: printf("Hello, I am here!"); I'm surprised it compiles. It's supposed to be "Hello World."
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
RyanDev wrote: It's supposed to be "Hello World."
I noticed that too and was very confused.
I'll leave it to the assembly language whitebeards to figure out that technology.
It must be a special processor op code.
|
|
|
|
|
newton.saber wrote: I noticed that too and was very confused.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
After 25 years, there should be a keyword for it...
#include <stdio.h>
void main()
{
hello;
} ...or at least a macro to fake it...
|
|
|
|
|
My CodeProject cookie expired, I signed in to upvote this. Good work.
|
|
|
|
|
C is still widely used in embedded programming and I have been writing/seeing the same code since I started programming back when dinosaurs roamed the plains.
New version: WinHeist Version 2.1.0
My goal in life is to have a psychiatric disorder named after me.
I'm currently unsupervised, I know it freaks me out too but the possibilities are endless.
|
|
|
|
|
Mike Hankey wrote: I have been writing/seeing the same code
That's got to feel great. We in the desktop -- yes Windows -- world had it like that for a while. In some ways kind of solid with Visual C++ / Dev Studio. Then MS went to C#. Okay, that lasted a while.
Now, the web is like a new JavaScript library and/or a new language (PHP,ASP,ASPX,Ruby, Swift) every other day. blech!
I just learned...
...they pulled the rug out from under me. It's gone
|
|
|
|
|
Embedded is changing rapidly also with the advent of IoT and it will be interesting to see what survives.
New version: WinHeist Version 2.1.0
My goal in life is to have a psychiatric disorder named after me.
I'm currently unsupervised, I know it freaks me out too but the possibilities are endless.
|
|
|
|
|
Actually main function must return an int .
Carlo The Nitpick
|
|
|
|
|
C:\DevTools\Dev-Cpp\bin>gcc hello.c
hello.c: In function `main
hello.c:4: warning: return type of `main
Haha, you are right.
We will use your brain as the compiler.
|
|
|
|
|
|
I am writing a report in word, and wanted to insert a link, so copied the URL, highlighted a word in my report and pasted and ...
... was highly disappointed to see that my word did not turn into a clickety pointing at the target URL.
I think some CP features should be part of the next windows version.
|
|
|
|
|
To paste information as a hyperlink, follow these steps:
1.Select the information to be copied and press Ctrl+C. This copies the information to the Clipboard.
2.Position the insertion pointer where you want the link to appear.
3.Choose Paste As Hyperlink from the Edit menu.
|
|
|
|
|
Abhinav S wrote: where you want the link to appear
I want an existing word to be turned into hyperlinkclickety.
Abhinav S wrote: Paste As Hyperlink
My Word2010 does not have this.
Plus, stop spoiling my belief that CP is better than Word.
|
|
|
|
|
Rage wrote: I want an existing word to be turned into hyperlinkclickety. Select the existing word, hit Ctrl+K, and paste the web address into the Address field.
Not too much harder.
Rage wrote: My Word2010 does not have this Then upgrade to Word 2003. You'll never regret it.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
In Word it is a bit (much more) complicated...
1. Select the text
2. Hit Ctrl+K (a dialog opens)
3. Hit Ctrl+V (the address combo now contains your selction)
4. Hit Enter to confirm...
(and CP much better than that - only one Ctrl+C and you done)
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
modified 27-Jan-15 10:22am.
|
|
|
|
|
Minor correction - I think you mean Ctrl+V in step 3...
Days spent at sea are not deducted from one's alloted span - Phoenician proverb
|
|
|
|
|
Fixed...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Got a meeting with personnel management and got offered a workplace.
Wanted it, took it. Finally the student can earn some €'s!
Feel free to party, i'll do it right away after work
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
€'s? Do it quickly before they become worthless!
Regards,
Rob Philpott.
|
|
|
|
|
Oops! Too late!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Rob Philpott wrote: Do it quickly before they become worthless!
They'll never become more worthless than $$$, so i'm not afraid of it
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
Congrats
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Where is the party?
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|