Page 11 of 14 FirstFirst ... 2 3 4 5 6 7 8 9 10 11 12 13 14 LastLast
Results 301 to 330 of 418
  1. #301
    damnbadman666 damngoodman999's Avatar
    Join Date
    Nov 2008
    Location
    Coimbatore
    Posts
    2,469

    Default 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 ???

  2. #302
    CSE Freak! rajsujayks's Avatar
    Join Date
    Aug 2008
    Location
    Coimbatore
    Posts
    89

    Exclamation Re: turbo c not working on windows 7

    Quote Originally Posted by somulesnar View Post
    guys as we all know that we have been using the turbo c software and been writing c programs in a blue type screen since years. But the turbo c compiler is not working on the latest os that is windows 7.

    plz guys suggest a sufficient and strong reason to support this.
    if not suggest me another compiler..........
    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:
    Dell Inspiron 530 desktop | Intel C2Q Q6600 @ 2.4 Ghz | 2GB DDR2 667Mhz | ASUS ENGTS450 | 250GB SATA2 | Windows 7 Ultimate 64-bit | 350 watt PSU | HP Deskjet F4488 AllInOne | Nokia 6681 Sony Ericsson XPERIA MiniPro (Love you Nokia..! :-( Am sorry..)

  3. #303
    damnbadman666 damngoodman999's Avatar
    Join Date
    Nov 2008
    Location
    Coimbatore
    Posts
    2,469

    Default 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 ???

  4. #304
    CSE Freak! rajsujayks's Avatar
    Join Date
    Aug 2008
    Location
    Coimbatore
    Posts
    89

    Exclamation Re: turbo c not working on windows 7

    Quote Originally Posted by damngoodman999 View Post
    ^^ I ran turbo C in WIN 7 ! i have the whole to make it run without hassle .
    Turbo C will run in Windows 7 32-bit perfectly...But not in Windows 7 64-bit unless you use an emulator like DOSBOX!
    Spoiler:
    Dell Inspiron 530 desktop | Intel C2Q Q6600 @ 2.4 Ghz | 2GB DDR2 667Mhz | ASUS ENGTS450 | 250GB SATA2 | Windows 7 Ultimate 64-bit | 350 watt PSU | HP Deskjet F4488 AllInOne | Nokia 6681 Sony Ericsson XPERIA MiniPro (Love you Nokia..! :-( Am sorry..)

  5. #305
    damnbadman666 damngoodman999's Avatar
    Join Date
    Nov 2008
    Location
    Coimbatore
    Posts
    2,469

    Default 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 ???

  6. #306
    Tech Freak Digitian. TSPatange_1309's Avatar
    Join Date
    Oct 2010
    Location
    Mumbai
    Posts
    38

    Question 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 ....

  7. #307
    Simply a DIGITian krishnandu.sarkar's Avatar
    Join Date
    Nov 2007
    Location
    Kolkata
    Posts
    3,495

    Default 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

  8. #308
    making future better Vyom's Avatar
    Join Date
    May 2009
    Location
    New Delhi
    Posts
    3,139

    Default 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".

  9. #309
    BIOS Terminator nims11's Avatar
    Join Date
    Apr 2008
    Location
    Ranchi
    Posts
    902

    Default Re: how to open .txt file in turbo c++

    dont use turbo c++. just kidding. do as krishnandu said!

  10. #310
    Right Off the Assembly Line
    Join Date
    Apr 2011
    Posts
    2

    Default 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. #311
    Electronic. Neuron's Avatar
    Join Date
    Jun 2010
    Location
    Tactical Neural Implant
    Posts
    584

    Default 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

  12. #312
    making future better Vyom's Avatar
    Join Date
    May 2009
    Location
    New Delhi
    Posts
    3,139

    Default 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.

  13. #313
    Right Off the Assembly Line
    Join Date
    Apr 2011
    Posts
    2

    Default Re: Turbo C/C++ and other junk compilers discussions here

    Quote Originally Posted by garfield_56 View Post
    hey all,
    m learnin c++...i wantd to ask wat is the role og "getch()" in a program.....
    i mean most of the programs mentioned in buks nd even on websites don't have a "getch" wriiten before closing main()....but i hv seen dat to get d desired result....i always have to add dis......

    why is dis so?? nd is it necessary????


    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

  14. #314
    Apprentice shiwa436's Avatar
    Join Date
    Oct 2010
    Posts
    52

    Default Re: Post your C/C++ Programs Here

    Do the following program prints the output 'hello'

    void main()
    {
    if(printf("hello"))
    }

  15. #315
    making future better Vyom's Avatar
    Join Date
    May 2009
    Location
    New Delhi
    Posts
    3,139

    Default Re: Post your C/C++ Programs Here

    Quote Originally Posted by shiwa436 View Post
    Do the following program prints the output 'hello'

    void main()
    {
    if(printf("hello"))
    }
    No, but the following would.


    void main()
    {
    if(printf("hello"));
    }

  16. #316
    Broken In somulesnar's Avatar
    Join Date
    Jan 2011
    Location
    Alexandria, Minnesota
    Posts
    111

    Default 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

  17. #317
    Simply a DIGITian krishnandu.sarkar's Avatar
    Join Date
    Nov 2007
    Location
    Kolkata
    Posts
    3,495

    Default 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

  18. #318
    Always confused vamsi360's Avatar
    Join Date
    May 2008
    Location
    Mandriva Control Center
    Posts
    348

    Default 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!

  19. #319
    Ethical Hacker :) Tejas.Gupta's Avatar
    Join Date
    Dec 2010
    Location
    Indore
    Posts
    201

    Default 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. ≈⌡

  20. #320
    Simply a DIGITian krishnandu.sarkar's Avatar
    Join Date
    Nov 2007
    Location
    Kolkata
    Posts
    3,495

    Default 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

  21. #321
    Master KOD3R nbaztec's Avatar
    Join Date
    Sep 2010
    Location
    New Delhi
    Posts
    342

    Default 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

  22. #322
    Ballack Junior tuxybuzz's Avatar
    Join Date
    May 2008
    Location
    Gurgaon
    Posts
    125

    Default 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.

  23. #323
    Right Off the Assembly Line
    Join Date
    Oct 2010
    Posts
    31

    Default 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...

  24. #324
    Human Spambot thetechfreak's Avatar
    Join Date
    Nov 2008
    Location
    Guwahati
    Posts
    7,940

    Default 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

  25. #325
    BIOS Terminator nims11's Avatar
    Join Date
    Apr 2008
    Location
    Ranchi
    Posts
    902

    Default 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

  26. #326
    Master KOD3R nbaztec's Avatar
    Join Date
    Sep 2010
    Location
    New Delhi
    Posts
    342

    Default 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

  27. #327
    Right Off the Assembly Line
    Join Date
    Oct 2011
    Posts
    1

    Default 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

  28. #328
    making future better Vyom's Avatar
    Join Date
    May 2009
    Location
    New Delhi
    Posts
    3,139

    Default 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)

  29. #329
    Right Off the Assembly Line
    Join Date
    Dec 2011
    Location
    bankura
    Posts
    2

    Unhappy 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.

  30. #330
    BIOS Terminator nims11's Avatar
    Join Date
    Apr 2008
    Location
    Ranchi
    Posts
    902

    Default Re: c++ graphics help

    try this
    Code:
    int gd=DETECT, gm;
    
    initgraph(&gd, &gm, "c:\\turboc3\\bgi " );
    change the third argument according to your compiler path
    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

Page 11 of 14 FirstFirst ... 2 3 4 5 6 7 8 9 10 11 12 13 14 LastLast

Similar Threads

  1. Why is this program rejected by C++ compilers?
    By gopi_vbboy in forum Lifestyle
    Replies: 13
    Last Post: 03-05-2012, 12:23 AM
  2. compilers
    By arpanmukherjee1 in forum Programming
    Replies: 1
    Last Post: 26-09-2008, 09:31 PM
  3. Where to get C++ compilers?
    By redhat in forum Programming
    Replies: 12
    Last Post: 19-09-2008, 07:01 PM
  4. Compilers For C And C++ ?
    By clmlbx in forum Programming
    Replies: 31
    Last Post: 26-01-2008, 07:25 AM
  5. C/C++ compilers for win xp x64
    By setharsh in forum Software Q&A
    Replies: 5
    Last Post: 22-12-2006, 02:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Close