dev-cpp-users Mailing List for Dev-C++ (Page 237)
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...> - 2004-03-25 22:52:32
|
Mats Lidstrom wrote: > It's been suggested many many times now. And I sure hope it gets fixed = soon! That surely will never happen, as the developers of Dev-C++ don't read=20 this list at all. -- Greetings, Bal=E1zs |
|
From: Site R. <sit...@fl...> - 2004-03-25 22:47:46
|
you wrote: Hello guys. It is always better to include winresrc.h instead of windows.h. You'll = see... Can you please give any reasons how that is so? I don't notice any = difference in size or anything. Thanks. |
|
From: Site R. <sit...@fl...> - 2004-03-25 21:13:17
|
Ha, nevermind! You were exactly right, I needed to include windows.h. I = never knew you needed to do that before. Well I guess just since the = style part of the dialog definition needed those constants from = windows.h. It works now! The only way I came across that was because on the resources tab, it = said "parse error on line 6", which was where the style thing was. = Thanks! Brandon -- Site Resources=20 How to get your web host screaming "NoMoreHits"=20 More Site Traffic - Don't Touch My Ads ----- Original Message -----=20 From: Oladipo Odumosu=20 To: dev...@li...=20 Sent: Thursday, March 25, 2004 6:02 AM Subject: [Dev-C++] (no subject) hope siteresources won't flood the list seeing he's from floodcity :D anyhow, i think the problem is he didn't include windows.h in his resource file. correct me if i'm wrong. besides, he's not told us EXACTLY what went wrong. cheers ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping"=20 your friends today! Download Messenger Now=20 http://uk.messenger.yahoo.com/download/index.html ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system = administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck _______________________________________________ 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: Mats L. <mat...@to...> - 2004-03-25 17:41:30
|
It's been suggested many many times now. And I sure hope it gets fixed soon! From: "Malcolm Nealon" <m.n...@wa...> > Hello dev-cpp-users, > > Would it be possible for the list to correct the headers in the mails? > > I (and probably others) would like to click on reply and for that > reply to go back to the list, not to the sender of the original > mailing. > > This works on other sourceforge lists, and I wonder if it could be > implemented here. |
|
From: Malcolm N. <m.n...@wa...> - 2004-03-25 16:12:17
|
Hello fulvio, Thursday, March 25, 2004, 3:39:43 PM, you wrote: fli> Hi all, fli> i'm trying to download DirectX9 package with Update Manager fli> in Dev-C++ 4.9.8.7, but it tells me that there's no such file on fli> the server. So i try with other packages, but the result is the fli> same. Could someone help me! I wanna download DirectX9 package!! Don't use Update Manager. Download from here : http://gproductions.dazart.de/modules.php?name=Downloads&d_op=viewdownload&cid=7 Once downloaded, double click on the file, Package Manager does the rest. Don't forget to copy the DLL's to your Windows System directory. -- Best regards, Malcolm mailto:m.n...@wa... |
|
From: Ron N. <ro...@do...> - 2004-03-25 15:43:46
|
On the webupdate window select the planetmirror.com. The other one that I have listed, Andreas Aberg's server did not have very many of the packages. I was able to dl the dx9 package from planetmirror.com. Ron -----Original Message----- From: ful...@li... [mailto:ful...@li...] Sent: Thursday, March 25, 2004 8:40 AM To: dev-cpp-users Subject: [Dev-C++] Some problem downloading package Hi all, i'm trying to download DirectX9 package with Update Manager in Dev-C++ 4.9.8.7, but it tells me that there's no such file on the server. So i try with other packages, but the result is the same. Could someone help me! I wanna download DirectX9 package!! Fulvio Esposito ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&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: fulvio_esposito1981\@libero\.it <ful...@li...> - 2004-03-25 14:39:54
|
Hi all, i'm trying to download DirectX9 package with Update Manager in D= ev-C++ 4.9.8.7, but it tells me that there's no such file on the server. = So i try with other packages, but the result is the same. Could someone h= elp me! I wanna download DirectX9 package!! Fulvio Esposito |
|
From: <gen...@ya...> - 2004-03-25 14:21:26
|
if you're so particular, go to http://www.mindview.net & get Bruce Eckel's 'Thinking in C++'. what you're looking for should be in volume 2, but i think you should go through volume 1 first to understand C++ syntax. yeah, and go search Google with the term 'bullschildt'. ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html |
|
From: <gen...@ya...> - 2004-03-25 14:20:52
|
if you're so particular, go to http://www.mindview.net & get Bruce Eckel's 'Thinking in C++'. what you're looking for should be in volume 2, but i think you should go through volume 1 first to understand C++ syntax. ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html |
|
From: Jay B. <jay...@ni...> - 2004-03-25 13:42:45
|
[snip] Hi,it's me again! My problems with Dev-cpp have not finished. So I want to ask you if you know a=20 web site where I can learn a bit more about input and output functions (cin=20 and cout, for example) and classes. I have already read a book by Helbert=20 Schildt, but I keep misunderstanding the point. I don't want to buy another=20 book, as they cost too much, but I want a suggestion for a web site. Thank you=20 very much [/snip] Have you tried searching on Google? http://www.google.com |
|
From: Erika B. <eri...@st...> - 2004-03-25 13:32:38
|
Hi,it's me again! My problems with Dev-cpp have not finished. So I want to ask you if you k= now a=20 web site where I can learn a bit more about input and output functions (c= in=20 and cout, for example) and classes. I have already read a book by Helbert= =20 Schildt, but I keep misunderstanding the point. I don't want to buy anoth= er=20 book, as they cost too much, but I want a suggestion for a web site. Than= k you=20 very much Erika |
|
From: <gen...@ya...> - 2004-03-25 12:49:38
|
well, since the matter came up, identifiers like IDOK, etc usually aren't defined by the resource compiler. a lot of times i found i've had to include windows.h in a resource file to make it work. maybe 'cos i used to use msvc, but i happend to have done the same in mingw with no harmful results. ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html |
|
From: Malcolm N. <m.n...@wa...> - 2004-03-25 12:43:22
|
Hello dev-cpp-users, Would it be possible for the list to correct the headers in the mails? I (and probably others) would like to click on reply and for that reply to go back to the list, not to the sender of the original mailing. This works on other sourceforge lists, and I wonder if it could be implemented here. -- Best regards, Malcolm |
|
From: Malcolm N. <m.n...@wa...> - 2004-03-25 12:18:57
|
Hello Oladipo, Thursday, March 25, 2004, 12:02:24 PM, you wrote: OO> hope siteresources won't flood the list seeing he's OO> from floodcity :D anyhow, i think the problem is he OO> didn't include windows.h in his resource file. correct OO> me if i'm wrong. besides, he's not told us EXACTLY OO> what went wrong. He doesn't need to. See my earlier post (which went directly to Siteresource instead of the list), which I have resent, now to the list. I managed to use only his code and get a working program. -- Best regards, Malcolm |
|
From: Site R. <sit...@fl...> - 2004-03-25 11:14:18
|
I've never seen anyone include windows.h in a resource file before. It = doesn't use anything from windows.h anyway. lol I did tell you what went wrong, at the bottom of my email, I gave = the exact error I got. That's all th einformation Ihave about what went = wrong. Brandon |
|
From: <gen...@ya...> - 2004-03-25 11:03:20
|
hope siteresources won't flood the list seeing he's from floodcity :D anyhow, i think the problem is he didn't include windows.h in his resource file. correct me if i'm wrong. besides, he's not told us EXACTLY what went wrong. cheers ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html |
|
From: Malcolm N. <m.n...@wa...> - 2004-03-25 11:03:06
|
Hello Site, Thursday, March 25, 2004, 3:51:19 AM, you wrote: SR> Sorry for posting again. This is really stumping SR> me. I tried adding a resource file to my project. In one of my projects it works SR> perfectly fine, but it doesn't seem to want to do so now. I selected new source SR> file, it asked me if I was sure I wanted to add a new one to the project, I SR> selected yes, and saved the files as editor.h and editor.rc. then of course I SR> had my main.cpp. It worked fine until I added the dialog in my .rc SR> file. Don't add a resource file as a source file. What youwant to do is add a new resource file. (File/New/Resource File. I created a new windows project, copied your edit.cpp text into the new main.cpp. Then I created a new resource file copied your text therein, and finally a new source file copied your text therein, saved them all (giving them the correct names) and compiled. NO Problem. Possibly you are creating a new source file instead of a new resource file?? -- Best regards, Malcolm |
|
From: Site R. <sit...@fl...> - 2004-03-25 02:51:30
|
Sorry for posting again. This is really stumping me. I tried adding a =
resource file to my project. In one of my projects it works perfectly =
fine, but it doesn't seem to want to do so now. I selected new source =
file, it asked me if I was sure I wanted to add a new one to the =
project, I selected yes, and saved the files as editor.h and editor.rc. =
then of course I had my main.cpp. It worked fine until I added the =
dialog in my .rc file.
My project is not too large, so I will add all the code right here, in =
case that is the reason why. or maybe I am doing something wrong?
//// editor.rc
#include "editor.h"
IDR_MAINMENU MENU
{
POPUP "&File"
{
MENUITEM "&New", IDM_FILE_NEW
}
}
IDR_SENTENCES DIALOG 0, 0, 200, 200
STYLE WS_POPUP|WS_CAPTION|WS_SYSMENU
CAPTION "Sentences"
{
EDITTEXT IDD_EDIT, 2, 2, 197, 178, ES_READONLY
DEFPUSHBUTTON "OK", IDOK, 80, 182, 25, 14
}
/// editor.h
#ifndef __EDITOR_H
#define __EDITOR_H
#define IDR_MAINMENU 110
#define IDM_FILE_NEW 111
#define IDR_SENTENCES 112
#define IDD_EDIT 113
#endif // __EDITOR_H
// editor.cpp
#include "editor.h"
#include <windows.h>
/* Declare Windows procedure */
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);
// dialog procedure for the sentences
BOOL CALLBACK DlgProc(HWND, UINT, WPARAM, LPARAM);
/* Make the class name into a global variable */
char szClassName[ ] =3D "WindowsApp";
int WINAPI WinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
LPSTR lpszArgument,
int nFunsterStil)
{
HWND hwnd; /* This is the handle for our window */
MSG messages; /* Here messages to the application are =
saved */
WNDCLASSEX wincl; /* Data structure for the windowclass */
/* The Window structure */
wincl.hInstance =3D hThisInstance;
wincl.lpszClassName =3D szClassName;
wincl.lpfnWndProc =3D WindowProcedure; /* This function is =
called by windows */
wincl.style =3D CS_DBLCLKS; /* Catch double-clicks =
*/
wincl.cbSize =3D sizeof (WNDCLASSEX);
/* Use default icon and mouse-pointer */
wincl.hIcon =3D LoadIcon (NULL, IDI_APPLICATION);
wincl.hIconSm =3D LoadIcon (NULL, IDI_APPLICATION);
wincl.hCursor =3D LoadCursor (NULL, IDC_ARROW);
wincl.lpszMenuName =3D NULL; // MAKEINTRESOURCE(IDR_MAINMENU);
wincl.cbClsExtra =3D 0; /* No extra bytes after =
the window class */
wincl.cbWndExtra =3D 0; /* structure or the =
window instance */
/* Use Windows's default color as the background of the window */
wincl.hbrBackground =3D (HBRUSH) COLOR_BACKGROUND;
/* Register the window class, and if it fails quit the program */
if (!RegisterClassEx (&wincl))
return 0;
/* The class is registered, let's create the program*/
hwnd =3D CreateWindowEx (
0, /* Extended possibilites for variation =
*/
szClassName, /* Classname */
"Windows App", /* Title Text */
WS_OVERLAPPEDWINDOW, /* default window */
CW_USEDEFAULT, /* Windows decides the position */
CW_USEDEFAULT, /* where the window ends up on the =
screen */
640, /* The programs width */
480, /* and height in pixels */
HWND_DESKTOP, /* The window is a child-window to =
desktop */
NULL, /* No menu */
hThisInstance, /* Program Instance handler */
NULL /* No Window Creation data */
);
/* Make the window visible on the screen */
ShowWindow (hwnd, nFunsterStil);
/* Run the message loop. It will run until GetMessage() returns 0 */
while (GetMessage (&messages, NULL, 0, 0))
{
/* Translate virtual-key messages into character messages */
TranslateMessage(&messages);
/* Send message to WindowProcedure */
DispatchMessage(&messages);
}
/* The program return-value is 0 - The value that PostQuitMessage() =
gave */
return messages.wParam;
}
/* This function is called by the Windows function DispatchMessage() =
*/
LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM =
wParam, LPARAM lParam)
{
HWND p[8];
HWND sentences;
switch (message) /* handle the messages */
{
case WM_CREATE:
{
DWORD hpos;
int i=3D0;
for (hpos =3D 10; hpos < 590; hpos +=3D 145, i++)
{
p[i] =3D CreateWindow("EDIT", "", WS_VISIBLE|WS_CHILD, hpos, 5, =
100, 50, hwnd, (HMENU)(100 + i), GetModuleHandle(0), NULL);
} // end for
=20
SetWindowText(p[0], "La Casa");
SetWindowText(p[1], "El Restaurante");
SetWindowText(p[2], "El Museo");
SetWindowText(p[3], "El Hotel");
=20
i=3D4;
for (hpos =3D 10; hpos < 590; hpos +=3D 145, i++)
{
p[i] =3D CreateWindow("EDIT", "", WS_VISIBLE|WS_CHILD, hpos, =
150, 100, 50, hwnd, (HMENU)(100 + i), GetModuleHandle(0), NULL);
} // end for
=20
SetWindowText(p[4], "La Tienda");
SetWindowText(p[5], "El Cine");
SetWindowText(p[6], "La Biblioteca");
SetWindowText(p[7], "El Correo");
=20
=20
=20
sentences =3D CreateWindow("BUTTON", "Sentences", =
WS_VISIBLE|WS_CHILD|BS_DEFPUSHBUTTON, 250, 250, 75, 50, hwnd, =
(HMENU)108, GetModuleHandle(0), NULL);
}
break;
case WM_COMMAND:
switch (LOWORD(wParam))
{
case 108:
DialogBox(GetModuleHandle(0), MAKEINTRESOURCE(IDR_SENTENCES), hwnd, =
DlgProc);
break;
}
break;
case WM_DESTROY:
PostQuitMessage (0); /* send a WM_QUIT to the message =
queue */
break;
default: /* for messages that we don't deal =
with */
return DefWindowProc (hwnd, message, wParam, lParam);
}
return 0;
}
BOOL CALLBACK DlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
switch (msg)
{
case WM_INITDIALOG:
SetDlgItemText(hwnd, IDD_EDIT, "hi");
break;
case WM_COMMAND:
switch (LOWORD(wParam))
{
case IDCANCEL:
EndDialog(hwnd, IDCANCEL);
break;
} // end switch
break;
default:
return FALSE;
} // end switch
return TRUE;
}
// end of project
I know the name doesn't quite fit the purpose! but oh well. I am just =
very stumped about this, why it is doing this. There error I get is =
something like the following:
"C:\Dev-Cpp\projects\editor\makefile.... [build error] =
[editor_private.res] error 1"
thanks for any help, again.
Brandon |
|
From: Jay B. <jay...@ni...> - 2004-03-24 19:17:57
|
[snip] My name is Fausto and I=B4m a newer user of this list.=20 Where can I get more examples of C Programing?=20 [/snip] Google is your friend... http://www.google.com |
|
From: Fausto L. <fa...@ya...> - 2004-03-24 18:57:39
|
Hi! My name is Fausto and I´m a newer user of this list. Where can I get more examples of C Programing? Thanks, Fausto Levandoski __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html |
|
From: Site R. <sit...@fl...> - 2004-03-24 03:07:21
|
hi, I was looking at the cvs option in Dev C++. What cvs program goes well = with this? I use something called cvsnt, and Dev C++ seemed not to like = it. I figured it would be really nice if Dev C++ would take care of my = committing files to cvs for me, because I always forget the commands to = do certain things, except for the basics, in cvs. But it did not seem to = go along with my cvs program. Are there any it does work with well? = Thanks. |
|
From: Jorge M. <jma...@ia...> - 2004-03-23 19:45:42
|
Hi,
On windows you need to include "winsock2.h" (not "sys/socket.h") to your
project.
Jorge
Verma, Nitin (GE Consumer & Industrial) wrote:
> Hi All,
>
> Where is sys/socket.h on windows?
>
> -- Nitin
|
|
From: Reid T. <Rei...@at...> - 2004-03-23 19:31:54
|
i do not believe it exists in windows or mingw. =20 =20 =20 reid=20 -----Original Message----- From: Verma, Nitin (GE Consumer & Industrial) [mailto:NIT...@AP...]=20 Sent: Tuesday, March 23, 2004 12:45 PM To: dev...@li... Subject: [Dev-C++] Win Novice =09 =09 Hi All, =20 Where is sys/socket.h on windows? =20 -- Nitin |
|
From: Mikael L. <cbt...@ma...> - 2004-03-23 02:03:44
|
Alessandro Bugatti wrote: > Hi, > I tried to use the STL list in order to insert and erase some element, > but if I look to the memory usage of my program it seems when I erase > elements the memory occupation it is the same (also if I use clear()). > > [snip] Since you create your elements with new, you'll have to call delete on them yourself. Either that or use a smart-pointer class. -Mikael Lax |
|
From: Daniel K. O. <dan...@ya...> - 2004-03-22 23:52:16
|
Gustavo López wrote:
> I have a problem when compiling. I use assembly and when i write code
> like:
>
> void set_video(void){
> __asm__ __volatile__("
> movw $0,%ax
> int $0x10
> ");
> }
>
> then i compile it and it works, but when i run the program i get an
> error message.
> I know the problem is the line "int 0x10".
> Does anyone how it could work?
It couldn't work. MinGW generates Win32 exe's, so you can't call
interruptions.
If you really feel like using interruptions, and not the Win32 API,
download DJGPP, compile your program with it, and run your program in
DOS environment (aka: not on Win NT/2k/XP).
Remember that if you're programming in a real operating system, you
should use system calls, not interruptions.
Daniel K. O.
|