8 Replies - 643 Views - Last Post: 24 April 2010 - 06:04 PM Rate Topic: -----

#1 codermonk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 49
  • Joined: 15-April 10

Taking a previously written program and converting to Visual C++

Posted 23 April 2010 - 04:35 PM

Hey guys i have a couple thing i want to know about in this thread. firstly is it possible to write a program and check its functionality and then convert it into a visual C++ program. i have all the source code. secondly is programming in visual C++ the same as in standard C++ with a compiler like dev C++, i ask this because my friend seeing my last program i wrote challenged me to write a hangman program in visual C++ such that i can have animations and easier clearscreens and stuff. and replys are greatly appreciated. and also any help with my hangman project will be greatly appreciated.

Is This A Good Question/Topic? 0
  • +

Replies To: Taking a previously written program and converting to Visual C++

#2 Oler1s  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1395
  • View blog
  • Posts: 3,884
  • Joined: 04-June 09

Re: Taking a previously written program and converting to Visual C++

Posted 23 April 2010 - 04:46 PM

Visual C++ is just a compiler. If you have standard C++ it will compile fine.
Was This Post Helpful? 1
  • +
  • -

#3 codermonk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 49
  • Joined: 15-April 10

Re: Taking a previously written program and converting to Visual C++

Posted 23 April 2010 - 07:07 PM

but what about the Visual aspect of VC++ like creating a GUI for the program.
Was This Post Helpful? 0
  • +
  • -

#4 Oler1s  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1395
  • View blog
  • Posts: 3,884
  • Joined: 04-June 09

Re: Taking a previously written program and converting to Visual C++

Posted 23 April 2010 - 08:38 PM

What about it?

GUI toolkits are not standard C++. They are third party code and libraries, and depend on more third party things. Like your operating system.

It's not compiler specific so much as platform specific. Google for GUI toolkit or widget toolkit. Pick one.

Actually, because you aren't really creating a GUI so much as a game, I would recommend looking into graphics layers and libraries like SDL and SFML.
Was This Post Helpful? 1
  • +
  • -

#5 Arenlor  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 34
  • View blog
  • Posts: 389
  • Joined: 26-April 06

Re: Taking a previously written program and converting to Visual C++

Posted 23 April 2010 - 08:50 PM

I think you mean the Win32 API? http://msdn.microsof...v=VS.85%29.aspx
Was This Post Helpful? 1
  • +
  • -

#6 codermonk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 49
  • Joined: 15-April 10

Re: Taking a previously written program and converting to Visual C++

Posted 24 April 2010 - 07:32 AM

i mean using VC++ ...
Was This Post Helpful? 0
  • +
  • -

#7 Oler1s  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1395
  • View blog
  • Posts: 3,884
  • Joined: 04-June 09

Re: Taking a previously written program and converting to Visual C++

Posted 24 April 2010 - 08:32 AM

Quote

i mean using VC++ ...
Using VC++, using g++, using Intel, using Borland, what's the difference? If you want to create GUIs, you need to pick a widget toolkit usable on your OS.
Was This Post Helpful? 0
  • +
  • -

#8 Arenlor  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 34
  • View blog
  • Posts: 389
  • Joined: 26-April 06

Re: Taking a previously written program and converting to Visual C++

Posted 24 April 2010 - 03:51 PM

VC++ is just an IDE and compiler. It's made by Microsoft. Any code that works in Dev-C++ will work in VC++ since it's all C++. There is no difference. It's like OpenOffice.org and Microsoft Office Professional 2010, both are office suites, just one is open-source and therefore has better features than the other.
Was This Post Helpful? 0
  • +
  • -

#9 Aphex19  Icon User is offline

  • Born again Pastafarian.
  • member icon

Reputation: 614
  • View blog
  • Posts: 1,873
  • Joined: 02-August 09

Re: Taking a previously written program and converting to Visual C++

Posted 24 April 2010 - 06:04 PM

Visual C++ does include a Visual form designer, although, I have always favoured the WIndows API over it for some reason, there are very few tutorials about the form designer, youtube have some though, im sure.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1