Good Book To Learn C# From?

Posts 1–14 of 14 · Page 1 of 1
Good Book To Learn C# From?
I recently started learning C#, and besides using online tutorials does anyone know a book they can link me to? All the ones on MPGH seem to be about C++. Thanks! Also if anyone has a guide on how to make hacks for games, I would appreciate it.
Quote Originally Posted by Jim Morrison View Post
I recently started learning C#, and besides using online tutorials does anyone know a book they can link me to? All the ones on MPGH seem to be about C++. Thanks! Also if anyone has a guide on how to make hacks for games, I would appreciate it.
It would be probably be best to use C or C++ if you plan on making hacks.
Quote Originally Posted by Auxilium View Post


It would be probably be best to use C or C++ if you plan on making hacks.
How do you think a switch from c# to c++ is?
Quote Originally Posted by Jim Morrison View Post

How do you think a switch from c# to c++ is?
There are several 'types of C++' that the microsoft IDE support.
"CLR" project type will let you still access all the .net classes/functions, where
Win32 will not
ATL and MFC: idk them. Basically all of these aren't "pure C++", they have extra libraries associated with them.


CLR type project will be very similar to C#. Maybe start there? Or to learn C++, first start with win32. ?Maybe.
Quote Originally Posted by abuckau907 View Post
There are several 'types of C++' that the microsoft IDE support.
"CLR" project type will let you still access all the .net classes/functions, where
Win32 will not
ATL and MFC: idk them. Basically all of these aren't "pure C++", they have extra libraries associated with them.


CLR type project will be very similar to C#. Maybe start there? Or to learn C++, first start with win32. ?Maybe.
So regular C++ for game hacking then?
Quote Originally Posted by abuckau907 View Post
"CLR" project type will let you still access all the .net classes/functions, where
Win32 will not
ATL and MFC: idk them. Basically all of these aren't "pure C++", they have extra libraries associated with them.
What is your definition of pure C++? No libraries at all? Or follows the standard and is unmanaged?

If "extra libraries" does not mean pure C++, Pure C++ has no iostream, standard template library, etc

And since the operating system implements things like iostream, I'd be safe to say the only way to program in pure C++ is to either use no input/output and whatever other libraries (Limiting you a bit), or make your own kernel with implementation of those libraries.
Similar syntax.

Just say goodbye to all your premade .NET functions and get used to using pointers more.
Depends what you mean by 'hack'.

If you don't know, then I'm sure any of them will work for you.
Pure C++ would BE if I googled C++ tutorials. Also I mean hacking by making anti cheat bypasses.
Quote Originally Posted by Jim Morrison View Post
Pure C++ would BE if I googled C++ tutorials. Also I mean hacking by making anti cheat bypasses.
Just know that you won't go from Day 1 of C++ to making anti-cheat bypasses and hacks anytime soon. Unless you want to leech, which is for noobs.

also,
There are many libraries and revisions of C++ that if you google C++ tutorials you would most definitely not find the same stuff.

Find a C++ tutorial written in the early 90s and you won't have the standard template library, find one that is 5 years old and you won't have C++11 features, etc.

The C and C++ languages are actually not that big, most of the complexity comes from libraries and extensions. for example,
std::cout is standard in C++, and all platforms will support it, but std::cout is not a part of the actual language.

__________ so what do you mean by anti-cheat.

All of them (?) can call Windows API's..so if that's all you need (ReadProcessMemory/Write, etc), then CLR is fine.
If you want to inject: injecting a 'normal c++ dll' is different (easier??) than injecting a '.net dll'
If you want to write in-line asm it might be different for each (?).

Not really sure what else you're talking about: you can pretty much do *whatever you want* in any of them, but it will be different complexity/length of code.
Quote Originally Posted by Jim Morrison View Post
Do you have a guide that you would recommend?
I learned from the average Sams book, and years of trial & error and experience.
Learning from other people's code is good too.
but don't copy and paste and slap your name on it. Understand their code and why they wrote it that way and you can learn some new techniques you would never have thought of yourself!

I do have to say if you want to learn C or C++, cprogramming.com is a pretty good tool to use, but not much can beat a well written book. After all, they are paid to write it, so they make it so even a retard could understand, while the people on the internet writing free tutorials usually assume you aren't a total beginner and already sort of have an idea on what you are doing.
Thanks for your help ^ I'll be sure to check that out.
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?