Thread: RE: [Dev-C++] (no subject) (Page 3)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Ioannis V. <no...@ya...> - 2001-07-30 14:33:13
|
It compiles successfully in my dev-c++. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.f2s.com <http://www.noicys.f2s.com/> * Alternative URL: http://run.to/noicys -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Chakravarti Mukesh Sent: Monday, July 30, 2001 10:04 AM To: dev...@li... Subject: [Dev-C++] (no subject) Hi, I am a new user of Dev-C++. The attach program is working fine using Turboc++ while using Dev-C++ although it doesnot show any error it produce various compiler and linker errors(I am also including them.). What is the cause? Thanks. |
From: john m. <jun...@ho...> - 2001-08-05 20:51:09
|
hi all. i have 2 questions. 1) when i try to do the following in my program, it compiles but wheni run it i get an mscvrt.dll error, can anyone help. int numb; char* s; s = strstr("hello there", "there"); numb = strcmp("there", numb); <<<---this is where the problem is. 2) you know you have the template for an API with dev-cpp. well how to i put text inside that program? a button would be good too? thankyou to anyone that can help. John. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |
From: jansb000 <jan...@wx...> - 2001-08-06 09:37:43
|
I think strcmp needs two character strings. Your are giving it one character string and one integer. > numb = strcmp("there", numb); <<<---this is where the problem is. |
From: <ste...@ge...> - 2001-08-06 18:23:11
|
strcmp need two strings as parameter. If the two strings are equal, strcmp returns TRUE. Otherwise it returns FALSE. ----- Original Message ----- From: "john mills" <jun...@ho...> To: <dev...@li...> Sent: Sunday, August 05, 2001 10:51 PM Subject: [Dev-C++] (no subject) > hi all. i have 2 questions. > > 1) when i try to do the following in my program, it compiles but wheni run > it i get an mscvrt.dll error, can anyone help. > > int numb; > char* s; > s = strstr("hello there", "there"); > numb = strcmp("there", numb); <<<---this is where the problem is. > > 2) you know you have the template for an API with dev-cpp. well how to i put > text inside that program? a button would be good too? > > thankyou to anyone that can help. > > John. > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
From: Clayton W. <vgd...@ho...> - 2001-08-13 14:04:26
|
I made a simple program to test the compiling and run options in the Dev-C++ program. The program I wrote was just a simple one that told the computer to output the string "hello world" to the screen when you ran the program. That is where the problem is though. I have Windows 98 and I have the DJGPP compiler with Rhide interface and the MinGW compiler and I just recently downloaded the Dev-C++ software and I like it, but I'm having trouble with it. Let me start from the beginning. The simple program I wrote had this as the source code: #include <iostream.h> int main() { cout<<"hello world"; return0; } I compiled the program without any problems, but when I run it or try to click on the .exe file in the c:\ drive it pops up the program real quick and closes it back out instead of keeping it up until I click the exit button at the top of the window. Why does it do this and how can I make it stop? My DJGPP with Rhide interface lets the identical program I wrote in it stay open until I click the x on the screen to close it, but Dev-C++ opens the program and closes it write back(the program was written in Dev-C++). Thanks for any and all help that you can offer me:). --Clayton Weaver _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |
From: Vassili <v.v...@bt...> - 2001-08-13 18:39:28
|
You can execute you program via DOS prompt or by inserting something like system("PAUSE") or getchar() before the return. Anyway, straying from the point. DOS actually helps out on performing some things, if I remember right, the getchar() function would cause a program to echo what is written. When a letter is typed, dos would print (echo) it and when return is pressed, the program executes, printing the stored data. This is why conio.h was created, I suppose, to bypass this help, getch() executes once the key is pressed. I'm not to sure how accurate my memory is, I read this a while back. ----- Original Message ----- From: "Clayton Weaver" <vgd...@ho...> To: <dev...@li...> Sent: Monday, August 13, 2001 3:04 PM Subject: [Dev-C++] (no subject) > I made a simple program to test the compiling and run options in the Dev-C++ > program. The program I wrote was just a simple one that told the computer to > output the string "hello world" to the screen when you ran the program. That > is where the problem is though. I have Windows 98 and I have the DJGPP > compiler with Rhide interface and the MinGW compiler and I just recently > downloaded the Dev-C++ software and I like it, but I'm having trouble with > it. Let me start from the beginning. The simple program I wrote had this as > the source code: > > #include <iostream.h> > > int main() > { > cout<<"hello world"; > return0; > } > > I compiled the program without any problems, but when I run it or try to > click on the .exe file in the c:\ drive it pops up the program real quick > and closes it back out instead of keeping it up until I click the exit > button at the top of the window. Why does it do this and how can I make it > stop? My DJGPP with Rhide interface lets the identical program I wrote in it > stay open until I click the x on the screen to close it, but Dev-C++ opens > the program and closes it write back(the program was written in Dev-C++). > Thanks for any and all help that you can offer me:). > > --Clayton Weaver > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
From: <iv...@vo...> - 2001-08-27 21:03:55
|
From: Jesper <da...@en...> - 2001-09-17 10:32:45
|
This has nothing to do with C++, but i was wondering if anybody knows a = good mail-list for Java? |
From: Vassili <v.v...@bt...> - 2001-09-17 11:27:17
|
Try the Community Discussion Forum at http://java.sun.com/ I found a nice editor at http://www.jcreator.com/ It's got the VC++ feel to it. ----- Original Message -----=20 From: Jesper=20 To: dev...@li...=20 Sent: Monday, September 17, 2001 11:30 AM Subject: [Dev-C++] (no subject) This has nothing to do with C++, but i was wondering if anybody knows = a good mail-list for Java? |
From: Julian E. <j_e...@ya...> - 2001-09-24 21:27:20
|
__________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com |
From: javid <jav...@te...> - 2001-09-25 16:36:02
|
dear sir, last year i purchased the Dev c++ product from you and unfortunately the = download which i did against payment were on hard drive but due to = problem i was complelled to format it and thus the download too. i would = be thankful if you can tell me where i can download and must i have to = pay again. i am intersted to download both compiler and text editor = which i can use in windows. the text editor should be such that it shows = mistake with colours in line. with best rgrds from javid |
From: St0fF 6. <st...@gm...> - 2001-09-25 21:13:59
|
hi javid! go to http://www.bloodshed.net/devcpp.html . There you'll find links to = download DevCPP and also DevPASCAL. These editors and compilers should = meet your needs and they're for free. As you've already paid I guess = there ain't no probs. Cheers, St0fF. ----- Original Message -----=20 From: javid=20 To: dev...@li...=20 Sent: Tuesday, September 25, 2001 6:35 PM Subject: [Dev-C++] (no subject) dear sir, last year i purchased the Dev c++ product from you and unfortunately = the download which i did against payment were on hard drive but due to = problem i was complelled to format it and thus the download too. i would = be thankful if you can tell me where i can download and must i have to = pay again. i am intersted to download both compiler and text editor = which i can use in windows. the text editor should be such that it shows = mistake with colours in line. with best rgrds from javid |
From: colombianomoren0 <col...@ne...> - 2001-09-29 05:00:02
|
How can I get my getch function to work? I keep receiving the errror = "implicit declaration of function `int getchar(...)". |
From: Jason H. <jas...@bt...> - 2001-09-29 13:00:02
|
Are you sure that it says ... 'int getchar(...)'? Try adding: #include <conio.h> to the top of your file anyway, that is where the getch() function is = declared. The function getchar() is part of <stdio.h> AFAIK Jason. ----- Original Message -----=20 From: colombianomoren0=20 To: dev...@li...=20 Sent: Saturday, September 29, 2001 6:02 AM Subject: [Dev-C++] (no subject) How can I get my getch function to work? I keep receiving the errror = "implicit declaration of function `int getchar(...)". |
From: Vas <v.v...@bt...> - 2001-09-29 21:17:17
|
Go to the projects tab, select options and add the conio object file = which is located in the lib dir. ----- Original Message -----=20 From: Jason Hardman=20 To: dev...@li...=20 Sent: Saturday, September 29, 2001 5:59 AM Subject: Re: [Dev-C++] (no subject) Are you sure that it says ... 'int getchar(...)'? Try adding: #include <conio.h> to the top of your file anyway, that is where the getch() function is = declared. The function getchar() is part of <stdio.h> AFAIK Jason. ----- Original Message -----=20 From: colombianomoren0=20 To: dev...@li...=20 Sent: Saturday, September 29, 2001 6:02 AM Subject: [Dev-C++] (no subject) How can I get my getch function to work? I keep receiving the = errror "implicit declaration of function `int getchar(...)". |
From: tayo o. <ta...@ya...> - 2001-09-29 20:36:56
|
Please unnsubscrime me from your list. Thanks. Tayo. --- colombianomoren0 <col...@ne...> wrote: > How can I get my getch function to work? I keep > receiving the errror "implicit declaration of > function `int getchar(...)". > __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com |
From: colombianomoren0 <col...@ne...> - 2001-09-30 23:47:02
|
Why isn't the apstring functin working? |
From: colombianomoren0 <col...@ne...> - 2001-09-30 23:47:04
|
Why isn't the clrscr() working? The compiler says "implicit declaration = of function `int clrscr(...)". |
From: St0fF 6. <st...@gm...> - 2001-10-01 06:49:23
|
DevCPP ain't Borland. That's about it. The standard libraries from = each IDE differ somewhat. It's your turn to find answers in the Man and = FAQ. Best thing to do is not using the standards that differ when = switching between work and home - Computers. Use OpenGL. It's somehow = on all machines the same (some have more lights, ...) and Capable of a = lot more than writing text to screen ... Cheers, St0fF. ----- Original Message -----=20 From: colombianomoren0=20 To: C++ Help=20 Sent: Monday, October 01, 2001 1:48 AM Subject: [Dev-C++] (no subject) Why isn't the clrscr() working? The compiler says "implicit = declaration of function `int clrscr(...)". |
From: Ioannis V. <no...@ya...> - 2001-10-01 06:59:42
|
Try =20 #include <stdlib.h> =20 system("cls"); =20 =20 Ioannis =20 * Ioannis Vranos * Programming pages: http://www.noicys.f2s.com <http://www.noicys.f2s.com/>=20 * Alternative URL: http://run.to/noicys -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of colombianomoren0 Sent: Monday, October 01, 2001 1:48 AM To: C++ Help Subject: [Dev-C++] (no subject) Why isn't the clrscr() working? The compiler says "implicit declaration of function `int clrscr(...)". |
From: <pe...@ce...> - 2001-10-08 06:15:51
|
unsubcribe |
From: John B. <ser...@ho...> - 2001-10-22 20:54:52
|
I need help with bloodshed, in the system portion of the code is there anyway for the developer to cause Dev to recognize "/" without it being shown as an invalid escape? I wanted to create a program that allows users to rename logo.sys and so forth yet I can't see how to do that. Please help. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |
From: Ioannis V. <no...@ya...> - 2001-10-23 08:12:35
|
What do you mean invalid escape. Escape sequences begin with \, not /. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.f2s.com * Alternative URL: http://run.to/noicys > -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of John Barnett > Sent: Monday, October 22, 2001 10:55 PM > To: dev...@li... > Subject: [Dev-C++] (no subject) >=20 >=20 > I need help with bloodshed, in the system portion of the code=20 > is there=20 > anyway for the developer to cause Dev to recognize "/"=20 > without it being=20 > shown as an invalid escape? I wanted to create a program that=20 > allows users=20 > to rename logo.sys and so forth yet I can't see how to do=20 > that. Please help. >=20 > _________________________________________________________________ > Get your FREE download of MSN Explorer at=20 > http://explorer.msn.com/intl.asp >=20 >=20 >=20 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >=20 |
From: Edwin D. <edw...@ya...> - 2001-10-25 02:12:41
|
hello all, I want to use wxWindows with DevC++. Can anybody tell me how to make it work. How do I start?Is there additional tools that I need?Will I be able to write GUI application visually? Thanks, Edwin __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com |
From: Christiaan S. <ck...@ia...> - 2001-10-27 13:01:42
Attachments:
Untitled1.cpp
|
Ok I now think that that other linker error was as a result of this compiling error: c:\my documents\untitled1.cpp: In function `int LoadGLTextures()': c:\my documents\untitled1.cpp:78: implicit declaration of function `int free(...)' Whats wrong with using the free function? |