When I installed this program I didn't have an Include folder so I found the Include folder from the download I got from Cnet.com and it still doesn't work. Any idea where I can find the updated header files also?
Many thanks,
pelton
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Go to the thread titled "The Forum FAQ - Please Read First", find and carefully follow the directions for doing a clean uninstall and delete. Follow them carefully.
and download the installer for Dev 4.9.8.0 (yes, that IS the number I intended to type), and try your experiment again. Make sure you download the full version.
I have seen some folks lately who have used Dev 4.9.8.7 directly, not realizing its just an upgrade, not a full install - hence some directories are missing for them.
You should be up and going. If for some reason you are not, you need to carefully tell me step-by-step what you did - PLEASE do not simply report "I did what you said to do", you would be suprised how many smart folks have answered that way - then later found out that they skipped a step.
Once you have 4.9.8.0 up and going, we can upgrade you to 4.9.8.7
Think step-by-step - logically please.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, way to give information. Now I will annoy you by asking for more.
(1) What OS are you running, and what Anti-Virus are you running?
(2) Is your program stored in a directory called
c:\CPlus?
(3) Did you install version 4.9.8.0 from scratch or did you upgrade?
(4) Did you download the full version, or the exe only version?
Annoyed at me yet?
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
(1) Windows XP, Norton Anti-Virus 2003
(2)No, it's stored in c:\Dev-Cpp
(3)I downloaded 4.9.8.0 and have not upgraded since
(4)As far as I know i downloaded the full version, I tried uninsatlling it and have not reinstalled it, but I have it on CD
A friend in need
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think I must have asked a question in an ambiguous way. I meant is the program that you are trying to compile stored in the directory
c:\cplus
The genesis of my question is this part of a line in your compile log:
g++.exe "C:\CPlus\Sizeof.cpp"
Now, when you uninstalled, did you follow the directions in the clean uninstall section of the thread "The Forum FAQ - Please Read First" - since you are using XP (as am I), then there are files that are in folders that windows considers "hidden", so they take a little care to find and delete.
My advice to you is this. Look up those directions. Get rid of your current installation. Slash and burn. Nothing remains. Think nuclear. Re-download 4.9.8.0 full version- it should be about 13 megabytes. Re-install, try again.
Please take careful notes of what you do in this process, if you still have a problem, make sure to put them in your post.
Want to kill me yet?
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
yeah, you wanna meet somewhere so we can do it cleanly?
No, but seriously, I'm using a 56k modem, and I connect at 45 kbps. It'll take hours to redownload.
Is there any way to downoad it faster? If not I'll work on it. By the way, do know of any good tutorials that are free, and are explained in full detail?
a friend in need
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In that thread I told you about "The Forum FAQ - Please Read First", there is a link to a list of a lot of useful online/ebook and tutorial information.
Books and tutorials speak to each of us differently, so I encourage you to take your time rummaging throught the stack to see things that speak to you.
(At least the ones that DON'T say things like "Wayne must die!")
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ok ok i am a super newb so please bear with me. i was trying to get a pause so i could see my masterwork lol before it went away useing 4.9.8.7 , yes i read the faq and that is my question i tried puting the code in sevral ways this was the last one i tried
this is one an xp home box
#include <iostrem.h>
#include <stdio.h>
int main()
{
cout << "hello world!\n";
}
int main2()
{
printf ("Press ENTER to continue.\n");
getchar (); // wait for input
return 0;
}
and the compiler log looked like this
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe main.o -o "Project1.exe" -L"C:/Dev-Cpp/lib"
Execution terminated
Compilation successful
and the window still decided not to stick around. any suggestions?
any help ?
shadowrifty
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is iostream, not iostrem (if you tell me your real code doesn't have that in it, its just a typo from when you retyped it, then you will make me *real* mad, never retype code you are posting.)
Says to me your paths are all messed up. This is not the path you should have for compiling a C++ program.
Ooops, another obvious thing:
int main2()
It is not OK to name your main function main2.
So your code should not even compile as written, and it looks like your paths are all messed up.
Go to the thread titled "The Forum FAQ - Please Read First", and find the directions for doing a clean uninstall. Delete everything Dev related. Follow them with *extreme* care. Reinstall Dev version 4.9.8.0 (that is not a typo - you need to download and install 4.9.8.0 before 4.9.8.7, 4.9.8.7 is just an upgrade, not an install)
Then compile the code I posted in the first message in this thread. Foloow the directions as posted. Do not compile from a project. If you still have an issue, post the FULL log please.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using Win98 and Dev 4.9.8.7
I was testing Your Simple
This is my compile log:
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Własne\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\Własne\Makefile.win" all
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Fatal: 'all-before' does not exist - don't know how to make it
Execution terminated
I have also instaled Borland C++ Builder 6
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
(1) I am using Dev 4.9.8.7/Windows XP Home for this example
(2) My code looks like this:
#include<iostream>
#include<stdlib.h> //only needed if you are using Dev 4 family
using namespace std; //where the names are - like cout!
int main(void)
{
cout << "This is what that putz Wayne said to do!\n";
system("pause"); //keep the window open if running from Dev
return 0;
}
A simple way to test your setup. Copy the code above. Open Dev. Create a
New:Source File
Paste the code in. Go to
Execute:Compile
If all goes well, you compile log will look *something* like this:
(3) Here is my compile log.
Executing g++.exe...
g++.exe "C:\mycstuff\hallo.cpp" -o "C:\mycstuff\hallo.exe" -fexpensive-optimizations -I"C:\Dev-Cpp\include\c++" -I"C:\Dev-Cpp\include\c++\mingw32" -I"C:\Dev-Cpp\include\c++\backward" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
Execution terminated
Compilation successful
And you will be able to hit
Execute:Run
And get an inspirational message. If, for some reason you don't, make sure you include the magic 3 pieces of information I posted here:
(1) Your Dev Version/OS Version
(2) Your Code
(3) Your full compile log.
Using Dev 4.9.8.7
My Code
#include<iostream>
#include<stdlib.h> //only needed if you are using Dev 4 family
using namespace std; //where the names are - like cout!
int main(void)
{
cout << "This is what that putz Wayne said to do!\n";
system("pause"); //keep the window open if running from Dev
return 0;
}
My Compile Log
Compiler: Default compiler
Executing g++.exe...
g++.exe "C:\CPlus\Sizeof.cpp" -o "C:\CPlus\Sizeof.exe" -I"C:\Dev-Cpp\include\c++" -I"C:\Dev-Cpp\include\c++\mingw32" -I"C:\Dev-Cpp\include\c++\backward" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
Execution terminated
When I installed this program I didn't have an Include folder so I found the Include folder from the download I got from Cnet.com and it still doesn't work. Any idea where I can find the updated header files also?
Many thanks,
pelton
Go to the thread titled "The Forum FAQ - Please Read First", find and carefully follow the directions for doing a clean uninstall and delete. Follow them carefully.
Go to the Dev website:
http://www.bloodshed.net/dev/devcpp.html
and download the installer for Dev 4.9.8.0 (yes, that IS the number I intended to type), and try your experiment again. Make sure you download the full version.
I have seen some folks lately who have used Dev 4.9.8.7 directly, not realizing its just an upgrade, not a full install - hence some directories are missing for them.
You should be up and going. If for some reason you are not, you need to carefully tell me step-by-step what you did - PLEASE do not simply report "I did what you said to do", you would be suprised how many smart folks have answered that way - then later found out that they skipped a step.
Once you have 4.9.8.0 up and going, we can upgrade you to 4.9.8.7
Think step-by-step - logically please.
Wayne
I deleted your other thread. It is OK to work out things related to to the topic here. Not such a newbie after all
:-)
Wayne
Thanks I shall try this tomorrow since I am not getting off work in 5 minutes
pelton
We'll get you going pelton. See you tommorrow,
Wayne
Hello Wayne and everyone else,
I unistalled and reinstalled and compiled and built the program and it was successful.
Now I am ready to upgrade to the next version of the software 4.9.8.7.
Many thanks,
Pelton
Thats GREAT. Have fun!
Wayne
Using Dev 4.9.8.0
My Code
#include<iostream>
#include<stdlib.h> //only needed if you are using Dev 4 family
using namespace std; //where the names are - like cout!
int main(void)
{
cout << "This is what that putz Wayne said to do!\n";
system("pause"); //keep the window open if running from Dev
return 0;
}
My Compile Log
Compiler: Default compiler
Executing g++.exe...
g++.exe "C:\CPlus\Sizeof.cpp" -o "C:\CPlus\Sizeof.exe" -I"C:\Dev-Cpp\include\c++" -I"C:\Dev-Cpp\include\c++\mingw32" -I"C:\Dev-Cpp\include\c++\backward" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
Execution terminated
a friend in need
OK, way to give information. Now I will annoy you by asking for more.
(1) What OS are you running, and what Anti-Virus are you running?
(2) Is your program stored in a directory called
c:\CPlus?
(3) Did you install version 4.9.8.0 from scratch or did you upgrade?
(4) Did you download the full version, or the exe only version?
Annoyed at me yet?
Wayne
(1) Windows XP, Norton Anti-Virus 2003
(2)No, it's stored in c:\Dev-Cpp
(3)I downloaded 4.9.8.0 and have not upgraded since
(4)As far as I know i downloaded the full version, I tried uninsatlling it and have not reinstalled it, but I have it on CD
A friend in need
I think I must have asked a question in an ambiguous way. I meant is the program that you are trying to compile stored in the directory
c:\cplus
The genesis of my question is this part of a line in your compile log:
g++.exe "C:\CPlus\Sizeof.cpp"
Now, when you uninstalled, did you follow the directions in the clean uninstall section of the thread "The Forum FAQ - Please Read First" - since you are using XP (as am I), then there are files that are in folders that windows considers "hidden", so they take a little care to find and delete.
My advice to you is this. Look up those directions. Get rid of your current installation. Slash and burn. Nothing remains. Think nuclear. Re-download 4.9.8.0 full version- it should be about 13 megabytes. Re-install, try again.
Please take careful notes of what you do in this process, if you still have a problem, make sure to put them in your post.
Want to kill me yet?
Wayne
yeah, you wanna meet somewhere so we can do it cleanly?
No, but seriously, I'm using a 56k modem, and I connect at 45 kbps. It'll take hours to redownload.
Is there any way to downoad it faster? If not I'll work on it. By the way, do know of any good tutorials that are free, and are explained in full detail?
a friend in need
In that thread I told you about "The Forum FAQ - Please Read First", there is a link to a list of a lot of useful online/ebook and tutorial information.
Books and tutorials speak to each of us differently, so I encourage you to take your time rummaging throught the stack to see things that speak to you.
(At least the ones that DON'T say things like "Wayne must die!")
Wayne
All right, I needed to do a system restore, and it turned out that I restored to the point before I uninstalled the compiler. So I should be good now.
a friend in need
Ok, I lied. Now when I open the compiler and try to make a new project, the window pops up like it should but there aren't any options to choose form.
a friend in need
I stand by my recommendation to do the uninstall/delete/crush/kil/destroy/install dance - following the directions in the forum faq thread...
Wayne
Where it would normally give the description of the choice for type of project it instead reads in blue
<desc>
everything else is the same
a friend in need
ok ok i am a super newb so please bear with me. i was trying to get a pause so i could see my masterwork lol before it went away useing 4.9.8.7 , yes i read the faq and that is my question i tried puting the code in sevral ways this was the last one i tried
this is one an xp home box
#include <iostrem.h>
#include <stdio.h>
int main()
{
cout << "hello world!\n";
}
int main2()
{
printf ("Press ENTER to continue.\n");
getchar (); // wait for input
return 0;
}
and the compiler log looked like this
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe main.o -o "Project1.exe" -L"C:/Dev-Cpp/lib"
Execution terminated
Compilation successful
and the window still decided not to stick around. any suggestions?
any help ?
shadowrifty
Two notes:
There is a typo in your code:
#include <iostrem.h>
It is iostream, not iostrem (if you tell me your real code doesn't have that in it, its just a typo from when you retyped it, then you will make me *real* mad, never retype code you are posting.)
So the code should not even compile. Next,
g++.exe main.o -o "Project1.exe" -L"C:/Dev-Cpp/lib"
Says to me your paths are all messed up. This is not the path you should have for compiling a C++ program.
Ooops, another obvious thing:
int main2()
It is not OK to name your main function main2.
So your code should not even compile as written, and it looks like your paths are all messed up.
Go to the thread titled "The Forum FAQ - Please Read First", and find the directions for doing a clean uninstall. Delete everything Dev related. Follow them with *extreme* care. Reinstall Dev version 4.9.8.0 (that is not a typo - you need to download and install 4.9.8.0 before 4.9.8.7, 4.9.8.7 is just an upgrade, not an install)
Then compile the code I posted in the first message in this thread. Foloow the directions as posted. Do not compile from a project. If you still have an issue, post the FULL log please.
Wayne
If you want to see what your path should look like, I posted my full compile log in the first link of this thread.
Wayne
I am using Win98 and Dev 4.9.8.7
I was testing Your Simple
This is my compile log:
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Własne\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\Własne\Makefile.win" all
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Fatal: 'all-before' does not exist - don't know how to make it
Execution terminated
I have also instaled Borland C++ Builder 6
"I have also instaled Borland C++ Builder 6"
Bingo! Take a look at what your log says:
"MAKE Version 5.2 Copyright (c) 1987, 2000 Borland"
Notice that the "make" being invoked is the wrong make. The Borland version of "make" can not be used to build a MinGW/GCC executable.
You will need to play some games with your paths to insure that the Borland stuff is not used. (Or, you *could* delete the Borland stuff) ;-)
Wayne
I have reinstaled Dev and both, Dev and BC++B, are worging O.K.
Thanks
Leszek
Great!
Wayne