Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 8th, 2007, 8:12 AM   #11
grumpy
Programming Guru
 
grumpy's Avatar
 
Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,206
Rep Power: 5 grumpy is on a distinguished road
What program are you using to edit your source files? My guess is that you are using a word processor (eg word) that includes formatting information in the generated file. The files need to be saved as a vanilla (eg ASCII) text file.

The error messages from the compiler in your first post (eg stray '\342' in program) indicate that your source file contains more than text.
grumpy is offline   Reply With Quote
Old Sep 8th, 2007, 8:15 AM   #12
boraciner
Programmer
 
boraciner's Avatar
 
Join Date: Nov 2005
Location: Turkey
Posts: 93
Rep Power: 3 boraciner is on a distinguished road
"Use one double quote! " I opened this subject with my codes which I used double quote in it!!
boraciner is offline   Reply With Quote
Old Sep 8th, 2007, 8:19 AM   #13
Jabo
Not a user?
 
Join Date: Sep 2007
Posts: 255
Rep Power: 1 Jabo is on a distinguished road
Reminds of one of those support calls from hell, the one where the tech told the customer to pack up his computer and take it back.
Jabo is online now   Reply With Quote
Old Sep 8th, 2007, 8:19 AM   #14
boraciner
Programmer
 
boraciner's Avatar
 
Join Date: Nov 2005
Location: Turkey
Posts: 93
Rep Power: 3 boraciner is on a distinguished road
grumpy , I use linux suse 10.2 It opens .c files with gedit. Doesn't it enough for edit and save correctly?
boraciner is offline   Reply With Quote
Old Sep 8th, 2007, 8:22 AM   #15
boraciner
Programmer
 
boraciner's Avatar
 
Join Date: Nov 2005
Location: Turkey
Posts: 93
Rep Power: 3 boraciner is on a distinguished road
It tried Western ( ISO-8859-15) and current localate UTF-8 character coding
boraciner is offline   Reply With Quote
Old Sep 8th, 2007, 8:23 AM   #16
boraciner
Programmer
 
boraciner's Avatar
 
Join Date: Nov 2005
Location: Turkey
Posts: 93
Rep Power: 3 boraciner is on a distinguished road
okkkkkkk =)))))))))))) I saw my mistake while saving...
Thanks to everyone !!!
boraciner is offline   Reply With Quote
Old Sep 11th, 2007, 5:01 AM   #17
boraciner
Programmer
 
boraciner's Avatar
 
Join Date: Nov 2005
Location: Turkey
Posts: 93
Rep Power: 3 boraciner is on a distinguished road
I understood where I did a mistake ,the source of the error was just copy/paste. The codes doesn't be saved when I copy paste them from the e-book according to western char. encoding. When I write these with my keybord they work perfectly . I understood this mistake after changing 3 Linux OS ((
boraciner is offline   Reply With Quote
Old Sep 11th, 2007, 7:16 AM   #18
peace_of_mind
Professional Programmer
 
peace_of_mind's Avatar
 
Join Date: Sep 2004
Location: Hell if I know most of the time
Posts: 439
Rep Power: 4 peace_of_mind is on a distinguished road
Send a message via MSN to peace_of_mind Send a message via Yahoo to peace_of_mind
You changed Linux distros three times over this? Why would you copy/paste anyhow? Don't you think you'll learn/remember things better if you were to type them yourself? Ah well, at least you figured out what went wrong. Hopefully a lesson was learned.
__________________
Amateurs built the ark
Professionals built the Titanic

peace_of_mind is offline   Reply With Quote
Old Sep 12th, 2007, 1:17 AM   #19
boraciner
Programmer
 
boraciner's Avatar
 
Join Date: Nov 2005
Location: Turkey
Posts: 93
Rep Power: 3 boraciner is on a distinguished road
You're right I'll learn/remember things better if I type them myself?
I just wondered if these codes work or not , I wanted to learn it. If they work then I can study hard on this e-book. Now, I know they work very well on my suse linux 10.2 . I have started to learn how to program C sockets =) ...

Thanks..
boraciner is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The basic of basic in programming... Simongcc Software Design and Algorithms 4 Aug 16th, 2007 3:34 AM
Slackware installation guide for Linux beginners coldDeath Coder's Corner Lounge 104 Jul 29th, 2007 4:40 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:18 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC