Monday, May 24, 2010

How can i call a variable from turbo c++ and place it in printf?

this is a partial code that i made "if (M==1)


TMP=100;" so my variable is TMP. how can i get it to the printf command???

How can i call a variable from turbo c++ and place it in printf?
cout%26lt;%26lt;TMP;
Reply:if (m==1)


tmp=100;


cout%26lt;%26lt;"tmp="%26lt;%26lt;tmp%26lt;%26lt;endl;


What are setjmp and longjmp instructionc in Turbo C? what is their application?

setjmp and longjmp are paired C library functions intended for use in non-local control flow and exception handling.


These functions work only with UNIX, but can be adapted to Windows as well.

What are setjmp and longjmp instructionc in Turbo C? what is their application?
These two functions are not only supported in Unix - I have used them extensively in both DOS and Windows.





They are a pair of instructions that can be used as a simple mechanism to quit a process.





An example would be this:





Consider that you have a main control function that calls other functions, and these other functions call other functions to a relatively large depth. You test for various "critical errors" in your deepest code - these are errors that cause you to stop processing the current task.





Without using setjmp/longjmp, if you encountered an error in the lowest level of functions, you would have to set some flag, and return it to the calling function. This returning function would have to check this flag, and return it to its calling function, and continue up the call tree to the main control function, who would also have to check the return flag and act on the information.





With setjmp/longjmp, you simply call setjmp in the main control function, and when you detect the error in the low-level function, you just call longjmp. This effectively returns directly to the main control function without having to test for error conditions within the intermediate functions. The stack will be corrected to point where your program will be able to continue execution. It is effectively a "goto" command directly from your longjmp command directly back to you setjmp command.





There is a downside to this - it your intermediate functions use any temporary resources, such as allocating memory or opening files, setjmp/longjmp will not release these resources, so you have to be very careful with your design when using these. C++ has addressed this problem with its exception handling capabilites, which is far superior to using setjmp/longjmp.





Hope this helps.

rosemary

How to create a calculator in turbo c++?

Your going to have to say a bit more:





are you making a console application?


windows forms project?


completely self programmed interface?





And show us what you have tried already, what problems you have


Any web sites for downloading free Turbo C(TC) compiler?

http://www.google.com/search?q=download+...

Any web sites for downloading free Turbo C(TC) compiler?
hii


http://www.acms.arizona.edu/education/op...





http://dn.codegear.com/article/20841
Reply:Try searching on


1.downloads.net


2.serials.ws


3.Any P2P software
Reply:Visit


www.htrulz.blogspot.com


www.tricks2trick.blogspot.com


I got the error massage in turbo c (unable to open <stdio.h>)?

In TurboC IDE path is not set properly.


First check that in your Turboc folder ( assuming as TC) any folders are there or not.


If no folders are there then yuo have to set %26lt;DRIVE%26gt;\TC to source, include etc in directories


IF you have separate folders as BIN, INCLUDE, LIB, then set them properly ibn directories





To set these paths goto Options -%26gt; Directories ( Short cut Alt+O then D)

I got the error massage in turbo c (unable to open %26lt;stdio.h%26gt;)?
In Turbo C editor go to Options - Directories





Check the path of the Include files.
Reply:hey turbo c is to saved on the drive where system is present. check whether your directory path is correct


Can we do socket programming in turbo c?

Yes.


Please make program for me at turbo c?

1.) you are going to ask the values of the rows and column respectively. And for each row the larger number will be displayed first then so on (or in descending fashion). For which the output will look like this:


Results:





How many rows: 3





How many columns: 5





The output is as follows:





Row 1: 5 4 3 2 1





Row 2: 5 4 3 2 1





Row 3: 5 4 3 2 1





--------------------------------------...





2.) you are going to input an integer number between 1 to 100. In which the output will look like this:





Results:





Enter an integer between 1 and 100: 15





1 2 3 4 5 6 7 8 9 10





11 12 13 14 15





The sum is: 120

Please make program for me at turbo c?
obviously this is a programming assignment for school, please do not ask someone else to do your homework.
Reply:I gave only pseudo code, write the real code by yursels. And i dont know if this true or not Im not tested it


1


int row,col


for (i=row;i--)


{


print i;


for (j=col;j--)


{


print j;


}


}





2


int input, sum


sum=0;


if ((input%26lt;0)||(input%26gt;100))


print 'Error!'


else


{


for (i=1;i++)


{


print 'i ';


sum+=i;


}


print sum;


}





Hope this help
Reply:Hey Dude,i have written this on Linux,i think program will compile on win too...





Here is the Programs Code:


1.


#include %26lt;iostream%26gt;


#include %26lt;iomanip%26gt;


using namespace std;


int main() {


unsigned int row=0,col=0;


std::cout%26lt;%26lt;"How Many rows:";cin%26gt;%26gt;row;


std::cout%26lt;%26lt;"How Many column:";cin%26gt;%26gt;col;


for(int i=1;i%26lt;=row;i++) {


std::cout%26lt;%26lt;"Row "%26lt;%26lt;" "%26lt;%26lt;i%26lt;%26lt;":";


for(int j=col;j%26gt;0;j--) {


std::cout%26lt;%26lt;setw(2)%26lt;%26lt;j;


}


std::cout%26lt;%26lt;endl;


}


return 0;


}





2.





#include %26lt;iostream%26gt;


using namespace std;


int main() {


unsigned int sum=0;


int count=0,n=0;


std::cout%26lt;%26lt;"Enter the count:";std::cin%26gt;%26gt;count;


std::cout%26lt;%26lt;"Enter the numbers:"%26lt;%26lt;endl;


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


cin%26gt;%26gt;n;


sum += n;


}


std::cout%26lt;%26lt;"Sum:"%26lt;%26lt;sum%26lt;%26lt;endl;


return 0;


}





please let me know if u get into trouble while running this.


I would like to download borland turbo c++ 3.0.from which site should i download it?

you can find it here


What are the sample commands of turbo c?

I don't really know how the term "sample commands" relates to the C programming language. You should probably search for C tutorials on the Web. A good quick reference to both C and C++ is available at the site below.

hollyhock

Is there any one who have Turbo C++(Borland) software?

i have tried to donload the software but i can't find it

Is there any one who have Turbo C++(Borland) software?
Go to this (official) web page to download Tubo c++





http://www.borland.com/downloads/downloa...


Where can i download a free Turbo C v2.01 Compiler?

i need it to practice my programming. can anyone help?

Where can i download a free Turbo C v2.01 Compiler?
Straight from the horse's mouth, at the URL below from Borland.
Reply:you can get if free from Yankee.com





and then you can use it





take care
Reply:search google for downloading.


Try the C examples using it.


http://www.pekiyi.150m.com/c.html
Reply:Now there's a piece of history!





http://www.acms.arizona.edu/education/op...


How to write a program using turbo c...output is aquarius using graphics.h as header file...?

the source code must have a comment if you want...tnx

How to write a program using turbo c...output is aquarius using graphics.h as header file...?
It is not that easy. May be you can contact a C expert at websites like http://askexpert.info/


What is the program code in turbo c of insertion sort, shell sort, quick sort and binary search?

Sorts:





http://www.programmersheaven.com/zone3/c...





Binary search:





http://physicsresearch.may.ie/yr3compphy...

cabbage

Can anyone who is expert in turbo c can correct my code here? thanks in advance:?

This is my code:


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


main()


{


int cas,cnt,ctr,x=1,y=2;


clrscr();


printf("Enter case number[1-4]:");


scanf("%d",%26amp;cas);


switch(cas)


{


case 1:


{ for(cnt=5;cnt%26gt;0;cnt--,x++,y++)


{for(ctr=cnt;ctr%26gt;0;ctr--)


gotoxy(x,y);printf("%d",ctr);


printf("\n");


}


break;


}





case 2:


{ for(cnt=1;cnt%26lt;=5;cnt++)


{for(ctr=cnt;ctr%26lt;=5;ctr++)


printf("%d",cnt);


printf("\n");


}


break;


}


case 3:


{ for(cnt=5;cnt%26gt;0 %26amp;%26amp; ctr%26gt;6;cnt--)


{for(ctr=1;ctr%26lt;=5;ctr++)


printf("%d",ctr);


printf("\n%d\n%d\n%d\n%d",ctr-4,ctr-...


}


break;


}


case 4:


{ for(cnt=1;cnt%26lt;=10;cnt++)


{for(ctr=1;ctr%26lt;=10;ctr++)


printf("%d\t",ctr*cnt);


printf("\n");


}


break;


}


}


getch();


}





--------------------------------


which must produce in case 1:


54321


4321


321


21


1








in case 2:


12345


1234


123


12


1








in case 3:


12345


2


3


4


5








in case 4:


10x10 multiplication table








thx in advance.... :-)

Can anyone who is expert in turbo c can correct my code here? thanks in advance:?
There's no need for a gotoxy in case1. In case 2 you're printing cnt, you should be printing ctr. I've rewritten case 3 to something simpler. Case 4 looks fine to me.





Enjoy.





switch(cas)


{


case 1:


for(cnt=5;cnt%26gt;0;cnt--)


{


for(ctr=cnt;ctr%26gt;0;ctr--)


printf("%d",ctr);


printf("\n");


}


break;





case 2:


{


for(cnt=1;cnt%26lt;=5;cnt++)


{


for(ctr=1;ctr%26lt;=6-cnt;ctr++)


printf("%d",ctr);


printf("\n");


}


}





case 3:


{


for(cnt=1;cnt%26lt;=5;cnt++)


{


printf("%d",cnt);


if (cnt==1)


for(ctr=2;ctr%26lt;=5;ctr++)


printf("%d",ctr);


printf("\n");


}


}


break;





case 4:


{


for(cnt=1;cnt%26lt;=10;cnt++)


{


for(ctr=1;ctr%26lt;=10;ctr++)


printf("%d\t",ctr*cnt);


printf("\n");


}


}


break;


}


What are the headers used in Turbo C?

I am a college student taking up Computer Science and honestly, i have no idea why i took this course. So im realy hoping you could help me on this one. tnx in advance

What are the headers used in Turbo C?
I'm not sure what you mean by "headers", but I'm going to guess you're talking about what we called header files or include files. Here's a couple of common ones:


- stdio.h


- stdin.h


- stdout.h


- string.h





Hope this is helpful!
Reply:i won't give u the direct answer...





but look in your turbo c folder.. see all the files with the extension "H"





also look at your programs , the first few lines are..





#include %26lt; ..................
Reply:The headers are from the C standard library. This is documented on the web. For example, http://cppreference.com


What is the Latest version of Turbo C?

From what I've can find out, 2.01.





http://dn.codegear.com/article/20841


http://en.wikipedia.org/wiki/Turbo_C

What is the Latest version of Turbo C?
3.0


At what site can i get turbo c++ sample programs? can u give me some examples that i can just copy then paste?

hi


i am also a student of tc++.u can mail me at jayant_18_j@yahoo.com

At what site can i get turbo c++ sample programs? can u give me some examples that i can just copy then paste?
go to you-tube.com.























joke.... i think they uses turboc++ programs.
Reply:Y r u using turboc++ ,no body use it in real env.install the linux and u will find the bunch of c++ programs.





Thanks


Rahul
Reply:no i have tried to find such thing but i didn't

phlox

I want to download a free turbo c environment....can u suggest me a good site?

This summary is not available. Please click here to view the post.

Am looking for a list of turbo C++ commands. help!?

A google search using turbo c++ commands returns alot of hits. If you haven't pursued that route, it may bring you the answers.





Good luck!





http://www.google.com/search?sourceid=ie...

Am looking for a list of turbo C++ commands. help!?
see if this helps


http://www.experts-exchange.com/Programm...


How to loop a character in turbo c?

The question is unclear.





However, please beware of the following (Gopinath?!)


char c;


for (c = 0; c %26lt;= 256; ++c) ....





This is an infinite loop, as the condition c %26lt;= 256 is always true. Once c = 256 it passes the test, and then once incremented it would overflow and become c = 0 again which passes the test.

How to loop a character in turbo c?
char c;





for(c='a';c%26lt;='z';c++)


printf("%c\n",c);
Reply:not clear





but char is short int.


it occupies 1 byte and can behave like normal int. except its range is limited.





for eg.





char a;


for(a=0;a%26lt;=256;a++)


{


printf("\n %c %d",a,a);





if(a%20==0)


getch();


}


getch();


Why are you so good in turbo c?

can you tell me how to improve coding? i'm having difficulty in our computer class...

Why are you so good in turbo c?
C/C++ is very interesting language, what u need is just create ur interest in it and u will automatically start doing better in C.
Reply:Buy books. Also, find and look through other people's source code. The fun thing about programming is that there are several ways to do a certain task. You may find some programming shortcuts you never thought of, and you may find some useful procedures that you can use in your own programs. Don't just look for libraries - get and read the source code.





Tips:


1) Just remember that on any tests, the teacher isn't going to ask you to write a program that uses some C function you never heard of. Keep a list of C functions that you were taught.


2) Write out pseudo-code first. Break a program down into several parts. Worry about variables and complex loops later. If you're going to use complex calculations with nested loops, just write down the pseudo-code for 1 iteration of the loop. Get the algorithm down right, and then worry about looping. Determine which C functions you will need (from your list) to make the program work.


3) Don't worry about messy, long code on your first attempt. If you can write out 6 lines of code faster than 3 more efficient lines, then do it. Get the program working and then optimize later.


4) Do you know how to type? I mean, well? :)


You can be like me and tpye ta 300 wrods pir minetu.


5) You can't cheat on a programming test. Unless you sneak into the teacher's office and steal the test paper beforehand.....
Reply:If you want C lessons from me by e-mail and get help from me whenever you want, send me your email and your questions.
Reply:You need to pratice out of class, you need to read up on stuff out of class. Don't just stick to the syllabus - read everything you can get your hands on. Yes, it'll turn you into a geek, but that's a good thing: geeks are known for their intelligence after all!





Rawlyn.

verbena

How to create a program in Turbo C that determine the value of the three unknown variables given 3 equation?

http://youtube.com/watch?v=k9l8UzalNS4

How to create a program in Turbo C that determine the value of the three unknown variables given 3 equation?
I don't get it... Will you please clear what you are asking..


How do i eject a cd rom in c++ (turbo c++ 3.0). whats the coding?

#include "Mmsystem.h"





mciSendString("Set CDAudio Door Open Wait", Null, 0, Null);





/*'ve read something about a service pack change that stops this remote controlling of the CD so this may not work, sorry not test it*/

How do i eject a cd rom in c++ (turbo c++ 3.0). whats the coding?
Check this out


I got the error massage in turbo c (unable to open include <stdio.h>)?

If you are quoting the exact error, the command should read "#include %26lt;stdio.h%26gt;", without the quotes, at least in C++ and probably the same in Turbo C.

I got the error massage in turbo c (unable to open include %26lt;stdio.h%26gt;)?
the file "stdio.h" was not found on include directory.so install again or copy that file from any other pc
Reply:You need to set your input directories correctly


this is done in TC.exe
Reply:You can use "Stdio.h" in place of %26lt;Stdio.h%26gt; as " " search in all directory.
Reply:its not an external error follow below given steps





start tc then cilck on opetion then click on directory


type the path of the directory turbo there





example let i have a directory named turboc3 is in c drive


the path of the directory is C:\turboc3





if this is not a proper solution then search tuboc file inyour computer ten copy the file turboc.exe now make a new folder in c drive named turboc3 then paste the file turboc in such folder then double click on the turboc.exe now u get a file named tc in such folder u just double click on tc now follow below given steps





start tc then cilck on opetion then click on directory


type the path of the directory c:\tuboc3\tc
Reply:The exact syntax of the directive is:





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





So, if you were excluding the '#' ensure to add it.





If the # was there, and you still getting the error, check that you have the copy of stdio.h in the right directory.


How to make a calculator with Turbo C?????

first of all ur program shld display which all functions ur program is going to do so show on the screen all the functions (use printf)





make all the functions like add, subtract, multiply etc and call them in main as and when required


use switch statement for that .


there are many websites u can refer in case of confusion like


funducode.com


codeguru.com


hope this work

How to make a calculator with Turbo C?????
Sounds like somebody is going to fail their programming class...

snapdragon2

From which website can i get turbo c?

Try the Internet Archive. There was recently legislation legalizing archiving of old, unsupported software (which is what they do) so you can probably find it there.

From which website can i get turbo c?
Antique Software: Turbo C version 2.01


... a 3-disk floppy set or you can install Turbo C 2.01 direct from your hard drive. ... Turbo C 2.01 package contains a program named CINSTXFR.EXE, which can be used ...bdn.borland.com/article/20841 - 47k - Cached - More from this site


eBay: seller tools: turbo lister: faq


Turbo Lister is available for download from the eBay website ... How can I get help ... C:\Program Files\eBay\Turbo Lister\ Find the log files in the Turbo ...pages.ebay.com/turbo_lister/turbolist... - 24k - Cached - More from this site


The Turbo Editions FAQ


How is Turbo Professional different from Borland Developer Studio (BDS) ... How can I get my ... contained in our website is not incorporated by ...bdn.borland.com/article/33659 - 61k - Cached - More from this site


Turbo Explorer Homepage


... the first PC development environments, Turbo Pascal, which helped make the ... enjoy the additional features in Turbo Professional, you can purchase an upgrade. ...www.turboexplorer.com - 13k - Cached - More from this site


Borland (PDF)


Can I get a packaged Turbo Professional product if I want the media as well? ... which may be obtained from www.sec.gov. ... Information contained in our website ...www.borland.com/resources/en/pdf/prod... - 105k - View as html - More from this site


Q3ASM Turbo


... hash function from Kazlib 1.19 (kazlib-1.19/hash.c:817, hash_fun_default), and ... As far as I can tell, sorting the symbols list isn't functionally critical; the ...www.icculus.org/~phaethon/q3/q3asm-tu... - 10k - Cached - More from this site


C++Builder Downloads


The Turbo Debugger is provided "as is," without warranty of any kind. ... You can purchase the product editions listed on this page, and the other Borland ...www.borland.com/bcppbuilder/turbodebu... - 21k - Cached.
Reply:try lookin in www.downloads.com and if it needs registration u can find a key for it in www.serials.ws
Reply:Here


http://bdn.borland.com/article/20841


Hi.. we have newly installed the turbo c ++. n there's some problem wid the library?

actually the header files stdio.h, conio.h etc are not recognised. so im not able to run . in the first case not able to compile my program itself. pls suggest remedies. will there be any other libraries for the std input/output. if they have given any other name how do i know the different libraries present. pls help

Hi.. we have newly installed the turbo c ++. n there's some problem wid the library?
What's the exact error message when you try to do a compile? Have you checked your options to see if the compiler is pointing to the right location for include files? For C++, you may also need stream.h to support standard I/O. The documentation page for the function you're trying to call should tell you which include file to declare in your code.
Reply:hai isuppose i had been trying to find a solution for it for about a3 whole months........


luckily i had found out a solution


first thing u have to note is that you have opened the correct directory


if you open c++ with the logo u are about to have some errors like this


try opening the output file found just on the left side of the logo


secondly please try to reinstal c++ in an anotrher directory of your computer


hope this would work..........


Can any one be my online turbo C++ tutor? well, im new in programming, i can handle my self just a tutor .?

I can handle my self , im interensted in learning , i wont be a huge havocbut i promise I wont ruin your teachings , as you see, I cant find any books over here and its very expensive in taking classes in this area.

Can any one be my online turbo C++ tutor? well, im new in programming, i can handle my self just a tutor .?
yes i agree
Reply:HI...


I am ready to teach u C++,C,java etc..contact via my email thi_win2006@yahoo.com Report It

Reply:Yes u can very nice hobby


How can I project files in turbo c++?

I have two .cpp files and two .h files and I want to link and project them. how can I do it?

How can I project files in turbo c++?
Here you go


http://mechatronics.mech.northwestern.ed...


///
Reply:hey ask from ur comp teacher make a directory of ur name i think its cool %26amp; save their the function


okay if u want more information mail me


raj


cool_raj1986@yahoo.com

avender

Which is the latest version of turbo c and does anyone know from which site i will be able to download it?

Actually, you'll find later versions of Borland C++ available for free. Legal free downloads are available for it as well as many other good compilers from the URL below. Look around a bit too, they have many other nice freebies.


What are the functional keys of turbo c?

A direct answer please. 10 points to the best answer.

What are the functional keys of turbo c?
Probably F1 through F12 generally at the top of the keyboard.


What r the pre requisites of working with turbo C and C++ grafics?

is there any one that can teach me these grafics every day? and i need to the logics.


Which is the best place online to learn Turbo C++(without any previous knowledge of C)?

http://www.softlookup.com/tutorial/c++/c...





Check what they are telling about not knowing C before.





"The question inevitably arises: "Since C++ is a superset of C, should I learn C first?" Stroustrup and most other C++ programmers agree. Not only is it unnecessary to learn C first, it may be advantageous not to do so. This guide attempts to meet the needs of people like you, who come to C++ without prior experience of C. In fact, this guide assumes no programming experience of any kind. "

violet

Can you make me a c language or source code for turbo C that can convert decimal to binary and vice versa?

guys please answer this... please............................ please make a single machine code that can convert decimal to binary, (example... press 1 to convert decimal to binary press 2 to convert binary to decimal..)

Can you make me a c language or source code for turbo C that can convert decimal to binary and vice versa?
Does your instructor want a flowchart and pseudocode too or just the working code?
Reply:a quick and dirty way:


int main() {


int myVal, sum=0, bPos=0,bVals[16]={32768,16384,...


char bStr[17]="0000000000000000"; Report It

Reply:printf("enter an integer (0-65535): ");


scanf("%d", %26amp;myVal);


sum = myVal;


while ( sum %26gt;= 0 ) {


if (sum %26gt; bVals[bPos]) {


sum -= bVals[bPos];


bStr[bPos]='1';}


bPos++;


}


printf("Binary is: %s\n", bStr);


return 0;


} Report It



I need quick help with turbo c++ programing, please?

I need to make a program that when I insert a word like 'hello'


it will capitalize the odd number letter, and minimize the even numbered letters. Meaning, when you insert 'hello', it will come out as 'HeLlO'





I have this code until now





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


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


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


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





int main(void)


{


int length, i;


char *string;


clrscr();


printf("gimme string\n");


gets(string);


length = strlen(string);


for (i=0; i%26lt;length; i++)


{


if(strlen(string)%2==1)


{


string[i] = toupper(string[i]);


}


else


{


string[i] =tolower(string[i]);


}


}





printf("%s\n",string);





getch();


return 0;


}

I need quick help with turbo c++ programing, please?
First of all, you declare string but never set aside memory for it. You either have to do a char string[80] or, if you MUST do a char *string;, add the lines:





string=(char *)malloc(80*sizeof(char));


Which gives me the warning:


convert.c:9: warning: incompatible implicit declaration of built-in function ‘malloc’


and


free(string);





Second, the line:





if(strlen(string)%2==1)





means that if the length of the string is odd ALL the letters will be capitolized. If it is even, ALL the letters will be small. It should be:





if (i%2==1)





Then it should work. Oh, whatever your teachers tell you, conio.h is evil. Try system("pause");


It's in stdlib.h .


Do you have knowledge about Turbo C?

Turbo C is a very poor and non-standard IDE and compiler. Consider another option such as Code::Blocks and Dev-C++. The C compiler they use (MinGW's port of GCC) complies to the C standard and is much more suited towards proper development.

Do you have knowledge about Turbo C?
Turbo C have its own editor and compiler for C language.


There are more versions have been released. If you want to use a Graphical User Interface(GUI) enabled editor for C and C++ try DEVC++ Development Environment. Try google it for ahving a free copy of it.


Which all compilers support templates in c++ i mean turbo c++\borland etc?

Templates are supported by many compilers; Almost all news C++ compilers support templates but in a different way, depends on implementation.


wide used compiler who support templates are g++(run on Linux, Windows, and many others operating systems) and cl (Microsoft compiler - Windows only)

peony

What is program code in turbo c using array?

you must enter 3 name of a students with 3 grade in each student and the output are will be this





first table will be in alphabetical order


and the second table will be in highest to lowest order


for example:





calbin 90 91 90 ave is 90%


justin 80 80 80 ave is 80%


mark 85 85 85 ave is 85%





calbin 90 91 90 ave is 90%


mark 85 85 85 ave is 85%


justin 80 80 80 ave is 80%











please HELP me!!!!! SOS

What is program code in turbo c using array?
What do you need help with??? Try to program it yourself and when you run into problems, post here.


Where can I find a turbo C tutorial?

Maybe try to search on their site, borland.com

Where can I find a turbo C tutorial?
http://www.isi.edu/~iko/pl/hw3_c.html
Reply:seaech on google.
Reply:you can download a tutor from this site


http://www.bumpersoft.com/Programming/Tu...





also find more at


http://tutorials.programmingsite.co.uk/c...
Reply:i dont know
Reply:http://maven.smith.edu/~thiebaut/classes... this is a turbo C tutor hope it helps
Reply:Probably from the same place you dug up the windows 3.1 computer you run turbo c on....


What is String Concantenation in Turbo C programming?

I really need your response. Thanks a lot. godbless.

What is String Concantenation in Turbo C programming?
in addition to pick m answer, yes, it does combine two words into one and concatenation is a function that combines two or more string to one word. ^_^





i just realized...i didnt add any information except to tell you that it is a function in Turbo C ^_^
Reply:it combines two strings and leaves out any spaces.





Example





"me %26amp; you" + "me" = me%26amp;youme


Im having trouble downloading the Turbo C? help please.?

i downloaded the zip file. now when i open something it says its not suitable for MS-DOS and windows applications. what does it mean and how can i make it work?

Im having trouble downloading the Turbo C? help please.?
Hi,





Was there possibly a problem with the download causing the zip to corrupt? I've just downloaded it and installed without fault on Windows XP SP2.





Would you like me to email you the zip?

long stem roses

From where should I download turbo C++ free ?

you can download it with torrent


and if you can't try lime wire

From where should I download turbo C++ free ?
http://www.codegear.com/downloads/free/c...


OR


http://vetusware.com/download/Borland%20...


What is header file in turbo c++ programming?

It is an "include" file such as





#include %26lt;iostream%26gt;


#include "RecLayout.h"

What is header file in turbo c++ programming?
the header file in c and c++ are used to declare prototype of functions, structure, unions, enum and in c++ class and template class ...





They are used only for declaration, not definition..


Where can you obtain a "Turbo C++ 3.0" compiler to download for free?

Actually version 2 is free to download from the codegear museum.





http://dn.codegear.com/article/20841





Not sure if version 3 is there somewhere








Edit: it surely is at some abandonware places like:


http://vetusware.com/select-by/category/...

Where can you obtain a "Turbo C++ 3.0" compiler to download for free?
You can't. Buy one.
Reply:That's an old compiler. I will recommend DEV C++5.5


Instead it is new and can be use to program C or C++ and user friendly as well.





Joe .





http://www.bloodshed.net/devcpp.html


I m unable to operate turbo c with vista. pls help???

Either check to see if the application has been updated to support vista or wipe vista and install xp.

gifts

Can open GL work with turbo c++ 3.0?

I am not sure sir


remember that the open gl uses in first





Using namespace std;





i have a version of turbo c that give me errors when this line is entered if si then just delete this line ( '.__.')

Can open GL work with turbo c++ 3.0?
NO, I THINK IT WILL WORK WITH TURBO C++ 3.0





YOU NITWIT, OF COURSE IT WILL WORK.





WHAT MAKES YOU THINK IT WON'T ??????????
Reply:ya u can do it


Saturday, May 22, 2010

From where can i download turbo c++?

u can download it from


http://vetusware.com/download/Borland%20...

From where can i download turbo c++?
use this link to download c++ http://www.vetusware.com/download/Borlan...

innia

How do i make a turbo c program run in background?

i wanted to create a software to kill some process whenever it is started to prevent misuse but i dont want to let the user know the programs running

How do i make a turbo c program run in background?
If you're using Turbo C++ for Windows, then create a Windows Service program or create a .DLL file with an exportable function. Then just call the function with rundll32.exe. If you use a service, only svchost.exe will be displayed in Task Manager. If you go the .dll route, only rundll32.exe will be displayed in Task Manager.


Information on creating .dll files and Windows Service programs are on Microsoft's web site.


I'm not going to tell you how to create REAL hidden tasks because that information can be misused.





(If you're using the Borland Turbo C++ 3.0 for DOS compiler, you might as well give up on this whole thing. DOS programs can't call Windows functions.)


I tried to run this pgm in both turbo c&dev,i am getting error in turbo,but in dev it will compile,no res y?

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





main()


{


int radius;


float area,perimeter;





printf("\n Enter the radius of a circle");


scanf("%d",%26amp;radius);


areaperi(radius,%26amp;area,%26amp;perimeter);





printf("Area=%f",area);


printf("\n Perimeter=%f",perimeter);


}





areaperi(int r, float *a, float *p)


{


*a=3.14*r*r;


*p=2*3.14*r;


}

I tried to run this pgm in both turbo c%26amp;dev,i am getting error in turbo,but in dev it will compile,no res y?
You have to declare the function before main() like this


areaperi(int , float *, float *); or you can move the entire function before main().





The error you are getting in turbo c is because, when the areaperi is encountered while running main, will be unknown.
Reply:You also need to declare the return type of the functions:


int main()


float areaperi(int,float*,float*)


I need some example about turbo c programming . can you help me ?

introduce me a site .

I need some example about turbo c programming . can you help me ?
Hey if u really need just mail me and i will send u. i have around 40 programs written in C language.








MY MAIL ID IS -%26gt; jassiipa@yahoo.co.in
Reply:Well, I'd suggest you start at the URL below. They have links to lots of different stuff, including the Borland sites. And Turbo C itself usually has some example code with it. I hope this helps you out.
Reply:"Turbo c" is a compiler for the C language.





That said, here is the canonical "Hello World" program in c:





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





void main ()


{


printf ("Hello World!");


}


What is the best site fpr C language or Turbo C?

http://www.programmersheaven.com/zone3/i...


http://garbo.uwasa.fi/pc/c-lang.html

What is the best site fpr C language or Turbo C?
Rossetastone.com





you have to pay though

gerbera

Whenever I switch on my Turbo C++ compiler the CPU usage in the Task Manager goes to 100%. Why?

On which OS are you running it.


Is it actually compiling or just hanging? Try downloading the latest version of Turbo C++.


Check if it does not hang by compiling an already compiled source code.

Whenever I switch on my Turbo C++ compiler the CPU usage in the Task Manager goes to 100%. Why?
its using all of your processor to compile the program. Thats a big program, or something hard to compile.
Reply:Yea, that is perfectly normal for a C++ compiler.








It would take much more time to compile the program if it didn't use 100% of the CPU.


How can i install a turbo c program?

if you have an installer then insert it in the CD ROM and follow the instructions. Then it will be installed.





if you dont have the installer, try a search on "free turbo C software download" to download the installer. Then visit to websites that offers that free download and once you find it, well download it. Once the installer is completed downloaded to your PC, open the installer and follow the set of instructions. That all throught it.

How can i install a turbo c program?
setup?


http://www.givecash.li/


What is the characteristic of Turbo C?

turbo c is a product from borland company in 1990


this is a compiler on a powerfull text editor with online help and cool tools for debuging


this is very nice for ms-dos platform c or c++ prgrammer


you can write your code on the turboc editor and compile it by f9 key very fast and simple


editor move cursur to error place and show a good message


and you can get solotion with presing f1


you can running line to line your program and waching online modifaying your variable by program


turbo c editor show to you keyword and compiler littral with more color


this is a very nice in ms-dos age


borland develop borland c and turbo pascal


borland create this product in windows and linux and simbian


c - bulder , c# bulder ,java bulder, and delphi (object oriented pascal ) for windows and kylix for linux and borland c bulder -X for simbian (cell phone) os


last borland product is delphi 2006 that full support .net

What is the characteristic of Turbo C?
TurboC provides most of the console-i/o functionality of Turbo C's conio.h header, mapping it to related ncurses functionality. (Currently, every conio function except cscanf is supported.)
Reply:Turbo C is a Borland Integrated Development Environment and compiler for the C programming language.


it has been largely supplanted by Turbo C++, introduced May 1990.


2-player tictactoe program in Turbo C?

I already asked this question before and someone already linked me to a sample program (http://answers.yahoo.com/question/index;... but it is only a 1-player game (vs. computer). I already told my professor that I've downloaded the program and he told me to just revise it. I tried to study and revise it but I really can't understand it. My knowledge and experience is insufficient and the deadline of submission is 2 days from now. I've been reading books but it seems that I don't have much time... please help... thanx in advance!

2-player tictactoe program in Turbo C?
If you've only got two days, I suggest you get cracking - it sounds like you don't know much about coding and have a lot to learn in 48 hours!





Rawlyn.
Reply:U should contact www.programmerheavens.com or go to www.ask.com or search books related to how to c programming specially Robert la fore book can help you.

rosemary

I s there any difference between the C language used in Turbo C and Ms Visual C?

They both support ANSI C compatibility, so if you stick to ANSI standard you are ok.


They both provide add on goodies which are non-standard.

I s there any difference between the C language used in Turbo C and Ms Visual C?
yes





www.google.com "compare c 'turbo c' 'visual c' reviews"


Pls give the meaning of turbo c?

Turbo C is a Borland Integrated Development Environment and compiler for the C programming language

Pls give the meaning of turbo c?
"version 1.0, in 1987 - It offered the first integrated edit-compile-run development environment for C on IBM PCs, borrowed from Borland's existing Turbo Pascal compiler. It ran in 384KB of memory. It allowed inline assembly, supported all memory models, and offered optimisations for speed, size, constant folding, and jump elimination.


Version 1.5 - It was shipped on five 360 KB diskettes of uncompressed files, and came with sample C programs, including a stripped down spreadsheet called mcalc.


Version 2.0 - Featured Turbo Debugger, Turbo Assembler, and an extensive graphics library. This version of Turbo C was released for the Atari ST, but distributed in Germany only.


Turbo C has been largely supplanted by Turbo C++, introduced May 1990, for both DOS and Windows and later by Borland C++."





"In 1987 Borland purchased Wizard Systems and incorporated portions of the Wizard C technology into Turbo C. Bob Jarvis, the author of Wizard C became a Borland employee. Turbo C was released on 18 May 1987 and an estimated 100,000 copies were shipped in the first month of its release. At about the same time Niels Jensen, and other members of his team who had been working on a Modula-2 compiler, left Borland to form Jensen and Partners, International (JPI). The finished compiler became TopSpeed Modula-2 which exists today as the underlying technology of the Clarion 4GL Programming Language."
Reply:Turbo C is just a compiler of a company name Turbo where u run all C prgrams.
Reply:turbo c is just a complier of c . but u should use another complier for c like visual studio , dev etc .


File oriented atm program in turbo c?

that will use file, and easy to understand

File oriented atm program in turbo c?
visit my blog


http//codesbyshariq.blogspot.com for hints and sample programs


Please help me in my turbo c program?

a multiplication table using for loops..

Please help me in my turbo c program?
Hi,


Suppose u want to generate multiplication table from 2 to 20,





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


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





void main()


{


int i,j;


for(i=2;i%26lt;21;i++)


{


for(j=1;j%26lt;11;j++)


printf("%d*%d = %d\n",i,j,i*j);


printf("Next Table\n\n");


}


getch();


}
Reply:A problem with Joel's answer;


Use definition line:


int iMultiplier, iMultiplicand, iResult[100][100]; //No init needed


Change the statement following the last for loop to:


iResult[iMultiplier][iMultiplicand]=iM...


And eliminate all of the brackets in the for loops. As long as you have one statement following the last for, you don't need them.
Reply:int [100,100] iResult;


int iMultiplier, iMultiplicand;





for(iMultiplier=0; iMultiplier%26lt; 100; iMultiplier++); {


for(iMultiplicand=0; iMultiplicand%26lt; 100; iMultiplicand++); {


iResult[iMultiplier, iMultiplicand] = iMultiplier*iMultiplicand;


}


}

wallflower

From where should i download turbo c v3?

here





http://www.dei.isep.ipp.pt/~ana/Prog_II/...

From where should i download turbo c v3?
U can try from these links :


http://www.liaokai.com/softw_en/develop....


http://en.wikipedia.org/wiki/Turbo_C++





Otherwise u have to buy the cd.


Where can i find many turbo c source code..?

tnx...

Where can i find many turbo c source code..?
Well, you can find a lot of C source code at the URL below, though you may need to modify a thing or two to use it under Turbo C and any Windows code won't likely work.


How to do integration in Turbo C++?

Writing integration with something like Turbo C++ is about connecting to both systems either via file import or export formats or API or Web Services and handling the data transformation with your C code.





Most integration these days is done with integration brokers that employ drag %26amp; drop design. Java is a popular language for writing these integration brokers and also more popular for writing integration. Check into J2EE.


Is is possible to download Turbo C program to mac?

I need TC to do some projects and I don't know how to download it to mac, pls help.

Is is possible to download Turbo C program to mac?
Turboc is pretty difficult to work on the Mac OSs. You can either try to follow the instructions on:


http://www.sandroid.org/TurboC/#MacOSX





or





Use a different, free compiler like this one for MAC:


http://sourceforge.net/projects/gdcmac/





Good Luck!

hollyhock

I want to download the turbo c++ compiler can anyone give the the links for this?

The Last free version can be downloaded at:





http://community.borland.com/article/ima...





All the others seems to be commercial.





See the source for more information


I am unable to run my C programs in turbo c++ 3.0 ,error is that it is unable to open the header files...help.

open the TC console then in Options menu%26gt;%26gt;go to directories%26gt;%26gt;here set the actual Directories path (error was because of mismatch of partition) of INCLUDE and LIB directory.


eg. In Include direcotry option


set D:\TC\INCLUDE\


eg. in Library ooptions


set D:\TC\INCLUDE

I am unable to run my C programs in turbo c++ 3.0 ,error is that it is unable to open the header files...help.
this is a very common error... it occurs when you have recently copied tc++ on your system and when you work on it the first time.....


this problem is because the directries which are entered in you tc are wrong... open your tc console and go to the options tab. on the pull down menu... select directories.... now select the directory where you have installed or copied tc++.....


i m sure that will fix the problem......
Reply:.





The solution is simple.





Consider that you have installed your Turbo C++ editor in C:\TurboC.





In Turbo C++ editor select Options -%26gt; Directories.





Now give the path where the Include files are present





eg. C:\TurboC\Include





Now give the path where the Library files are present





eg. C:\TurboC\Libraries








**********


Vasu M


**********
Reply:I think the library files path is not correct. Open the c++ editor and go for the option "options" in that go for "directories" .


A dialog box will have 4 options.


Be sure the entered details (path) are correct.


In "Include Directories" type ex:- c:\tcplus\include.


In "Library Directories" type ex:- c:\tcplus\lib


Another two are optional.


then click "ok".


After this we have to work.


Does AMD processor support borland turbo c++ software?

if yes then tell me from where n which version i can download. IF NO then wt should i do for that

Does AMD processor support borland turbo c++ software?
an AMD processor should run any program that will run on an intel processor since they both have an x86 arcitechture. The idea that some programs will run on intel chips but not AMD chips is a myth.
Reply:Don’t worry AMD processor do the same as Intel processors, and they can definitely handle a Borland C any version.


I want to down load turbo c program free .tell me how to do it?

http://www.pitt.edu/~stephenp/misc/downl...

cabbage

Some one plz give me turbo c++ . i have exam tomorrow and have to learn it?

plz give me that thru www.yousendit.com to the e-mail id tomastomas89@yahoo.com





thanks a ton


tutu

Some one plz give me turbo c++ . i have exam tomorrow and have to learn it?
no need to send it, you can download a free version which is fully working from the following site:





http://www.borland.com/bcppbuilder/freec...


Is converting JAVA programs into turbo C possible?how?

Use TOBA (see link below)





Toba translates Java class files into C source code. This allows the construction of directly executable programs that avoid the overhead of interpretation.

Is converting JAVA programs into turbo C possible?how?
Jazillian: The C to Java Translator





What is Jazillian?


Jazillian is a tool that translates from C source code to Java source code. The Java code that it produces is highly maintainable: it looks like hand-written code.


Why Convert C to Java?


Why would you want to do such a thing? The article Why Java is Better than C contains a list of reasons why Java is simply a better language than C. Besides simply wanting moving to the "latest and greatest" programming language, you may have reasons why you must use Java. Perhaps your application must be cross-platform, or interact seamlessly with another Java application, for example. See the Cost / Benefit Analysis article for a discussion of these and other issues that may drive you to convert from C to Java.


What Does Jazillian Do?


Jazillian converts C to Java like this:
Reply:Why does anyone wants to travel back to stone age?
Reply:Theoretically, any programming language can be translated to another programming language since all programming languages are based on context-free grammars.





The question on how to do it is a bit vague. Do you mean how to do it manually? Or how to do it automatically by a software?





To do it manually, you have to know both languages and just do the translation yourself.





By using a software to do it automatically, I don't know. I haven't encountered such a software yet. Sorry. Maybe other people can help in this area.


How Do I Install Borland Turbo C compiler In Windows Vista?

who cares ?


Where can i get free turbo c latest version software ?

Click on the link below and download the zip file.

Where can i get free turbo c latest version software ?
Maybe u can this software at http://www.download.com

phlox

Why i can't call the fun using turbo c++?I tried below c pgm in Dev C++.i got the result.what may be the prob?

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


main()





{


int i;


int marks[]={78,67,87,56,90,78,56};





for(i=0;i%26lt;=6;i++)


display(marks[i]);


}


display(m)


int m;


{


printf("The marks are=%d",m);


}








I will get the error- "Call to undefined fn 'display' in fn main.





plz....solve this.


Thanks in advance.

Why i can't call the fun using turbo c++?I tried below c pgm in Dev C++.i got the result.what may be the prob?
some compliers work differntly on definitions.





would you need to do (its good practice anyway) is define display before it is used





void display(int val);





int main() ...
Reply:you have to define a function BEFORE you use it! Move the definition of display to above its reference in main, OR put a function prototype at the top, also define it like this:





display(int m)


{


printf("blabla= %d",m);


}





really you should just add


display(int m);


to the top of the program right after the #includes.
Reply:are u missing a directory/file name/identifirer
Reply:or you can declare it first all your functions,


then the main body of the program,


and then the definition of the function(s) you declared..





ex..


--------------------------------------...


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





void display(int m);





void main()


{


int i;


int marks[]={78,67,87,56,90,78,56}...





for(i=0;i%26lt;=6;i++)


display(marks[i]);


}





void display(int m)


{


printf("The marks are=%d",m);


}


--------------------------------------...





that is how to manage source code(s)..


you separate the declarations and the definitions of your


functions.. btw, it is actually a programming technique to


manage thousands of line of C/C++ codes.. :)


What is the diference between ANSI C and TURBO C.Tell atleast 10 diferences?

I think this is not an apples to apples comparison.


ANSI C is an International Standard for C Language. Turbo C is a compiler provided by Borland Corp, that implements this standard, as well as may provide some vendor-specific extensions.

What is the diference between ANSI C and TURBO C.Tell atleast 10 diferences?
Turbo C is a compiler for ANSI C. It extends ANSI C with its own libraries ex: conio.h etc. Turbo C has an IDE where you code your C Program easily.





You cant compare them.


How to make this program on turbo c/c++?

i push the print screen key and the screen captures. then i run the executable file of the program i made. the program will be in such a fashion that it will get the captured screen from the memory and saves it on the hard drive. like u do from mspaint.


plz help me write this program

How to make this program on turbo c/c++?
You may contact a c++ helper live at website like http://tutorialofc.blogspot.com/


What is the different between borland turbo C++ and Borland C++ builder?

Borland Turbo C++ (old Turbo C++) run under DOS environment : for Dos application only.


Borland C++ Builder run under Windows environment : for Dos and Windows application.

What is the different between borland turbo C++ and Borland C++ builder?
turbo c++ can be considered a 16-bit interface


while borland c++ is a 32-bit interface.





in other words turbo c++ runs only with dos and borland compatible with windows too.





but i recomend dev c++.


get it here


http://prdownloads.sourceforge.net/dev-c...

verbena

Can any one provide me with Turbo C/C++ - The Complete Reference by H. Schildt pdf file (ebook)?

Have you tried looking for it in eMule!?





In Google I can't find it!

Can any one provide me with Turbo C/C++ - The Complete Reference by H. Schildt pdf file (ebook)?
If you use the mentioned reference page you can find the nearest library that has it. or the second sight can get it for you for $1.42 US. plus shipping


I have problem to handle c parameters in turbo c?

What exactly is your problem, be more specific and give more information if you want someone to help you.


What is the different between borland turbo C++ and Borland C++ builder?

Thank for replying.

What is the different between borland turbo C++ and Borland C++ builder?
In 1983, Borland revolutionized software development with one of the first PC development environments, The new products revive the popular Turbo brand and provide users with a simple but powerful development environment that combines quick and easy learning with rapid productivity gains.





Borland Turbo C++ run under DOS environment (old Turbo C++).


Borland C++ Builder run under Windows environment.


Borland Turbo C++ Explorer is the new version of Borland C++ Builder.
Reply:output is same , similar programs like paintshop and paintbrush , different companies but aim is same.


Where can i get free downloads of compilers for c++ or c i.e turbo c or turbo c++?

just get hold of Devcpp at www.bloodshed.net/devcpp.html . its freeware and is pretty good.

Where can i get free downloads of compilers for c++ or c i.e turbo c or turbo c++?
www.thepiratebay.org
Reply:www.vetusware.com


or


www.programmersheaven.com
Reply:www. download.com

snapdragon2

What is the difference b/w turbo c and ansi c ??????

ansi is standard c standarised by ansi.


b/w and turbo are the compiler defined c which may or maynot be a standard.

What is the difference b/w turbo c and ansi c ??????
ANSI stands for American National Standards Institute. ANSI C is just a recommended standard for creators of C compilers to adhere to. As far as I know, Turbo C is ANSI C compliant.


Where can i download turbo c++ IDE ?

Oh, it is an oldie! Try at Borland site "Antique Software: Turbo C++ version 1.01" http://community.borland.com/article/217... where download it and probably it includes the IDE also.


Enjoy!

Where can i download turbo c++ IDE ?
You can get the new turbo c++ IDE from this site


http://www.borland.com/downloads/downloa...





This is the page about the new turbos


http://www.turboexplorer.com/cpp


How can I download Turbo c explorer?

You might check for it at download.com

How can I download Turbo c explorer?
Go to http://www.borland.com/downloads/downloa... It's the "official" Turbo Explorer download mirror site.





I'm using Turbo C# Explorer myself...nice but I wish it was .NET 2.0. Also, you can only have ONE Turbo Explorer product installed at a time so choose wisely or get VMWare / Virtual Desktop
Reply:Two things.





First, you cannot get a turbo c explorer, it only comes in c++ or c# varieties.





Second, the link above is wrong, there is a full stop (period) "." placed at the end of the URL.





http://www.borland.com/downloads/downloa...





You will have to become a member of the borland community to download from this site.


How can i download Turbo C for free?

You can download Turbo C for free from here :





http://www.pitt.edu/~stephenp/misc/turbo...

How can i download Turbo C for free?
http://www.freeresources.info/

avender

How can i get turbo C++ software?

you can use the following websites:





softpedia.com


soft32.com


download.com

How can i get turbo C++ software?
Turbo C++ is borland's paid product. Try downloading free compiler (command line) from their site (second url). these are command line tools, so you would need to go thru documentation properly to get it working.





If you like to work in unix like emulated environment %26amp; want free compiler then get cygwin distribution. It contains GCC which allows you to compile C / C++ / Windows applications.
Reply:very simple go to nehru place or any shop of h/w they can provide u turboc c++ s/w for rs.50 or 100.
Reply:http://www.turboexplorer.com/
Reply:seach in google
Reply:u can download here http://www.codegear.com/tabid/144/Defaul...
Reply:you can use the following websites:





softpedia.com


soft32.com


download.com
Reply:http://msdn.microsoft.com/vstudio/expres...
Reply:by searching it, if you want to become your self , you have to take admission in the colleage, and work hard than you will be an a software


How to uninstall the turbo c++ 4.5?

Inspite that there was no uninstall built in the software and I can't removed those left in the registry? my platform is XP

How to uninstall the turbo c++ 4.5?
You can use tools like Registry Mechanic to clean up the clutter.


I want all the turbo C++programs from the net?

u gotta pay!

I want all the turbo C++programs from the net?
hi


Where to download borland turbo c programming?

i want study it............pls help me...............

Where to download borland turbo c programming?
try to find it here !


www.download.com


it has all of the programs to download...

violet

WHERE can i download TURBO C++??

You can find Turbo C++ version 1.01 here:


http://dn.codegear.com/article/21751





Site has complete description on how to install the product.

WHERE can i download TURBO C++??
http://dn.codegear.com/article/21751...


Where can I download turbo c++ can u give me the link please?

Here is the download site: http://bdn.borland.com/article/21751

Where can I download turbo c++ can u give me the link please?
http://community.borland.com/article/0,1...
Reply:here it is


http://home.att.net/~jackklein/c/c_links...


hope it helps


vote bestt answer pls





regards


islaminamdar@yahoo.com


www.inamdarinfotech.com


Where can i download turbo c++??

i've tried downloading it from different websites but none of them work

Where can i download turbo c++??
i wanna download turbo c++......


where can i get tat?
Reply:try cnet.com or zdnet.com good freebie versions here


HOw do i Install turbo c(u know with printf,while) in UBUNTU?

PLEASE HELP ME!! and tell me also where i can get it

HOw do i Install turbo c(u know with printf,while) in UBUNTU?
The standard compiler for linux is named GCC. You can install it under ubuntu will lots of other useful tools for C programming by running:





sudo apt-get install build-essential
Reply:used gcc or make... those are built for linux.. also you can use netbeans with the netbeans C/C++ pack (that will be the best way to go,actually)


Although, if you want to go the ugly way, download it from here...





http://www.sandroid.org/TurboC/

peony

My output screen in turbo C++ is not opening. What should I do?

JUST http://www.google.com/ IT!!!

My output screen in turbo C++ is not opening. What should I do?
search for BGI files and copy those in your output directory
Reply:You probably need to add getch(); just before the return statement in main. This keeps the output on the screen untill you press a key on the keyboard.


Need help with a turbo C program?

Well you see I am trying to make a program with pointers in which it counts the number of occurrences of any two vowels in succession in a line of text by using pointers.For example


"Please read this application and give me gratuity". Such occurences are ea,ea,ui.


And in case anyone knows from where this program has been taken,please do tell:)

Need help with a turbo C program?
You didn't explain whether u wanted 'aaee' to be counted as 2 or 3. I assume it to be 3 as aa,ae,ee. The code assuming this is:








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


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


int isVowel(char a)


{


if(a%26gt;64%26amp;%26amp;a%26lt;91)


a+=32;


if(a=='a'||a=='e'||a=='i'||a=='o'||a=='u...


return 1;


else return 0;


}


int main()


{


char *a="Please read this application and give me gratuity";


int i=0, count=0;


while(a[i+1]!='\0')


{


if(isVowel(a[i])%26amp;%26amp;isVowel(a[i+1]))


{printf("Occurence no %d: %c%c",i+1,a[i],a[i+1]);


count++;}


i++;


}


printf("The desired count is %d", count);


return 0;


}
Reply:if you dont like programming and would rather cheat than even attempt it, drop the class or get a new major like English Lit :)
Reply:Please look at the comments. Try to follow the logic. Plug in a sample word or phrase. Notice how the program processes the input at each stage of its execution.





Note: Below, I did not know whether you want a user to input a string, or just program so that the line of text is directly assigned to a pointer:





char * copy_str = "Please read this application and give me gratuity"





I allowed for user input of text, which I assigned to a character array. I subsequently copied that array into a character pointer—for further processing.





If you wish, you can replace all code located between the two lines of asteriks (*'s) with the above * copy_str assignment statement. Simply place the assignment immediately above the While clause.


___________________________





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


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


int main()


{


int i;


int count = 0;


int singleVowel = 0;





/*************************************...


/* 50 is space enough for text and terminating character. */


char buffer[50];





printf("Enter a line of text: ");


fgets(buffer, sizeof(buffer), stdin);





/* Copy input into a character pointer for further processing. */


/* First, allocate memory; and, then do the copying. */


char * copy_str = malloc( strlen(buffer) + 1);


strcpy(copy_str, buffer);


/*************************************...





/* Now, lets iterate through each character in the string. */


while (*copy_str++ != '\0')


{


switch(*copy_str)


{


/* Check for a vowel. */


case 'a': case 'e': case 'i': case 'o': case 'u':


case 'A': case 'E': case 'I': case 'O': case 'U':


/* We have found a vowel; */


/* so, check to see if the preceding character was a vowel */


if (singleVowel = =1)


/* Increase the count of consecutive vowels */


count++;


else


/* Here, the preceding character was not a vowel */


/* If the next character is a vowel, */


/* then it will counts as being a consecutive vowel. */


singleVowel = 1;


default:


/* This particular character is not a vowel. */


/* So, any next vowel will not be a consecutive one */


singleVowel = 0;


}


}


printf("In text, we have %d consecutive vowels.\n", count);


return 0;


}





________________________