IITDU Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

turbo c on ubuntu.......

2 posters

Go down

turbo c on ubuntu....... Empty turbo c on ubuntu.......

Post by BIT0111-muctadir Thu Sep 03, 2009 8:35 pm

turbo is a very helpful IDE for learning c/C++ language. it works on windows. following steps below you can make it work on ubuntu-----

open terminal and write-

sudo apt-get install dosbox

open the dosbox(applications-> games-> dosbox)

write-

mount c ~/

this will make your home folder as c drive. now move to the c drive(actually home folder). write-

c:

now copy and paste the TC folder in your home folder

in dosbox write these commands-

cd tc/bin

tc
................................................................

now it is coding time.......

there are some problems. but you can solve it. the up, down, right, left key wont work. you can use right side 2(down),4(left),6(right),8(up) to solve the problem. if it does not work press the num lock for 3 or 4 times and leave it on.
BIT0111-muctadir
BIT0111-muctadir
Expert
Expert

Course(s) :
  • BIT

Blood Group : B+
Posts : 233
Points : 395

Back to top Go down

turbo c on ubuntu....... Empty Re: turbo c on ubuntu.......

Post by BIT0111-muctadir Thu Sep 03, 2009 8:42 pm

you can post any problem here regarding this post.......
BIT0111-muctadir
BIT0111-muctadir
Expert
Expert

Course(s) :
  • BIT

Blood Group : B+
Posts : 233
Points : 395

Back to top Go down

turbo c on ubuntu....... Empty Re: turbo c on ubuntu.......

Post by BIT0122-Amit Fri Sep 04, 2009 1:30 am

Excellent post Muctadir:)
Rep++;
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

turbo c on ubuntu....... Empty Re: turbo c on ubuntu.......

Post by BIT0111-muctadir Fri Sep 04, 2009 1:56 am

thanks amit.........
BIT0111-muctadir
BIT0111-muctadir
Expert
Expert

Course(s) :
  • BIT

Blood Group : B+
Posts : 233
Points : 395

Back to top Go down

turbo c on ubuntu....... Empty Re: turbo c on ubuntu.......

Post by BIT0122-Amit Fri Sep 04, 2009 2:00 pm

Hmm... one slight problem.
Once I clicked inside dosbox, I failed to switch windows using alt-tab, or move the mouse pointer outside dosbox. I had to exit from dosbox to get control over the other windows.
Any idea how to switch windows after you click inside dosbox?

And everytime I executed Dosbox, I had to mount C, and etc.
Anyway to set the home/ as the default root directory Muctadir?



Edit: Hell this is difficult to manage..using G++ and GCC is a far better choice to me buddy.
TC is good, but using it via DosBox makes it veerrrrryyyy difficult.
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

turbo c on ubuntu....... Empty Re: turbo c on ubuntu.......

Post by BIT0111-muctadir Fri Sep 04, 2009 6:52 pm

TC provides you a very rich help archive. if you are using linux and want to see the help, you have to reboot in windows or use virtual machine. and now about the problem. i had the same problem too and forgot to mention that. you can press alt+enter to maximize the dosbox and again press alt+enter to minimize the window. after you minimize this way you get the control over window. again, i posted this topic that does not mean that everyone have to use it. you may not use it if you don't like it.
BIT0111-muctadir
BIT0111-muctadir
Expert
Expert

Course(s) :
  • BIT

Blood Group : B+
Posts : 233
Points : 395

Back to top Go down

turbo c on ubuntu....... Empty Re: turbo c on ubuntu.......

Post by BIT0122-Amit Fri Sep 04, 2009 8:04 pm

TC provides you a very rich help archive. if you are using linux and want to see the help, you have to reboot in windows or use virtual machine. and now about the problem. i had the same problem too and forgot to mention that. you can press alt+enter to maximize the dosbox and again press alt+enter to minimize the window.
thanks for mentioning that.
I assume there is no way to change the default directory in DosBox .
again, i posted this topic that does not mean that everyone have to use it. you may not use it if you don't like it.
That is not exactly a gentle approach my friend. I simply said It is difficult to manage, and don't see anything that might anyhow be related to "everyone have to use it ".
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

turbo c on ubuntu....... Empty Re: turbo c on ubuntu.......

Post by BIT0111-muctadir Fri Sep 04, 2009 10:59 pm

what do you mean by change directory.....???
if you want to change directory it TC, just go to options->directories tab...
BIT0111-muctadir
BIT0111-muctadir
Expert
Expert

Course(s) :
  • BIT

Blood Group : B+
Posts : 233
Points : 395

Back to top Go down

turbo c on ubuntu....... Empty Re: turbo c on ubuntu.......

Post by BIT0122-Amit Fri Sep 04, 2009 11:02 pm

Not that directory Muctadir. I mean, when I execute Dosbox, it shows that its current location is at Z: drive.
then I have to mount C: drive, then go inside and initiate TC.

I am just curious whether there is anyway to make the C: drive the default directory in DosBox so that I don't have to mount it every time I execute DosBox?
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

turbo c on ubuntu....... Empty Re: turbo c on ubuntu.......

Post by BIT0111-muctadir Fri Sep 04, 2009 11:06 pm

that i don't know. but i have got an idea for you. why don't you go to this link Very Happy
BIT0111-muctadir
BIT0111-muctadir
Expert
Expert

Course(s) :
  • BIT

Blood Group : B+
Posts : 233
Points : 395

Back to top Go down

turbo c on ubuntu....... Empty Re: turbo c on ubuntu.......

Post by BIT0122-Amit Fri Sep 04, 2009 11:10 pm

Laughing Nice link Muctadir Very Happy Razz
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

turbo c on ubuntu....... Empty Re: turbo c on ubuntu.......

Post by BIT0111-muctadir Fri Sep 04, 2009 11:12 pm

THANK YOU Very Happy Very Happy Very Happy
BIT0111-muctadir
BIT0111-muctadir
Expert
Expert

Course(s) :
  • BIT

Blood Group : B+
Posts : 233
Points : 395

Back to top Go down

turbo c on ubuntu....... Empty Re: turbo c on ubuntu.......

Post by BIT0122-Amit Fri Sep 04, 2009 11:14 pm

Rep++ for the innovative link Razz
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

turbo c on ubuntu....... Empty Re: turbo c on ubuntu.......

Post by BIT0111-muctadir Fri Sep 04, 2009 11:16 pm

THANK YOU VERY MUCH......
BIT0111-muctadir
BIT0111-muctadir
Expert
Expert

Course(s) :
  • BIT

Blood Group : B+
Posts : 233
Points : 395

Back to top Go down

turbo c on ubuntu....... Empty Re: turbo c on ubuntu.......

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum