MSFN Forum: Well, I picked a compiler but I have a problem now - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Well, I picked a compiler but I have a problem now Rate Topic: -----

#1 User is offline   fillalph 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 324
  • Joined: 29-July 03

Posted 22 January 2004 - 06:06 PM

Hi everyone.

I decided to go with Dev C++. At first I tried DJGPP, but I was unable to config it properly. I tried to follow the guides, but I had no luck. I think it couldn't find the libraries for C++ and they used different names, so I got errors and it wouldn't compile.

Now Dev C++ compiles the same prorgam without any errors. I am only writing basic programs without a GUI. When I click on the file I get to type something in, and then it races write through the program as I only have one cout paired with a cin statement and then another cout with the result.'

I know I can go through cmd.exe (running XP) and type my way there, but is there a command for a batch that can get me there too? or a program that can run my program without closing as soon as it gets to "return 0; }.

Thanks
]Bonkers[


#2 User is offline   XtremeMaC 

  • MSFN SuperB
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5,070
  • Joined: 13-October 03

Posted 25 January 2004 - 06:39 PM

u can specify void main() so that u won't need return value type
or make a getch (get character) at the end of the program, it will wait until u press a key. or
system(pause) ...

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy