Posted October 4, 200519 yr Well, i was thinking about to learn coding. What type should i learn? Should i learn C/C++ or VB or whatever? no flame kthxbye
October 4, 200519 yr if you want fast results, vb is very quick to learn and it can make powerfull apps, although you are limited to windows. if you want to work with other operating systems then the likes of java and C++ are good , c++ would be the win really (with inline asm and all that jazz), but java has extensive libraries, so there is less nitty gritty with it (but some would say it is not ideal for beginners) so c++ if you are going to be really serious and dont mind it being ages before you can actually make something useful, or vb if you arn't going to be working at a really low level (like asm, writing directly to memory etc), or have done absolutly no coding before and want to be able to make useful programs quickly <3
October 4, 200519 yr greeneyes wraps it up pretty good, it's all about what you want to code really.. If it's hacks/virii you wanna code, you should prolly go C++.
October 5, 200519 yr Author thanks... now... LET THE FLAME AND HIJACK WARS BEGIN! thanks for your help.
October 5, 200519 yr Learn VB for hacks and virii, everything c/c++ virrii can do it can do quicker. wtf are you thinking? VB for virii and hax? hell no C++ if your into hax (for games) and viruses VB if you want to do things with winsock and do them fast, also to have pretty GUIs for them
October 5, 200519 yr wtf are you thinking? VB for virii and hax? hell no C++ if your into hax (for games) and viruses VB if you want to do things with winsock and do them fast, also to have pretty GUIs for them *agrees* and also, with VB you'll prolly need a bunch of DLLs to run it, which ain't good in all situations.. :P
October 7, 200519 yr It will be easier if you went to college to learn it you would understand it more than reading text off screen. You need to know the basics before you can learn like basic commands. I can get you some old stuff from college if your intersted.
October 7, 200519 yr id learn java because its a real simple language to learn everythings easy to do its object oriented and you dont have to do all those $& referenceing crap with. oh and i actualy first learn in pascal which is procedural that was good to learn in also cos its very simple great for first time programmers, but u wont be able to make any good programs in it, its purely for learning the basics of things like iteration
October 7, 200519 yr If you want to learn to code, you probably have an idea of what you want to make. Otherwise why would you want to learn to code?? Do some research on which programming language is best for your idea(s). With ansi c++ i started with c++ for dummies, Cpp in a Nutshell and after that bjarne stroustrup's the c++ programming languge 3rd ed. Also you can find a lot of free e-books on the internet, i have a whole fucking library
October 7, 200519 yr Nah im jokeing c++ is better for hacks/virrii, im trying winsock in c++ now and agree its much much easier in vb. Try both.
October 8, 200519 yr public class Hellomotherfuckignworld { public static void main(String[] args) { System.out.println("H H"); System.out.println("H H"); System.out.println("H H"); System.out.println("HHHHHHHHHH"); System.out.println("H H"); System.out.println("H H"); System.out.println("H H"); System.out.println(" "); System.out.println("EEEEEEEEE "); System.out.println("E "); System.out.println("E "); System.out.println("EEEEE "); System.out.println("E "); System.out.println("E "); System.out.println("EEEEEEEEE "); System.out.println(" "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("LLLLLLLLL "); System.out.println(" "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("LLLLLLLLL "); System.out.println(" "); System.out.println("OOOOOOOOO "); System.out.println("O O "); System.out.println("O O "); System.out.println("O O "); System.out.println("O O "); System.out.println("O O "); System.out.println("OOOOOOOOO "); System.out.println(" "); System.out.println(" "); System.out.println(" "); System.out.println(" "); System.out.println("W W "); System.out.println("W W "); System.out.println("W W "); System.out.println("W W W "); System.out.println("W" W W "); System.out.println("W W W W "); System.out.println("W W "); System.out.println(" "); System.out.println("OOOOOOOOO "); System.out.println("O O "); System.out.println("O O "); System.out.println("O O "); System.out.println("O O "); System.out.println("O O "); System.out.println("OOOOOOOOO "); System.out.println(" "); System.out.println("RRRRRRRRR "); System.out.println("R R "); System.out.println("R R "); System.out.println("RRRRRRRRR "); System.out.println("R R "); System.out.println("R R "); System.out.println("R R "); System.out.println(" "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("LLLLLLLLL "); System.out.println(" "); System.out.println("DDDDDDD "); System.out.println("D D "); System.out.println("D D "); System.out.println("D D "); System.out.println("D D "); System.out.println("D D "); System.out.println("DDDDDDD "); } }
October 8, 200519 yr i did this for hw 4 weeks ago java is pretty easy and great import TerminalIO.KeyboardReader; public class Sphere { public static void main(String[] args) { // forumlas // pie equals 3.14 // circle diameter 2 * radius // circle circumference pie * diameter // sphere surface area pie * diameter * diameter // sphere volume (pie * diameter * diameter * diameter) / 6 KeyboardReader reader= new KeyboardReader(); double radius; double pie = 3.14; double diameter; double circumference; double sarea; double volume; System.out.println("Sphere Caculations"); System.out.println("Copyright ##### ####### :D"); //asking for radius radius = reader.readDouble("Please enter the RADIUS of the sphere that you would like to solve. "); System.out.println(" "); System.out.println("--------------------------------------"); //diameter printout System.out.println("The diameter of the sphere is "); diameter = radius * 2; System.out.print(diameter); System.out.println(" "); System.out.println("--------------------------------------"); //circumference printout System.out.println("The circumfrence of the sphere is "); circumference = diameter * pie; System.out.print(circumference); System.out.println(" "); System.out.println("--------------------------------------"); //surface area printout System.out.println("The surface area of the sphere is "); sarea = diameter * diameter * pie; System.out.print(sarea); System.out.println(" "); System.out.println("--------------------------------------"); //volume printout System.out.println("The volume of the sphere is "); volume = (pie * diameter * diameter * diameter) / 6; System.out.print(volume); System.out.println(" "); System.out.println("--------------------------------------"); } }
October 8, 200519 yr public class Hellomotherfuckignworld { public static void main(String[] args) { System.out.println("H H"); System.out.println("H H"); System.out.println("H H"); System.out.println("HHHHHHHHHH"); System.out.println("H H"); System.out.println("H H"); System.out.println("H H"); System.out.println(" "); System.out.println("EEEEEEEEE "); System.out.println("E "); System.out.println("E "); System.out.println("EEEEE "); System.out.println("E "); System.out.println("E "); System.out.println("EEEEEEEEE "); System.out.println(" "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("LLLLLLLLL "); System.out.println(" "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("LLLLLLLLL "); System.out.println(" "); System.out.println("OOOOOOOOO "); System.out.println("O O "); System.out.println("O O "); System.out.println("O O "); System.out.println("O O "); System.out.println("O O "); System.out.println("OOOOOOOOO "); System.out.println(" "); System.out.println(" "); System.out.println(" "); System.out.println(" "); System.out.println("W W "); System.out.println("W W "); System.out.println("W W "); System.out.println("W W W "); System.out.println("W" W W "); System.out.println("W W W W "); System.out.println("W W "); System.out.println(" "); System.out.println("OOOOOOOOO "); System.out.println("O O "); System.out.println("O O "); System.out.println("O O "); System.out.println("O O "); System.out.println("O O "); System.out.println("OOOOOOOOO "); System.out.println(" "); System.out.println("RRRRRRRRR "); System.out.println("R R "); System.out.println("R R "); System.out.println("RRRRRRRRR "); System.out.println("R R "); System.out.println("R R "); System.out.println("R R "); System.out.println(" "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("L "); System.out.println("LLLLLLLLL "); System.out.println(" "); System.out.println("DDDDDDD "); System.out.println("D D "); System.out.println("D D "); System.out.println("D D "); System.out.println("D D "); System.out.println("D D "); System.out.println("DDDDDDD "); } } conditional statements are your friend...
October 8, 200519 yr 1) start with a very easy C book¹, that explains things in either dummy-english or your own language, if your native tongue isn't english. that way it's much easier to figure out what things does, rather than being told about "the reference to the pointers address" kind of stuff. ¹ If you're lucky, you find a book that also has a slight lead into the C++ universe 2) learn C until you are kinda decent in it, knowing about pointers and arrays and whatever stuff you might learn there, and then proceed to beginning with C++, because C isn't very uptodate anymore, especially not if you also hope to get a job with it some day. C++ just is so much more mainstream or whatever. 3 - optional) if you want to write good virii, learn ASM. there's no other good way to do it. that's a fact. all the people who say C++ or python or java or vb can produce good virii are the people who're either too stupid or too lazy to learn ASM. eod.
October 8, 200519 yr if you want to write good virii, learn ASM. there's no other good way to do it. that's a fact. all the people who say C++ or python or java or vb can produce good virii are the people who're either too stupid or too lazy to learn ASM. eod. ya but asm ain't exactly "starter" though is it
October 8, 200519 yr ya but asm ain't exactly "starter" though is it thats why its nr 3 on the list. you need to learn C and C++ first before you can really get any use of ASM
October 8, 200519 yr thats why its nr 3 on the list. you need to learn C and C++ first before you can really get any use of ASM true.dat, but there is not much point learning C, then C++, might as well just skip straight to it
October 9, 200519 yr true.dat, but there is not much point learning C, then C++, might as well just skip straight to it its all about what you prefer.. i prefer learning the basics before learning the extended versions, rather than just learning the extended version and skipping the basics.. but still, if you learn all the basics of C, you already know a lot of C++. you just need to get used to the new syntaxs and such.
October 16, 200519 yr its all about what you prefer.. i prefer learning the basics before learning the extended versions, rather than just learning the extended version and skipping the basics.. but still, if you learn all the basics of C, you already know a lot of C++. you just need to get used to the new syntaxs and such. If you first learn C you will have to unlearn al lot of things in order to become an effective C++ programmer. Also C++ is capable of doing anything C can and in much cases better. If you start with learning C++ you will have to start learning thye same basics as with C. To code things in C is just as hard or easy as in C++, C++ only has less limitations. also read this: http://www.research.att.com/~bs/learn.html
October 17, 200519 yr C is good for apis, embedded systems (portability), and code needs to reach the most programmers as possible. If none of the above apply, go with a higher language. Just choose the right tool for the job, and move in that direction. There are always going to be things you can do in C/C++ languages, that you can't do in Java or .NET (C#, VB.NET, etc). This goes the other way to, there's things you can do in Java/.NET that you can't do in C/C++. I personally suggest going down the ladder, than going up it. You'll enjoy writing code in Java or C# more than C++, especially at first. You'll also spend less time worrying about which library to use. In any case, if you want to see what C# can do, check out RunUO. Its a Ultima Online server emulator, so you can play the game on a free shard, instead of paying. It was developed relatively quickly compared to other UO emulators, and became stable very quickly. Taking into account that this server must keep track of a lot of objects across a vast multilayer world at all times; its pretty amazing achievement.
October 18, 200519 yr if you want fast results, vb is very quick to learn and it can make powerfull apps, although you are limited to windows. Why not try Python? With the awesome libraries it comes with, you can learn the basics of computer science and explore programming rapidly and without getting bogged down inthe details. It is also handy for quickly developing small tools and network apps so you won't just throw it away (ie: Pascal) when you move on to another language. Best of all, it works exactly the same on every platform (probably the only benefit of being interpreted). VB just pollutes the mind by integrating a very high-level language with very low-level accessabilities. Let libraries handle the dirty work! As an example of the difference in philosophy, imagine a Python coder and a VB coder both trying to write a keylogger; the VB coder would find a way to emulate the same method a C/C++ app would access the api whilst a Python coder would google for a key-catching library and wind up with a working app in 30 minutes and under 30 lines. Anyway, point is: Python is a great "starter" language because it doesn't force you to use a mix of low and high level code. You can learn Win API after moving on to C/C++ and still write useful code in the meantime. References: Python: http://www.python.org pyHook key-catching library for Python: http://sourceforge.net/project/showfiles.php?group_id=65529&package_id=92632