Click here to Skip to main content
15,918,168 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: warning problem Pin
coda_x27-Sep-03 16:28
coda_x27-Sep-03 16:28 
Generalwarning problem Pin
coda_x27-Sep-03 2:24
coda_x27-Sep-03 2:24 
GeneralRe: warning problem Pin
Ian Darling27-Sep-03 2:46
Ian Darling27-Sep-03 2:46 
GeneralRe: warning problem Pin
Mike Dimmick27-Sep-03 12:18
Mike Dimmick27-Sep-03 12:18 
Generalanalyze C++ source code(VC) and Java source code Pin
candan26-Sep-03 23:09
professionalcandan26-Sep-03 23:09 
GeneralRe: analyze C++ source code(VC) and Java source code Pin
Mike Dimmick27-Sep-03 2:37
Mike Dimmick27-Sep-03 2:37 
GeneralRe: analyze C++ source code(VC) and Java source code Pin
Taka Muraoka27-Sep-03 14:41
Taka Muraoka27-Sep-03 14:41 
GeneralRe: analyze C++ source code(VC) and Java source code Pin
Mike Dimmick27-Sep-03 23:59
Mike Dimmick27-Sep-03 23:59 
Taka Muraoka wrote:
Your lecturer must've really had a sense of humour

The irony being that he was the lecturer teaching the Programming Language Implementation course (i.e. the how-to-build-a-compiler course).

The set work for that course involved writing a compiler for an extremely simple language which could be parsed quite easily with a recursive-descent LL(1) algorithm, unlike virtually every practical high-level language ever created.

Pascal and Ada can be parsed with a slightly fudged LL(1) parser (Ada has a .. operator which requires the lexer to distinguish between 5.2 as a single floating point literal, or 5..2 as the separate tokens int-literal double-dot-operator int-literal) but programmers used to C++ tend to hate such languages, because there are keywords everywhere.

Much as C++ is hard to parse for computers, and sometimes for humans, if we limit ourselves to simple uses of the syntax, it's often quite quick to express a particular algorithm. I find I'm more productive in expressing an algorithm in C++ than I am in Visual Basic, for example - less to type. However, the GUI libraries are generally not so easy to use from C++.

Having said that, the GUI libraries in C++ usually have far more power - if you need to do something differently from how VB does it, it's much harder. I suppose you could say that in C++, we have a steeper initial learning curve but it requires less effort to add something harder, while with other tools you have a shallower initial curve, but then practically hit a brick wall.
GeneralRe: analyze C++ source code(VC) and Java source code Pin
Taka Muraoka28-Sep-03 22:14
Taka Muraoka28-Sep-03 22:14 
GeneralRe: analyze C++ source code(VC) and Java source code Pin
candan30-Sep-03 14:34
professionalcandan30-Sep-03 14:34 
GeneralRasApi error Pin
Kannan Ramanathan26-Sep-03 21:52
Kannan Ramanathan26-Sep-03 21:52 
GeneralRe: RasApi error Pin
Kannan Ramanathan26-Sep-03 21:55
Kannan Ramanathan26-Sep-03 21:55 
GeneralRe: RasApi error Pin
Mike Dimmick27-Sep-03 12:24
Mike Dimmick27-Sep-03 12:24 
GeneralRe: RasApi error Pin
Kannan Ramanathan28-Sep-03 17:53
Kannan Ramanathan28-Sep-03 17:53 
GeneralSending files via FTP from VC++ app. Pin
DAVE_ES26-Sep-03 21:45
DAVE_ES26-Sep-03 21:45 
GeneralRe: Sending files via FTP from VC++ app. Pin
Member 54428726-Sep-03 21:58
Member 54428726-Sep-03 21:58 
GeneralSending files using socket. Pin
Anthony_Yio26-Sep-03 21:30
Anthony_Yio26-Sep-03 21:30 
GeneralCompiling error with "htmlhelp.h". Pin
George226-Sep-03 20:50
George226-Sep-03 20:50 
GeneralRe: Compiling error with "htmlhelp.h". Pin
peterchen26-Sep-03 22:58
peterchen26-Sep-03 22:58 
GeneralRe: Compiling error with "htmlhelp.h". Pin
George227-Sep-03 0:30
George227-Sep-03 0:30 
Generalcreate splitter using cpslitterwnd class Pin
murali_utr26-Sep-03 20:19
murali_utr26-Sep-03 20:19 
GeneralEmail viewer suggestions Pin
LukeV26-Sep-03 20:06
LukeV26-Sep-03 20:06 
GeneralRe: Email viewer suggestions Pin
Ian Darling26-Sep-03 21:23
Ian Darling26-Sep-03 21:23 
GeneralCSplitterWnd Pin
murali_utr26-Sep-03 20:05
murali_utr26-Sep-03 20:05 
GeneralRe: CSplitterWnd Pin
JWood27-Sep-03 11:51
JWood27-Sep-03 11:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.