• C++ - Beginnning my adventure to learning
    38 replies, posted
Currently I am reading C++ for dummies. I'm going to be making all sorts of programs throughout the reading, and I'll probably need help. So I'm just going to keep this thread here and post in it when I need help. Also, question: can cheats/hacks be made with C++ only? (not for Garry's Mod, hah.) and is it really that hard?
Depending on how much you already know, I can suggest you these tutorials as a supplement to your reading: [url]http://www.youtube.com/user/thenewboston#grid/user/F541C2C1F671AEF6[/url] He's explaining everything really well and on a human level, without anything unnecessary.
From someone who's already started learning C++: Enjoy your sleepless nights and advanced hitting your face against the wall... But seriously, it is quite good fun once you get going with it. I'm absolutely loving it :smile:
Cheats can be made with a lot of languages, as long as it supports pointers.
[QUOTE=Shammah;27539843]Cheats can be made with a lot of languages, as long as it supports pointers.[/QUOTE] What's the main language for source cheats?
[QUOTE=The First 11'er;27555784]What's the main language for source cheats?[/QUOTE] the only practical language for source engine hooks is C++
I learned a lot of c++ from this guy [url]http://www.youtube.com/user/antiRTFM[/url] The first posted channel might be better though.
I to, am currently learning C++ as well, but continue to have issues with all the compilers I use :v: I am using [url=http://www.amazon.com/Without-Fear-Beginners-Guide-Makes/dp/0321246950]C++ Without Fear[/url]
If you know a different lang [url]http://cplusplus.com/doc/tutorial[/url] is good
[QUOTE=The Great Ghast;27556036]I to, am currently learning C++ as well, but continue to have issues with all the compilers I use :v: I am using [URL="http://www.amazon.com/Without-Fear-Beginners-Guide-Makes/dp/0321246950"]C++ Without Fear[/URL][/QUOTE] The de-facto standard for Windows is the Visual Studio IDE and compiler suite. Learn it, use it, love it.
[QUOTE=Shammah;27561213]The de-facto standard for Windows is the Visual Studio IDE and compiler suite. Learn it, use it, love it.[/QUOTE] im sure a large amount of people use the codeblocks + mingw approach
I use mingw with either cmake or batch/bash scripts to compile my projects. Emacs is my text editor.
[QUOTE=Icedshot;27564564]im sure a large amount of people use the codeblocks + mingw approach[/QUOTE] Alright, agreed, apart from Visual Studio there is MinGW + Code::Blocks, but apart from that, does anybody else use any other compilers? Apart from the few companies who use Intel's compiler for it's special optimizations, not many people use Borland's or Digital Mars' C++ Compiler anymore.
Yeah, I am just learning C++ also. I use this guy [url]http://www.youtube.com/user/antiRTFM[/url] . He is really good at teaching but he takes his time. The compiler I use is Bloodshed Dev-C++. I would like to go on this adventure of learning with another person learning C++. To talk and share information, add me on Steam or some shit.
[QUOTE=LieutenantLeo;27692142]Yeah, I am just learning C++ also. I use this guy [url]http://www.youtube.com/user/antiRTFM[/url] . He is really good at teaching but he takes his time. The compiler I use is Bloodshed Dev-C++. I would like to go on this adventure of learning with another person learning C++. To talk and share information, add me on Steam or some shit.[/QUOTE] Don't use Dev-C++. It's outdated and generally sucks. Use Visual Studio or code::blocks instead.
Download MinGW and install. Download CodeBlocks and install. Awesome?
I use notepad++, MinGW and write my own batch file to compile it for me.
[QUOTE=Awwent;27716756]Don't use Dev-C++. It's outdated and generally sucks. Use Visual Studio or code::blocks instead.[/QUOTE] I tried Visual Studio but it never works for me. Do I have to add something special to the start or something? I always get compile errors but the exact same codes work in Dev-C++
We can help you if you post those compile errors.
I already studied a bit of c++, but what I was learning from didn't go over much stuff. Maybe a semester's worth of info. I want a free way to learn more c++ programming. Is this a good site? [url]http://www.planet-source-code.com/vb/Tutorial/default.asp?lngWId=3[/url]
So the whole purpose of you learning C++ is to cheat in games? =/
[QUOTE=Randdalf;27728677]So the whole purpose of you learning C++ is to cheat in games? =/[/QUOTE] Any motivation will do, but this will probably take so much effort he's going to legitimately learn to do the stuff he wants to do by cheating before he gets any cheats done.
[QUOTE=Overv;27722793]We can help you if you post those compile errors.[/QUOTE] >------ Build started: Project: error, Configuration: Debug Win32 ------ 1>LINK : error LNK2001: unresolved external symbol _mainCRTStartup 1>c:\users\jacob\documents\visual studio 2010\Projects\error\Debug\error.exe : fatal error LNK1120: 1 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== The code was: [code]#include <iostream> using namespace std; int main(); { cout << "WAZZUP! "; cin.get(); return 0; } [/code] Pic: [IMG]http://i54.tinypic.com/so7puf.png[/IMG] Btw, I named the project 'error'
That int doesn't need an ; after it.
The source code file you're viewing isn't actually in the project. You need to add it by right-clicking [i]Source Files[/i] in your project tree and using the menu entry to add a file.
[QUOTE=Overv;27738572]The source code file you're viewing isn't actually in the project. You need to add it by right-clicking [i]Source Files[/i] in your project tree and using the menu entry to add a file.[/QUOTE] Oh wow, thanks a lot! It worked. Also to the guy who sarcastically rated me programming king, you are a dick.
[QUOTE=LieutenantLeo;27741001]Oh wow, thanks a lot! It worked. Also to the guy who sarcastically rated me programming king, you are a dick.[/QUOTE] This is facepunch, you really care about ratings?
[QUOTE=mmavipc;27744554]This is facepunch, you really care about ratings?[/QUOTE] They represent the opinions of other people, so why not? It's like telling him to not care what everyone else says.
[QUOTE=mmavipc;27744554]This is facepunch, you really care about ratings?[/QUOTE] This is facepunch, do you really care about people caring about ratings?
[quote]Also, question: can cheats/hacks be made with C++ only? (not for Garry's Mod, hah.) and is it really that hard?[/quote] if youre interested in developing cheats for source engine games then you must start learning about reverse engineering. [url]www.gamedeception.net[/url] would be a good place to read about this sort of deal (once you have some c++ experience, that is).
Sorry, you need to Log In to post a reply to this thread.