Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[C++] Quick Noob Compile Question
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Tue May 27, 2008 8:26 am    Post subject: Reply with quote

Get Microsoft Visual C++ 2008 Express Edition. It's free and has basically everything you need, and last forever. Although after a couple of months it will ask a for a registration key, just hit the registration but and get your key.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Tue May 27, 2008 6:45 pm    Post subject: Reply with quote

But it doesn't let me compile unless i build a project, cant it be as simple as dev-cpp cuz i no nothing bout projects Shocked
_________________
Back to top
View user's profile Send private message AIM Address
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Tue May 27, 2008 6:50 pm    Post subject: Reply with quote

Make a project of course.
For Win32 C++ just choose
New Project -> Visual C++ -> Win32 -> Win32 Project
Probly best to choose "Empty Project" and add a source file and code from scratch Wink i dont like precompiled headers that much, they just annoy me.

_________________
Back to top
View user's profile Send private message
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Tue May 27, 2008 6:53 pm    Post subject: Reply with quote

Saved hi.cpp:
Code:
#include <iostream>

int main ()
{
   std::cout << "Hello World!";
   return 0;
}

Build Log:
Code:
------ Build started: Project: Hii, Configuration: Debug Win32 ------
Embedding manifest...
mt.exe : general error c10100b1: Failed to load file "..\Debug\Hii.exe". The system cannot find the path specified.
Build log was saved at "file://c:\Program Files\C++\Projects\Tutorial Projects\Hii\Hii\Debug\BuildLog.htm"
Hii - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

_________________
Back to top
View user's profile Send private message AIM Address
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Tue May 27, 2008 7:05 pm    Post subject: Reply with quote

Did you modify any project creation paths?
did you try to load it from that path?
try release build instead of debug?

_________________
Back to top
View user's profile Send private message
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Tue May 27, 2008 7:09 pm    Post subject: Reply with quote

I did not modify any project creation paths
how do i load it from that path, could u tell me where to put the .cpp

_________________
Back to top
View user's profile Send private message AIM Address
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Tue May 27, 2008 7:15 pm    Post subject: Reply with quote

- create new win32 project (Console application) (empty project)
- right click Source folder and hit "Add Item"
- Add a cpp source file
- Code your hello world.
- Run

Building the file creates the main executable in the Debug/Release Folder (depending on build mode) so go to the project directory and go to the main folder (before u enter to the source files, the project folder) and go into the debug/release folder and just run the executable there.

_________________
Back to top
View user's profile Send private message
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Tue May 27, 2008 7:29 pm    Post subject: Reply with quote

New Project -> Visual C++ -> Win32 -> Win32 Project -> Empty Project -> New -> C++ File (.cpp) -> Code -> Save -> Build Solution -> Same Error -> .CPP File In Same Place As Where I Open The Project
_________________
Back to top
View user's profile Send private message AIM Address
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Tue May 27, 2008 8:19 pm    Post subject: Reply with quote

Try reinstalling?
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Tue May 27, 2008 9:42 pm    Post subject: Reply with quote

I Do not see how it would help Shocked is there any other good compilers out?
_________________
Back to top
View user's profile Send private message AIM Address
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Tue May 27, 2008 10:32 pm    Post subject: Reply with quote

Borland.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Tue May 27, 2008 10:33 pm    Post subject: Reply with quote

You sure you got the platform SDK installed too?
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Wed May 28, 2008 5:47 am    Post subject: Reply with quote

Wiccaan wrote:
You sure you got the platform SDK installed too?

No i am not sure because i do not even know what it is therefore guessing no?
oib111 wrote:
Borland.

When I D/L There Is No Setup? Add Me On MSN Please?

_________________


Last edited by Mussy69 on Wed May 28, 2008 6:37 am; edited 1 time in total
Back to top
View user's profile Send private message AIM Address
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Wed May 28, 2008 6:06 am    Post subject: Reply with quote

If you are unsure what it is, you don't have it then. Which is why you can't compile. You need it installed to do anything with the express editions of Visual Studio. Microsoft should really make the print saying you need it a bit bigger on the page :s (Oh nice they removed it from the page..)

You can download the Platform SDK here:
http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en

You need a valid copy of Windows to download it. Once installed you need to setup the paths to the include and lib files inside the IDE options to have it work correctly.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Wed May 28, 2008 6:40 am    Post subject: Reply with quote

Hehe the SDK came with the Express Edition. Must be new that they're not giving it with the installer anymore...
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites