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
Tuesday, July 28, 2009
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.
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]).
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?
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
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....
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.
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.
How do I make a Win32 DirectX program?
I'm a good programmer, but I'm new to Win32 and DirectX programming. If I can view a "hello world" program that somebody else wrote, I'm sure I could get my project working. Are there any "hello world" sample programs out there for win32/directx programming? I use Dev-C++, but am willing to pay to get a Borland or Microsoft C/C++ compiler.
How do I make a Win32 DirectX program?
Download Microsoft Visual studio 2005 express edition (its free) and the direct X SDK. which has lots of examples that you can try out.
Reply:download the directX SDK from microsoft.com, then have a look at the samples. Also, you will find many, many tutorials in the web just by searching for them, or on gamedev.net, devmaster.net, etc.
i don't know if the SDK works with Dev-C++, but you can download the microsoft visual studio express edition for
free from microsoft.com. no need to pay for it.
Reply:well first you........2pts
How do I make a Win32 DirectX program?
Download Microsoft Visual studio 2005 express edition (its free) and the direct X SDK. which has lots of examples that you can try out.
Reply:download the directX SDK from microsoft.com, then have a look at the samples. Also, you will find many, many tutorials in the web just by searching for them, or on gamedev.net, devmaster.net, etc.
i don't know if the SDK works with Dev-C++, but you can download the microsoft visual studio express edition for
free from microsoft.com. no need to pay for it.
Reply:well first you........2pts
How do I use a non-visual compiler?
I was trying to program some stuff using C++ and I got a free non-visual compiler from Borland (have no idea what verson, name, and etc.) It's on my desktop and it only says "freecommandLinetools". So I worked myself into a corner when I tryed to compile it, easy enough, I know how to work Windows Explorer (haha), and some DOS and I know enough to do so with confidence.
So I go to the the Command Prompt, type in:
c:\borland\bcc55\bin\bcc32.exe [and location of script]
and it doesn't work, says it can't locate it and stuff. Then I gave up programming all together so now I realize that I could ask someone in Yahoo! Answers.
So I don't know what I did wrong. I typed in word for word, checked it over and over and no results.
Is it just me and DOS or it's just the compiler? Tell me how to enter the commands because when I space, it assumes that I gave it different locations for each word spaced.
How do I use a non-visual compiler?
dos does not allow the spacing of the directory structure like you see in windows. (aka my folder is not my folder in dos it's something like ~my).
i never did figure out the screwy system it uses to figure out what it's going to call the folder SO i personallya llways just traveled through the directory in dos to find what i needed then copyed and used it form there.
on a totally seperate note:
why use a borland comannd line compiler?
visual studio 2005 express is free!
c++ and c++.net and c# all available free for you to work with.
a visual ide is about 5000x easier to learn with.
don't like microsoft? djgpp also free! don't like djgpp and microsoft but want to use c# anyways? sharpdevelop.
bottom line. use an ide it will save SO much hassle thats why they made them.
can program for the .net runtime with only notepad but no one does that because it's insanely hard to do. thats why people get the ide =P
Reply:The only non visual compiler I use is the gcc :-)
On windows, how about trying bloodshed
http://www.bloodshed.net/devcpp.html
Its open source and free and I have never had a problem with it in my 2 years of trying it out!
florist shop
So I go to the the Command Prompt, type in:
c:\borland\bcc55\bin\bcc32.exe [and location of script]
and it doesn't work, says it can't locate it and stuff. Then I gave up programming all together so now I realize that I could ask someone in Yahoo! Answers.
So I don't know what I did wrong. I typed in word for word, checked it over and over and no results.
Is it just me and DOS or it's just the compiler? Tell me how to enter the commands because when I space, it assumes that I gave it different locations for each word spaced.
How do I use a non-visual compiler?
dos does not allow the spacing of the directory structure like you see in windows. (aka my folder is not my folder in dos it's something like ~my).
i never did figure out the screwy system it uses to figure out what it's going to call the folder SO i personallya llways just traveled through the directory in dos to find what i needed then copyed and used it form there.
on a totally seperate note:
why use a borland comannd line compiler?
visual studio 2005 express is free!
c++ and c++.net and c# all available free for you to work with.
a visual ide is about 5000x easier to learn with.
don't like microsoft? djgpp also free! don't like djgpp and microsoft but want to use c# anyways? sharpdevelop.
bottom line. use an ide it will save SO much hassle thats why they made them.
can program for the .net runtime with only notepad but no one does that because it's insanely hard to do. thats why people get the ide =P
Reply:The only non visual compiler I use is the gcc :-)
On windows, how about trying bloodshed
http://www.bloodshed.net/devcpp.html
Its open source and free and I have never had a problem with it in my 2 years of trying it out!
florist shop
Getting a "List Index Out Of Bounds (9)" error when I try to remove a file from a project...?
I'm using Borland CodeGear C++ Builder 2007. I've created a fairly complicated project that includes such features as database access, as well as the heavy use of classes and libraries.
I apparently have some sort of a library synching issue because, when the statements:
double xx = 0.0;
xx = Pln.Nrd.retireAge;
are executed, xx is 65 and Pln.Nrd.retireAge is 0. I don't understand how this is possible-- it's a direct assignment, after all!-- unless it's a problem with the library I'm using.
In a separate (related?) issue, I have some files included in the project: report.cpp, plan.cpp, and getp.cpp. When I try to remove them, however, a dialog box immediately pops up saying, respectively:
List index out of bounds (8),
List index out of bounds (9),
and List index out of bounds (7)
I also can't "Save All", because the list index out of bounds error pops up and prevents these files from saving.
Any thoughts or suggestions would be appreciated.
Getting a "List Index Out Of Bounds (9)" error when I try to remove a file from a project...?
Well, the problem is certainly in either Pln or Nrd. If you set xx and it becomes 65, then Pln.Nrd.retireAge MUST have been 65 before you called it. You should look for a bug in one of those classes that might cause the variable's value to reset to 0 after you retrieve it.
I apparently have some sort of a library synching issue because, when the statements:
double xx = 0.0;
xx = Pln.Nrd.retireAge;
are executed, xx is 65 and Pln.Nrd.retireAge is 0. I don't understand how this is possible-- it's a direct assignment, after all!-- unless it's a problem with the library I'm using.
In a separate (related?) issue, I have some files included in the project: report.cpp, plan.cpp, and getp.cpp. When I try to remove them, however, a dialog box immediately pops up saying, respectively:
List index out of bounds (8),
List index out of bounds (9),
and List index out of bounds (7)
I also can't "Save All", because the list index out of bounds error pops up and prevents these files from saving.
Any thoughts or suggestions would be appreciated.
Getting a "List Index Out Of Bounds (9)" error when I try to remove a file from a project...?
Well, the problem is certainly in either Pln or Nrd. If you set xx and it becomes 65, then Pln.Nrd.retireAge MUST have been 65 before you called it. You should look for a bug in one of those classes that might cause the variable's value to reset to 0 after you retrieve it.
My XP says \system32\autoexec.nt is not suitable running msdos application when im trying to install TC
im trying to install borland turbo C and it errors....
My XP says \system32\autoexec.nt is not suitable running msdos application when im trying to install TC
TC is really old, I cant remember if it works with XP or not but doubt it
My XP says \system32\autoexec.nt is not suitable running msdos application when im trying to install TC
TC is really old, I cant remember if it works with XP or not but doubt it
Does anybody know how to use CreateFile to send and receive data via teh parallel port in Windows XP?
I'm using borland Builder C++ 5 and i need to send and receive data via parallel port. I know this can be done using CreateFile, but I haven't found any tutorial or anything like that. Can you help me please?
Does anybody know how to use CreateFile to send and receive data via teh parallel port in Windows XP?
Why Borland C++ 5.0. Doesn't that predate XP by like 7 years or more?
BTW: Google is your friend. Google knows all. (see links below).
Does anybody know how to use CreateFile to send and receive data via teh parallel port in Windows XP?
Why Borland C++ 5.0. Doesn't that predate XP by like 7 years or more?
BTW: Google is your friend. Google knows all. (see links below).
Where can I download file clientdatamoduleu.h?
This file appears to be in C++ Borland Builder version 5. when I try to install it, there is an error message that indicates this file is missing.
Where can I download file clientdatamoduleu.h?
I haven't find this file at google or Yahoo. I suggest that you send an email to borland and request this file if you think that it should have come with the C++ Borland Builder.
http://www.borland.com
sympathy flowers
Where can I download file clientdatamoduleu.h?
I haven't find this file at google or Yahoo. I suggest that you send an email to borland and request this file if you think that it should have come with the C++ Borland Builder.
http://www.borland.com
sympathy flowers
How do I display an image in a CERTAIN P(preferably GIF, PNG, or JPG, but BMP will do) in VC6 / C++ using MFC.
I strictly use MFC if I can, VC6 only. I HATE console apps/code with a passion. They are utterly useless. I am so sick of all these tutorials that just 'paste a pic' on a white 'Edit Box' but don't tell you a thing about HOW in the world it got there! PLEASE for all that is decent and holy in the gaming world, please, please help me without mentionint the following words:
cout, cin, console, Linux, Unix, Mac, iMac, IPOD, VB6, .NET, VC7, vc8, Borland, Builder, CDocument, 'make it a memer of the %^%26amp;#$ class' and so on. I just want to know how do I put an image at the location of X, Y, and how do I CHANGE X and Y. I'd like to be abl to have 2 versions of this code, one where I am able to set the movement myself, and another where I can 'click and drag' the graphic (such as a chess piece or checker?) JPGs have great color as GIFs seem splochy, but only GIFs/PNGs have transparency, although I've heard rumours of transparent JPeGs! A versitle code that can use all 3 would be nice.
How do I display an image in a CERTAIN P(preferably GIF, PNG, or JPG, but BMP will do) in VC6 / C++ using MFC.
i tryed to send you a email but some how it did not go through so i am "answering" here. you are very ignorant about macs. i have worked with a lot of pcs both fast and slow, and never had any thing but problems with them. all pcs are junk compared to macs. macs never get viruses, have the best hardware in the world, and have been rated the best computer of any price. they last long, have all good software, pcs have a lot more software but most of it is junk and if you got rid of all the bad stuff there would be less for pc than theere is for mac. i know what a good computer is and you dont. i will never use a pc again. my mac is the best computer i have ever had, and when i need a new computer i will get a mac. PCs STINK.
cout, cin, console, Linux, Unix, Mac, iMac, IPOD, VB6, .NET, VC7, vc8, Borland, Builder, CDocument, 'make it a memer of the %^%26amp;#$ class' and so on. I just want to know how do I put an image at the location of X, Y, and how do I CHANGE X and Y. I'd like to be abl to have 2 versions of this code, one where I am able to set the movement myself, and another where I can 'click and drag' the graphic (such as a chess piece or checker?) JPGs have great color as GIFs seem splochy, but only GIFs/PNGs have transparency, although I've heard rumours of transparent JPeGs! A versitle code that can use all 3 would be nice.
How do I display an image in a CERTAIN P(preferably GIF, PNG, or JPG, but BMP will do) in VC6 / C++ using MFC.
i tryed to send you a email but some how it did not go through so i am "answering" here. you are very ignorant about macs. i have worked with a lot of pcs both fast and slow, and never had any thing but problems with them. all pcs are junk compared to macs. macs never get viruses, have the best hardware in the world, and have been rated the best computer of any price. they last long, have all good software, pcs have a lot more software but most of it is junk and if you got rid of all the bad stuff there would be less for pc than theere is for mac. i know what a good computer is and you dont. i will never use a pc again. my mac is the best computer i have ever had, and when i need a new computer i will get a mac. PCs STINK.
How do I display the output of a C++ program in the Command Prompt?
I am also using Borland to create my program.
How do I display the output of a C++ program in the Command Prompt?
printf("output to display");
or you could use
cout %26lt;%26lt; "output to display";
or
putc( char_var, stdout);
or
puts( string_var);
See also:
http://www.cplusplus.com/doc/tutorial/
http://www.cprogramming.com/
How do I display the output of a C++ program in the Command Prompt?
printf("output to display");
or you could use
cout %26lt;%26lt; "output to display";
or
putc( char_var, stdout);
or
puts( string_var);
See also:
http://www.cplusplus.com/doc/tutorial/
http://www.cprogramming.com/
From where can i get turboo c++ for free which is virus free as well?
i hav searched through borland website as well.............but was unable to find it.if u know can u tell me how to get it?
From where can i get turboo c++ for free which is virus free as well?
If you need so i can put this on my FTP server from there you can download it ... if need so do let me know.
Reply:You can download it from "http://www.developers.net" by creating an account. I have downloaded from it.
Reply:From your friends pc which is virus free %26amp; studying in your class or from a profeshionals.
From where can i get turboo c++ for free which is virus free as well?
If you need so i can put this on my FTP server from there you can download it ... if need so do let me know.
Reply:You can download it from "http://www.developers.net" by creating an account. I have downloaded from it.
Reply:From your friends pc which is virus free %26amp; studying in your class or from a profeshionals.
Examining arrays in Visual Studio C++ debugger?
OK. I'm at a breakpoint in the debugger and now I want to examine the values stored in my arrays. How do I get Visual Studio debugger to show me the data in the arrays? I don't want to see just one value at a time; I want to see the values contained in array indices [100] to [199] for example.
Surely there has to be an easy way to do this. I've been doing it since the 90's in the Borland IDE and since the 80's on VAXs.
And while I'm at it, is there any way that I can plot data from arrays while in the debugger like you can in Matlab?
Examining arrays in Visual Studio C++ debugger?
I don't know about other versions, but right now I'm using VS2005, and I can see the values in an array while stopped in debug mode by right clicking on the variable and selecting "Quick Watch..."
That will produce a nice little window listing all the values in the array. I'm not sure if that's exactly what you want, but that's the closest thing that I'm aware of.
Personally, I have to use VS everyday, and I'm convinced it's the biggest piece of trash IDE that I've ever used.
Reply:int* p = new int[100]; // Assume a Pointer created like this.
In the watch window type: p,100
(The comma is your friend here!)
To view values with indices 50-60 type: (p+50),10
For plotting see: http://arraydebugview.sourcefo... Report It
Reply:One way is to specify the index in your debugger. Like arrayname[105] - that should give you the exact value at that index.
If yours were fixed length arrays, getting the value of a range would not be difficult. The debugger would then provide a small + sign beside your array object in the quick watch, and you could expand it to see all the elements.
But with free pointers, the debugger cannot do that. Becasue it does not know the length of the array. And Microsoft has taken a very tight fisted approach towards accessing out of bounds values, even in read only mode by the debugger - so it does not take any risk.
If you are so hell bent on seeing the values of a range, you have to do some little extra work dude:
Option A: Use the managed framework and declare an arraylist object, load it using your native array specifying the length. Your debugger will instantly show all the elements of the array list object expandable/ collapsible with a + sign
Option B: Write them down to a file on the hard disk ([index]:[value] format), open and inspect the file while debugging.
Option C: Declare a test only fixed length array (that you can comment later on), copy the contents of the native pointer array to it, and let the debugger do the rest.
Option D, E, F, ...: Give it up. There are better things to do in life.
bridal flowers
Surely there has to be an easy way to do this. I've been doing it since the 90's in the Borland IDE and since the 80's on VAXs.
And while I'm at it, is there any way that I can plot data from arrays while in the debugger like you can in Matlab?
Examining arrays in Visual Studio C++ debugger?
I don't know about other versions, but right now I'm using VS2005, and I can see the values in an array while stopped in debug mode by right clicking on the variable and selecting "Quick Watch..."
That will produce a nice little window listing all the values in the array. I'm not sure if that's exactly what you want, but that's the closest thing that I'm aware of.
Personally, I have to use VS everyday, and I'm convinced it's the biggest piece of trash IDE that I've ever used.
Reply:int* p = new int[100]; // Assume a Pointer created like this.
In the watch window type: p,100
(The comma is your friend here!)
To view values with indices 50-60 type: (p+50),10
For plotting see: http://arraydebugview.sourcefo... Report It
Reply:One way is to specify the index in your debugger. Like arrayname[105] - that should give you the exact value at that index.
If yours were fixed length arrays, getting the value of a range would not be difficult. The debugger would then provide a small + sign beside your array object in the quick watch, and you could expand it to see all the elements.
But with free pointers, the debugger cannot do that. Becasue it does not know the length of the array. And Microsoft has taken a very tight fisted approach towards accessing out of bounds values, even in read only mode by the debugger - so it does not take any risk.
If you are so hell bent on seeing the values of a range, you have to do some little extra work dude:
Option A: Use the managed framework and declare an arraylist object, load it using your native array specifying the length. Your debugger will instantly show all the elements of the array list object expandable/ collapsible with a + sign
Option B: Write them down to a file on the hard disk ([index]:[value] format), open and inspect the file while debugging.
Option C: Declare a test only fixed length array (that you can comment later on), copy the contents of the native pointer array to it, and let the debugger do the rest.
Option D, E, F, ...: Give it up. There are better things to do in life.
bridal flowers
What is wrong with my c++ code?? Im getting an illegal use of floating point in main error?
Is there an easier way of doing this? What about an infinite series? Anyway here is the code that I am using with the Borland Compilier.
double sum = 0;
for (double i = m; i %26lt;= n; i++)
sum = sum+(1/(n^2));
Total = sum;
std::cout %26lt;%26lt; Total %26lt;%26lt; std::endl;
return 0;
}
"file1.cpp": E2060 Illegal use of floating point in function main() at line 21
What is wrong with my c++ code?? Im getting an illegal use of floating point in main error?
This error can only have happened if you have declared n as a float or double.
I guess it's an integer so declare n as an int and it will compile (I have verified this with Borland).
Alternatively you can use math.h and call pow for this one.
Change the line
sum = sum+(1/(n^2));
to
sum = sum+(1/(pow(n,2)));
and
#include %26lt;math.h%26gt; for pow.
That way you do not have to change the declaration of n.
x^y is not guaranteed to compile unless they are both ints.
pow takes 2 doubles and returns a double so no restriction.
Reply:dont use double in for loop,
ie double i gives this error
so better use while loop in this case.
if you wabt to use for loop type cast m and n to int.
Reply:plz refer to the last line...the curly bracket...
where is the open curly bracket?
Reply:Is "m" declared? You're setting m to i, but it's not declared in that code snippet.
double sum = 0;
for (double i = m; i %26lt;= n; i++)
sum = sum+(1/(n^2));
Total = sum;
std::cout %26lt;%26lt; Total %26lt;%26lt; std::endl;
return 0;
}
"file1.cpp": E2060 Illegal use of floating point in function main() at line 21
What is wrong with my c++ code?? Im getting an illegal use of floating point in main error?
This error can only have happened if you have declared n as a float or double.
I guess it's an integer so declare n as an int and it will compile (I have verified this with Borland).
Alternatively you can use math.h and call pow for this one.
Change the line
sum = sum+(1/(n^2));
to
sum = sum+(1/(pow(n,2)));
and
#include %26lt;math.h%26gt; for pow.
That way you do not have to change the declaration of n.
x^y is not guaranteed to compile unless they are both ints.
pow takes 2 doubles and returns a double so no restriction.
Reply:dont use double in for loop,
ie double i gives this error
so better use while loop in this case.
if you wabt to use for loop type cast m and n to int.
Reply:plz refer to the last line...the curly bracket...
where is the open curly bracket?
Reply:Is "m" declared? You're setting m to i, but it's not declared in that code snippet.
Need help with this C++ program. Code provided. What is the solution to my problem?
I'm not sure what all errors I'm getting but I know the one with the equation called out in float, it tells me that asValue is undefined but with the one where it is defined in the float, I get these errors.
Call of nonfunction
Lvalue required
Call of nonfunction
I'm using Borland.
//Program assignment #4 Exercise 13 p.156 - Donald Black
#include %26lt;iostream.h%26gt;
#include %26lt;conio.h%26gt;
#include %26lt;iomanip.h%26gt;
void main()
{
float actualValue, asValue, oneHundred, propertyTax;
cout %26lt;%26lt; "What is the actual value of your propert? \n";
cin %26gt;%26gt; actualValue;
actualValue(.6) = asValue;
cout %26lt;%26lt; "Your property's assessment value is: " %26lt;%26lt; asValue;
propertyTax = asvalue(.0064)
cout %26lt;%26lt; "Your property tax is: \n";
cin %26gt;%26gt; propertyTax;
system ("pause");
}
Need help with this C++ program. Code provided. What is the solution to my problem?
I'm using Dev C++ but the code should be about the same.
1) You are missing a "using namespace std;" statement
2) Change "void main()" to "int main()"
3) If you are multiplying values, use a * not parentheses
4) You asValue variable is case sensetive, so this needs to be changed in your propertyTax = asValue * .0064; statement.
The new version of C++ calls for headers in the format of #include %26lt;iostream%26gt; there is no need for the .h (in Dev C++ anyway--if yours is different, you need only change it back). Also, there is no need for the conio include in this program.
Try this:
#include %26lt;iostream%26gt;
#include %26lt;iomanip%26gt;
using namespace std;
int main()
{
float actualValue, asValue, oneHundred, propertyTax;
cout %26lt;%26lt; "What is the actual value of your property? \n";
cin %26gt;%26gt; actualValue;
asValue = actualValue*.6;
cout %26lt;%26lt; "Your property's assessment value is: " %26lt;%26lt; asValue;
propertyTax = asValue*.0064;
cout %26lt;%26lt; "Your property tax is: \n";
cin %26gt;%26gt; propertyTax;
system ("pause");
}
Happy to see someone learning C++. I took it last semester; you will learn quickly.
Good luck
Call of nonfunction
Lvalue required
Call of nonfunction
I'm using Borland.
//Program assignment #4 Exercise 13 p.156 - Donald Black
#include %26lt;iostream.h%26gt;
#include %26lt;conio.h%26gt;
#include %26lt;iomanip.h%26gt;
void main()
{
float actualValue, asValue, oneHundred, propertyTax;
cout %26lt;%26lt; "What is the actual value of your propert? \n";
cin %26gt;%26gt; actualValue;
actualValue(.6) = asValue;
cout %26lt;%26lt; "Your property's assessment value is: " %26lt;%26lt; asValue;
propertyTax = asvalue(.0064)
cout %26lt;%26lt; "Your property tax is: \n";
cin %26gt;%26gt; propertyTax;
system ("pause");
}
Need help with this C++ program. Code provided. What is the solution to my problem?
I'm using Dev C++ but the code should be about the same.
1) You are missing a "using namespace std;" statement
2) Change "void main()" to "int main()"
3) If you are multiplying values, use a * not parentheses
4) You asValue variable is case sensetive, so this needs to be changed in your propertyTax = asValue * .0064; statement.
The new version of C++ calls for headers in the format of #include %26lt;iostream%26gt; there is no need for the .h (in Dev C++ anyway--if yours is different, you need only change it back). Also, there is no need for the conio include in this program.
Try this:
#include %26lt;iostream%26gt;
#include %26lt;iomanip%26gt;
using namespace std;
int main()
{
float actualValue, asValue, oneHundred, propertyTax;
cout %26lt;%26lt; "What is the actual value of your property? \n";
cin %26gt;%26gt; actualValue;
asValue = actualValue*.6;
cout %26lt;%26lt; "Your property's assessment value is: " %26lt;%26lt; asValue;
propertyTax = asValue*.0064;
cout %26lt;%26lt; "Your property tax is: \n";
cin %26gt;%26gt; propertyTax;
system ("pause");
}
Happy to see someone learning C++. I took it last semester; you will learn quickly.
Good luck
Where can I download C++ Builder 4 IDE ???
I have looked on the Borland web page but cant find a free download for the above. Does anyone know a website that I can download from???
Where can I download C++ Builder 4 IDE ???
have you checked http://www.programmersheaven.com
Where can I download C++ Builder 4 IDE ???
have you checked http://www.programmersheaven.com
Subscribe to:
Posts (Atom)