Results 301 to 330 of 418
-
12-03-2011, 09:15 PM #301
Re: turbo c not working on windows 7
PM me your mail ID ! i ll send u .
DEATH IS OUR BIRTH RIGHT - SO Y FEAR DEATH ???
-
13-03-2011, 05:15 PM #302
Re: turbo c not working on windows 7
Turbo C won't work in Windows 7 64-bit [as it isn't compatible with 16-bit programs] but would work in 32-bit...
As for an alternative C compiler...I'm a BE CSE student and I'm using Code::Blocks with the mingw gcc compiler... It's basically the same as Turbo C except some statements...It follows the GCC syntax (the proper ANSI C syntax) and if you can go through it, it's very good...
Spoiler:
-
13-03-2011, 06:37 PM #303
Re: turbo c not working on windows 7
^^ I ran turbo C in WIN 7 ! i have the whole to make it run without hassle .
DEATH IS OUR BIRTH RIGHT - SO Y FEAR DEATH ???
-
14-03-2011, 07:28 PM #304
-
14-03-2011, 07:33 PM #305
Re: turbo c not working on windows 7
Without using DOSCOX we made another step u want pm ur mail ID
DEATH IS OUR BIRTH RIGHT - SO Y FEAR DEATH ???
-
10-04-2011, 01:27 PM #306
how to open .txt file in turbo c++
Hey Hello Guyzz...
I hav one programming query...!
I am using turbo C++ in Win. Xp...the directory of TC is C:\Program Files\TC...I want to execute one program in TC...but its too big..! Thats y i copy-paste that program in notepad file as .txt...in BIN directory (C:\Program Files\TC\BIN)...Now i want to open that txt file in C...so first i open TC > File > Open....The name of my txt file is addons.txt...so i wrote C:\Program Files\TC\BIN\addons.txt in textbox...but after hitting enter just blank blue (default) screen is appearing again and again...its not opening in C...how to open it??? Plzz help me...!
Ryte now i am


Google Chrome ... I Love You ....
-
10-04-2011, 02:12 PM #307
Re: how to open .txt file in turbo c++
So basically that .txt file contains C program right??
Just name that file as xxx.cpp(For C++) / xxx.c(For C) instead of xxx.txt- Read The Forum RULES First.
- Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
- Before Starting A New Thread Read The STICKY THREADS First
- Before Participating In Bazaar Section Read The BAZAAR RULES
-
10-04-2011, 03:55 PM #308
Re: how to open .txt file in turbo c++
C+ would have open the file, if you had input right filename, with right path.
So, when you click File -> Open, you should put *.txt in open dialog text box, this will allow you to select any .txt file inside the folders.
But, even if the file open, you can't compile it, since it would be a text file. So you would have to save as, it as a .cpp file.
So, in conclusion, you should have not saved the file as .txt in the first place. You can save it as a .cpp file in notepad itself. But do that selecting, "All files", under "Save as Type".
-
10-04-2011, 09:12 PM #309
Re: how to open .txt file in turbo c++
dont use turbo c++.
just kidding. do as krishnandu said!
-
11-04-2011, 08:27 PM #310Right Off the Assembly Line
- Join Date
- Apr 2011
- Posts
- 2
Turbo C problem
Hi Friends,
I'm a student of Information Technology(I.T.) I own a laptop. Dell Inspirion N5010. Its configuration is as follows:-
4GB Ram
500GB Hard Disk
Intel Core i5 M460 @ 2.53GHz (turbo boost upto 2.8GHz)
Windows 7 Home Premium 64 bit
1GB Graphics Card.
My problem is that I can't run Turbo C and Turbo C++ on my system. I use Oracle Virtual Box and then run Turbo C & C++ in Windows XP Professional.
When I run a program of Bresenham's Algorithm, it doesn't give me any error when I press Ctrl+F9 and Alt+F9. But, when I try to run the program from the Run Option. I t gives me error.
There's no error in the coding of the program. I ran it successfully in my college's PC which have Windows XP as an OS.
Please help me out of this as my exams are approaching and I'm not able to practice despite of having my own system.
Sagar
-
11-04-2011, 08:32 PM #311
Re: Turbo C problem
Could be a problem with the virtual environment.Use some other compilers like Microsoft Visual C++
The android game I made - MultiPingPong
-
11-04-2011, 09:31 PM #312
Re: Turbo C/C++ and other junk compilers discussions here
^ He is doing Graphics Programming and sadly he is stuck.
@Sagarb, First of all you need to run the TC IDE FULL SCREEN.
Make sure you enable the graphics libraries.
haha! I liked the name of this thread! "..other JUNK compilers"
BTW, Ontopic:
@sagarb: You should provide the appropriate error messages and/or screen-shots, so that we can debug your error.
-
14-04-2011, 08:03 PM #313Right Off the Assembly Line
- Join Date
- Apr 2011
- Posts
- 2
Re: Turbo C/C++ and other junk compilers discussions here
Hey friend Getch(); is used for a program which is modified like that it doesn`t returnany value.
it`s declaration is like :
void main()
here void is the return type .It shows that the current program doesn`t return any value.
i will show you a simple program compiled with Turbo c++:
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
cout<<"HELLO";
getch();
}
if now you have any question __ please ask me!!!!!!!!!Last edited by Liverpool_fan; 14-04-2011 at 09:12 PM. Reason: specifying quote for context
-
25-05-2011, 09:44 AM #314
Re: Post your C/C++ Programs Here
Do the following program prints the output 'hello'
void main()
{
if(printf("hello"))
}
-
25-05-2011, 10:07 AM #315
Re: Post your C/C++ Programs Here
-
15-06-2011, 07:29 PM #316
Turbo c not working on windows 7
HII fellas
My turbo c is not working on full screen in windows 7 64 bit?
however it is working properly in small size window
plz help me to sort out this problem
if i press alt+enter it produce full screen but working of c stops it hangs up
and nothing works at that time
I want u guys to help me out find a better compiler for windows 7....Core i7 930 ,msi x58-pro, 2x2gb ddr3 corsair xms, msi gtx 570,corsair hx 620, Wd 1tb blue , cm 690 , samsung 2233 ,apc 800va , altec lansing vs2621, hp probook core i5 450+4gb ram+320gbhdd
-
15-06-2011, 07:33 PM #317
Re: Turbo c not working on windows 7
Read this guide : C/C++ Beginner's Guide and Post Basic Questions here
I really don't recommend using Turbo C. Why??? Read that guide I posted above.
And if you really don't have any option, use Doxbox : DOSBox, an x86 emulator with DOS- Read The Forum RULES First.
- Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
- Before Starting A New Thread Read The STICKY THREADS First
- Before Participating In Bazaar Section Read The BAZAAR RULES
-
15-06-2011, 08:15 PM #318
Re: Turbo c not working on windows 7
Use GCC and Geany.
Vamsi Subhash
visit my blog at www.vamsisubhash.co.cc and taste a bit of IT!
-
15-06-2011, 10:15 PM #319
Re: Turbo c not working on windows 7
I too have the same problem but i dont see any solution to it.. :-/
And i suppose u need Turbo C because it is used in your CS classes, if i'am right
Same scenario is with me mate⌠≈Yes, I am a criminal. My crime is that of curiosity. ≈⌡
-
15-06-2011, 10:38 PM #320
Re: Turbo c not working on windows 7
^^In that case why don't you guys try Dosbox??
- Read The Forum RULES First.
- Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
- Before Starting A New Thread Read The STICKY THREADS First
- Before Participating In Bazaar Section Read The BAZAAR RULES
-
16-06-2011, 12:09 AM #321
Re: Turbo C/C++ and other junk compilers discussions here
I wish the Indian educational institutes can stop sucking on the tit of "I-only-know-this" mentality.
Apart from the conventional "sane" alternatives:
- MingW/GCC
- Code::Blocks (nice)
- Dev C++
- Microsoft Visual C++ Express (Heck, even M$ is doing their bit for the society).
There are other things:
- Emulate 16-bit working environment using DosBOX
- Emulate Virtual Machine. Some freewares are available. (My pref). VirtualBox. VMPlayer, etc.
If you're hell bent upon using the sundial to know the time and/or helpless 'coz Teh Old Folks think you're too small to outsmart them, here are my 2 cents:
- Full Screen for TC
- If you're too lazy to even bother with DosBox, here's a one-stop-single-click app. Just give path to TC and click. (Set directories within TC as: "INCLUDE" & "LIB", no paths)
P.S. Someone mentioned Yashwant Kanetkar, it's a sh!tty book with no regard to ANSI standards. It's a sad sad thing universities actually recommend this piece of crap.AMD Phenom II X6 1055T|MSI 880GMA-E45|MSI 7770|2x2 Corsair DDR3 1333MHz|CM Elite 310|Corsair CX400W|DELL ST2320L
Myself @ nbaztec.co.in
Build Your Rig! (XBlade) @ nbaztec.co.in - Build Your Rig!
My Inner Artist @ nbaztec.co.in - Designs
-
23-06-2011, 11:30 PM #322
Re: Turbo C/C++ and other junk compilers discussions here
I really hate it when Turbo is referred to as C++..lol.
Most students don't even know that Turbo is not the goddamn language. Thankfully my lab has a linux box with gcc.
-
11-10-2011, 05:02 PM #323Right Off the Assembly Line
- Join Date
- Oct 2010
- Posts
- 31
Re: C/C++ Beginner's Guide and Post Basic Questions here
i installed DOSBOX 0.74 and turbo c++ in the directory c:\TC
But the BIN,INCLUDE and LIB folders are in a TC folder inside c:\TC
so when i launched tc++ with DOSBOX it showed invalid directory.So i changed the directory to C:\TC\TC\INCLUDE and C:\TC\TC\LIB.But still when i compile it shows iostream.h not found and so on...
-
11-10-2011, 05:18 PM #324
Re: C/C++ Beginner's Guide and Post Basic Questions here
I think you should keep that directory empty. Even I got this error at my school sometimes.
Follow me on Twitter: http://twitter.com/wuodland
-
11-10-2011, 06:27 PM #325
Re: Turbo C/C++ and other junk compilers discussions here
after opening turboC++, goto options->directories and enter the path to the different directories there.
Arch Linux is kind of a bonzai tree, over years u try new things, make small tweaks, and end up with a system that is unique, elegant, and does exactly what u designed it to do.
My Blog
MyAnimeList
-
11-10-2011, 07:11 PM #326
Re: Turbo C/C++ and other junk compilers discussions here
Try the one-click app, mentioned in my post.
AMD Phenom II X6 1055T|MSI 880GMA-E45|MSI 7770|2x2 Corsair DDR3 1333MHz|CM Elite 310|Corsair CX400W|DELL ST2320L
Myself @ nbaztec.co.in
Build Your Rig! (XBlade) @ nbaztec.co.in - Build Your Rig!
My Inner Artist @ nbaztec.co.in - Designs
-
21-10-2011, 03:47 PM #327Right Off the Assembly Line
- Join Date
- Oct 2011
- Posts
- 1
Re: C/C++ Beginner's Guide and Post Basic Questions here
Hi guys , i m a beginner in c++ , i was trying to create a simple program that prints any random line for infinity times without interruption .. but it has to abort if the user wants ,say ( he can press any key to abort).
I tried the program like this
for(;
{
cout<<"hello";
cin>>ch;
if(ch=='y')break;
}
i encounter a problem that the program was stopping to take an i/p every time it get into the loop.... that is undesireable .....
plz help me out to solve this problem....
I would expect that i would get solution very soon
-
21-10-2011, 08:39 PM #328
Re: C/C++ Beginner's Guide and Post Basic Questions here
^ First of all, welcome to TDF.

Well, you can use kbhit() function to interrupt an infinite loop.
But since the mentioned function use conio.h, I must give you a Non Portable Code warning.
It goes like this,
WARNING: NON-PORTABLE CODE
Code:while(1) { if (kbhit()) break; cout << "\nHello."; }Last edited by Vyom; 21-10-2011 at 09:09 PM. Reason: Adding the warning (courtesy LFC. He's paranoid about non ANSI compliance :-D)
-
17-12-2011, 12:06 AM #329Right Off the Assembly Line
- Join Date
- Dec 2011
- Location
- bankura
- Posts
- 2
c++ graphics help
hello guys can any one help me with this problem i am having implemnting graphics in borland c++ version 5.02?(it's outdated but that's what cbse in it's unparalleld wisdom allows us to use). my problem is :- after carefully setting all the necessary prerequisites and including graphics.h(BGI graphics, DOS standard)when i try to compile the prog. it gives the error "not enough parameters to call initgraph with" whenever the first parameter in initgraph() is set to autodetect.when i try to do it by setting all parameters by hand, all i get is a flashing screen after which the program terminates. PLEASE HELP.
-
17-12-2011, 09:46 AM #330
Re: c++ graphics help
try this
change the third argument according to your compiler pathCode:int gd=DETECT, gm; initgraph(&gd, &gm, "c:\\turboc3\\bgi " );
Arch Linux is kind of a bonzai tree, over years u try new things, make small tweaks, and end up with a system that is unique, elegant, and does exactly what u designed it to do.
My Blog
MyAnimeList
Similar Threads
-
Why is this program rejected by C++ compilers?
By gopi_vbboy in forum LifestyleReplies: 13Last Post: 03-05-2012, 12:23 AM -
compilers
By arpanmukherjee1 in forum ProgrammingReplies: 1Last Post: 26-09-2008, 09:31 PM -
Where to get C++ compilers?
By redhat in forum ProgrammingReplies: 12Last Post: 19-09-2008, 07:01 PM -
Compilers For C And C++ ?
By clmlbx in forum ProgrammingReplies: 31Last Post: 26-01-2008, 07:25 AM -
C/C++ compilers for win xp x64
By setharsh in forum Software Q&AReplies: 5Last Post: 22-12-2006, 02:25 PM



LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks