Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,615 members, 7,809,256 topics. Date: Friday, 26 April 2024 at 06:52 AM

Need C/c++ Compiler : - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Need C/c++ Compiler : (1254 Views)

Best C/C++ Compiler? / Help I Need C Compiler / Is There Any C++ Compiler For Mobile Phone Se(java) (2) (3) (4)

(1) (Reply) (Go Down)

Need C/c++ Compiler : by RuuDie(m): 9:20pm On Nov 17, 2006
hey NairaLanders ,

can anybody tell me where i can get a good C/C++ compiler and possibly free e-books , u can send the info 2 my email - ruudsoftware@hotmail.com!
be very greatful!
Re: Need C/c++ Compiler : by sbucareer(f): 3:24am On Nov 18, 2006

Borland C++ Compiler 5.5 install and this is how you configure it


SET CLASSPATH
--------------------------------------

SET BORLAND_HOME=C:\Borland\BCC55
SET PATH=%PATH%;%BORLAND_HOME%\bin


Installing and running the Command Line Tools
-----------------------------------------------

1. Run freecommandlinetools.exe; choose the
   drive and folder into which you want to
   install the free C++Builder 5 command line
   tool development system.
   
2. From the bin directory of your installation:
   a. Add "c:\Borland\Bcc55"
      to the existing path
   b. Create a bcc32.cfg file which will set
      the compiler options for the Include
      and Lib paths (-I and -L switches to
      compiler) by adding these lines:
      -I"c:\Borland\Bcc55\include"
      -L"c:\Borland\Bcc55\lib"
   c. Create an ilink32.cfg file which will set
      the linker option for the Lib path by
      adding this line:
      -L"c:\Borland\Bcc55\lib"


Example

save this file c:\Borland\Bcc55\bin\bcc32.cfg

-I"c:\Borland\Bcc55\include"
-L"c:\Borland\Bcc55\lib"


save this file c:\Borland\Bcc55\bin\ilink32.cfg

-L"c:\Borland\Bcc55\lib"


When you type c:\>bcc32 on commandline you should be able to see some info come up


Then download Programmers File Editor Make a shortcut to pfd.exe to your desktop.

Write a small C/C++ program i.e.

#include <iostream.h>

main(){
    cout << "Hellow World";
}//End main

Save as hello.cpp. Remember use the PFE IDE to type up this. Do what is on the picture

Re: Need C/c++ Compiler : by sbucareer(f): 12:42pm On Nov 18, 2006


You can use the Programmer's File Editor to compile Java. Just do the following:


Compile
---------------------------

Command: javac %f
Directory: %u\%d


execute
---------------------

Command: java %n
Directory: %u\%d


Infact, you can use it to compile any language as long as you the the compiler invoker i.e.

Command: <invoker> %f
Directory: %u\%d
Re: Need C/c++ Compiler : by RuuDie(m): 3:05pm On Nov 25, 2006
thanx a mill man ,
Re: Need C/c++ Compiler : by lordNebu(m): 5:09pm On Nov 26, 2006
hey i prefer u go for bloodshed c++ ok maybe its called devc++ at bloodshed.net i prefer that to borland, borland is unnecessary complex

(1) (Reply)

Nawa Ooo , They No Wan Leave My New Topic For People To View / The Java Coffee Icon Means Its For Geeks / The Hidden Trap That Is Killing The African Internet Entrepreneurs

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 12
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.