- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: c under linux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2008 10:15 PM
тАО04-10-2008 10:15 PM
[root@linuxguru.symantec.com][ /usr/src/redhat/SOURCES ]gcc abc.cc
abc.cc:10: error: stray тАШ\342тАЩ in program
abc.cc:10: error: stray тАШ\200тАЩ in program
abc.cc:10: error: stray тАШ\234тАЩ in program
abc.cc:10: error: stray тАШ\тАЩ in program
abc.cc:10: error: stray тАШ\342тАЩ in program
abc.cc:10: error: stray тАШ\200тАЩ in program
abc.cc:10: error: stray тАШ\235тАЩ in program
abc.cc: In function тАШint main()тАЩ:
abc.cc:10: error: тАШHelloтАЩ was not declared in this scope
abc.cc:10: error: тАШLinuxтАЩ was not declared in this scope
[root@linuxguru.symantec.com][ /usr/src/redhat/SOURCES ]rm abc.c
rm: remove regular file `abc.c'? y
[root@linuxguru.symantec.com][ /usr/src/redhat/SOURCES ]
* hello.c тАУ Canonical тАЬHello, world!тАЭ program 4 4 */
#include
int main(void)
{
fprintf(stdout, тАЬHello, Linux programming world!\nтАЭ);
return 0;
}
gcc is installed but not able to compile c code ..need help?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2008 10:32 PM
тАО04-10-2008 10:32 PM
Solution/*
not only
*
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2008 10:53 PM
тАО04-10-2008 10:53 PM
Re: c under linux
#include
#include
#include
#include
#include
#include
int main(void)
{
fprintf(stdout, ├в Hello, Linux programming world!\n├в );
return 0;
}
have a this code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2008 12:07 AM
тАО04-11-2008 12:07 AM
Re: c under linux
instead of whatever complicated,
good-looking (I'm sure), exotically-coded
junk you have in there.
What are you using as an editor, Microsoft
Word?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2008 02:58 AM
тАО04-11-2008 02:58 AM
Re: c under linux
I'll guess that you've cut and pasted some code, and managed to include some invisible control sequences in your source code...
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2008 03:23 AM
тАО04-14-2008 03:23 AM