delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/19/18:31:37

From: "Majestic" <netpunk AT mail DOT telepac DOT pt>
Newsgroups: comp.os.msdos.djgpp
Subject: C++ to DJGPP Conversion Problem !! Corrected Version
Date: 19 Dec 1997 20:08:48 GMT
Message-ID: <01bd0cb1$8a91d640$d7b141c2@nop14270>
NNTP-Posting-Host: 194.65.177.215
Lines: 35
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

hya

i need help in the following code:

typedef struct vec
	{
	  float x,y;
	  vec(float xx,float yy)
		{
		  x = xx;
		  y = yy;
			}
			
		  vec()
		     {
		      x = 0:
		      y = 0;
			}

	};

This code compiles under Borland C++, but when i use DJGPP the compiler 
put lots of error messages on screen.
Whats going on ?
Who can help me?

Thanks in advance !

Send your reply to my mailbox please !
Thankz 

-- 
Majestic
netpunk AT mail DOT telepac DOT pt
#Coders Member

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019