IITDU Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Help regarding making an application more efficient..

4 posters

Go down

C Help regarding making an application more efficient..

Post by xtreme.3r Mon Jan 09, 2012 1:24 am

When I code something, It creates an application. But when I m using that application, the final result screen disappears within a very short tym that I cant see the result at all. Is there any way to make that screen visible for a longer tym??


Last edited by xtreme.3r on Mon Jan 09, 2012 2:24 am; edited 1 time in total (Reason for editing : Making topic title more comprehensive..)

xtreme.3r
Alpha Release
Alpha Release

Course(s) :
  • BIT

Blood Group : B+
Posts : 42
Points : 68

Back to top Go down

C Re: Help regarding making an application more efficient..

Post by BIT0220-Iftekhar Mon Jan 09, 2012 1:54 am

Can you tell me which editor and compiler you are using?

(My guess you are using Turbo C with Borland C compiler)
BIT0220-Iftekhar
BIT0220-Iftekhar
Administrator-RC

Course(s) :
  • BIT

Blood Group : B+
Posts : 434
Points : 630

http://iftekharunplugged.blogspot.com

Back to top Go down

C Re: Help regarding making an application more efficient..

Post by BIT0122-Amit Mon Jan 09, 2012 2:03 am

BIT0220-Iftekhar wrote:Can you tell me which editor and compiler you are using?

(My guess you are using Turbo C with Borland C compiler)

Razz if your guess is correct, then I think we should let him think about this for a while :p :p

Rubby, why do you think this is happening? And can you please make the titles a bit more explanatory?

"Help needed" does not give any hints about the topic.
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

C Re: Help regarding making an application more efficient..

Post by xtreme.3r Mon Jan 09, 2012 2:18 am

I m using codeblocks.. I thought for a quite long tym, but I couldnt find it out.. I noticed that while using that application direct from source code, it doesnt happen n it needs user's command to exit.. I think if I add a user command for exit, it will be solved.. Am I correct??

xtreme.3r
Alpha Release
Alpha Release

Course(s) :
  • BIT

Blood Group : B+
Posts : 42
Points : 68

Back to top Go down

C Re: Help regarding making an application more efficient..

Post by BIT0220-Iftekhar Mon Jan 09, 2012 2:41 am

Now then...

I don't have any idea of what application you are talking about. Add to that,the problem is not obvious from some of your words like:
using that application direct from source code
and,
add a user command for exit

So first mention what you are trying/tried to do. Then try to post here the code you wrote.

It is hard to understand words of new programmers(I guess you are so). Please try to give as much information as you can.

Obviously this is my opinion.

EDIT: The application you are talking about could well be a console (command line output screen)
BIT0220-Iftekhar
BIT0220-Iftekhar
Administrator-RC

Course(s) :
  • BIT

Blood Group : B+
Posts : 434
Points : 630

http://iftekharunplugged.blogspot.com

Back to top Go down

C Re: Help regarding making an application more efficient..

Post by BIT0130-Shakkhor Mon Jan 09, 2012 3:25 am

lol!
BIT0130-Shakkhor
BIT0130-Shakkhor
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : B+
Posts : 209
Points : 328

Back to top Go down

C Re: Help regarding making an application more efficient..

Post by BIT0122-Amit Mon Jan 09, 2012 5:05 am

Well, beginners often use words which sometimes are confusing. As seniors, we should let them know the correct terms.

First of all, the "application" you are talking about is not probably at the stage of being an application.. yet. Lets say that it is "program".

And then, "efficiency" is generally used for expressing the performance. For example, it your program uses less memory, and performs its tasks within acceptable time - it can be called efficient.

However, a program exiting only after user permits is not something we are going to term as "efficient". You can use the word "user-friendly". However, that does not quite express what you are looking for in the title.

If I were in your place, I would've used "Help needed: Program written in C exiting too fast".

Now, the part creating further confusion is this:

I noticed that while using that application direct from source code, it doesnt happen n it needs user's command to exit.. I think if I add a user command for exit, it will be solved.. Am I correct??

I can guess what you are actually trying to mean here. When you are running it through code blocks from source, it is not exiting fast. However, when you are running it separately, it is exiting too fast. Am I right?

When you are asking for help, try to express things in such a way that any one can understand you. Smile

Uh, one irrelevant question. Why are you using Code-blocks?
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

C Re: Help regarding making an application more efficient..

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum