Thread: Re: [Dev-C++] graphics (Page 2)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: <wa...@wa...> - 2004-02-24 16:57:46
|
On 24 Feb 2004 at 12:40, THE OMEGA7 wrote: > hi , > > can one plz tell me how to use graphics with dev c++. Search the net for "C++ Graphics tutorial". There are a ton of them out there. Watson (the pencil neck) Davis |
From: Matthew O. <ma...@oz...> - 2004-02-24 17:56:52
|
What you need is to read up on Allegro game programming library. http://www.talula.demon.co.uk/allegro/wip.html It the easiest programming library out there and has a huge API. Here is a great tutorial on using it: http://www.grandgent.com/gfoot/vivace/vivace.txt Matthew Ozor www.ozor.net -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of wa...@wa... Sent: Tuesday, February 24, 2004 11:49 AM To: Dev...@li... Subject: Re: [Dev-C++] graphics On 24 Feb 2004 at 12:40, THE OMEGA7 wrote: > hi , > > can one plz tell me how to use graphics with dev c++. Search the net for "C++ Graphics tutorial". There are a ton of them out there. Watson (the pencil neck) Davis ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ 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: Oonk, G. (Gertjan) <go...@fe...> - 2004-07-19 13:16:00
|
-----Original Message----- From: dev...@li... = [mailto:dev...@li...] On Behalf Of = dev...@li... Sent: zondag 18 juli 2004 5:13 To: dev...@li... Subject: Dev-cpp-users digest, Vol 1 #2085 - 14 msgs Send Dev-cpp-users mailing list submissions to dev...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/dev-cpp-users or, via email, send a message with subject or body 'help' to dev...@li... You can reach the person managing the list at dev...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Dev-cpp-users digest..." Today's Topics: 1. Dbase library (Alberto) 2. for Linux? (Todd Gardner) 3. automatically adding a new member function? (Todd Gardner) 4. Re: for Linux? (Scott Simontis) 5. Re: Dbase library (Michal Molhanec) 6. Re: Dbase library (Gary Lawton) 7. Re: Dbase library (kalb) 8. Class browser update (kalb) 9. DirectPlay (=3D?ISO-8859-1?Q?=3D22Axel_Buschh=3DFCter=3D22?=3D) 10. Maybe bug (kalb) 11. Re: DirectPlay (sp...@po...) 12. Re: Class browser update (Matthews) 13. Re: DirectPlay = (=3D?ISO-8859-1?Q?=3D22Axel_Buschh=3DFCter=3D22?=3D) 14. Re: DirectPlay (sp...@po...) --__--__-- Message: 1 From: Alberto <ka...@em...> To: dev...@li... Date: Sat, 17 Jul 2004 15:42:18 +0200 Subject: [Dev-C++] Dbase library Hi, I'm working on a small application project, that needs to use some = small=20 database tables. I know that wxWindows offers a database interface, but since the = application=20 needs to be often moved from a pc to another, it seems better for my = needs to=20 read/write directly on files instead of messing with ODBC. Any suggestion about a free Dbase library to read/write dbIII or dbIV = files? Thanks in advance. kalb =20 =20 -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f =20 Sponsor: Hai un sito web? Allora guadagna anche tu con il Web Marketing ! * Collegati subito. Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3D1554&d=3D17-7 --__--__-- Message: 2 From: "Todd Gardner" <pi...@ea...> To: <dev...@li...> Subject: [Dev-C++] for Linux? Date: Sat, 17 Jul 2004 07:13:19 -0700 Hello everyone, I currently use dev-cpp for Windows Version 4.9.8.0 and MinGW for = Windows and Linux. I was wondering if there is a dev-cpp version for Linux? Thank you, Todd --__--__-- Message: 3 From: "Todd Gardner" <pi...@ea...> To: <dev...@li...> Date: Sat, 17 Jul 2004 07:26:46 -0700 Subject: [Dev-C++] automatically adding a new member function? Hello everyone, I'm using dev-cpp for Windows version 4.9.8.0 one Windows 2000. I right-click on a class and select "new member function". The new member function does not seem to appear until I close dev-cpp and reopen it = again. I am pretty new to dev-cpp however, I believe I would like the new = member function to show up without having to close dev-cpp. What should I be doing? Todd --__--__-- Message: 4 Date: Sat, 17 Jul 2004 11:01:32 -0400 From: Scott Simontis <age...@co...> To: Dev-C++ User Group <dev...@li...> Subject: Re: [Dev-C++] for Linux? There is, but it is outdated. Your best bet would be another text editor = (I like XEmacs), or another IDE such as KDevelop. Todd Gardner wrote: >Hello everyone, > >I currently use dev-cpp for Windows Version 4.9.8.0 and MinGW for = Windows >and Linux. I was wondering if there is a dev-cpp version for Linux? > >Thank you, > >Todd > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=3D4721&alloc_id=3D10040&op=3Dclick >_______________________________________________ >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 > > =20 > --__--__-- Message: 5 Date: Sat, 17 Jul 2004 18:19:16 +0200 From: Michal Molhanec <mi...@mo...> To: Alberto <ka...@em...> CC: dev...@li... Subject: Re: [Dev-C++] Dbase library Alberto wrote: > Hi, I'm working on a small application project, that needs to use some = small=20 > database tables. >=20 > I know that wxWindows offers a database interface, but since the = application=20 > needs to be often moved from a pc to another, it seems better for my = needs to=20 > read/write directly on files instead of messing with ODBC. >=20 > Any suggestion about a free Dbase library to read/write dbIII or dbIV = files? Xbase: http://linux.techassocinc.com/projects/xdb/ But if you haven't to use files in DBase format I would prefer SQLite=20 http://www.sqlite.org/ , there is also devpak for older version=20 http://devpaks.org/show.php?devpak=3D14 . --__--__-- Message: 6 Date: Sat, 17 Jul 2004 19:32:28 +0100 From: Gary Lawton <li...@lu...> To: dev...@li... Subject: Re: [Dev-C++] Dbase library I'd vote for sqlite as well (if possible) Michal Molhanec wrote: > Alberto wrote: >=20 >> Hi, I'm working on a small application project, that needs to use = some=20 >> small database tables. >> >> I know that wxWindows offers a database interface, but since the=20 >> application needs to be often moved from a pc to another, it seems=20 >> better for my needs to read/write directly on files instead of = messing=20 >> with ODBC. >> >> Any suggestion about a free Dbase library to read/write dbIII or dbIV = >> files? >=20 >=20 > Xbase: http://linux.techassocinc.com/projects/xdb/ >=20 > But if you haven't to use files in DBase format I would prefer SQLite=20 > http://www.sqlite.org/ , there is also devpak for older version=20 > http://devpaks.org/show.php?devpak=3D14 . >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=3D4721&alloc_id=3D10040&op=3Dclick > _______________________________________________ > 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 --__--__-- Message: 7 From: kalb <ka...@em...> To: Gary Lawton <li...@lu...> Subject: Re: [Dev-C++] Dbase library Date: Sat, 17 Jul 2004 21:53:37 +0200 Cc: dev...@li... Thanks to everybody, I downloaded sqlite and it looks like exactly what = I=20 need: simple, powerful, and serverless. kalb Alle 20:32, sabato 17 luglio 2004, Gary Lawton ha scritto: > I'd vote for sqlite as well (if possible) > > Michal Molhanec wrote: > > Alberto wrote: > >> Hi, I'm working on a small application project, that needs to use = some > >> small database tables. > >> > >> I know that wxWindows offers a database interface, but since the > >> application needs to be often moved from a pc to another, it seems > >> better for my needs to read/write directly on files instead of = messing > >> with ODBC. > >> > >> Any suggestion about a free Dbase library to read/write dbIII or = dbIV > >> files? > > > > Xbase: http://linux.techassocinc.com/projects/xdb/ > > > > But if you haven't to use files in DBase format I would prefer = SQLite > > http://www.sqlite.org/ , there is also devpak for older version > > http://devpaks.org/show.php?devpak=3D14 . > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=3D4721&alloc_id=3D10040&op=3Dclick > > _______________________________________________ > > 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 > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=3D4721&alloc_id=3D10040&op=3Dclick > _______________________________________________ > 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 =20 =20 -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f =20 Sponsor: Stanco del tappetino mouse che hai?? * Stampaci l'immagine che vuoi tu! *=20 Clicca qui: = http://adv.email.it/cgi-bin/foclick.cgi?mid=3D2117&d=3D17-7i?mid=3D1557&d= =3D17-7 --__--__-- Message: 8 From: kalb <ka...@em...> To: dev...@li... Date: Sat, 17 Jul 2004 21:56:52 +0200 Subject: [Dev-C++] Class browser update Hi, a trivial question: how can I force the class browser update when I add a new class, or = function=20 or variable? The only way I've found since now is to close and re-open = the=20 project, but I think that there has to be a simpler way... I'm using Dev-Cpp 4.9.8.10... Thanks. kalb =20 =20 -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f =20 Sponsor: Digitalpix: Il metodo pi=F9 comodo, veloce e conveniente * per stampare le tue foto digitali migliori. Clicca qui: = http://adv.email.it/cgi-bin/foclick.cgi?mid=3D1523&d=3D17-7adv.email.it/c= gi-bin/foclick.cgi?mid=3D1568&d=3D17-7 --__--__-- Message: 9 Date: Sun, 18 Jul 2004 00:57:04 +0200 (MEST) From: =3D?ISO-8859-1?Q?=3D22Axel_Buschh=3DFCter=3D22?=3D = <A_B...@gm...> To: dev...@li... Subject: [Dev-C++] DirectPlay Hi, I installed the directx package and tried to compile the first direct = play tutorial from the MS-DirectX8 sdk (sdk not installed, because DX-devpack = is installed). At the linker section I includet "libdplayx.a" and "libdxguid.a". In the sourcecode I includet "dplay8.h" (for testing I includet = "dplay.h", too). But if I try to compile the code I get these error messages: =20 [Linker error] undefined reference to `CoInitializeEx@8' [Linker error] undefined reference to `CoCreateInstance@20' [Linker error] undefined reference to `CoUninitialize@0'=20 [Linker error] undefined reference to `CoCreateInstance@20' [Build Error] [out/DPlay.exe] Error 1 Has someone experiences with directPlay and can help me with this ??? The complete source: #define INITGUID #define _WIN32_DCOM #include <iostream> #include <stdlib.h> #include <dplay.h> // not nessesary #include <dplay8.h> using namespace std; IDirectPlay8Peer* g_pDP =3D NULL; // DirectPlay peer object // Funktionen HRESULT WINAPI DirectPlayMessageHandler(PVOID pvUserContext, DWORD dwMessageId, PVOID pMsgBuffer); HRESULT InitDirectPlay(); void CleanupDirectPlay(); // Hilfs-Makros #define SAFE_DELETE(p) { if(p) { delete (p); (p)=3DNULL; } } #define SAFE_DELETE_ARRAY(p) { if(p) { delete[] (p); (p)=3DNULL; } } #define SAFE_RELEASE(p) { if(p) { (p)->Release(); (p)=3DNULL; } } // {76327E56-BBD7-4e3d-938B-EF1DC94080B5} DEFINE_GUID(DPlayTest, 0x76327e56, 0xbbd7, 0x4e3d, 0x93, 0x8b, 0xef, = 0x1d, 0xc9, 0x40, 0x80, 0xb5); int main(int argc, char *argv[]){ HRESULT hr; DPN_SERVICE_PROVIDER_INFO* pdnSPInfo =3D NULL; DPN_SERVICE_PROVIDER_INFO* pdnSPInfoEnum =3D NULL; DWORD dwItems =3D 0; DWORD dwSize =3D 0; DWORD i; // COM initialisieren um CoCreateInstance benutzen zu k=F6nnen CoInitializeEx(NULL, COINIT_MULTITHREADED); =20 // DirectPlay initialisieren if(FAILED(hr =3D InitDirectPlay())){ printf("DirectPlay Initialisierung fehlgeschlagen: 0x%X\n", hr); goto LCleanup; } // alle Service Provider Enumerieren hr =3D g_pDP->EnumServiceProviders(NULL, NULL, NULL, &dwSize, = &dwItems, 0); if(hr !=3D DPNERR_BUFFERTOOSMALL){ printf("Enumerierung der Service Provider fehlgeschlagen: 0x%X\n", = hr); goto LCleanup; } pdnSPInfo =3D (DPN_SERVICE_PROVIDER_INFO*) new BYTE[dwSize]; if(FAILED(hr =3D g_pDP->EnumServiceProviders(NULL, NULL, pdnSPInfo, = &dwSize, &dwItems, 0))){ printf("Enumerierung der Service Provider fehlgeschlagen: 0x%X\n", = hr); goto LCleanup; } // Alle Provider durchlaufen und ausdrucken pdnSPInfoEnum =3D pdnSPInfo; for(i =3D 0; i < dwItems; i++){ printf("Service Provider gefunden: %S\n", pdnSPInfoEnum->pwszName); pdnSPInfoEnum++; } =20 LCleanup: SAFE_DELETE_ARRAY(pdnSPInfo); CleanupDirectPlay(); CoUninitialize(); =20 system("PAUSE");=09 return 0; } HRESULT WINAPI DirectPlayMessageHandler( PVOID pvUserContext, DWORD dwMessageId, PVOID pMsgBuffer){ return S_OK; } HRESULT InitDirectPlay(){ HRESULT hr =3D S_OK; // IDirectPlay8Peer Objekt erstellen if(FAILED(hr =3D CoCreateInstance(CLSID_DirectPlay8Peer, NULL, CLSCTX_INPROC_SERVER, IID_IDirectPlay8Peer, (LPVOID*) &g_pDP))){ printf("Erstellen des IDirectPlay8Peer Objekts fehlgeschlagen: = 0x%X\n", hr); goto LCleanup; } // DirectPlay initialisieren if(FAILED(hr =3D g_pDP->Initialize(NULL, DirectPlayMessageHandler, 0 = ))){ printf("Initialisierung von DirectPlay fehlgeschlagen: 0x%X\n", = hr); goto LCleanup; } =20 LCleanup: return hr; } void CleanupDirectPlay(){ // DirectPlay l=F6schen if(g_pDP) g_pDP->Close(0); SAFE_RELEASE(g_pDP); } --__--__-- Message: 10 From: kalb <ka...@em...> To: Julian Smart <ju...@an...> Date: Sun, 18 Jul 2004 01:04:25 +0200 Cc: dev...@li... Subject: [Dev-C++] Maybe bug Hi, i'm using wxWindows with Dev-C++ 4.9.8.10. I installed wxWindows = libs and=20 headers using the wxWindows 2.4.2 package. Deriving a class from wxTreeCtrl i obtain a 'parse error before {' in = the=20 class declaration: class MyTree : public wxTreeCtrl { I noticed that compiling the main.cpp, that includes mytree.h, there is = no=20 error. I fixed the problem including wx/list.h before wx/treectrl.h in mytree.h I just want to report this fact, 'cause I'm not sure if there is a bug = in=20 wx/treectrl.h or is simply a documentation error. Thakns for the great work, anyway. Alberto Capuzzo (kalb) =20 =20 -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f =20 Sponsor: La vera mozzarella di Bufala Campana la trovi fresca su Terrasolis.com, = provala! Clicca qui: = http://adv.email.it/cgi-bin/foclick.cgi?mid=3D2499&d=3D18-7/foclick.cgi?m= id=3D2627&d=3D18-78-7 --__--__-- Message: 11 Date: Sat, 17 Jul 2004 19:33:47 -0400 From: "sp...@po..." <sp...@po...> To: =3D?ISO-8859-1?Q?Axel_Buschh=3DFCter?=3D <A_B...@gm...> Cc: dev...@li... Subject: Re: [Dev-C++] DirectPlay Axel Buschh=3DFCter wrote: >Hi, >I installed the directx package and tried to compile the first direct = pl=3D ay >tutorial from the MS-DirectX8 sdk (sdk not installed, because = DX-devpack=3D is >installed). >At the linker section I includet "libdplayx.a" and "libdxguid.a". >In the sourcecode I includet "dplay8.h" (for testing I includet = "dplay.h=3D ", >too). >But if I try to compile the code I get these error messages: > >=3D20 >[Linker error] undefined reference to `CoInitializeEx@8' >[Linker error] undefined reference to `CoCreateInstance@20' >[Linker error] undefined reference to `CoUninitialize@0'=3D20 >[Linker error] undefined reference to `CoCreateInstance@20' >[Build Error] [out/DPlay.exe] Error 1 > > =3D20 > try linking with -lole32 Marek --__--__-- Message: 12 Date: Sat, 17 Jul 2004 16:12:26 -0400 To: kalb <ka...@em...> From: Matthews <dem...@uw...> Subject: Re: [Dev-C++] Class browser update Cc: dev...@li... --=3D=3D=3D=3D=3D=3D=3D7A967137=3D=3D=3D=3D=3D=3D=3D Content-Type: text/plain; x-avg-checked=3Davg-ok-5C0A6907; = charset=3Dus-ascii; format=3Dflowed Content-Transfer-Encoding: 8bit Just save the file. At 03:56 PM 17-07-04, kalb wrote: >Hi, a trivial question: > >how can I force the class browser update when I add a new class, or = function >or variable? The only way I've found since now is to close and re-open = the >project, but I think that there has to be a simpler way... > >I'm using Dev-Cpp 4.9.8.10... > >Thanks. > >kalb --=3D=3D=3D=3D=3D=3D=3D7A967137=3D=3D=3D=3D=3D=3D=3D Content-Type: text/plain; charset=3Dus-ascii; x-avg=3Dcert; = x-avg-checked=3Davg-ok-5C0A6907 Content-Disposition: inline --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.721 / Virus Database: 477 - Release Date: 16-Jul-04 --=3D=3D=3D=3D=3D=3D=3D7A967137=3D=3D=3D=3D=3D=3D=3D-- --__--__-- Message: 13 Date: Sun, 18 Jul 2004 03:03:16 +0200 (MEST) From: =3D?ISO-8859-1?Q?=3D22Axel_Buschh=3DFCter=3D22?=3D = <A_B...@gm...> To: dev...@li...,sp...@po... Subject: Re: [Dev-C++] DirectPlay Yeah, it works !!!!!!!!! :) Thanks a 1000k !!!! But where to get such informations ??? CU, Acki Am 17 Jul 2004 um 19:33 hat sp...@po... geschrieben: > try linking with -lole32 >=20 > Marek >=20 --__--__-- Message: 14 Date: Sat, 17 Jul 2004 21:09:21 -0400 From: "sp...@po..." <sp...@po...> To: dev...@li... Subject: Re: [Dev-C++] DirectPlay Axel Buschh=3DFCter wrote: >Yeah, it works !!!!!!!!! :) >Thanks a 1000k !!!! > >But where to get such informations ??? > =3D20 > usually just search the c:\dev-cpp\lib directory for files = containing=3D20 text - "CoInitializeEx" in this case. Marek --__--__-- _______________________________________________ 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 End of Dev-cpp-users Digest |
From: <nis...@ya...> - 2004-07-22 06:01:42
|
Dear sir, The following c++ program I have executed using Dev -C++ compiler,but I couldn't able to see the out put,as TURBO c complilers generates. How I can see the output using this compiler.Please do help me. #include <iostream.h> #include<conio.h> class example { int a; char b,c; public: example() { a=10; b='n'; c='i'; } example(char x) { b=x; a=12; c='o'; } example(int r ,char y,char z) { a=r; b=y; c=z; } void put(void) { cout <<"a="<<a<<"\n"; cout<<"b="<<b<<"\n"; cout<<"c="<<c<<"\n"; } }; void main(void) { example o,o1('q'),o2(1,'r','s'); //clrscr(); o.put(); o1.put(); o2.put(); //getch(); } Regards, Nisha.P Yahoo! India Careers: Over 65,000 jobsonline. |
From: Scott S. <age...@co...> - 2004-07-22 13:57:25
|
nisha poovathinkal wrote: > Dear sir, > > The following c++ program I have executed using Dev -C++ compiler,but > I couldn't able to see the out put,as TURBO c complilers generates. > How I can see the output using this compiler.Please do help me. > > > #include <iostream.h> //Should be #Include <iostream> > #include<conio.h> //Put 'using namespace std;' after headers are included > class example > { > int a; > char b,c; > public: > example() > { > a=10; > b='n'; > c='i'; > } > example(char x) > { > b=x; > a=12; > c='o'; > } > example(int r ,char y,char z) > { > a=r; > b=y; > c=z; > } > void put(void) > { > cout <<"a="<<a<<"\n"; > cout<<"b="<<b<<"\n"; > cout<<"c="<<c<<"\n"; > } > }; > void main(void) > { > example o,o1('q'),o2(1,'r','s'); > //clrscr(); > o.put(); > o1.put(); > o2.put(); > //getch(); //Use cin.get(); here > } > > Regards, > Nisha.P > > *Yahoo! India Careers* > <http://in.rd.yahoo.com/specials/mailtg/*http://yahoo.naukri.com/>*:* > Over 65,000 jobs online > <http://in.rd.yahoo.com/specials/mailtg2/*http://yahoo.naukri.com/>. > |
From: Eric <eri...@cl...> - 2004-07-25 10:15:06
|
Bye the way you should make your variables more easy to follow example you have used a,b,c,q,r,s,x,y,z, if for exampe "int a" was the input of a part number you might like to make this "int p" or better still "int part" if "char d" was the input of a name you might like to call it "char n" or once againt better still "char name" it just makes the program easier to follow when you came back to it some weeks later, ----- Original Message ----- From: nisha poovathinkal To: dev...@li... Sent: Thursday, July 22, 2004 5:40 PM Subject: [Dev-C++] help Dear sir, The following c++ program I have executed using Dev -C++ compiler,but I couldn't able to see the out put,as TURBO c complilers generates. How I can see the output using this compiler.Please do help me. #include <iostream.h> #include<conio.h> class example { int a; char b,c; public: example() { a=10; b='n'; c='i'; } example(char x) { b=x; a=12; c='o'; } example(int r ,char y,char z) { a=r; b=y; c=z; } void put(void) { cout <<"a="<<a<<"\n"; cout<<"b="<<b<<"\n"; cout<<"c="<<c<<"\n"; } }; void main(void) { example o,o1('q'),o2(1,'r','s'); //clrscr(); o.put(); o1.put(); o2.put(); //getch(); } Regards, Nisha.P Yahoo! India Careers: Over 65,000 jobs online. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.726 / Virus Database: 481 - Release Date: 22-Jul-04 |
From: hamid <fol...@ya...> - 2005-12-10 22:51:40
|
I try to compile a simple code in Dev c++ 4.9.9.2 but the are error message < unrecognized command line option "-fdollar-in-identifiers" > < unrecognized command line option "-fsave-memoized" > Nb :i use just a simple file note a project thanks |
From: Eric E. <eri...@sb...> - 2005-12-10 23:37:15
|
If you post your code we might be able to help! -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of hamid Sent: Saturday, December 10, 2005 3:51 PM To: dev...@li... Subject: [Dev-C++] help I try to compile a simple code in Dev c++ 4.9.9.2 but the are error message < unrecognized command line option "-fdollar-in-identifiers" > < unrecognized command line option "-fsave-memoized" > Nb :i use just a simple file note a project thanks |
From: lordSauron <lor...@gm...> - 2005-12-11 01:04:47
|
u need to use a project - I've never gotten single-file things to work. |
From: Scott <fre...@ve...> - 2005-12-11 02:12:20
|
>u need to use a project - I've never gotten single-file things to work. Really? one of the advantages i noticed with DevC+ over codeblocks is i can just go new source file, paste or write some quick the code and compile no problems. It's really handy for testing those simple things. Cheers, Scott. |
From: Eric E. <eri...@sb...> - 2005-12-11 03:32:37
|
>u need to use a project - I've never gotten single-file things to work. Really? one of the advantages i noticed with DevC+ over codeblocks is i can just go new source file, paste or write some quick the code and compile no problems. It's really handy for testing those simple things. Cheers, Scott. Same here! Use it all the time. Eric ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log = files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick _______________________________________________ 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: lordSauron <lor...@gm...> - 2005-12-11 06:08:25
|
I'm obviously not getting something about DevC++ here... oh well...=20 WAIT!!! duh! I keep pressing "compile project!" I'm soooooooooooooo stupid sometimes... he he - I knew that (not!) Actually, I use keyboard shortcuts, so no wonder I flash over to whatever key is compile project (it's been a while - I've been using KDevelop in Linux for a while now since I haven't booted Windows on my laptop in about a week - it's so nice not worrying when the next fatal system error is!) |
From: 7amood j. <sou...@ho...> - 2008-10-18 19:25:55
|
hi....i really need help .....i have an assighnment in c++ ; the professor wants me to write a program which counts the symbols of a string.... here is the question.... A string is any combination of blanks, letters, digits and/or special characters. Write a C++ program to calculate and print the number of different symbols used in a given string. A blank space counts as one symbol. Input: Any string. The length is limited to 60 characters. For example: Enter a string: Mississipi Test data:#1. “Say good bye!”#2. “The world is round” Output: The number of different symbols. For example, the output for the string “Mississipi” is Number of symbols for the string “Mississippi” is: 4 THIS IS THE QUESTION ...SOO PLZZZZZ IF ANYYONE HERE KNOWS THE ANSWER JUST MSG IT TO ME .....AND HERE IS MY HOTMAIL ADDRES..U CAN SEND THE PROGRAM TO ME ..SOU...@HO.........THNXXX _________________________________________________________________ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE |
From: Philip B. <ph...@bl...> - 2008-10-18 21:10:18
|
Hello there. I doubt that anyone on this list is going to write the program and send it to you... That would completely defeat the point of a "school assignment". However, I'll be glad to give you some pointers in the right direction so that you can then try to write the program based on that information. Let us assume that the number of possible characters is 128. If you think of a character in the string as a number (which is what it really is), a number from 0 to 127, an easy approach would be to create an array of ints to hold the number of times that the particular symbol has so far occured. To give a quick example... int my_array[128]; for int i=0; i<strlen(my_string); i++) my_array[my_string[i]]+=1; Then after you've looped through the entire string and incremented the corresponding array entry for each character that appears in the string, you can simply loop through it again and print out the results. Of course, you don't want to print out the ones that are 0. Hope this clears things up a bit. If not, feel free to ask again and I will try to explain it further. Regards Philip Bennefall ----- Original Message ----- From: 7amood joker To: dev...@li... Sent: Saturday, October 18, 2008 9:25 PM Subject: [Dev-C++] help hi....i really need help .....i have an assighnment in c++ ; the professor wants me to write a program which counts the symbols of a string.... here is the question.... A string is any combination of blanks, letters, digits and/or special characters. Write a C++ program to calculate and print the number of different symbols used in a given string. A blank space counts as one symbol. Input: Any string. The length is limited to 60 characters. For example: Enter a string: Mississipi Test data: #1. “Say good bye!” #2. “The world is round” Output: The number of different symbols. For example, the output for the string “Mississipi” is Number of symbols for the string “Mississippi” is: 4 THIS IS THE QUESTION ...SOO PLZZZZZ IF ANYYONE HERE KNOWS THE ANSWER JUST MSG IT TO ME .....AND HERE IS MY HOTMAIL ADDRES..U CAN SEND THE PROGRAM TO ME ..SOU...@HO.........THNXXX ------------------------------------------------------------------------------ Discover the new Windows Vista Learn more! ------------------------------------------------------------------------------ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ------------------------------------------------------------------------------ _______________________________________________ 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: Fernando L. <fer...@gm...> - 2008-10-18 22:40:26
|
On Sat, Oct 18, 2008 at 5:24 PM, Fernando Lichtschein <fer...@gm...> wrote: > > Dear Whatever is your name (you did not sign), > > If you read carefully and look at the example, what the professor meant with "symbol" is actually a "character". > > Try reading the characters one by one from the input string and comparing them with a list of previously read characters (how you store them is up to you, maybe another string). If it is not there, it is a new symbol, add it to the string and increment the symbol ocunt. > > If it is, you already counted it, move on. > > Have fun (I am also a teacher, so I am not going to solve it for you, you can do it). > > Best regards, > > Fernando > > 2008/10/18 7amood joker <sou...@ho...> >> >> hi....i really need help .....i have an assighnment >> in c++ ; >> >> >> the professor wants me to write a program which counts the symbols of a >> string.... here is the question.... >> >> >> >> >> A string is any combination of >> blanks, letters, digits and/or special characters. >> >> Write a C++ program to calculate and print the number of different >> symbols used in a given string. A blank space counts as one symbol. >> >> Input: Any string. The length is limited to 60 characters. For >> example: >> >> Enter a string: Mississipi >> >> Test data: >> #1. "Say good bye!" >> #2. "The world is >> round" >> >> Output: The number of different symbols. For example, the output for the >> string "Mississipi" is >> >> Number of symbols for the string "Mississippi" is: 4 >> >> >> >> >> >> >> THIS IS THE QUESTION ...SOO PLZZZZZ IF ANYYONE HERE KNOWS THE ANSWER >> JUST MSG IT TO ME .....AND HERE IS MY HOTMAIL ADDRES..U CAN SEND THE >> PROGRAM TO ME ..SOU...@HO.........THNXXX >> >> ________________________________ >> Discover the new Windows Vista Learn more! >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> >> _______________________________________________ >> 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: Eric <eri...@wo...> - 2008-10-23 11:20:17
|
IT DOES NOT MATTER ANY MORE, I DONT NEED TO KNOW ANYTHING FROM THIS GROUP INTERESTING HOW THERE IS A TEACHER IN THE GROUP, I TAKE IT HE DOES NOT NOT TEACH C++ ----- Original Message ----- Sent: Wednesday, October 22, 2008 6:12 AM Subject: Re: [Dev-C++] help Does this problem need the "C++ feature" to solve or could just be done with C or C/C++ hybrid? it seem to me you omly need C or C/C++ hybrid, and classes would only confuse the issue. >From Eric ----- Original Message ----- From: Fernando Lichtschein <fer...@gm...> To: Dev-C++ Mailing <Dev...@li...> Sent: Sunday, October 19, 2008 11:40 AM Subject: Re: [Dev-C++] help On Sat, Oct 18, 2008 at 5:24 PM, Fernando Lichtschein <fer...@gm...> wrote: > > Dear Whatever is your name (you did not sign), > > If you read carefully and look at the example, what the professor meant with "symbol" is actually a "character". > > Try reading the characters one by one from the input string and comparing them with a list of previously read characters (how you store them is up to you, maybe another string). If it is not there, it is a new symbol, add it to the string and increment the symbol ocunt. > > If it is, you already counted it, move on. > > Have fun (I am also a teacher, so I am not going to solve it for you, you can do it). > > Best regards, > > Fernando > > 2008/10/18 7amood joker <sou...@ho...> >> >> hi....i really need help .....i have an assighnment >> in c++ ; >> >> >> the professor wants me to write a program which counts the symbols of a >> string.... here is the question.... >> >> >> >> >> A string is any combination of >> blanks, letters, digits and/or special characters. >> >> Write a C++ program to calculate and print the number of different >> symbols used in a given string. A blank space counts as one symbol. >> >> Input: Any string. The length is limited to 60 characters. For >> example: >> >> Enter a string: Mississipi >> >> Test data: >> #1. "Say good bye!" >> #2. "The world is >> round" >> >> Output: The number of different symbols. For example, the output for the >> string "Mississipi" is >> >> Number of symbols for the string "Mississippi" is: 4 >> The contents of this Email and any files transmitted with it are not >> confidential and intended for the use of the individual or entity to >> whom this Email is addressed to. The views stated herein do not necessarily >> represent the view of myself been in sound mind and body it the time I >> composed this Email. I knew what I was doing when I selected your Email >> address, so you are the intended recipient of this Email, GET A GRIP!!! >> don't procrastinate with endless excuses. You may copy, forward, >> disclose, print, delete it or otherwise use it or any part of it, in any >> form you can think of. After you have received this mail please feel >> free to Email the sender (me) with a personnel Email anytime, but NOT >> black text on white background HTML format. if you been the sender >> intend to send me a Email in HTML format, please add some living color >> to compensate the slightly wasted internet bandwidth, longer download >> time and wasted space of my hard drive as if I decide to save that Email >> (only for archive purposes), due to the fact that HTML Emails are two >> and half times bigger than the same Email content posted in plain text >> format. If you been the sender decide to send me been the receiver a >> attachment file larger than 200Kb in file size please give me prior >> courtesy to ask if I would like to receive it, as I been the receiver >> have a slow dial up connection speed and often other members of the >> household want to use the phone only when I go on Internet. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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 -- No virus found in this incoming message. Checked by AVG. Version: 7.5.549 / Virus Database: 270.8.2/1735 - Release Date: 20-Oct-08 14:52 |
From: Per W. <pw...@ia...> - 2008-10-23 13:06:09
|
You ask the question "Does this problem need the "C++ feature" to solve or could just be done with C or C/C++ hybrid?" and get angry that people on the list doesn't answers the question. Of course you can count symbols using C or using C++ objects or anything in between. The original problem is trivial and most batch script languages can even be used to solve it. But only the original poster can possibly know exactly what language choices his professor expects to receive the solution in. Or are you saying that you "Eric" is the same person as "Fernando Lichtschein"? /pwm On Fri, 24 Oct 2008, Eric wrote: > IT DOES NOT MATTER ANY MORE, I DONT NEED TO KNOW ANYTHING FROM THIS GROUP > > > INTERESTING HOW THERE IS A TEACHER IN THE GROUP, I TAKE IT HE DOES NOT NOT > TEACH C++ > > > ----- Original Message ----- > > Sent: Wednesday, October 22, 2008 6:12 AM > Subject: Re: [Dev-C++] help > > > Does this problem need the "C++ feature" to solve or could just be done with > C or C/C++ hybrid? > it seem to me you omly need C or C/C++ hybrid, and classes would only > confuse the issue. > > > > >From Eric > > > ----- Original Message ----- > From: Fernando Lichtschein <fer...@gm...> > To: Dev-C++ Mailing <Dev...@li...> > Sent: Sunday, October 19, 2008 11:40 AM > Subject: Re: [Dev-C++] help > > > On Sat, Oct 18, 2008 at 5:24 PM, Fernando Lichtschein > <fer...@gm...> wrote: > > > > Dear Whatever is your name (you did not sign), > > > > If you read carefully and look at the example, what the professor meant > with "symbol" is actually a "character". > > > > Try reading the characters one by one from the input string and comparing > them with a list of previously read characters (how you store them is up to > you, maybe another string). If it is not there, it is a new symbol, add it > to the string and increment the symbol ocunt. > > > > If it is, you already counted it, move on. > > > > Have fun (I am also a teacher, so I am not going to solve it for you, you > can do it). > > > > Best regards, > > > > Fernando > > > > 2008/10/18 7amood joker <sou...@ho...> > >> > >> hi....i really need help .....i have an assighnment > >> in c++ ; > >> > >> > >> the professor wants me to write a program which counts the symbols of a > >> string.... here is the question.... > >> > >> > >> > >> > >> A string is any combination of > >> blanks, letters, digits and/or special characters. > >> > >> Write a C++ program to calculate and print the number of different > >> symbols used in a given string. A blank space counts as one symbol. > >> > >> Input: Any string. The length is limited to 60 characters. For > >> example: > >> > >> Enter a string: Mississipi > >> > >> Test data: > >> #1. "Say good bye!" > >> #2. "The world is > >> round" > >> > >> Output: The number of different symbols. For example, the output for the > >> string "Mississipi" is > >> > >> Number of symbols for the string "Mississippi" is: 4 > > >> The contents of this Email and any files transmitted with it are not > >> confidential and intended for the use of the individual or entity to > >> whom this Email is addressed to. The views stated herein do not > necessarily > >> represent the view of myself been in sound mind and body it the time I > >> composed this Email. I knew what I was doing when I selected your Email > >> address, so you are the intended recipient of this Email, GET A GRIP!!! > >> don't procrastinate with endless excuses. You may copy, forward, > >> disclose, print, delete it or otherwise use it or any part of it, in any > >> form you can think of. After you have received this mail please feel > >> free to Email the sender (me) with a personnel Email anytime, but NOT > >> black text on white background HTML format. if you been the sender > >> intend to send me a Email in HTML format, please add some living color > >> to compensate the slightly wasted internet bandwidth, longer download > >> time and wasted space of my hard drive as if I decide to save that Email > >> (only for archive purposes), due to the fact that HTML Emails are two > >> and half times bigger than the same Email content posted in plain text > >> format. If you been the sender decide to send me been the receiver a > >> attachment file larger than 200Kb in file size please give me prior > >> courtesy to ask if I would like to receive it, as I been the receiver > >> have a slow dial up connection speed and often other members of the > >> household want to use the phone only when I go on Internet. > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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 > > > -- > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.549 / Virus Database: 270.8.2/1735 - Release Date: 20-Oct-08 > 14:52 > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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: Eric <eri...@wo...> - 2008-10-21 17:13:21
|
Does this problem need the "C++ feature" to solve or could just be done with C or C/C++ hybrid? it seem to me you omly need C or C/C++ hybrid, and classes would only confuse the issue. >From Eric ----- Original Message ----- From: Fernando Lichtschein <fer...@gm...> To: Dev-C++ Mailing <Dev...@li...> Sent: Sunday, October 19, 2008 11:40 AM Subject: Re: [Dev-C++] help On Sat, Oct 18, 2008 at 5:24 PM, Fernando Lichtschein <fer...@gm...> wrote: > > Dear Whatever is your name (you did not sign), > > If you read carefully and look at the example, what the professor meant with "symbol" is actually a "character". > > Try reading the characters one by one from the input string and comparing them with a list of previously read characters (how you store them is up to you, maybe another string). If it is not there, it is a new symbol, add it to the string and increment the symbol ocunt. > > If it is, you already counted it, move on. > > Have fun (I am also a teacher, so I am not going to solve it for you, you can do it). > > Best regards, > > Fernando > > 2008/10/18 7amood joker <sou...@ho...> >> >> hi....i really need help .....i have an assighnment >> in c++ ; >> >> >> the professor wants me to write a program which counts the symbols of a >> string.... here is the question.... >> >> >> >> >> A string is any combination of >> blanks, letters, digits and/or special characters. >> >> Write a C++ program to calculate and print the number of different >> symbols used in a given string. A blank space counts as one symbol. >> >> Input: Any string. The length is limited to 60 characters. For >> example: >> >> Enter a string: Mississipi >> >> Test data: >> #1. "Say good bye!" >> #2. "The world is >> round" >> >> Output: The number of different symbols. For example, the output for the >> string "Mississipi" is >> >> Number of symbols for the string "Mississippi" is: 4 >> The contents of this Email and any files transmitted with it are not >> confidential and intended for the use of the individual or entity to >> whom this Email is addressed to. The views stated herein do not necessarily >> represent the view of myself been in sound mind and body it the time I >> composed this Email. I knew what I was doing when I selected your Email >> address, so you are the intended recipient of this Email, GET A GRIP!!! >> don't procrastinate with endless excuses. You may copy, forward, >> disclose, print, delete it or otherwise use it or any part of it, in any >> form you can think of. After you have received this mail please feel >> free to Email the sender (me) with a personnel Email anytime, but NOT >> black text on white background HTML format. if you been the sender >> intend to send me a Email in HTML format, please add some living color >> to compensate the slightly wasted internet bandwidth, longer download >> time and wasted space of my hard drive as if I decide to save that Email >> (only for archive purposes), due to the fact that HTML Emails are two >> and half times bigger than the same Email content posted in plain text >> format. If you been the sender decide to send me been the receiver a >> attachment file larger than 200Kb in file size please give me prior >> courtesy to ask if I would like to receive it, as I been the receiver >> have a slow dial up connection speed and often other members of the >> household want to use the phone only when I go on Internet. |
From: Ioannis V. <no...@ya...> - 2001-02-20 22:14:58
|
If you want to learn C++ well, you must read books. I suggest you begin with "Teach Yourself C++ in 21 Days", by Jesse Liberty, Sams Publishing. There are translations in various languages, e.g. in mine it is translated with a name which in english means "C++ manual" but you can find it by the publisher which is Sams Publishing. I hope i was helpful. Regards, Ioannis * Ioannis Vranos * Programming pages: http://members.nbci.com/noicys * Alternative URL: http://run.to/noicys -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Gatis Zvejnieks Sent: Wednesday, December 20, 2000 9:17 PM To: dev...@li... Subject: [Dev-C++] help I just started to use Dev-C++ and can't understand how to write programs. I traid to red the help but it's to har for me. I have no expirience with C++ and allmoust no programming experience. I want to learn it. Please help me. It would be great if somebody could send me some simple programms witch I can study. Gatis. |
From: Jared E. <ja...@vo...> - 2001-02-20 23:41:28
|
C/C++ is a very hard language to learn on your own, especially with no other programming knowledge. I would suggest learning a scripting language like python and then moving up to C/C++ or taking classes on C/C++. - Jared At 09:17 PM 12/20/2000 +0200, you wrote: >I just started to use Dev-C++ and can't understand how to write programs. >I traid to red the help but it's to har for me. I have no expirience with >C++ and allmoust no programming experience. I want to learn it. Please >help me. It would be great if somebody could send me some simple programms >witch I can study. >Gatis. |
From: Ioannis V. <no...@ya...> - 2001-02-21 01:01:49
|
Now i disagree with that. :) I learned C on my own (Teach Yourself C in 21 Days and K&R) and now i am learning C++ on my own (Teach Yourself C++ in 21 Days and currently reading Bjarne Stroustrup's "The C++ Programming Language" Special Edition). To learn C++ is not a prerequisite to know C or another programming language. I am not advertising a book but speaking of my knowledge if he reads Teach Yourself C++ in 21 days he will become an efficient C++ programmer. After all C++ is a multiparadigm language (that's why is so huge) and you need not know it all so as to write efficient code. If he then wants to learn it all, he can proceed in Special Edition (1000 deep thinking book). C++ is not an alien language, but written by humans for humans to do our job in an efficient way. From my experience, if he has to choose between C & C++, my advice is C++ since it has high level constructs (more easy to work with than low level C). As for the efficiency of the code, C++ programs have the same speed or better. Also if you write code in the right style, you have no need for manual memory allocation & deallocation and thus possibility of errors. And many more benefits. I suggest take a look at one interview. The only thing one needs to learn C++ programming is wish to learn it. :) Ioannis * Ioannis Vranos * Programming pages: http://members.nbci.com/noicys * Alternative URL: http://run.to/noicys > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of > Jared Eckersley > Sent: Wednesday, February 21, 2001 1:39 AM > To: dev...@li... > Subject: Re: [Dev-C++] help > > > C/C++ is a very hard language to learn on your own, especially with no > other programming knowledge. I would suggest learning a scripting > language > like python and then moving up to C/C++ or taking classes on C/C++. > - Jared > At 09:17 PM 12/20/2000 +0200, you wrote: > >I just started to use Dev-C++ and can't understand how to write > programs. > >I traid to red the help but it's to har for me. I have no > expirience with > >C++ and allmoust no programming experience. I want to learn it. Please > >help me. It would be great if somebody could send me some simple > programms > >witch I can study. > >Gatis. > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
From: Frazell T. <fr...@fl...> - 2001-02-21 01:17:55
|
Why? I know a great deal of C and VB all which I learned on my own I learn 98% of what's makes me so knowledgeable on my own you cant put another persons mental ability in a box by telling them what they can and cant achieve speak for yourself don't push him from the light instead point him to it and allow him to judge his limits You may find this information ( How to program in C ) I recommend using google to search for "C Programming Tutorials" ( A book is a great way also ) A good site with alott of links is at http://run.to/noicys also :O) -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Jared Eckersley Sent: Tuesday, February 20, 2001 6:39 PM To: dev...@li... Subject: Re: [Dev-C++] help C/C++ is a very hard language to learn on your own, especially with no other programming knowledge. I would suggest learning a scripting language like python and then moving up to C/C++ or taking classes on C/C++. - Jared At 09:17 PM 12/20/2000 +0200, you wrote: >I just started to use Dev-C++ and can't understand how to write programs. >I traid to red the help but it's to har for me. I have no expirience with >C++ and allmoust no programming experience. I want to learn it. Please >help me. It would be great if somebody could send me some simple programms >witch I can study. >Gatis. _______________________________________________ Dev-cpp-users mailing list Dev...@li... http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
From: Jared E. <ja...@vo...> - 2001-02-21 02:18:09
|
If you have NO programming experience, C/C++ is the hard route. Learning a scripting language (Python or Visual Basic etc..) is the less stressful approach to getting your feet wet. Some people, with no experience, can get thrown into the swimming pool and swim, but most tend to sink. I also have found that learning on your own is a great way to learn, but getting the basics down first is a must. C/C++ is one of the most difficult languages for new programmers. C/C++ is definitely worth learning, but is not the best path to go when you have no previous programming experience. Thats my $.02 - Jared At 08:20 PM 2/20/2001 -0500, you wrote: >Why? I know a great deal of C and VB all which I learned on my own I learn >98% of what's makes me so knowledgeable on my own you cant put another >persons mental ability in a box by telling them what they can and cant >achieve speak for yourself don't push him from the light instead point him >to it and allow him to judge his limits > > >You may find this information ( How to program in C ) > I recommend using google to search for "C Programming Tutorials" > ( A book >is a great way also ) > A good site with alott of links is at http://run.to/noicys also >:O) > > > >-----Original Message----- >From: dev...@li... >[mailto:dev...@li...]On Behalf Of Jared >Eckersley >Sent: Tuesday, February 20, 2001 6:39 PM >To: dev...@li... >Subject: Re: [Dev-C++] help > >C/C++ is a very hard language to learn on your own, especially with no >other programming knowledge. I would suggest learning a scripting language >like python and then moving up to C/C++ or taking classes on C/C++. >- Jared >At 09:17 PM 12/20/2000 +0200, you wrote: > >I just started to use Dev-C++ and can't understand how to write programs. > >I traid to red the help but it's to har for me. I have no expirience with > >C++ and allmoust no programming experience. I want to learn it. Please > >help me. It would be great if somebody could send me some simple programms > >witch I can study. > >Gatis. > > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
From: Jared E. <ja...@vo...> - 2001-02-21 02:09:53
|
what is the correct way to cause a system pause ? Thanks, Jared |
From: Ray W. <ra...@in...> - 2001-02-21 02:25:04
|
Be sure and include the following: #include <cstdlib> and then you can use: system("PAUSE"); ray. At 04:06 PM 2/20/01 -1000, you wrote: >what is the correct way to cause a system pause ? >Thanks, >Jared > > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > Ray Witter |