Tuesday, July 28, 2009

Hello i need help again?

i have downloaded turboC from borland companies website.but when i type programme on it it shows error everytime.actually this barland C has 3disk componenets.in disk 1 there is a file called (installer),when i click on it it shows ENTER THE SOURCE DRIVE TO USE ....when i put C on the dot place it shows that insert your compiler.now tell me how i can install this %26amp;ignore the errors.

Hello i need help again?
You might get better answers if you put Turbo C in first line of your question.

wedding

Home improvement trivia?

here is an quiz based on the smash hit abc1 comedy


home improvement starring tim allen and patricia richardson





here is the question .





in home improvement what successful tv cable show did tim taylor


host allongside al borland?








was it.





a. cool time





b. fool time





c. tool time





if you know the answer please send them to my e-mail





address .frankielogany2kvictory@yahoo.co.uk





this quiz is for fun only





good luck





from





frankie smales





(home improvement quiz master)

Home improvement trivia?
Tool Time


with Tim "The Tool Man" Taylor
Reply:I use to always watch that show, and some of the reruns. : ) Report It

Reply:"Tool Time." Incidentally, there was a episode where Randy (Jonathan Taylor Thomas) called the show "Fool Time" while Tim (Tim Allen) eavesdropped on him %26amp; punished him 4 that.
Reply:C. It was Tool Time. And you forgot Heidi, the toll girl played by Debbie Dunning.


How do I fix compling error 2209?

I'm learning C++ and I'm using a compiler called borland. Error 2209 reads as this:





Error E2209 c:\coding\template.cpp 2: Unable to open include file 'iostream.h'


*** 1 errors in Compile ***





I need some help asap. I'm a hobby programmer and this is putting my learning on hold.

How do I fix compling error 2209?
Make sure the line reads: #include %26lt;iostream.h%26gt;





The angled brackets denote that the compiler should look in the project's common include folder(s) for the file being specified. If you were you using ("" - quotation marks), you would be required to specify the location of the file relative to the main project file/directory.





I suggest you use Visual Studio as your compiler, it is far better supported and much better equipped to handle newer programmers. It is available free - see source link (scroll-down and click C++ version [yellow]).


Can anyone help me how to do this program??

i would like to make a rat race program using c++ language and using the borland compiler.=)...could anyone pls help me do this. my idea is to represent 10 rats with the " } " symbol. and the finish line of the rat is in column 70. the only wat that the a rat could win is that the computer chooses a random number that is ranging from 1-10... the sample output is this :





1. } +


2. } +


3. } +


4. } +


5. } +


note : the addition sign is to denote the finish line..


...i hav the idea but i could not write it in a c++ language...=(..


so pls guys, help this poor girl in need...PLEAASSSEEEE

Can anyone help me how to do this program??
I don't have the time to completely answer your question -- and specifically, I don't know what features of C++ you wish to use (classes, stl, templates). So, my solution is C, using POSIX libraries (and should work just fine with *any* C++ or C compiler -- assuming that it is standards compliant).


Caveat emptor - I don't have the time to compile or test this solution.





#include %26lt;stdio.h%26gt;


#include %26lt;stdlib.h%26gt;





#define N_RATS 10


#define COURSE 72





int rats[N_RATS] = { 0 };





int main(void)


{


printf("And they're off!\n");


for (;;) {


int r, i, j;


/* See Numerical Recipes in C, 2nd ed, pp 277 */


r = 1 + (int) ((double)N_RATS * (rand() / (RAND_MAX + 1.0)));


if (++rats[r] %26gt;= COURSE) {


printf("And rat %d wins!\n", r);


return 0;


}


/* print race */


for (i = 0; i %26lt; N_RATS; ++i) {


printf("[%2d] ", i);


for (j = 0; j %26lt; rats[i]; ++j) printf("=");


printf("}\n");


}


}


return 0;


}
Reply:Talk to me at NolesToGiants@gmail.com





Drop me an email with the assignment and requirements.
Reply:well, maybe you could write the idea first in the question, then ill try to write the algorithm or function. :D
Reply:You do seem to ask a lot of questions on this forum that each give the impression they are homework assignments... You hide the fact (that they are homework assignments) well, though!





Hey, here's an idea... Why do you go back to the other questions you've asked, and select a best answer? People have gone through the effort of helping you, why don't you go through the effort of rewarding them?


Program Battleship?

Does anyone know how or where i can find a way to program battleship using c. I am using the borland compiler. I am NOT using c++ so that will not help me. Thank you

Program Battleship?
Does not look easy. May be you can contact a C expert live at website like http://askexpert.info/ .

flowers on line

Does design really matter?

Do the internals of software really matter? If you could ignore need for maitenance/recompile, who cares how elegant code is or if you used cutting edge technology. If from the outside, if the compiled program is perfect from the outside, what difference does it make what construction tools methods you used ? Is the bottom line ever the factor?





For example, if you run calc.exe in windows it is perfect and will never need to be changed. Did it matter if they used C#, VB Net, Java, C++, Extreeme programing or Borland to make it?

Does design really matter?
Yes it matters. What if the person that designed the calculator program designed it so that you had to press enter after each button? Or what if it were designed so that the number being entered isn't shown until an operator is pressed? These are design factors.





Java vs. C#/C/C++ vs. VB vs. ??? has little to do with design. Those are technical aspects of the construction. Extreeme programming is not a design factor - that's a development approach.





The problem is you can't ignore the need for maintenance in most cases. Even the calculator program has been maintained... If you remember from Windows 3.x, the calculator didn't have the Scientific options. (I'll have to fire up my old Win3.1 machine, but I think it didn't support copy/paste either.)





In my opinion, design is the most critical part of the sdlc. A poorly designed program will certainly at some point cause problems.
Reply:Design is independent of the technology used. So it design matters, however the technology used matters to a lesser extent.





Design does matter. Bad Design can lead to making a solution not scalable, Performance problems and maintenance problems to say least.





Real World problems arise when applications are poorly designed. Examples would be (and am not talking theory, rather real scenarios)





1) Poor database design


2) Single-threaded execution for everything





If you bother to diagnose these problems beforehand, you will save a lot of money and time instead of blaming network configuration and poor hardware.
Reply:Depends on the end result ... if you know that your end result will be a small software that you can check extensively then it doesnt matter....





but if you are looking of efficient code and you may need to change the software at latter stages according to clients request then design should be done properly ... as well as lanugage selection should be done carefully....


Command prompt got messed up?

-I recently downloaded a C++ compiler from Borland to start learning C++ programmming language. I'm not sure if it has anything to to with the problem but......yesterday I had to do various things in the command prompt in order to set-up the compiler....everything was working fine so, I decided to shut off my computer and test it out the next morning.


When I tried testing it out, I had to edit some files by putting "edit" at the beginning, and everytime I did this, it responded "'edit' is not recognized internal or external command, operable program or batch file." At this point I was like......wtf?. Then, I said to myself, thats weird, so I decided to check the problem.....reinstalled the compiler...still...same prompt. Wtf?. Then I said, ok, lets see if the command prompt is the problem....I type in "ipconfig" which is a commonly known command. Guess what Mr. Command Prompt says......"'ipconfig' is not recognized internal or external command, operable program or batch file."wtf!!!!

Command prompt got messed up?
try to check ur 'PATH' environment variable.





It should have at least this: %SystemRoot%\system32;%SystemRoot%;
Reply:Something messed with your system's path statement.