LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 09-14-2013, 02:14 AM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,931

Rep: Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589

#15
Quote:
upload error prevented because file was considered as : invalid file
Attaching a file.c : Add an extra suffix → → file.c.txt

You can also compress the file to be attached, e.g. file.c.bz2,
and attach as file.c.bz2.txt

-
 
1 members found this post helpful.
Old 09-14-2013, 02:25 AM   #17
irajjs
Member
 
Registered: Jan 2010
Location: Tehran , Iran
Distribution: Mandriva 2012
Posts: 161
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Smile end of file in string

Quote:
Originally Posted by gnashley View Post
You can't debug twenty programs at once. Start over and build, debug, correct them one at a time. Post full code here for each (one at a time and probably one per forum thread) -that's the only way you'll get any meaningful help.
Hi
I tried to configure them by commanding:
#autoconf "filename"
output was something like this;
can not....end of file in string
I am sure if i try to debug them with the gdb i will get the same output
As i said before i created managing application to manage them but that one has the same state as others
These applications are becoming more ...up to now i have created nearly 25 of them.
Thanks
 
Old 09-14-2013, 02:35 AM   #18
irajjs
Member
 
Registered: Jan 2010
Location: Tehran , Iran
Distribution: Mandriva 2012
Posts: 161
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Smile OK

Quote:
Originally Posted by knudfl View Post
#15

Attaching a file.c : Add an extra suffix → → file.c.txt

You can also compress the file to be attached, e.g. file.c.bz2,
and attach as file.c.bz2.txt

-
Hi
I am doing what you said
file.c.txt is going to be attached if no more problem
Regards
Attached Files
File Type: txt Timer.c.txt (1.1 KB, 39 views)
 
Old 09-14-2013, 02:45 AM   #19
NeXuS_2006
Member
 
Registered: Dec 2003
Distribution: Fedora
Posts: 64

Rep: Reputation: 18
redacted

Last edited by NeXuS_2006; 09-14-2013 at 02:56 AM.
 
Old 09-14-2013, 03:11 AM   #20
irajjs
Member
 
Registered: Jan 2010
Location: Tehran , Iran
Distribution: Mandriva 2012
Posts: 161
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Smile

Quote:
Originally Posted by NeXuS_2006 View Post
redacted
Hello
1- the switch in your car does not work because it does not disconnect the power while pulled out.
2-your dog can not drive.
3- your car is not designed to wash
And...
I attached one of my application sources in few minutes ago please check that
Thanks
 
Old 09-14-2013, 03:16 AM   #21
NeXuS_2006
Member
 
Registered: Dec 2003
Distribution: Fedora
Posts: 64

Rep: Reputation: 18
Quote:
Originally Posted by irajjs View Post
Hello
1- the switch in your car does not work because it does not disconnect the power while pulled out.
2-your dog can not drive.
3- your car is not designed to wash
And...
I attached one of my application sources in few minutes ago please check that
Thanks
I see that, my connection is painfully slow right now for some reason. You uploaded your file before I had refreshed my page so I didn't see it.

Last edited by NeXuS_2006; 09-14-2013 at 10:56 AM.
 
Old 09-14-2013, 03:17 AM   #22
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.0
Posts: 581
Blog Entries: 2

Rep: Reputation: 76
Quote:
Originally Posted by irajjs View Post
Hi
I am doing what you said
file.c.txt is going to be attached if no more problem
Regards
Code:
do ("make/create/show/merge/open a box to set the time in minutes/seconds in a window  and create/make/open/shoe/merge a Dialog Box to print messages\n");
while("window/Box is being created");
That's not going to do much.

Last edited by psionl0; 09-14-2013 at 03:18 AM.
 
Old 09-14-2013, 06:39 AM   #23
irajjs
Member
 
Registered: Jan 2010
Location: Tehran , Iran
Distribution: Mandriva 2012
Posts: 161
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Exclamation Ask your ISP if you can!

Quote:
Originally Posted by NeXuS_2006 View Post
I see that, my connection is painfully slow right now for some reason.
Hi
As i know internet connection and it's speed mostly is related to local isp , and i don't know/care about where/which-country you are living in , but i am sure that it is not related to my attachment , because my connection is faster than ever.....although it was very slow with a lot of disconnections in the past!
 
Old 09-15-2013, 07:07 AM   #24
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 1,810

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
You should either share a bit of your code or wait for a mind-reader.
 
Old 09-15-2013, 05:59 PM   #25
irajjs
Member
 
Registered: Jan 2010
Location: Tehran , Iran
Distribution: Mandriva 2012
Posts: 161
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Exclamation I have attached one of my application sources , check it please!

Quote:
Originally Posted by NevemTeve View Post
You should either share a bit of your code or wait for a mind-reader.
Hello
I have attached one of my application sources in my previous post named as "OK"
The attachment name is : Timer.c.txt
What else do you mean?
Regards
 
Old 09-21-2013, 12:36 AM   #26
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 288

Rep: Reputation: 70
@irajjs I took a look at your code.
First comment: even when a program compiles without a problem, does not mean that it does what you expect it to do. This is what is called a bug.
Second comment: please take some time to read up on C syntax. Here is a good starting point.

Cheers
 
1 members found this post helpful.
Old 09-21-2013, 03:53 AM   #27
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 1,810

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Seen your Timer.c.txt. It must be a strange kind of joke.
 
Old 09-21-2013, 04:19 PM   #28
irajjs
Member
 
Registered: Jan 2010
Location: Tehran , Iran
Distribution: Mandriva 2012
Posts: 161
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Smile Nice help

Quote:
Originally Posted by NevemTeve View Post
Seen your Timer.c.txt. It must be a strange kind of joke.
Thank you for your help
Regards
 
Old 09-22-2013, 01:11 AM   #29
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 1,810

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Off: Here is another way:
Code:
int main (void)
{
    printf ("computer, please solve my problem");
}
It won't work, because the computer doesn't understand statements written in human language, even if you put them between "quotes"

Last edited by NevemTeve; 09-22-2013 at 01:14 AM.
 
Old 09-22-2013, 06:48 AM   #30
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.0
Posts: 581
Blog Entries: 2

Rep: Reputation: 76
Quote:
Originally Posted by NevemTeve View Post
It won't work, because the computer doesn't understand statements written in human language, even if you put them between "quotes"
Actually it will work since "printf" is perfectly valid in C.

It just won't work as you expected.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My newly bought hdd-s seem to have lower than expected rw-speed MasterOfTheWind Linux - Hardware 5 06-24-2008 09:32 AM
Problems with newly compiled kernel, not recognized as such and does not work WorkingClassHero Linux - Newbie 1 02-03-2008 12:19 PM
keyboard won't work with newly compiled kernel dr_zayus69 Linux - Hardware 10 06-05-2005 11:23 AM
Newly compiled kernel behaves as if it was the old one? grayFalcon Linux - Software 4 06-03-2004 04:52 AM
compiled Qt programs no longer work - libqt-mt.so.3 error BluePyre Linux - Software 1 05-30-2004 05:42 PM


All times are GMT -5. The time now is 08:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration