dev-cpp-users Mailing List for Dev-C++ (Page 209)
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: Brian W. <nig...@ho...> - 2004-06-14 21:20:45
|
<html><div style='background-color:'><DIV class=RTE>Couple questions about C++ compilers. Do they all have the ability to plugin assembly?</DIV>
<DIV class=RTE>IE: With VC++ 6.0 </DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>__asm{</DIV>
<DIV class=RTE> -insert assembly here- </DIV>
<DIV class=RTE> }</DIV>
<DIV class=RTE>Will this work with all compilers. I mainly want this for Linux programming. If anyone knows of a C++ compiler for Linux that has easy assembly plugin context, please tell. I want to do this to have complete control over video. I also have questions about networking through code but i'll get to that later. Thanks for time, please respond soon. Time is sacred while exams are here(High School).</DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMAENUS/2755??PS=47575">Is your PC infected? Get a FREE online computer virus scan from McAfee® Security.</a> </html>
|
|
From: <jto...@ut...> - 2004-06-14 16:48:02
|
Hi, I have a class template (let's say List <class T>) and other class which inherits from first one(let's say company :public List <character *>. = Just to try I made a project with the first class and all went well (no = memory losses, no computer hanging, well, you know).=20 But when I made the project with the two classes , beginning the = company.h with #include "List.h" I have a lot of undefined link error. If I change = the include into #include "List.cpp" everything goes all right. What may be wrong with my .h file? Thanks in advance, Jes=FAs Torrecilla |
|
From: <wa...@wa...> - 2004-06-14 16:26:59
|
On 14 Jun 2004 at 16:35, Bruce jjs wrote: > I have used inportb( ) and outportb( ) write a serial > communication' program.But this two functions is provided by > Borland C 3.1 and they are not standard C functions.Does ANSI C > has some functions can do the similar jobs like inportb( ) and > outportb( )?In my impression,the standard C doesn't support > functions to direct operate hardware,isn't it? Whenever you deal directly with the hardware, you're going to be non- standard. Watson Davis |
|
From: <eng...@ju...> - 2004-06-14 15:24:11
|
Hi, Does anyone have a link to an SSH API for C/C++ and Linux. Something I can use to build a custom client and server. James E. Smith ________________________________________________________________ The best thing to hit the Internet in years - Juno SpeedBand! Surf the Web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! |
|
From: Ewald H. <in...@ho...> - 2004-06-14 09:42:48
|
Hi, Would this be for Windows ? Because then you would need to use the Win32 = API as Windows does not allow direct control of the hardware anymore. I = remember there was an example on the C/C++ User's Journal website. Try = to Google win32 serial communication for some hints Ciao Ewald Horn Proprietor/Eienaar : Horn Labs Cell/Sel : 083 519 1615 Website : http://www.hornlabs.co.za Email/E-pos : in...@ho... |
|
From: <per...@ya...> - 2004-06-14 08:35:28
|
I have used inportb( ) and outportb( ) write a serial communication' program.But this two functions is provided by Borland C 3.1 and they are not standard C functions.Does ANSI C has some functions can do the similar jobs like inportb( ) and outportb( )?In my impression,the standard C doesn't support functions to direct operate hardware,isn't it? --------------------------------- Do You Yahoo!? 嫌邮箱太小?雅虎电邮自助扩容! |
|
From: Brian D. <Bri...@ms...> - 2004-06-13 16:14:46
|
It was my error, in the MyWindow.rc file, as Derek and Jonathan both =
suggested. When copying the file I corrected the error without thinking =
twice! Thanks, Brian
----- Original Message -----=20
From: Derek Clarke<mailto:de...@ci...>=20
To: Bri...@ms...<mailto:Bri...@ms...>=20
Cc: de...@ci...<mailto:de...@ci...>=20
Sent: Saturday, June 12, 2004 8:10 PM
Subject: Re: [Dev-C++] Parse error
The error could be in C:/WINDOWS/Desktop/MyWindow/MyWindow.rc
----- Original Message -----=20
From: JONATHAN GUISAO SUCERQUIA<mailto:jg...@ep...>=20
To: Brian Downing<mailto:Bri...@ms...>=20
Sent: Sunday, June 13, 2004 5:35 AM
Subject: Re: [Dev-C++] Parse error
The error may be in the file MyWindow.rc
In article =
<BAY...@ho...<mailto:BAY11-DAV10jWpzpchC000157=
8a...@ho...>>,=20
Bri...@ms...<mailto:Bri...@ms...> (Brian Downing) =
wrote:
> I am trying to add a menu to my window program and I'm getting an =
error=20
> message stating that there's a parse error in the resource file=20
> (labeled private) that's created by the compiler. The file only =
has=20
> the following lines:
>=20
>=20
> // THIS FILE WILL BE OVERWRITTEN BY DEV-C++!
> // DO NOT EDIT!
>=20
> #include "C:/WINDOWS/Desktop/MyWindow/MyWindow.rc"
>=20
> The error is supposed to be on line five but there are only 4 =
lines. =20
> Any suggestions? Brian
|
|
From: Ewald H. <in...@ho...> - 2004-06-13 13:10:33
|
Hi, I am busy porting an application to C++ from Delphi, but it's turning = into a real nightmare. Does anyone know of a good conversion utility out = there ? Even a commercial product is fine, I just want to know if = someone has used it with any real success. The commercial product's I've = seen all use these tiny little examples to do conversions on, our = application has 38 units and about 300 000 lines of code in it!=20 The migration to C++ is basically to get away from the new Delphi 8 = which is so .NET biased and that is not the route we want to go. I've = also started working with the Free Pascal compiler and the Lazarus suite = to see if it offers any advantages since it will accept most of our = existing code as-is. Regards Ewald Horn Proprietor/Eienaar : Horn Labs Cell/Sel : 083 519 1615 Website : http://www.hornlabs.co.za Email/E-pos : in...@ho... |
|
From: Ewald H. <in...@ho...> - 2004-06-13 12:31:10
|
Yes, you can try ResEd that you can download from the RADASM webpage at = http://radasm.visualassembler.com/. Here is a link to a standalone = package from the site = http://radasm.visualassembler.com/projects/ResEd.zip . Go check it out, it might be just what you were looking for. Good luck Ewald Horn Proprietor/Eienaar : Horn Labs Cell/Sel : 083 519 1615 Website : http://www.hornlabs.co.za Email/E-pos : in...@ho... |
|
From: <per...@ya...> - 2004-06-13 02:05:48
|
I have deeply enjoy to use Dev-cpp to do C program.But it fall short of a visual resource editor.When I want to program menu,toolbar or bitmap and so on,using Dev-cpp is very not conveninence.I know VC and VB both has a visual resource editor.They can used to generate .rc file and Dev-cpp can used it.But I don't want to install VC or VB.So is there a good powerful visual resource editor which is stand alone can be used to Dev-cpp? --------------------------------- Do You Yahoo!? 嫌邮箱太小?雅虎电邮自助扩容! |
|
From: Matthews <dem...@uw...> - 2004-06-12 17:40:02
|
I'm trying to implement a GUI management system in a project I'm working
on. The setup is like this:
base_gui_object:
- all gui elements are derived from this class, which includes a virtual
draw() function to override
window:
- derived from base_gui_object, overrides the draw() function.
gui_controller:
- contains linked list (subscriber_list) of all gui elements in use
subscriber_list:
- contains linked list of all elements (subscriber_info)
subscriber_info:
- contains a pointer to a single gui element (base_gui_object)
Now, here's the important code:
/////////////////////////////////////////////////////
class base_gui_object
{
public:
virtual void draw() = 0;
};
class subscriber_info
{
public:
int priority;
base_gui_object *gui_item;
public:
subscriber_info() {}
subscriber_info(base_gui_object *item,int priority);
subscriber_info *next;
int get_priority() { return priority; }
void *get_gui_subscriber() { return gui_item; }
};
class subscriber_list
{
private:
int num_subscribers;
subscriber_info *entries;
int index;
public:
subscriber_list() { index = 0; num_subscribers = 0; }
~subscriber_list();
void add(base_gui_object *item,int priority);
void remove(base_gui_object *item);
int get_num_subscribers() { return num_subscribers; }
subscriber_info *traverse();
subscriber_info *first() { return entries; }
subscriber_info *next();
subscriber_info *prev();
};
class gui_control
{
private:
subscriber_list subscribers;
public:
gui_control() {}
void update();
void subscribe(base_gui_object *item,int priority);
void unsubscribe(base_gui_object *item);
//void translate_message();
};
class window : public base_gui_object
{
private:
char *title;
int x,y,w,h;
vid_info *vid;
game_info *game;
char *t;
public:
window(char *name,char *text,int x,int y,int w,int h,vid_info
*vid,game_info *game);
void draw();
void draw_text();
};
//////////////////////////////////////////////////////////////////////////////////////////////
// class Subscriber_Info - linked list items
subscriber_info::subscriber_info(base_gui_object *item,int priority)
{
gui_item = item;
next = NULL;
}
subscriber_info *subscriber_list::traverse()
{
subscriber_info *p = entries;
while(p->next) p = p->next;
return p;
}
//////////////////////////////////////////////////////////////////////////////////////////////
// class Subscriber_List - linked list
void subscriber_list::add(base_gui_object *item,int priority)
{
if(!entries)
{
entries = new subscriber_info(item,priority);
entries->next = NULL;
}
else
{
subscriber_info *p = traverse();
p->next = new subscriber_info(item,priority);
}
num_subscribers++;
}
//////////////////////////////////////////////////////////////////////////////////////////////
// class Gui_Control
void gui_control::subscribe(base_gui_object *item,int priority)
{
subscribers.add(item,priority);
}
void gui_control::unsubscribe(base_gui_object *item)
{
subscribers.remove(item);
}
void gui_control::update()
{
subscriber_info *p = subscribers.first();
while((p=subscribers.next())) p->gui_item->draw();
}
//////////////////////////////////////////////////////////////////////////////////////////////
// class Window
window::window(char *name,char *text,int x2,int y2,int w2,int h2,vid_info
*video,game_info *g)
{
title = name;
x = x2; y = y2;
w = w2; h = h2;
vid = video;
game = g;
t = text;
//draw();
//do some gui attaching stuff
}
/////////////////////////////////////////////////////////////////////////////////////////
In main(), this is the testing code.
char *text = {
"This is a test\n"
"of multiple line stuff"
};
window *win = new window("Char Editor",text,5,3,20,5,vid,game);
gui_control *gui = new gui_control();
gui->subscribe(win,PRIORITY_LOW);
/////////////////////////////////////////////////////////////////////////////////////////
Now, the problem code is the single line "while((p=subscribers.next()))
p->gui_item->draw();" in gui_controller::update(). Whenever I try to call
the draw() function directly, I get an access violation error. This is my
first time trying limited object-oriented programming like this, so I'd
appreciate learning how I'm supposed to access virtual member functions
like this.
Thanks.
|
|
From: Brian D. <Bri...@ms...> - 2004-06-12 06:47:52
|
I am trying to add a menu to my window program and I'm getting an error = message stating that there's a parse error in the resource file (labeled = private) that's created by the compiler. The file only has the = following lines: // THIS FILE WILL BE OVERWRITTEN BY DEV-C++! // DO NOT EDIT! #include "C:/WINDOWS/Desktop/MyWindow/MyWindow.rc" The error is supposed to be on line five but there are only 4 lines. = Any suggestions? Brian |
|
From: Siva C. <siv...@ya...> - 2004-06-12 04:18:40
|
Hello all, I am not sure if this is the right place but I could get so many such answers out from here... What I want to do is to make a program which does screen capture. My program would show up as a small window with a button on it. When the user presses this button the program should capture the current screen and store the image somewhere as specified by the user in some config file. I would like to use wxWidgets for any required minimal GUI programming. TIA, Siva Chandra __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ |
|
From: Ray K. <he...@er...> - 2004-06-11 05:28:26
|
Well, for starters, you've got all kinds of funky MIME headers
in your message, and random characters are being displayed in
hexadecimal. *Please* use a mailer that uses plain text like
it's supposed to; this MIME garbage makes it rather difficult
to read your code.
You also don't specify what the program is *supposed* to do, so
I can only guess at what's wrong.
It looks like you're trying to do a graphical dice-roll, in which
case you don't want showone(), showtwo(), etc. to all execute
no matter what, correct?
If so, the problem lies in main() (which should be declared
as an int, by the way).
//MIME garbage cleaned up for readability
> while(ans =3D=3D 'y')
> {
> r =3D randn(6);
> blines(25);
> if(r =3D=3D 1); showone();
> if(r =3D=3D 2); showtwo();
> if(r =3D=3D 3); showthree();
> if(r =3D=3D 4); showfour();
> if(r =3D=3D 5); showfive();
> if(r =3D=3D 6); showsix();
> blines(21);
> ans =3D getans();
> }
The statements of the form, "if (r =3D=3D foo); showbar();" say,
If r =3D=3D foo, execute the statement following, in this case ";"
The way to do this is:
if (r =3D=3D 1) showone();
if (r =3D=3D 2) showtwo();
etc., without a semicolon after the if statements.
Or better:
while (ans =3D=3D 'y') {
r =3D randn(6);
blines(25);
switch(r) {
case 1: showone();
break;
case 2: showtwo();
break;
case 3: showthree();
break;
case 4: showfour();
break;
case 5: showfive();
break;
case 6: showsix();
break;
}
blines(21);
ans =3D getans();
}
There might even be a way to combine the various
showfoo() functions so that you can replace the
entire switch with "shownum(r)", but I'll leave
that to you.
"Randy" <hun...@be...> wrote:
> This is a multi-part message in MIME format.
>
> ------=3D_NextPart_000_001B_01C44F39.77FD0FA0
> Content-Type: text/plain;
> charset=3D"iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Help whats wrong?
>
> #include <stdio.h>
> #include <stdlib.h>
> =3D20
> void showone();
> void showtwo();
> void showthree();
> void showfour();
> void showfive();
> void showsix();
> int randn();
> char getans();
> void blines();
> main ()
> {
> int r;
> char ans;
> =3D20
> ans=3D3Dgetans();
> =3D20
> while(ans=3D3D=3D3D'y')
> {
> r=3D3Drandn(6);
> blines(25);
> if(r=3D3D=3D3D1); showone();
> if(r=3D3D=3D3D2); showtwo();
> if(r=3D3D=3D3D3); showthree();
> if(r=3D3D=3D3D4); showfour();
> if(r=3D3D=3D3D5); showfive();
> if(r=3D3D=3D3D6); showsix();
> blines(21);
> ans=3D3Dgetans();
> }
> blines(2);
> }
> int randn(int n)
> {
> return rand()%n + 1;
> }
> char getans()
> {
> int ans;
>
> printf("Throw y/n ?");
> ans =3D3D -1;
> while (ans =3D3D=3D3D -1)
> {
> ans=3D3Dgetchar();
> }
> return ans;
> }
> void blines(int n)
> {
> int i;
> =3D20
> for( i=3D3D1 ;i<=3D3Dn ; i++) printf("\n");
> }
>
> void showone()
> {
> printf("\n * \n");
> }
>
> void showtwo()
> {
> printf(" * \n\n");
> printf(" * \n");
> }
>
> void showthree()
> {
> printf(" * \n");
>
> printf(" * \n");
> printf(" *\n");
> }
>
> void showfour()
> {
> printf(" * * \n\n");
> printf(" * * \n");
> }
>
> void showfive()
> {
> printf(" * * \n");
> printf(" * \n");
> printf(" * * \n");
> }
>
> void showsix()
> {
> int i;
>
> for(i=3D3D1 ; i>=3D3D3 ; i++) printf(" * * \n");
> } =3D20
|
|
From: Siva C. <siv...@ya...> - 2004-06-11 03:43:09
|
hi Randy, --- Randy <hun...@be...> wrote: > Help whats wrong? You should be sending the error message too... But otherwise the first look at the code suggests that the compiler might complain about this line in the main function: ans=getans(); You have previously declared ans to be of char type and getans() returns an integer. Also the real big messup is that your function declarations for randn() and blines() do not match the headers at the definitions. __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ |
|
From: Amit K. S. <ams...@qu...> - 2004-06-11 03:33:36
|
First remove the ; after the if statements.
You are not providing the parameter in declaration of these functions randn
and blines as you give in the defination.
See the changes in red color
make these changes if also you find some problem reply me.
-amit
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Randy
Sent: Friday, June 11, 2004 7:53 AM
To: dev...@li...
Subject: [Dev-C++] Help whats wrong?
Help whats wrong?
#include <stdio.h>
#include <stdlib.h>
void showone();
void showtwo();
void showthree();
void showfour();
void showfive();
void showsix();
int randn( int );
char getans( );
void blines( int );
void main ()
{
int r;
char ans;
ans=getans();
while(ans=='y')
{
r=randn(6);
blines(25);
if(r==1); showone(); // Remove the ; after these if blocks
if(r==2); showtwo();
if(r==3); showthree();
if(r==4); showfour();
if(r==5); showfive();
if(r==6); showsix();
blines(21);
ans=getans();
}
blines(2);
}
int randn(int n)
{
return rand()%n + 1;
}
char getans()
{
int ans;
printf("Throw y/n ?");
ans = -1;
while (ans == -1)
{
ans=getchar();
}
return ans;
}
void blines(int n)
{
int i;
for( i=1 ;i<=n ; i++) printf("\n");
}
void showone()
{
printf("\n * \n");
}
void showtwo()
{
printf(" * \n\n");
printf(" * \n");
}
void showthree()
{
printf(" * \n");
printf(" * \n");
printf(" *\n");
}
void showfour()
{
printf(" * * \n\n");
printf(" * * \n");
}
void showfive()
{
printf(" * * \n");
printf(" * \n");
printf(" * * \n");
}
void showsix()
{
int i;
for(i=1 ; i>=3 ; i++) printf(" * * \n");
}
|
|
From: Randy <hun...@be...> - 2004-06-11 02:23:11
|
Help whats wrong?
#include <stdio.h>
#include <stdlib.h>
=20
void showone();
void showtwo();
void showthree();
void showfour();
void showfive();
void showsix();
int randn();
char getans();
void blines();
main ()
{
int r;
char ans;
=20
ans=3Dgetans();
=20
while(ans=3D=3D'y')
{
r=3Drandn(6);
blines(25);
if(r=3D=3D1); showone();
if(r=3D=3D2); showtwo();
if(r=3D=3D3); showthree();
if(r=3D=3D4); showfour();
if(r=3D=3D5); showfive();
if(r=3D=3D6); showsix();
blines(21);
ans=3Dgetans();
}
blines(2);
}
int randn(int n)
{
return rand()%n + 1;
}
char getans()
{
int ans;
printf("Throw y/n ?");
ans =3D -1;
while (ans =3D=3D -1)
{
ans=3Dgetchar();
}
return ans;
}
void blines(int n)
{
int i;
=20
for( i=3D1 ;i<=3Dn ; i++) printf("\n");
}
void showone()
{
printf("\n * \n");
}
void showtwo()
{
printf(" * \n\n");
printf(" * \n");
}
void showthree()
{
printf(" * \n");
printf(" * \n");
printf(" *\n");
}
void showfour()
{
printf(" * * \n\n");
printf(" * * \n");
}
void showfive()
{
printf(" * * \n");
printf(" * \n");
printf(" * * \n");
}
void showsix()
{
int i;
for(i=3D1 ; i>=3D3 ; i++) printf(" * * \n");
} =20
|
|
From: Ewald H. <in...@ho...> - 2004-06-10 22:11:30
|
Hi, I often use the ShellExecute and ShellExecuteEx functions to call other programs from my applications. You might find it usefull to investigate these Win32 API functions if your target platform is Windows. My PC is on the blink, so I can't access more information for now. Good luck. Ewald Horn Proprietor/Eienaar : Horn Labs Cell/Sel : 083 519 1615 Website : http://www.hornlabs.co.za Email/E-pos : in...@ho... |
|
From: Javier <jm...@ug...> - 2004-06-10 21:33:20
|
Did you googled a bit? Try Fame, Intel IPP, Avifile, http://www.the-labs.com/Video, etc. Javier > >Hi, > >Does anyone know of a C or C++ library for converting raw video data into different formats? I'm reading raw video data from /dev/video on a Linux machine and I would like to convert it into a windows compatible format. I need to be able to compress it and send it over the network via the the Unix network APIs using TCP/IP and play it on another machine. I've already downloaded a library that converts the raw audio data into a format that windows can use. Now I need the raw video converted. > >I was thinking about writing the conversion routines myself, but that may take too much time because I'm not familiar with the formats. > > >Thanks, >James E. Smith > > > |
|
From: <eng...@ju...> - 2004-06-10 15:46:36
|
Hi, There are other functions that you can use to get the return values of those commands. If you are using a version of Unix try one the exec function. There should be a Windows version if these functions in your compiler docs. I hope this helped some. James E. Smith ________________________________________________________________ The best thing to hit the Internet in years - Juno SpeedBand! Surf the Web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! |
|
From: Noorez K. <coo...@ho...> - 2004-06-10 14:15:35
|
I am using the system() function in most of my programs but sometimes they don't work and the command prompt gives you that error that the command was not recognized. But I want my program to see this error and use it to other things. How do get errors. _________________________________________________________________ Add photos to your messages with MSN Premium. Get 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines |
|
From: Colin L. <ha...@bl...> - 2004-06-09 21:01:01
|
> Is this a full installer or just an upgrade? > Will it reinstall the compiler as well? This is an update only - it doesn't contain the Mingw compiler system. Colin > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of Colin > Laplace > Sent: Thursday, June 10, 2004 12:30 PM > To: dev...@li... > Subject: [Dev-C++] [UPDATE] Dev-C++ 4.9.8.10 version available > > > Hello, > > Due to some bugs introduced in version 4.9.8.9, we decided to release a bug > fix update before going on 4.9.9.0. > You can download it from http://bloodshed.net/dev/devcpp.html > > Greetings, > Colin Laplace > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > 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: Colin L. <ha...@bl...> - 2004-06-09 19:40:12
|
Hello, Due to some bugs introduced in version 4.9.8.9, we decided to release a bug fix update before going on 4.9.9.0. You can download it from http://bloodshed.net/dev/devcpp.html Greetings, Colin Laplace |
|
From: <ahe...@mi...> - 2004-06-09 15:54:42
|
As part of a University study of Integrated Development Environment (IDE) users, we are conducting a survey to appraise the relative utility of different features of IDE source code editors, such as those included with Visual Studio and Eclipse as well as stand-alone editors like Emacs that support programming tasks. Our survey is designed to assess how often users employ editor features like syntax highlighting and code completion, and how satisfied users are with these features in their particular environments. If you or your project group have active experience using an IDE, we would like you to participate in our study. You can find the survey at http://physik.fu-berlin.de/~zabel/ide_editor_survey/ The survey should take no more than 20 minutes to complete. No personal information is required of participants. The survey period is two weeks (until June 22nd, 2004). Participants who opt to enter their e-mail addresses on the survey page will receive a copy of the findings of our study after the survey period. We look forward to hearing from you. Philipp Zabel, Minor Gordon and Antoinette Herrmann Freie Universitaet Berlin Institut fuer Informatik Takustr. 9 14195 Berlin |
|
From: Roland Z. <ro...@po...> - 2004-06-09 06:09:43
|
Hi, None of C++ ANSI standards specifies how internal compiler things should work (AFAIK). You have no guarantee thet objects are compatible and, what is more, they aren't. AFAIK Intel and M$ compilers have compatible static libs. If you want to have portable code than split it into modules and then build them as native to OS (i.e. DLL on Windows or SO on Linux). Better idea is to look at www.wxwindows.org where wxWidgets projects is. This is a sophisticated and portable framework library for portable applicatins building. Implements universal GUI that looks always like OS native GUI as well as other things related to IPC, internet, OpenGL and more. -- Roland ----- Original Message ----- From: <eng...@ju...> To: <dev...@li...> Sent: Wednesday, June 09, 2004 6:31 AM Subject: [Dev-C++] C++ Virtual function Tables and Implementation > > Greetings, > > > I would like to know if the C++ standard specifys how the virtual fucntion tables are to implemented by the compiler writers? Also can any tell me if other languages besides Borland C++ and Borland Delphi have compatible object binaries? > > Example Code: > > class InternetConnection { > public: > ............virtual int iconnect(...) =0; //Pure Virtual Method > }; > class DSLConnection : public InternetConnection { > public: > ............virtual int iconnect(...); //definition not shown > }; > class ISDNConnection : public InternetConnection { > public: > ............virtual int iconnect(...); //definition not shown > } > class DailupConnection : public InternetConnection { > public: > ............. virtual int iconnect(...); //definition not shown > }; > ////////////////////////////////////////////////////////////////////// > ////This class is not derived from InternetConnection > ////////////////////////////////////////////////////////////////////// > class ExportedConnection { > public: > .........virtual int iconnect(...); //definition not shown > }; > > InternetConnection can point to a pointer of type ExportedConnection and execute the virtual functions of that class object. Are there any other languages that are compatible besides Borland Delphi and Borland C++? I'm aware that this works also on Unix with C++. |