Valhalla Legends Forums Archive | General Discussion | Compiling in C++

AuthorMessageTime
Kev1n
I know alot of VB, and I wanted to move into C++.
I got alot of source codes, and I am not fimular with them as susposed to VB.
I got alot of Name.cpp, and NAME.h . I know those are the sources or forms right? How do I compile them all? I opened C++ and went to File -> Open, and opened like 10 .cpp and 10.h things. They all loadedin sucessfully. now I am wondering how do I compile this?

and is "Microsoft Visual InterDev 6.0" needed in the process of decompiling this?

And help will be greatly appreciated.
Thanks for your time.


Sincerely,
kevin
September 18, 2003, 11:15 PM
Grok
Hi Kev1n,

Before you can run, you should learn to walk. My suggestion is you find some C++ tutorials on the web, and study them to completion. Most should have links to free compilers which the course will be using. These scaled-down compilers will usually have full ANSI C++ support, or at least enough for your learning.

After getting proficient with the language and the process of compiling, linking, testing and debugging, you'll be ready to move up to a development environment with all the bells and whistles.
September 18, 2003, 11:32 PM
Kev1n
Thank you grok. =)

Anyways, I didn't state my question to clearly, I just wanted to add: I was trying to compiling all the .cpp/h things I had into 1 .exe, because isn't that what I have to do?

Also, you kinda said something like using a different program to compile C++ source codes in? The program itself wont do it like VB ? where you can make project1.exe



Thanks for replying, means alot.
September 18, 2003, 11:36 PM
UserLoser
[quote author=Kev1n link=board=2;threadid=2750;start=0#msg21626 date=1063928179]where you can make project1.exe
[/quote]

Under the Build menu. I'm not a real C++ expert, I'm just taking classes my self in school now...
September 18, 2003, 11:46 PM
Kev1n
Yes, and it keeps compiling just the one .cpp/h file which I opened into last. :[ And the 9 or w/e under it dont.

[quote] I'm not a real C++ expert, I'm just taking classes my self in school now... [/quote]
Lucky, I wish I had something like that in my school. I am only 15 and in grade 10. We got a MAC lab that can barely run the internet. :[
I wish I could become a good program like Skywing and Grok, and the rest of the people here. It's been my dream, and hopefully i can do it sometime day ^_^
I am going to find some taturials and study them hard.
thanks for replying everyone. means alot.
September 18, 2003, 11:49 PM
UserLoser
Try doing New->Win32 Application, then add all your files to that, and it should then compile to an .exe, or whatever you set it to
September 18, 2003, 11:52 PM
Kev1n
[quote]Try doing New->Win32 Application, then add all your files to that, and it should then compile to an .exe, or whatever you set it to [/quote]
thanks, that is what I was looking for. =)
works great.


**EDIT**
Is any of the other options insted of
' New->Win32 Application 'Work for creating a .exe ?
which should I use?
Anyways, its for a counter-strike hack (i kno its bad to cheat, but its kinda educational purposes) called MetaCheat. To make it vac proof, I need to rename some of the strings like JoolzCheat in the menu to like Jo0Lch3at and it is now undetected. But now I gotta compile it, just wondering.... thx

got it from here:
http://www.planetmayhem.org/modules/mydownloads/singlefile.php?lid=44
September 18, 2003, 11:56 PM
Hitmen
Wow wow wow, you don't know the language and you're going to make something? :P

Assuming you're going to be developing for windows, I've heard this to be decent:
http://www.relisoft.com/win32/index.htm
September 19, 2003, 12:06 AM
Kev1n
Which should I fully learn/master first?
VB or
C++

I just wanted to fix the source code and rename the line, compile and its done, then once its detected, change the line, and compile.

But ya, i'll be trying all the tutorials I can to fully learn the language(s).
September 19, 2003, 12:33 AM
MrRaza
Well, Choose a language, stick with it and try as hard as you can. On another note, don't get caught up with hacking or making binary bot's as most of the new people that come to this forum attempt to create programs which are clearly out of their league. My advice, advoid this forum.
September 19, 2003, 2:53 AM
Adron
[quote author=MrRaza link=board=2;threadid=2750;start=0#msg21656 date=1063939986]
My advice, advoid this forum.
[/quote]

What's wrong with this forum? I'd suggest staying out of the botdev forum, but this general programming forum is intended to have posts about any programming topics that are not about bots, and too basic to fit into advanced programming...
September 19, 2003, 12:01 PM
Kp
[quote author=Kev1n link=board=2;threadid=2750;start=0#msg21628 date=1063928995]
We got a MAC lab that can barely run the internet. :[
[/quote]So that's why it seems so slow lately. I thought it was just Verisign garbage. :)
[quote author=Kev1n link=board=2;threadid=2750;start=0#msg21628 date=1063928995]I wish I could become a good program like Skywing and Grok[/quote]I should advise you that they are both extremely advanced AIs and attempting to become like them too quickly may result in complete brain failure. ;)

Edit: forum seems not to like mixing his smilies with formatting tags.
September 20, 2003, 1:26 AM
j0k3r
[quote author=MrRaza link=board=2;threadid=2750;start=0#msg21656 date=1063939986]
Well, Choose a language, stick with it and try as hard as you can. [/quote]
[not a flame post]I'd recommend written english. No offence but your english is hard to read and if your going to program, it's best to learn english (correct me if I'm wrong here).

Anyways, you sound like you're more advanced than me and I'm older than you, go for it.[/not a flame post]
September 20, 2003, 3:10 AM
Kev1n
Unfortunately, I don't understand what you are saying j0ker.

Anyways, thanks to everyone, the advice given here was very useful. Thanks again.
September 20, 2003, 6:01 AM
Kev1n
I understand what MrRaza is saying, and basicly what he means is don't get caught up in hacking. Learn the language first, so you can understand it more clearly. What I did was try to jump from knowing nothing, to getting something made. Which obviously wasn't a good decision. But anyways, i'll learn / master the language best as I can. Then afterwards, hopefuly it will lead to something good. I guess I got plenty of time, sense I am younge I guess. Thanks all.
September 20, 2003, 6:05 AM
Yoni
[quote author=j0k3r link=board=2;threadid=2750;start=0#msg21746 date=1064027447]
if your going to program, it's best to learn english (correct me if I'm wrong here).
[/quote]
I once learned a language called "Idilia", that was a programming language based on Hebrew rather than English. Oh well, that was many years ago...
September 20, 2003, 9:20 AM
Eibro
What my opinion? (you're getting it anyway) Go with C/C++; you'll be a step ahead of most others here.
September 20, 2003, 10:37 PM
Kev1n
Ya, I did a few tutorials for C++ and I am starting to get the hang of it. Starting with basic stuff like a message box, etc. Feel free to post some sources off simple programs.

Thanks everyone.
September 20, 2003, 10:58 PM

Search