Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

pic (microchip) C++ compiler needed

Status
Not open for further replies.
S

see2angels

Guest
microchip c++

i need a c++ compiler for pic (microchip)
if anyone has one please nothify me and give me a link
 

btbass

Advanced Member level 5
Joined
Jul 20, 2001
Messages
1,897
Helped
438
Reputation
880
Reaction score
287
Trophy points
1,363
Location
Oberon
Activity points
12,861
c++ compiler for pic24

Surly C is a powerful enough language for any Pic micro?
What Pic program needs C++ which is pretty memory intensive?
 

sztibi82

Full Member level 3
Joined
Aug 31, 2004
Messages
155
Helped
8
Reputation
16
Reaction score
4
Trophy points
1,298
Activity points
1,120
microchip c++

reinstall the mplab, and it will work the c compiler for 1 month.
After 1 month reinstall again and so on.
 

zkai2000

Member level 5
Joined
Jul 25, 2004
Messages
94
Helped
0
Reputation
0
Reaction score
2
Trophy points
1,286
Activity points
907
microchip compiler c++

Hi, does the C++ compiler convert the codes into hex codes?

Thanks!
 

cuong_vn

Newbie level 5
Joined
Jan 13, 2003
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
66
Many many code composer can convert code to hex, (ex: keil or provier 32). But defaul optional not active ready so u must choose it in option to active it. Keil u can download in edaboard.
 

samcheetah

Advanced Member level 2
Joined
May 25, 2004
Messages
646
Helped
39
Reputation
78
Reaction score
10
Trophy points
1,298
Location
Pakistan
Activity points
6,932
i really doubt that programming microcontrollers in C++ would be a good idea. if u read the C Vs ASM debates on this forum and all around the internet you will see that the biggest problem with programming microcontrollers in C is that the code produced is not memory efficient and its not close to the architechture of the microcontroller. the situation with C++ might be worse. its good to use C++ instead of C when you are programming on a PC but there you have alot of memory space which is not the case with microcontrollers
 

swapgo

Full Member level 2
Joined
Jun 24, 2004
Messages
128
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,298
Location
India
Activity points
1,243
hi Friends

I accept C++ will worsen the memory consumption in MCUs.
Ok but can you think about Complex programs. U can make the entire project in to modules . Now we have PIC MCUs having more than 64kbytes of memory if the complexity and efficiency is concerned C++ will be the best. C++ is really a powerful language if understood properly.
So its not a bad Idea , Programming in C++. unfortunately we dont have more C++ cross compilers.
We hope it will be alright in near future

Regards
Gopi
 

btbass

Advanced Member level 5
Joined
Jul 20, 2001
Messages
1,897
Helped
438
Reputation
880
Reaction score
287
Trophy points
1,363
Location
Oberon
Activity points
12,861
C has powerfull scoping rules and a program can be broken down into seperate files using a linker. A complex program is when the source code exceeds about 25000 lines.
C++ was really designed for very large distributed programs. C is a very powerfull and elegant programming language, C++ is a convoluted mess.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top