Thread: [Dev-C++] (no subject) (Page 15)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Muhammad A. <amm...@ho...> - 2007-08-20 12:51:21
|
Hello everyone.Hope everyone will be good and fine.If i have a declaration = like the followingint **temp;we want to create an array of integer pointers= of dimension 1 x n and memory must be allocated dynamically.Best RegardsMu= hammad Ammar _________________________________________________________________ Messenger Caf=E9 =97 open for fun 24/7. Hot games, cool activities served d= aily. Visit now. http://cafemessenger.com?ocid=3DTXT_TAGLM_AugWLtagline= |
From: Adam J. <aj...@i-...> - 2007-08-20 16:43:25
|
>>You wrote: >> If i have a declaration like the following >>int **temp; >>we want to create an array of integer pointers of dimension 1 x n and memory must be allocated dynamically. Hmmmm.. I don't know why you would use a pointer to pointers to represent a dynamically allocated 2 dimensional array in C++. This appears that you are using a C-Style implementation. The data structure you are trying to create appears to be a matrix. There are several ways to accomplish this. I will take the C++ route, and use a class with vectors to implement a matrix data structure. That would be the C++ straight forward approach. Within this class you could use templates so you could create a matrix with any C++ native types and not just integers. If you didn't want to do it by hand, the Boost library which I have recommended to a lot of people on this list has it already done it for you. Check out this link: http://www.boost.org/libs/numeric/ublas/doc/matrix.htm -Adam Jones |
From: MOHAMMED S. <chi...@ya...> - 2007-09-05 13:58:27
|
Please someone help me with some open source library for reporting in C++ application. I would be very glad if it is pdf but would accept any other. --------------------------------- Pinpoint customers who are looking for what you sell. |
From: Chris M. <lor...@gm...> - 2007-09-05 23:40:54
|
search sourceforge On 9/5/07, MOHAMMED SEIDU <chi...@ya...> wrote: > Please someone help me with some open source library for reporting in C++ > application. I would be very glad if it is pdf but would accept any other. > > ________________________________ > Pinpoint customers who are looking for what you sell. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: > http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > |
From: Reid T. <rei...@at...> - 2007-09-06 03:29:21
|
MOHAMMED SEIDU wrote: > Please someone help me with some open source library for reporting in > C++ application. I would be very glad if it is pdf but would accept any > other. > > ------------------------------------------------------------------------ > Pinpoint customers > <http://us.rd.yahoo.com/evt=48250/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v9.php?o=US2226&cmp=Yahoo&ctv=AprNI&s=Y&s2=EM&b=50>who > are looking for what you sell. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users google libharu |
From: <kve...@bk...> - 2007-09-06 08:59:14
|
Hello, Dev-cpp-users. #include <cstdlib> #include <iostream> #include <windows.h> #include <mmsystem.h> using namespace std; int main(int argc, char *argv[]) { =09DWORD mytime; =09 =09mytime =3D timeGetTime(); =09 system("PAUSE"); return EXIT_SUCCESS; } I have a problem: [Linker error] undefined reference to `timeGetTime@0'=20 ld returned 1 exit status=20 D:\Dev-Cpp\my projects\37\Makefile.win [Build Error] [progr.exe] Error 1= =20 what's wrong in my code? --=20 best regards, mailto:kve...@bk... |
From: Jonathan W. <jon...@gm...> - 2007-09-06 09:04:46
|
The compiler seems to have found timeGetTime in the header file, so compilation works after that, though, the Linker cannot find the code of that function. You need to tell Dev-Cpp to link againt the library you are using (mmsystem I imagine) Jonathan On 9/6/07, kve...@bk... <kve...@bk...> wrote: > > Hello, Dev-cpp-users. > > > #include <cstdlib> > #include <iostream> > > #include <windows.h> > #include <mmsystem.h> > > > using namespace std; > > int main(int argc, char *argv[]) > { > DWORD mytime; > > mytime = timeGetTime(); > > system("PAUSE"); > return EXIT_SUCCESS; > } > > I have a problem: > > [Linker error] undefined reference to `timeGetTime@0' > ld returned 1 exit status > D:\Dev-Cpp\my projects\37\Makefile.win [Build Error] [progr.exe] Error 1 > > what's wrong in my code? > > -- > best regards, mailto:kve...@bk... > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > -- <Morpheus> linux, c'est une question de VI ou de MORE |
From: <aj...@i-...> - 2007-09-06 13:56:25
|
Jonathan Winterflood wrote: > The compiler seems to have found timeGetTime in the header file, so > compilation works > > after that, though, the Linker cannot find the code of that function. > > You need to tell Dev-Cpp to link againt the library you are using > (mmsystem I imagine) > > Jonathan Jonathan you are correct he needs to include the library for this to work. The linker can't find the file that is why he is getting the error. He needs to add libwinmm.a to the linker. -Adam Jones i-softwareproducts.com |
From: angel d. <sci...@ho...> - 2007-10-08 00:40:50
|
Does anybody knows a software that can make 3D models, like a person or a m= onster. And exported to a .md2 format? =20 _________________________________________________________________ Climb to the top of the charts!=A0 Play Star Shuffle:=A0 the word scramble = challenge with star power. http://club.live.com/star_shuffle.aspx?icid=3Dstarshuffle_wlmailtextlink_oc= t= |
From: angel d. <sci...@ho...> - 2007-10-22 21:44:32
|
Is it possible to create a RIBBON using Dev-C++???? =20 A ribbon is: =20 If you have microsoft office 2007, you already know that there is no menu= . What microsoft did was to replace the menu bar with something called ribbon. =20 I know that using C# there is a possible way to cerate them but i haven't h= eard about a C++ ribbon. _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook =96 together at last. =A0= Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=3DCL10062= 6971033= |
From: Chris M. <lor...@gm...> - 2007-10-22 22:13:06
|
On 10/22/07, angel dario <sci...@ho...> wrote: > > Is it possible to create a RIBBON using Dev-C++???? DevC++ is an IDE. You're asking if there's a way to build a ribbon using a non-MS GUI building API. And yes, it's possible, though it'd probably have to be handwritten. -- Registered Linux Addict #431495 http://profile.xfire.com/mrstalinman John 3:16! |
From: Latif O. <tru...@ya...> - 2007-11-01 12:53:55
|
I want to write thread program in c/c++, it seems the pthread.h library= is not working well and all the sample code on thread i download was givin= g error. Kindly help me out and probably give me a tested sample thread cod= e i can run with dev-cpp compiler=0A=0AYusuf Lateef Oladimeji=0A01/11/2007= =0A=0A=0A=0A__________________________________________________=0ADo You Yah= oo!?=0ATired of spam? Yahoo! Mail has the best spam protection around =0Ah= ttp://mail.yahoo.com |
From: Chris M. <lor...@gm...> - 2007-11-01 22:09:12
|
On 11/1/07, Latif Oladimeji <tru...@ya...> wrote: > > I want to write thread program in c/c++, it seems the pthread.h library > is not working well and all the sample code on thread i download was giving > error. Kindly help me out and probably give me a tested sample thread code i > can run with dev-cpp compiler > > Yusuf Lateef Oladimeji > 01/11/2007 Post code, not everyone here is using DevC++ - I'm just here for the C++ part :) -- Registered Linux Addict #431495 http://profile.xfire.com/mrstalinman John 3:16! |
From: Per W. <pw...@ia...> - 2007-11-03 13:15:08
|
You can create threads directly using the Win32 API. Have you looked at the MSDN documentation for Windows API? /pwm On Thu, 1 Nov 2007, Latif Oladimeji wrote: > I want to write thread program in c/c++, it seems the pthread.h library is not working well and all the sample code on thread i download was giving error. Kindly help me out and probably give me a tested sample thread code i can run with dev-cpp compiler > > Yusuf Lateef Oladimeji > 01/11/2007 > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com |
From: <saf...@ho...> - 2007-11-03 20:08:20
|
_________________________________________________________________ Windows Live Messenger'ın için ÜCRETSİZ 30 ifadeyi indir! http://www.livemessenger-emoticons.com/tr-tr/ |
From: yun p. <cer...@gm...> - 2007-11-13 02:05:58
|
From: Per W. <pw...@ia...> - 2007-11-13 02:09:00
|
It is hard to know if you want help with something, or if you wanted to inform us about something? Please expand your comments a bit ;) /pwm On Tue, 13 Nov 2007, yun peter wrote: > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
From: Chris M. <lor...@gm...> - 2007-11-13 06:49:37
|
Either that or it's a case of some horrific packet loss ; ) -- Registered Linux Addict #431495 http://profile.xfire.com/mrstalinman John 3:16! |
From: Jonathan W. <jon...@gm...> - 2007-11-13 08:42:20
|
Nah, it's written in lemon juice, hold a candle to your screen to reveal his message :D Disclaimer: this may or may not damage your screen, proceed at your own risk. On Nov 13, 2007 7:49 AM, Chris Miller <lor...@gm...> wrote: > Either that or it's a case of some horrific packet loss ; ) > > -- > Registered Linux Addict #431495 > http://profile.xfire.com/mrstalinman > John 3:16! > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > -- <Morpheus> linux, c'est une question de VI ou de MORE |
From: <ili...@at...> - 2007-12-10 23:17:49
|
>I'm kinda new to Winsock programming. I downloaded some >good tutorials that I can learn from, but I was wondering >if anyone could tell me if I can send data to a server >from a client using send() and how do I do it in Dev? Is >there something that i have to do to get it to work? Remember what Dev-cpp is only ID. 1. U need create socket by old_socket = socket(...) 2. bind(old_socket, ...). 3. new_socket = listen(old_socket, ....) 4. recv(new_socket, buf, buf_length) 5. do something with buf. 6. close both sockets; 7. another turns. I'm not exactly getting how this would work. Would anyone perhaps be able to show me example code for this? |
From: Per W. <pw...@ia...> - 2007-12-10 23:38:02
|
Yes, Google is very good at showing example code. /pwm On Mon, 10 Dec 2007 ili...@at... wrote: > > > >I'm kinda new to Winsock programming. I downloaded some > >good tutorials that I can learn from, but I was wondering > >if anyone could tell me if I can send data to a server > >from a client using send() and how do I do it in Dev? Is > >there something that i have to do to get it to work? > Remember what Dev-cpp is only ID. > > 1. U need create socket by old_socket = socket(...) > 2. bind(old_socket, ...). > 3. new_socket = listen(old_socket, ....) > 4. recv(new_socket, buf, buf_length) > 5. do something with buf. > 6. close both sockets; > 7. another turns. > > I'm not exactly getting how this would work. Would anyone > perhaps be able to show me example code for this? > > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
From: <ta...@fe...> - 2008-01-27 16:49:49
|
------------------------------------------------------------------------ -------------------------------------------------------- (Apologies for cross-posting) Workshop =93Medical Imaging Systems=94 within EUROSIS EUROMEDIA 2008 April 9-11, 2008, University of Porto, Porto, Portugal http://www.eurosis.org/cms/index.php?q=3Dnode/461 We would appreciate if you could distribute this information by your colleagues and co-workers. ------------------------------------------------------------------------ -------------------------------------------------------- Dear Colleague, In recent years, extensive research has been performed to develop more and more efficient and powerful medical imaging systems. Such systems are crucial for medical specialists, allowing a deeper analysis and to understand what is going inside the human body, and therefore they play an essential role for adequate medical diagnosis and treatments. To accomplish efficient and powerful medical imaging systems, many research works have being done in many domains, like the ones related with medical image devices, signal processing, image processing and analysis, biomechanical simulation and data visualization. The main goal of the Workshop =93Medical Imaging Systems=94 is to bring together researchers involved in the related domains, in order to set the major lines of development for the near future. Therefore, the proposed Workshop will consist of researchers representing various fields related to Medical Devices, Signal Processing, Computational Vision, Computer Graphics, Computational Mechanics, Scientific Visualization, Mathematics and Medical Imaging. The Workshop endeavours to contribute to obtain better solutions for more efficient and powerful medical imaging systems, and attempts to establish a bridge between clinicians and researchers from these diverse fields. The proposed Workshop will cover topics related with medical imaging systems, such as: image acquisition, signal processing, image processing and analysis, modelling and simulation, computer aided diagnosis, surgery, therapy, and treatment, computational bioimaging and visualization, software development, virtual reality and telemedicine systems and their applications. Due to your research activities in the field, we would like to invite you to submit a contributed paper. Your contribution is mostly welcomed and we would be honoured if you could participate in EUROMEDIA 2008. DEADLINE FOR PAPERS SUBMISSION: February 5, 2008 SCIENTIFIC COMMITTEE: Alberto De Santis, Universit=E0 degli Studi di Roma "La Sapienza", Italy Ana Mafalda Reis, Instituto de Ci=EAncias Biom=E9dicas Abel Salazar, Portugal Arrate Mu=F1oz Barrutia, University of Navarra, Spain Behnam Heidari, University College Dublin, Ireland Bernard Gosselin, Faculte Polytechnique de Mons, Belgium Chandrajit Bajaj, University of Texas, USA Christos E. Constantinou, Stanford University School of Medicine, USA Daniela Iacoviello, Universit=E0 degli Studi di Roma "La Sapienza", = Italy Dinggang Shen, University of Pennsylvania, USA Djemel Ziou, University of Sherbrooke, Canada Gerald Schaefer, Aston University, UK Jo=E3o Krug Noronha, Dr. Krug Noronha Clinic, Portugal Jo=E3o Manuel R. S. Tavares, Faculty of Engineering of University of Porto, Portugal Jo=E3o Paulo Costeira, Instituto Superior T=E9cnico, Portugal Jorge M. G. Barbosa, Faculty of Engineering of University of Porto, Portugal Lyuba Alboul, Sheffield Hallam University, UK Manuel Gonz=E1lez Hidalgo, Balearic Islands University, Spain Maria Elizete Kunkel, Universit=E4t Ulm, Germany M=E1rio Forjaz Secca, Universidade Nova de Lisboa, Portugal Miguel Angel L=F3pez, Faculty University of Ciego de Avila, Cuba Miguel Velhote Correia, Faculty of Engineering of University of Porto, Portugal Patrick Dubois, Institut de Technologie M=E9dicale, France Reneta Barneva, State University of New York, USA Renato M. Natal Jorge, Faculty of Engineering of University of Porto, Portugal Sabina Tangaro, University of Bari, Italy Valentin Brimkov, State University of New York, USA Yongjie Zhan, Carnegie Mellon University, USA For further details please see the conference website at: http://www.eurosis.org/cms/index.php?q=3Dnode/461 We are looking forward to see you in Porto next April. Kind regards, Jo=E3o Manuel R. S. Tavares University of Porto ta...@fe... www.fe.up.pt/~tavares 1 =20 =20 |
From: frederico s. <fre...@gm...> - 2008-02-12 17:37:31
|
Hello! I'm novice here. I from Brazil I have 16 years old nice day by |
From: Robert C. <cra...@gm...> - 2008-02-15 20:57:02
|
Dev...@li... |
From: hhh h. <the...@ho...> - 2008-11-25 15:03:04
|
Hello everyone, I, once again, need your help :D This time, my question is related with the GCC... Well, I am in the process of writting a simple freestanding application, and I wish to have access to a small part of the C library, to be used with a hosted application. I have found, by googling, that I can either write myself the subset I require, or port a free one, already existing. To save time I have decided to port a existing one, however before I start doing so, the design of the API has to be decided... This left me with some questions... Ex : With the GCC, how can I define a target? I can compile PE, COFF, ELF .... how can I compile "insert_my_format_here" ? Is there a way to define my target, and compile it? Please advice. Frederico Marques _________________________________________________________________ Cansado de espaço para só 50 fotos? Conheça o Spaces, o site de relacionamentos com até 6,000 fotos! http://www.amigosdomessenger.com.br |