| View previous topic :: View next topic |
| Author |
Message |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Wed May 21, 2008 7:06 am Post subject: |
|
|
| Mussy69 wrote: | | Hey when I downloaded Borland C++ Compiler and extracted it and ran the help file it says run BCC32.exe when i do that a CMD opens up then immediately closes, any help please? |
I need help please i really want to start making programs and reading tuts *tut isn't the fun bit *
_________________
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Wed May 21, 2008 12:28 pm Post subject: |
|
|
| Mussy69 wrote: | | Thanks Benlue, il look up some ASM tuts and do it in my free time and do what blankrider said and get WindowsCreateEx and work with C++ after ASM one question which is the best compiler? |
If you are complaining about making a window in C++ taking a long time.. Well if you are gonna do it in ASM, I just looked at the source in one of my MASM32 apps and if I were to just code a window with nothing in it, it's already 80+ lines of code.
To be honest, I don't think you are going to get very far since you are disillusioned (whether or not because of use of VB) that doing something like this is going to be very easy for a beginner.
|
|
| Back to top |
|
 |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Thu May 22, 2008 1:44 am Post subject: |
|
|
I am sticking with C++ and i've also noticed that it does have a designing feature like vb, can someone help me with my previous post the one i posted before slugsnack just posted
_________________
|
|
| Back to top |
|
 |
rapion124 Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Mar 2007 Posts: 1095
|
Posted: Sat May 24, 2008 3:14 pm Post subject: |
|
|
| Learn C++ first. Then, if you wanna make the GUI, use something like VB or Delphi. The main function of you program can be coded in C++ and exported as a .DLL.
|
|
| Back to top |
|
 |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Sat May 24, 2008 7:00 pm Post subject: |
|
|
So your saying its possible that i code it all in C++ save it as a .DLL and then make it in whatever design program w/o codes such as VB needs and it will work
Also could somebody please reply to my first post on 2nd page
~Much Appreciated
_________________
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
Posted: Sun May 25, 2008 2:56 am Post subject: |
|
|
Yes, with proper settings and such you can use a C++ DLL in VB. You can export all your functions out of the DLL and import them into the VB program.
Are you having issues learning GUI stuff for C++? Check out Dialogs instead of using CreateWindowEx to create the GUI if thats your issue. The code is a lot shorter and it is a ton easier since you can use a resource editor to design the GUI then.
_________________
- Retired. |
|
| Back to top |
|
 |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Mon May 26, 2008 8:04 am Post subject: |
|
|
Im not having uses coding the GUI im having issues coding all together, i cant find a tut that will teach me the useful stuff, like you say using namespace std; is a bad example and such as void main (), i spent 4 days reading that tut and i found out it was a waste Wiccaan could you help me find a good tut?
P.S. You've been really helpful
_________________
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
Posted: Mon May 26, 2008 8:58 am Post subject: |
|
|
Well, avoiding 'void main()' is a standard in the language. If you wish to keep up with that, you could take the time and read the 4 billion page documentation about the C Language.
Things like 'using namespace std;' like I said are user opinion. While some mostly use it to avoid the need to type 'std::' in front of any function inside the namespace, others see it as a lazy thing and a waste.
As said before, the best tutorial, in mine and others opinions, for C++ is still probably going to be www.cplusplus.com, other sites that I have seen don't attempt to cover all the basics. Instead, other sites I've seen center in on one specific subject in the language.
Just Google around for some sites, look for ebooks, etc.
_________________
- Retired. |
|
| Back to top |
|
 |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Mon May 26, 2008 5:16 pm Post subject: |
|
|
Thanks alot wiccaan and all the rest
_________________
|
|
| Back to top |
|
 |
|