| 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?
|
Posted: Tue May 27, 2008 8:26 am Post subject: |
|
|
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 |
|
 |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Tue May 27, 2008 6:45 pm Post subject: |
|
|
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
_________________
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Tue May 27, 2008 6:50 pm Post subject: |
|
|
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 i dont like precompiled headers that much, they just annoy me.
_________________
|
|
| Back to top |
|
 |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Tue May 27, 2008 6:53 pm Post subject: |
|
|
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 |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Tue May 27, 2008 7:05 pm Post subject: |
|
|
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 |
|
 |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Tue May 27, 2008 7:09 pm Post subject: |
|
|
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 |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Tue May 27, 2008 7:15 pm Post subject: |
|
|
- 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 |
|
 |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Tue May 27, 2008 7:29 pm Post subject: |
|
|
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 |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Tue May 27, 2008 8:19 pm Post subject: |
|
|
Try reinstalling?
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Tue May 27, 2008 9:42 pm Post subject: |
|
|
I Do not see how it would help is there any other good compilers out?
_________________
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Tue May 27, 2008 10:32 pm Post subject: |
|
|
Borland.
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
Posted: Tue May 27, 2008 10:33 pm Post subject: |
|
|
You sure you got the platform SDK installed too?
_________________
- Retired. |
|
| Back to top |
|
 |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Wed May 28, 2008 5:47 am Post subject: |
|
|
| 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?
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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
Posted: Wed May 28, 2008 6:06 am Post subject: |
|
|
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 |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Wed May 28, 2008 6:40 am Post subject: |
|
|
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 |
|
 |
|