Welcome to Dream.In.Code
Become a C++ Expert!

Join 137,203 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,338 people online right now. Registration is fast and FREE... Join Now!




c doubt

 
Reply to this topicStart new topic

c doubt, error 36

sagar90
8 Jul, 2008 - 10:34 PM
Post #1

New D.I.C Head
*

Joined: 8 Jul, 2008
Posts: 2

hi friends
i wanted to ask if we can run c programs on turbopascal.
i tried to run them but an error 36 BEGIN EXPECTED came again and again.
so whats d problem
?
User is offlineProfile CardPM
+Quote Post

AmitTheInfinity
RE: C Doubt
8 Jul, 2008 - 10:38 PM
Post #2

C Surfing ∞
Group Icon

Joined: 25 Jan, 2007
Posts: 1,026



Thanked: 35 times
Dream Kudos: 125
My Contributions
QUOTE(sagar90 @ 9 Jul, 2008 - 12:04 PM) *

hi friends
i wanted to ask if we can run c programs on turbopascal.
i tried to run them but an error 36 BEGIN EXPECTED came again and again.
so whats d problem
?


No you can't, because it is for language PASCAL and you are trying to compile C program in it.
So that error is also obvious, it is expecting statement BEGIN and you are giving main!

Why are you trying that? don't you have C compiler with you? Just get one from internet there are free compilers around.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/4/08 12:29PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month