Thread: RE: [Dev-C++] problem with header files
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Shane P. <ge...@my...> - 2003-04-14 23:11:00
|
Whenever you ask questions like this it would be helpful if you would give your ENTIRE program and the ENTIRE compiler log. They can help others see what the problem might be.
Without further info I can only suggest the following:
I recommend that you make sure you have the latest version of Dev-C++ (4.9.8.0).
Then uninstall Dev, delete the directory, and reinstall it. The directories that the compiler needs are usually automatically set up.
Then try to compile this program:
#include <iostream>
#include <stdlib.h>
using namespace std;
int main()
{
cout << "Hello World";
getchar();
return 0;
}
If it doesn't work please give us ALL the info requested at the top. If it does try to #include <stdio.h> at the beginning and see if it still works. If not give us...
Hope that helps!
Shane
_______________________________________________
No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com
|
|
From: David M. <ci...@ya...> - 2003-04-15 03:25:37
|
That can be a dangerous request Ioannis. (logs alone can be
quite long)
----- Original Message -----
From: "Ioannis Vranos" <iv...@at...>
To: <dev...@li...>
Sent: Monday, April 14, 2003 7:40 PM
Subject: RE: [Dev-C++] problem with header files
> > -----Original Message-----
> > From: dev...@li...
> > [mailto:dev...@li...] On
Behalf
> > Of Shane Plesner
> > Sent: Tuesday, April 15, 2003 2:10 AM
> > To: dev...@li...
> > Subject: RE: [Dev-C++] problem with header files
> >
> >
> >
> > Whenever you ask questions like this it would be
helpful if
> > you would give your ENTIRE program and the ENTIRE
compiler
> > log. They can help others see what the problem might
be.
> >
> > Without further info I can only suggest the following:
> >
> > I recommend that you make sure you have the latest
version of
> > Dev-C++ (4.9.8.0).
> >
> > Then uninstall Dev, delete the directory, and reinstall
it.
> > The directories that the compiler needs are usually
> > automatically set up.
> >
> > Then try to compile this program:
> >
> > #include <iostream>
> > #include <stdlib.h>
> > using namespace std;
> >
> > int main()
> > {
> > cout << "Hello World";
> > getchar();
> > return 0;
> > }
>
>
> getchar() is defined in <cstdio> and <stdio.h>...
>
>
>
>
>
> Ioannis Vranos
>
> * Programming pages: http://www.noicys.freeurl.com
> * Alternative URL 1: http://run.to/noicys
> * Alternative URL 2: http://www.noicys.cjb.net
>
>
> Anti-racism movement:
http://www.positive-youthfoundation.org
> Iraq Peace Pledge: http://www.peacepledge.org
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
|
|
From: Ioannis V. <iv...@at...> - 2003-04-15 03:56:59
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of David McKen > Sent: Tuesday, April 15, 2003 6:26 AM > To: dev...@li... > Subject: Re: [Dev-C++] problem with header files > > > That can be a dangerous request Ioannis. (logs alone can be > quite long) ? It appears to me that you have confused the posters. :) Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |
|
From: Shane P. <ge...@my...> - 2003-04-15 04:48:44
|
Ioannis, He did confuse the posters. However, at least some code and a few examples of the kind of errors you are receiving would be helpful! Obviously, if your compiler generates 500 errors (after that it says something like "your code is seriously full of errors, please fix it" and aborts) you should not post the whole thing, but a few examples could be *very* helpful. You also don't have to post your entire program if you think the error might be in just a few of the functions. It is a good idea to post everything you #include at the beginning though. If you can generate a small sample program that reproduces the error that would also be helpful (and in the process you may figure out what caused the error and how to fix it). If, with the abridged versions of your code and compiler log, people still cannot figure out what is wrong then you might consider attaching the full versions in .txt documents or something. Shane _______________________________________________ No banners. No pop-ups. No kidding. Introducing My Way - http://www.myway.com |
|
From: Ioannis V. <iv...@at...> - 2003-04-15 06:11:32
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Shane Plesner > Sent: Tuesday, April 15, 2003 7:48 AM > To: dev...@li... > Subject: RE: [Dev-C++] problem with header files > > > > Ioannis, > > He did confuse the posters. However, at least some code and > a few examples of the kind of errors you are receiving would > be helpful! > > Obviously, if your compiler generates 500 errors (after that > it says something like "your code is seriously full of > errors, please fix it" and aborts) you should not post the > whole thing, but a few examples could be *very* helpful. ? > You also don't have to post your entire program if you think > the error might be in just a few of the functions. It is a > good idea to post everything you #include at the beginning > though. If you can generate a small sample program that > reproduces the error that would also be helpful (and in the > process you may figure out what caused the error and how to fix it). > > If, with the abridged versions of your code and compiler log, > people still cannot figure out what is wrong then you might > consider attaching the full versions in .txt documents or something. I think you have confused the posters too. :) I did not ask any question, I just provided a remark to your answer, that getchar() needs <cstdio> or <stdio.h>. Keep coding, Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |
|
From: Daniel G. <sp...@ho...> - 2003-04-15 08:39:47
|
No no no no no no do NOT post entire programs and entire logs, give bits
that are causing the errors!
My poor hotmail account has only 2MB space when empty, nevermind the stuff I
keep...
Damn those internet ladies with their tempting promises of assorted fun on
the farm...
lol
>From: "Shane Plesner" <ge...@my...>
>Reply-To: Ge...@my...
>To: dev...@li...
>Subject: RE: [Dev-C++] problem with header files
>Date: Mon, 14 Apr 2003 19:10:29 -0400 (EDT)
>
>
>Whenever you ask questions like this it would be helpful if you would give
>your ENTIRE program and the ENTIRE compiler log. They can help others see
>what the problem might be.
>
>Without further info I can only suggest the following:
>
>I recommend that you make sure you have the latest version of Dev-C++
>(4.9.8.0).
>
>Then uninstall Dev, delete the directory, and reinstall it. The
>directories that the compiler needs are usually automatically set up.
>
>Then try to compile this program:
>
>#include <iostream>
>#include <stdlib.h>
>using namespace std;
>
>int main()
>{
> cout << "Hello World";
> getchar();
> return 0;
>}
>
>If it doesn't work please give us ALL the info requested at the top. If it
>does try to #include <stdio.h> at the beginning and see if it still works.
>If not give us...
>
>Hope that helps!
>
>Shane
>
>_______________________________________________
>No banners. No pop-ups. No kidding.
>Introducing My Way - http://www.myway.com
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
_________________________________________________________________
Get Hotmail on your mobile phone http://www.msn.co.uk/mobile
|
|
From: Ioannis V. <iv...@at...> - 2003-04-15 09:08:37
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Daniel Glenfield > Sent: Tuesday, April 15, 2003 11:40 AM > To: Ge...@my...; dev...@li... > Subject: RE: [Dev-C++] problem with header files > > > No no no no no no do NOT post entire programs and entire > logs, give bits > that are causing the errors! > > My poor hotmail account has only 2MB space when empty, > nevermind the stuff I > keep... There are better free solutions than hotmail out there (even providing pop3 access). > > Damn those internet ladies with their tempting promises of > assorted fun on > the farm... It is nice to see C++ women (it is romantic, isn't it?). :) Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |
|
From: <ri...@te...> - 2003-04-16 13:26:40
|
Daniel Glenfield wrote: > No no no no no no do NOT post entire programs and entire logs, give=20 > bits that are causing the errors! > > My poor hotmail account has only 2MB space when empty, nevermind the=20 > stuff I keep... > > Damn those internet ladies with their tempting promises of assorted=20 > fun on the farm... > > lol > You can also use hotmail popper, and check your hotmail account from any = PO3 client (You can also use Outlook Express without any external=20 program) . Thereby, you are downloading you mail to your local computer, = avoiding the 2Mb account size limit. Keep in mind that you are still limited to 2Mb long mails www.boolean.ca <http://www.boolean.ca/> --=20 Ricardo Amores Hern=E1ndez ricky (at) telecable (dot) es |
|
From: Ioannis V. <iv...@at...> - 2003-04-15 09:32:52
|
> -----Original Message----- > From: Ioannis Vranos [mailto:iv...@at...] > Sent: Tuesday, April 15, 2003 12:08 PM > To: 'dev...@li...' > Subject: RE: [Dev-C++] problem with header files > > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of Daniel Glenfield > > Sent: Tuesday, April 15, 2003 11:40 AM > > To: Ge...@my...; dev...@li... > > Subject: RE: [Dev-C++] problem with header files > > > > > > No no no no no no do NOT post entire programs and entire > > logs, give bits > > that are causing the errors! > > > > My poor hotmail account has only 2MB space when empty, > > nevermind the stuff I > > keep... > > > There are better free solutions than hotmail out there (even > providing pop3 access). > > > > > > > Damn those internet ladies with their tempting promises of > > assorted fun on > > the farm... > > > > It is nice to see C++ women (it is romantic, isn't it?). :) To avoid any dangerous non-intended meaning make the above sentence: "It is always nice to see C++ women". Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |
|
From: Daniel G. <sp...@ho...> - 2003-04-16 17:06:44
|
Hey that's a great tip, thanks! >From: Ricardo Amores Hernández <ri...@te...> >To: Dev...@li... >Subject: Re: [Dev-C++] problem with header files >Date: Wed, 16 Apr 2003 15:26:20 +0200 > >Daniel Glenfield wrote: > >>No no no no no no do NOT post entire programs and entire logs, give bits >>that are causing the errors! >> >>My poor hotmail account has only 2MB space when empty, nevermind the stuff >>I keep... >> >>Damn those internet ladies with their tempting promises of assorted fun on >>the farm... >> >>lol >> >You can also use hotmail popper, and check your hotmail account from any >PO3 client (You can also use Outlook Express without any external program) >. Thereby, you are downloading you mail to your local computer, avoiding >the 2Mb account size limit. >Keep in mind that you are still limited to 2Mb long mails > >www.boolean.ca <http://www.boolean.ca/> > >-- >Ricardo Amores Hernández >ricky (at) telecable (dot) es > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Express yourself with cool emoticons http://www.msn.co.uk/messenger |
|
From: Ioannis V. <iv...@at...> - 2003-04-14 23:41:09
|
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf
> Of Shane Plesner
> Sent: Tuesday, April 15, 2003 2:10 AM
> To: dev...@li...
> Subject: RE: [Dev-C++] problem with header files
>
>
>
> Whenever you ask questions like this it would be helpful if
> you would give your ENTIRE program and the ENTIRE compiler
> log. They can help others see what the problem might be.
>
> Without further info I can only suggest the following:
>
> I recommend that you make sure you have the latest version of
> Dev-C++ (4.9.8.0).
>
> Then uninstall Dev, delete the directory, and reinstall it.
> The directories that the compiler needs are usually
> automatically set up.
>
> Then try to compile this program:
>
> #include <iostream>
> #include <stdlib.h>
> using namespace std;
>
> int main()
> {
> cout << "Hello World";
> getchar();
> return 0;
> }
getchar() is defined in <cstdio> and <stdio.h>...
Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL 1: http://run.to/noicys
* Alternative URL 2: http://www.noicys.cjb.net
Anti-racism movement: http://www.positive-youthfoundation.org
Iraq Peace Pledge: http://www.peacepledge.org
|
|
From: Marcin Z. <mar...@po...> - 2003-04-15 15:28:07
|
Hi,
Thank you,
It definetely helped. I had the 4.9.7.0 version of Dev-C++.
I uninstalled it, downloaded the newer version and installed it.
And everything works.
But now I have the new problems with compilation.
I will describe it in the new mail.
Marcin
----- Original Message -----
From: "Shane Plesner" <ge...@my...>
To: <dev...@li...>
Sent: Tuesday, April 15, 2003 1:10 AM
Subject: RE: [Dev-C++] problem with header files
>
> Whenever you ask questions like this it would be helpful if you would give
your ENTIRE program and the ENTIRE compiler log. They can help others see
what the problem might be.
>
> Without further info I can only suggest the following:
>
> I recommend that you make sure you have the latest version of Dev-C++
(4.9.8.0).
>
> Then uninstall Dev, delete the directory, and reinstall it. The
directories that the compiler needs are usually automatically set up.
>
> Then try to compile this program:
>
> #include <iostream>
> #include <stdlib.h>
> using namespace std;
>
> int main()
> {
> cout << "Hello World";
> getchar();
> return 0;
> }
>
> If it doesn't work please give us ALL the info requested at the top. If
it does try to #include <stdio.h> at the beginning and see if it still
works. If not give us...
>
> Hope that helps!
>
> Shane
>
> _______________________________________________
> No banners. No pop-ups. No kidding.
> Introducing My Way - http://www.myway.com
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|