mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
#29338 19/06/03 09:14 AM
P
pheonix
pheonix
P
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:

#29339 19/06/03 10:04 AM
P
ProjectX
ProjectX
P
as you wish...
i think that i offten tells you my opinion...

#29340 19/06/03 02:56 PM
C
codemastr
codemastr
C
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
P
pheonix
pheonix
P
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.

#29342 19/06/03 06:56 PM
Joined: Jan 2003
Posts: 2,973
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Jan 2003
Posts: 2,973
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?

#29343 19/06/03 07:14 PM
C
codemastr
codemastr
C
Buy MSVC++ .NET smile

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

#29345 22/06/03 12:13 AM
T
Thray
Thray
T
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.

#29346 22/06/03 12:32 AM
C
codemastr
codemastr
C
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