The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> C Programming
|
C++
Discuss C++ in the C Programming forum on Dev Shed. C++ C programming forum discussing all C derivatives, including C#, C++, Object-C, and even plain old vanilla C. These languages are low level languages, and used on projects such as device drivers, compilers, and even whole computer operating systems.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

January 22nd, 2013, 05:49 AM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 3
Time spent in forums: 15 m 35 sec
Reputation Power: 0
|
|
C++
main is stand for programming?? LIKE
#include <iostream>
using namespace std;
int Main()
{
cout<<"HEY, you, I'm alive! Oh, and Hello World!\n";
cin.get();
return 0;
}
|

January 22nd, 2013, 06:45 AM
|
|
Contributing User
|
|
Join Date: Feb 2010
Posts: 66
Time spent in forums: 14 h 4 m
Reputation Power: 0
|
|
|
it should be "main" not "Main" thats it...
|

January 22nd, 2013, 05:40 PM
|
 |
Contributing User
|
|
Join Date: Aug 2003
Location: UK
|
|
|
What exactly is the question here? "main is stand for programming??" is neither a question nor comprehensible English. Proficiency in English is not required, but some level of clarity is. Try Google Translate perhaps.
|

January 22nd, 2013, 07:23 PM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 3
Time spent in forums: 15 m 35 sec
Reputation Power: 0
|
|
|
Main()
i try to ask that Main() cannot be other work and if c'not why ??
|

January 22nd, 2013, 10:49 PM
|
 |
Contributed User
|
|
|
|
|
Because C is case sensitive, and the correct way to write it is main.
Main just another function name of no special significance.
|

January 22nd, 2013, 11:07 PM
|
|
Contributing User
|
|
Join Date: Feb 2010
Posts: 66
Time spent in forums: 14 h 4 m
Reputation Power: 0
|
|
Quote: | Originally Posted by salem Because C is case sensitive, and the correct way to write it is main.
Main just another function name of no special significance. |
i was just curious to know ....
according to your reply does it mean
C- is case sensitive
C++ - is not case sensitive
java - is case sensitive...
1 more question :
why is java always emphasizing that its case sensitive in its description while i didnt see such a highlight about c or c++ in their description respectievely...
I maybe wrong ... but I had these doubts since long..
|

January 22nd, 2013, 11:17 PM
|
 |
Contributing User
|
|
Join Date: Jan 2003
Location: USA
|
|
|
C++ is case-sensitive.
For that matter, so is UNIX and Linux.
|

January 22nd, 2013, 11:39 PM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 3
Time spent in forums: 15 m 35 sec
Reputation Power: 0
|
|
Main()
tq
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|