dev-cpp-users Mailing List for Dev-C++ (Page 469)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <or...@vp...> - 2002-12-16 03:17:19
|
Hello Fernando! I have never used ogg vorbis myself, just heard of it, so I looked around on www.vorbis.com. This is, what I recommend: Download Ogg Vorbis Win32 SDK (if you are working under Windows) from www.vorbis.com Here is a direct link: http://www.vorbis.com/files/1.0/windows/OggVorbis-win32sdk-1.0.zip It has everything you might need for encoding/decoding/tagging. Includes, libraries, and even DLLs (if you prefer using DLLs). A great benefit of ogg files, is that they can have any number of tags. Each tag has the TAG_NAME=tag_value format in the file, but the SDK provides an easy to use interface for setting and loading tags. The SDK has a brief documentation and example C sources, well documented. I hope that helps. As I stated in my previous mail, mp3 is NOT FREE. I don't know much about it's license, but I guess (theoretically) you (would) need to pay for encoding wav files to mp3. Ogg vorbis instead is FREE. Even great games today all use ogg for music, because it's free, it is small, and it sounds very good. UT2003, Serious Sam uses ogg for music, just to mention a few... -- Best regards: Balázs |
|
From: first l. <xpr...@ya...> - 2002-12-15 23:47:22
|
Are there any tools to convert *.lib files to* .a files --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now |
|
From: veenurs <ve...@ma...> - 2002-12-15 19:49:22
|
Thanks , folks ! Looks like I'm going to have a long night over it :-| -Rahul. http://go.to/raahul Carlos García del Monte wrote: > bitmap.h I think, which is on wxwindows package > > veenurs wrote: > >> Yup! >> I too would like to ask the same questions ! But I thought I'd look >> around first ! >> Thanx . >> >> -Rahul >> >> Stein Nygård wrote: >> >>> Where's wxBitmap defined? What do I need to include? >>> >>> thanks ;) >>> >>> Stein Nygård - http://steinware.dk >>> >>> >>> ----- Original Message ----- >>> From: "Mark L. Wise" <ma...@al...> >>> To: "'veenurs'" <ve...@ma...>; >>> <dev...@li...> >>> Sent: Saturday, December 14, 2002 2:07 AM >>> Subject: RE: [Dev-C++] Creating Splash Screen >>> >>> >>> >>> >>>> Rahul, >>>> >>>> Here is a code snippet that I used to make this work. Hope it >>>> helps!!! >>>> >>>> Mark Wise >>>> >>>> ---- >>>> wxBitmap bitmap; >>>> if (bitmap.LoadFile("olp.bmp", wxBITMAP_TYPE_BMP)) >>>> { >>>> wxSplashScreen *splash; >>>> splash = new wxSplashScreen(bitmap, >>>> wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT, >>>> 6000, NULL, -1, wxDefaultPosition, wxDefaultSize, >>>> wxSIMPLE_BORDER|wxSTAY_ON_TOP); >>>> } >>>> ---- >>>> -----Original Message----- >>>> From: dev...@li... >>>> [mailto:dev...@li...]On Behalf Of veenurs >>>> Sent: Thursday, December 05, 2002 12:00 PM >>>> To: dev...@li... >>>> Subject: [Dev-C++] Creating Splash Screen >>>> >>>> >>>> Hi All, >>>> Can anybody help me as to how I can create a Splash Sceen for my >>>> application with Dev-CPP . >>>> A good link will do . >>>> My problem is - >>>> 1. I don't know anything about multithreading/multiprocessing on >>>> Windows . >>>> >>>> Thanks for the trouble u take . >>>> >>>> >>>> -Rahul. >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This sf.net email is sponsored by: >>>> With Great Power, Comes Great Responsibility >>>> Learn to use your power at OSDN's High Performance Computing Channel >>>> http://hpc.devchannel.org/ >>>> _______________________________________________ >>>> 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 >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This sf.net email is sponsored by: >>>> With Great Power, Comes Great Responsibility >>>> Learn to use your power at OSDN's High Performance Computing Channel >>>> http://hpc.devchannel.org/ >>>> _______________________________________________ >>>> 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 >>>> >>>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This sf.net email is sponsored by: >>> With Great Power, Comes Great Responsibility Learn to use your power >>> at OSDN's High Performance Computing Channel >>> http://hpc.devchannel.org/ >>> _______________________________________________ >>> 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 >>> >>> >>> >> > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility Learn to use your power > at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > 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 > |
|
From: Luigi S. <gi...@li...> - 2002-12-15 14:57:02
|
On Thu, Dec 12, 2002 at 08:59:49PM +0000, ma...@mm... wrote: > > even if i change it to char type[1024] it still does exactly the same thing > and argv[1] is only 'ud' > ... > help? Could you supply the command you use to test your program, we have the code and it seems ok (even if a little dangerous). -- >> gisan >> Talkers are no good doers. -- William Shakespeare, "Henry VI" |
|
From: <tc...@gm...> - 2002-12-15 14:56:21
|
Hi... Can somebody help me please to interpret the undefined reference error message? I have created a c++ library, but trying to use it with any client program fails with the undefined reference error. First I thought It may lay on my program, but realized later that linking other libs throw me the same kinds of error too... --- Eric Tchepannou |
|
From: <tc...@gm...> - 2002-12-15 14:35:30
|
Fernando Correa Da Conceição wrote: > Hi all! > Someone know where can I find a library to work with the tags in a mp3 > file? > And to convert from a wav to mp3? Hi Fernando, Have a look at http://www.id3lib.org > > Thanks > Fernando Correa da Conceição > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility Learn to use your power > at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > 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 > > |
|
From: Sebastien M. <seb...@te...> - 2002-12-15 09:19:44
|
Just I don't really agree about your definition of WinMain and main :) I would say, main is the standard, and WinMain is used by windows. According to which libraries you use to compile, you should be able to use main or WinMain under windows for both application (graphical and text). By default I think that main compiler under windows use WinMain, that's why you get the problem. But anyway I'm sure you can do graphical application using a simple main as an entry point. Sebastien. On Sat, Dec 14, 2002 at 11:11:33AM +0100, Zodiaq wrote: > Hello Zachary and all Dev-C++ users, > > Saturday, December 14, 2002, 9:12:08 AM, Zachary wrote as follows: > > ZU> Hi, > > ZU> I created empty project, I added 2 files to it: stack.h and stack.cpp > > ZU> When I compile I get weird error. It is very obtuse and does not even give > ZU> a Line number of the error! Here is error: > > Hmm... to run ANY project you need an entry point - special function > that acts as begining of application... for console apps you need: > int main( ) > ,and for GUI Apps you need: > int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow) > > And if added ONLY these two files it wont run, or compile properly > because there is no entry point - I can't see there int main nor > winmain... and It looks like you have chosen WinMain project but the > code uses std::iostream so you better choose console project... > > ZU> Zachary Uram > ZU> John 3:16 > > > -- > regards, Zodiaq > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > 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 > -- Time remaining: 28 weeks 1 days 21 hours 23 minutes |
|
From: <cg...@wo...> - 2002-12-14 20:21:18
|
bitmap.h I think, which is on wxwindows package veenurs wrote: > Yup! > I too would like to ask the same questions ! But I thought I'd look=20 > around first ! > Thanx . > > -Rahul > > Stein Nyg=E5rd wrote: > >>Where's wxBitmap defined? What do I need to include? >> >>thanks ;) >> >> Stein Nyg=E5rd - http://steinware.dk >> >> >>----- Original Message ----- >>From: "Mark L. Wise" <ma...@al...> >>To: "'veenurs'" <ve...@ma...>; >><dev...@li...> >>Sent: Saturday, December 14, 2002 2:07 AM >>Subject: RE: [Dev-C++] Creating Splash Screen >> >> >> =20 >> >>>Rahul, >>> >>>Here is a code snippet that I used to make this work. Hope it helps!!= ! >>> >>>Mark Wise >>> >>>---- >>> wxBitmap bitmap; >>> if (bitmap.LoadFile("olp.bmp", wxBITMAP_TYPE_BMP)) >>> { >>> wxSplashScreen *splash; >>> splash =3D new wxSplashScreen(bitmap, >>> wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT, >>> 6000, NULL, -1, wxDefaultPosition, wxDefaultSize, >>> wxSIMPLE_BORDER|wxSTAY_ON_TOP); >>> } >>>---- >>>-----Original Message----- >>>From: dev...@li... >>>[mailto:dev...@li...]On Behalf Of veenurs >>>Sent: Thursday, December 05, 2002 12:00 PM >>>To: dev...@li... >>>Subject: [Dev-C++] Creating Splash Screen >>> >>> >>>Hi All, >>> Can anybody help me as to how I can create a Splash Sceen for my >>>application with Dev-CPP . >>> A good link will do . >>> My problem is - >>>1. I don't know anything about multithreading/multiprocessing on Windo= ws . >>> >>> Thanks for the trouble u take . >>> >>> >>> -Rahul. >>> >>> >>> >>> >>> >>>------------------------------------------------------- >>>This sf.net email is sponsored by: >>>With Great Power, Comes Great Responsibility >>>Learn to use your power at OSDN's High Performance Computing Channel >>>http://hpc.devchannel.org/ >>>_______________________________________________ >>>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 >>> >>> >>> >>>------------------------------------------------------- >>>This sf.net email is sponsored by: >>>With Great Power, Comes Great Responsibility >>>Learn to use your power at OSDN's High Performance Computing Channel >>>http://hpc.devchannel.org/ >>>_______________________________________________ >>>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 >>> >>> =20 >>> >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by: >>With Great Power, Comes Great Responsibility=20 >>Learn to use your power at OSDN's High Performance Computing Channel >>http://hpc.devchannel.org/ >>_______________________________________________ >>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 >> >> =20 >> > |
|
From: Abhijit S. <mu...@gm...> - 2002-12-14 16:56:36
|
Greets, Napoleon. > Hello, > > I have just downloaded Devc++ with ming3.2 and get this error when I > attempt to compile a program. Can someone tell me how to solve it > please. > > Compiler: Default compiler > Building Makefile: "C:\Projects\GenericWin\Makefile.win" > Executing make... > make.exe -f "C:\Projects\GenericWin\Makefile.win" all > g++.exe main.o class.o maker.o procedure.o -o "GenericWin.exe" > -L"C:/Dev-Cpp/lib" -mwindows -I"C:/Dev-Cpp/include" > -I"C:/Dev-Cpp/include/c++" -I"C:/Dev-Cpp/include" > -I"C:/Dev-Cpp/include/c++/mingw32" > > main.o(.text+0x41):main.cpp: undefined reference to > `_Z12WinProcedureP6HWND__jjl@16' > > make.exe: *** [GenericWin.exe] Error 1 > > Execution terminated > Perhaps you've forgotten to define the function you're using as the window procedure for the window class. It should be defined in one of the source files (.cpp, .cc, .c). Or maybe you haven't included the file in the project. ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |
|
From: Abhijit S. <mu...@gm...> - 2002-12-14 16:56:29
|
Greets, Fernando, and Hi again, the Dev-C++ list... I'd been off for some time. > Hi all! > Someone know where can I find a library to work with the tags in a mp3 file? > And to convert from a wav to mp3? > > Thanks > Fernando Correa da Conceição > Check www.wotsit.org. ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |
|
From: veenurs <ve...@ma...> - 2002-12-14 16:23:05
|
Yup! I too would like to ask the same questions ! But I thought I'd look around first ! Thanx . -Rahul Stein Nygård wrote: >Where's wxBitmap defined? What do I need to include? > >thanks ;) > > Stein Nygård - http://steinware.dk > > >----- Original Message ----- >From: "Mark L. Wise" <ma...@al...> >To: "'veenurs'" <ve...@ma...>; ><dev...@li...> >Sent: Saturday, December 14, 2002 2:07 AM >Subject: RE: [Dev-C++] Creating Splash Screen > > > > >>Rahul, >> >>Here is a code snippet that I used to make this work. Hope it helps!!! >> >>Mark Wise >> >>---- >> wxBitmap bitmap; >> if (bitmap.LoadFile("olp.bmp", wxBITMAP_TYPE_BMP)) >> { >> wxSplashScreen *splash; >> splash = new wxSplashScreen(bitmap, >> wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT, >> 6000, NULL, -1, wxDefaultPosition, wxDefaultSize, >> wxSIMPLE_BORDER|wxSTAY_ON_TOP); >> } >>---- >>-----Original Message----- >>From: dev...@li... >>[mailto:dev...@li...]On Behalf Of veenurs >>Sent: Thursday, December 05, 2002 12:00 PM >>To: dev...@li... >>Subject: [Dev-C++] Creating Splash Screen >> >> >>Hi All, >> Can anybody help me as to how I can create a Splash Sceen for my >>application with Dev-CPP . >> A good link will do . >> My problem is - >>1. I don't know anything about multithreading/multiprocessing on Windows . >> >> Thanks for the trouble u take . >> >> >> -Rahul. >> >> >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by: >>With Great Power, Comes Great Responsibility >>Learn to use your power at OSDN's High Performance Computing Channel >>http://hpc.devchannel.org/ >>_______________________________________________ >>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 >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by: >>With Great Power, Comes Great Responsibility >>Learn to use your power at OSDN's High Performance Computing Channel >>http://hpc.devchannel.org/ >>_______________________________________________ >>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 >> >> >> > > > >------------------------------------------------------- >This sf.net email is sponsored by: >With Great Power, Comes Great Responsibility >Learn to use your power at OSDN's High Performance Computing Channel >http://hpc.devchannel.org/ >_______________________________________________ >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 > > > |
|
From: <pre...@vo...> - 2002-12-14 12:38:49
|
I'm trying to compile my simple project for ICQapi.. I have =
libicqmapi.a (in C:\Dev-Cpp\lib) a also icqmapi.dll (in project =
directory) .. but i'm not able to compile it..=20
Linker parameter is set to -licqmapi but it doesnt work... =20
Something with libwsock32.a is working ok.. =20
thanx for help... =20
error>>
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Projects\Makefile.win"
Finding dependencies for file: C:\Dev-Cpp\Projects\icqu.cpp
Executing make...
make.exe -f "C:\Dev-Cpp\Projects\Makefile.win" all
g++.exe icqu.o -o "icqu.exe" -L"C:/Dev-Cpp/lib" -L"C:/Dev-Cpp/lib" =
-mwindows -licqmapi -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include" =
-I"C:/Dev-Cpp/include" =20
icqu.o(.text+0x5e):icqu.cpp: undefined reference to =
`ICQAPICall_SetLicenseKey__FPcN20@12'
icqu.o(.text+0x73):icqu.cpp: undefined reference to =
`ICQAPICall_SendMessage__FiPc@8'
make.exe: *** [icqu.exe] Error 1
Execution terminated
source>>
#include <iostream>
#include <stdlib.h>
#include <windows.h>
#include <ICQAPIInterface.h>
int main(int argc, char *argv[])
{
ICQAPICall_SetLicenseKey ("test", "test", "test");
system("PAUSE");=20
return 0;
}
|
|
From: Zodiaq <zo...@ac...> - 2002-12-14 10:11:44
|
Hello Zachary and all Dev-C++ users, Saturday, December 14, 2002, 9:12:08 AM, Zachary wrote as follows: ZU> Hi, ZU> I created empty project, I added 2 files to it: stack.h and stack.cpp ZU> When I compile I get weird error. It is very obtuse and does not even give ZU> a Line number of the error! Here is error: Hmm... to run ANY project you need an entry point - special function that acts as begining of application... for console apps you need: int main( ) ,and for GUI Apps you need: int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow) And if added ONLY these two files it wont run, or compile properly because there is no entry point - I can't see there int main nor winmain... and It looks like you have chosen WinMain project but the code uses std::iostream so you better choose console project... ZU> Zachary Uram ZU> John 3:16 -- regards, Zodiaq |
|
From: Zachary U. <ne...@st...> - 2002-12-14 08:13:43
|
Hi,
I created empty project, I added 2 files to it: stack.h and stack.cpp
When I compile I get weird error. It is very obtuse and does not even give
a Line number of the error! Here is error:
Compiler: Default compiler
Building Makefile: "C:\c++\PSCpp4E\ch15\Makefile.win"
Executing make...
make.exe -f "C:\c++\PSCpp4E\ch15\Makefile.win" all
g++.exe -c stack.cpp -o stack.o
-I"C:/DEV-CPP/include" -I"C:/DEV-CPP/include"
g++.exe stack.o -o "Stack.exe"
-L"C:/DEV-CPP/lib" -I"C:/DEV-CPP/include" -I"C:/DEV-CPP/include"
C:/DEV-CPP/lib/libmingw32.a(main.o)(.text+0x7f):main.c: undefined reference
to `WinMain@16'
Execution terminated
Please help someone.
Below are source files.
Regards,
Zach
//This is the header file stack.h. This is the interface for the class Stack,
//which is a class for a stack of symbols.
#ifndef STACK_H
#define STACK_H
namespace stacksavitch
{
struct StackFrame
{
char data;
StackFrame *link;
};
typedef StackFrame* StackFramePtr;
class Stack
{
public:
Stack( );
//Initializes the object to an empty stack.
Stack(const Stack& a_stack);
//Copy constructor.
~Stack( );
//Destroys the stack and returns all the memory to the freestore.
void push(char the_symbol);
//Postcondition: the_symbol has been added to the stack.
char pop( );
//Precondition: The stack is not empty.
//Returns the top symbol on the stack and removes that
//top symbol from the stack.
bool empty( ) const;
//Returns true if the stack is empty. Returns false otherwise.
private:
StackFramePtr top;
};
}//stacksavitch
#endif //STACK_H
//This is the implementation file stack.cpp.
//This is the implementation of the class Stack.
//The interface for the class Stack is in the header file stack.h.
#include <iostream>
#include <cstddef>
#include "stack.h"
using namespace std;
namespace stacksavitch
{
//Uses cstddef:
Stack::Stack( ) : top(NULL)
{
//Body intentionally empty.
}
//Uses cstddef:
Stack::Stack(const Stack& a_stack)
{
if (a_stack.top == NULL)
top = NULL;
else
{
StackFramePtr temp = a_stack.top;//temp moves
//through the nodes from top to bottom of
//a_stack.
StackFramePtr end;//Points to end of the new stack.
end = new StackFrame;
end->data = temp->data;
top = end;
//First node created and filled with data.
//New nodes are now added AFTER this first node.
temp = temp->link;
while (temp != NULL)
{
end->link = new StackFrame;
end = end->link;
end->data = temp->data;
temp = temp->link;
}
end->link = NULL;
}
}
Stack::~Stack( )
{
char next;
while (! empty( ))
next = pop( );//pop calls delete.
}
//Uses cstddef:
bool Stack::empty( ) const
{
return (top == NULL);
}
//Uses cstddef:
void Stack::push(char the_symbol)
{
StackFramePtr temp_ptr;
temp_ptr = new StackFrame;
temp_ptr->data = the_symbol;
temp_ptr->link = top;
top = temp_ptr;
}
//Uses iostream:
char Stack::pop( )
{
if (empty( ))
{
cout << "Error: popping an empty stack.\n";
exit(1);
}
char result = top->data;
StackFramePtr temp_ptr;
temp_ptr = top;
top = top->link;
delete temp_ptr;
return result;
}
}//stacksavitch
Zachary Uram
John 3:16
<><
|
|
From: <ste...@ge...> - 2002-12-14 03:18:48
|
Where's wxBitmap defined? What do I need to include?
thanks ;)
Stein Nygård - http://steinware.dk
----- Original Message -----
From: "Mark L. Wise" <ma...@al...>
To: "'veenurs'" <ve...@ma...>;
<dev...@li...>
Sent: Saturday, December 14, 2002 2:07 AM
Subject: RE: [Dev-C++] Creating Splash Screen
> Rahul,
>
> Here is a code snippet that I used to make this work. Hope it helps!!!
>
> Mark Wise
>
> ----
> wxBitmap bitmap;
> if (bitmap.LoadFile("olp.bmp", wxBITMAP_TYPE_BMP))
> {
> wxSplashScreen *splash;
> splash = new wxSplashScreen(bitmap,
> wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT,
> 6000, NULL, -1, wxDefaultPosition, wxDefaultSize,
> wxSIMPLE_BORDER|wxSTAY_ON_TOP);
> }
> ----
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...]On Behalf Of veenurs
> Sent: Thursday, December 05, 2002 12:00 PM
> To: dev...@li...
> Subject: [Dev-C++] Creating Splash Screen
>
>
> Hi All,
> Can anybody help me as to how I can create a Splash Sceen for my
> application with Dev-CPP .
> A good link will do .
> My problem is -
> 1. I don't know anything about multithreading/multiprocessing on Windows .
>
> Thanks for the trouble u take .
>
>
> -Rahul.
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:
> With Great Power, Comes Great Responsibility
> Learn to use your power at OSDN's High Performance Computing Channel
> http://hpc.devchannel.org/
> _______________________________________________
> 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
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:
> With Great Power, Comes Great Responsibility
> Learn to use your power at OSDN's High Performance Computing Channel
> http://hpc.devchannel.org/
> _______________________________________________
> 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
>
|
|
From: Matthews <dem...@uw...> - 2002-12-13 23:17:22
|
Try taking a look at the Aztec 3d modelling program sourcecode. There's a section in there about the splash screen. This may just be overkill though. http://sourceforge.net/projects/aztec/ At 01:29 AM 06/12/2002 +0530, veenurs wrote: >Hi All, > Can anybody help me as to how I can create a Splash Sceen for my >application with Dev-CPP . > A good link will do . > My problem is - >1. I don't know anything about multithreading/multiprocessing on Windows . > > Thanks for the trouble u take . > > > -Rahul. > > > > > >------------------------------------------------------- >This sf.net email is sponsored by: >With Great Power, Comes Great Responsibility >Learn to use your power at OSDN's High Performance Computing Channel >http://hpc.devchannel.org/ >_______________________________________________ >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 > |
|
From: Mark L. W. <ma...@al...> - 2002-12-13 22:08:43
|
Rahul,
Here is a code snippet that I used to make this work. Hope it helps!!!
Mark Wise
----
wxBitmap bitmap;
if (bitmap.LoadFile("olp.bmp", wxBITMAP_TYPE_BMP))
{
wxSplashScreen *splash;
splash = new wxSplashScreen(bitmap,
wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT,
6000, NULL, -1, wxDefaultPosition, wxDefaultSize,
wxSIMPLE_BORDER|wxSTAY_ON_TOP);
}
----
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of veenurs
Sent: Thursday, December 05, 2002 12:00 PM
To: dev...@li...
Subject: [Dev-C++] Creating Splash Screen
Hi All,
Can anybody help me as to how I can create a Splash Sceen for my
application with Dev-CPP .
A good link will do .
My problem is -
1. I don't know anything about multithreading/multiprocessing on Windows .
Thanks for the trouble u take .
-Rahul.
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
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
|
|
From: <or...@vp...> - 2002-12-13 21:00:55
|
Hi Fernando! > Someone know where can I find a library to work with the tags in a mp3 > file? > And to convert from a wav to mp3? Don't use mp3! It is "deprecated". Use Vorbis instead! "Vorbis sounds better. Vorbis is open, so you're free to use it on your favorite platform. Vorbis doesn't have intellectual property restrictions to get in the way. And Vorbis doesn't just try to sound better, it tries to do things fundamentally better in all the ways that it can." Generally "Ogg Vorbis is a completely open, patent-free, professional audio encoding and streaming technology with all the benefits of Open Source." - like mp3, but it is better in ALL terms. Look for more info at http://www.vorbis.com and read the FAQ, it will surely convince you! It has convinced me. Even Winamp 2.80 can play ogg vorbis audio. -- Best regards: Balázs |
|
From: veenurs <ve...@ma...> - 2002-12-13 20:02:16
|
Hi All, Can anybody help me as to how I can create a Splash Sceen for my application with Dev-CPP . A good link will do . My problem is - 1. I don't know anything about multithreading/multiprocessing on Windows . Thanks for the trouble u take . -Rahul. |
|
From: Napoleon A. <n_a...@ya...> - 2002-12-13 17:47:24
|
hello, I have just updated my mingw installation with the release candidates of binutils and gcc 3.2.1. I also updated my win32api and msys. After compilling a few programs i noticed that the exe's generated have substatially reduced. a typical example is the MdiApp in the example directory of Dev-cpp. Before the update the exe size was 109 kb whilst its now just 33kb. Another small program of my has reduced from 87kb to 66kb. So those whose main concern with the gcc 3.* ver was the size of the exe's can give it a try. I'll like to thank all the guys at mingw who are working for free in developing this greate compiler. You are all superstars. Napoleon. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
|
From: Per W. <pw...@ia...> - 2002-12-13 14:28:42
|
It's in milliseconds, but of course all a sleep function can do is
guarantee a MINIMUM sleeping time. In case other processes gets scheduled
to run, the sleeping process might have to wait slightly longer than the
specified time interval.
However, it is extremely rare that you get more than a couple of tenth of
seconds extra delay before being allowed to run. Was there any problem
recompiling the application between the test runs?
For long delays, you can just specify larger delay numbers until you reach
the numerical limit of the input parameter. For even longer delays, you
must do a loop with multiple sleep calls.
/Per W
On Fri, 13 Dec 2002 we...@ha... wrote:
> Hi all,
>
>
> Thkz for help. :))
>
> Now i'm using the correct header windows.h but count different from sleep()
> of linux. In linux it count in seconds... :)
>
> And here ?? I done a sample example:
>
> #include <stdio.h>
> #include <windows.h>
>
> int main(){
>
> Sleep(46000);
>
> return(0);
> }
>
> And it ruuning more or less 45 seconds... i tryed change this values to
> 42000, 43000, ... and it appear running always near 45 seconds.... :/
>
> How to count for example 1 minute with this sleep() function ??
>
> And 15 minutes ??
>
> Is it precision ??
>
> Thkz a lot.
>
> Best Regards.
>
> [ ]'s
>
>
|
|
From: <we...@ha...> - 2002-12-13 13:19:10
|
Hi all,
Thkz for help. :))
Now i'm using the correct header windows.h but count different from sleep()
of linux. In linux it count in seconds... :)
And here ?? I done a sample example:
#include <stdio.h>
#include <windows.h>
int main(){
Sleep(46000);
return(0);
}
And it ruuning more or less 45 seconds... i tryed change this values to
42000, 43000, ... and it appear running always near 45 seconds.... :/
How to count for example 1 minute with this sleep() function ??
And 15 minutes ??
Is it precision ??
Thkz a lot.
Best Regards.
[ ]'s
|
|
From: Vlada D. <dj...@im...> - 2002-12-13 12:07:03
|
----- Original Message ----- From: "Zodiaq" <zo...@ac...> To: <Dev...@li...> Sent: Friday, December 13, 2002 12:18 PM Subject: Re: [Dev-C++] ID to handle > Hello Vlada and all Dev-C++ users, > > Friday, December 13, 2002, 11:44:55 AM, Vlada wrote as follows: > > VD> Hi. > VD> Here's the deal: I want to turn window ID number (#define ID_WND 100) to > VD> handle to that window, so I can use it in SendMessage function. I tried to > VD> use MAKEINTRESOURCE macro (HWND hwnd=(HWND)MAKEINTRESOURCE(ID_WND), but it > VD> doesn't work as I expected. I read that return value of it is type LPTSTR. > VD> Can that be cast as HWND? If not, is there some other way to do this? > > To create window from ID use CreateWindow (or CreateWindowEx) > > http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/win dowing/windows/windowreference/windowfunctions/createwindow.asp > > return value from CreateWindow is HWND (Handle to WiNDow)... > > To get handle to one item use GetDlgItem... > This will do. Thanks, Zodiaq. > And last thing - if you are processing message from that window you > get HWND as first param in its CALLBACK function... > > There is a way to get handle by using FindWindow, but I think that you > can use one of previous... if you still don't know to do this give > more info... > > VD> Regards, > VD> Vlada > > > > -- > regards, Zodiaq > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > 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 > |
|
From: Zodiaq <zo...@ac...> - 2002-12-13 11:19:02
|
Hello Vlada and all Dev-C++ users, Friday, December 13, 2002, 11:44:55 AM, Vlada wrote as follows: VD> Hi. VD> Here's the deal: I want to turn window ID number (#define ID_WND 100) to VD> handle to that window, so I can use it in SendMessage function. I tried to VD> use MAKEINTRESOURCE macro (HWND hwnd=(HWND)MAKEINTRESOURCE(ID_WND), but it VD> doesn't work as I expected. I read that return value of it is type LPTSTR. VD> Can that be cast as HWND? If not, is there some other way to do this? To create window from ID use CreateWindow (or CreateWindowEx) http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/createwindow.asp return value from CreateWindow is HWND (Handle to WiNDow)... To get handle to one item use GetDlgItem... And last thing - if you are processing message from that window you get HWND as first param in its CALLBACK function... There is a way to get handle by using FindWindow, but I think that you can use one of previous... if you still don't know to do this give more info... VD> Regards, VD> Vlada -- regards, Zodiaq |
|
From: Vlada D. <dj...@im...> - 2002-12-13 10:43:35
|
Hi. Here's the deal: I want to turn window ID number (#define ID_WND 100) to handle to that window, so I can use it in SendMessage function. I tried to use MAKEINTRESOURCE macro (HWND hwnd=(HWND)MAKEINTRESOURCE(ID_WND), but it doesn't work as I expected. I read that return value of it is type LPTSTR. Can that be cast as HWND? If not, is there some other way to do this? Regards, Vlada |