mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
#29338 19/06/03 09:14 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
i think mirc should stay as it is, but i also think it would be a good idea to make the dialog layout code, a proper language as its so much easier than c++ and the like =o\, then just use different code to make it work :tongue:


new username: tidy_trax
#29339 19/06/03 10:04 AM
Joined: Jun 2003
Posts: 10
P
Pikka bird
OP Offline
Pikka bird
P
Joined: Jun 2003
Posts: 10
as you wish...
i think that i offten tells you my opinion...

#29340 19/06/03 02:56 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
C++ file handling is fast and easy, I find it much easier than mIRC.

ofstream out("thefile.txt");

out << "this is some text" << endl;
out << "Now a number" << 10 << endl;
out.close();

Is that really so bad?

And as for sockets, you can either get a stream-based socket class (there are a bunch available), or you can *gasp* use .NET

#29341 19/06/03 03:05 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
thats not so bad because you know it though, to me that doesnt make any sense at all, even thought i am learning c++ now as well.


new username: tidy_trax
#29342 19/06/03 06:56 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
im trying to get into winAPI, but the demo of the .NET compiler I got with a book is on a dvd cd, and my computer doesn't read it. Must be a new kinds of copyrighting on Microsoft's part, but until I can get the compiler--my book is useless. >:\ Would you have any suggestions codematr?


-KingTomato
#29343 19/06/03 07:14 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Buy MSVC++ .NET smile

#29344 19/06/03 07:16 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Do you have a ballpark figure?


-KingTomato
#29345 22/06/03 12:13 AM
Joined: Jun 2003
Posts: 114
T
Vogon poet
Offline
Vogon poet
T
Joined: Jun 2003
Posts: 114
File handling IS easy, if you want to read or write info. It gets a little more complicated when you want to do both. mIRC's file handling is just a little bit easier when you want to store and retrieve specific info from a file. But, I was bored so I wrote my own function to store and retrieve from a file pretty much the same way.
As for sockets... they are a manifestation of satan himself in C++. I have no idea what .NET is like, because I have no need to program sockets for Windows. I use a Linux compiler. Umm.. .NET may be available on Linux, I have no clue. I haven't really found much out about .NET.
Actually, my problem with sockets is finding a good reference on them. If there was a website or help file that had a good, solid explanation of sockets and how to implement them my life would be easier.


-------------
I am the self-appointed God of needlessly complex mIRCscript.
#29346 22/06/03 12:32 AM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
For Windows I have Network Programming for Microsoft Windows Second Edition, it's an excellent book that covers socket programming under all versions of Windows using standard WinSock API as well as .NET and how to use it in C, C++ and C#. For *nix, Unix Network Programming Second Edition Volume 1 - Networking APIs Sockets and XTI, Linux Socket Programming, Linux Socket Programming by Example, and TCP/IP Sockets in C Practical Guide for Programmers. Scrap up the money to buy those and you should never have a socket problem you can't handle smile

Page 2 of 2 1 2

Link Copied to Clipboard