UGN Security
Posted By: littleman i need some help - 10/13/05 05:50 AM
ok im sorry if this is an "illegal" post but im trying to learn C and C++ but i dont understand any of the tutorials i've found. can someone help me learn c and c++? it would be much appriciated and i'm sorry again if this is a carbon copy or a "illegal post"
Posted By: Gremelin Re: i need some help - 10/13/05 06:34 AM
Quote:
Originally posted by littleman:
ok im sorry if this is an "illegal" post but im trying to learn C and C++ but i dont understand any of the tutorials i've found. can someone help me learn c and c++? it would be much appriciated and i'm sorry again if this is a carbon copy or a "illegal post"
There isn't anything illegal with learning how to progeam; asking blunt stupid questions like how to hack someone and how to abuse a telecomm provider as your last posts over 3 accounts have been...
Posted By: littleman Re: i need some help - 10/13/05 06:43 AM
hey this is only my 2ed account! and sorry about b4 i was being stupid i guess but can you help me learn to program in c and c++?
Posted By: Gremelin Re: i need some help - 10/13/05 07:47 AM
There are numerous inqueries and links in the C++ forum, your best bet is to scour through all of the threads to get started; also follow the links and get started.

Also, Google is your friend... Searches:
Learning C++
starting c++
beginning c++
c++ examples
c++ code
Posted By: Infinite Re: i need some help - 10/13/05 11:58 AM
Quote:
Originally posted by littleman:
ok im sorry if this is an "illegal" post but im trying to learn C and C++ but i dont understand any of the tutorials i've found. can someone help me learn c and c++? it would be much appriciated and i'm sorry again if this is a carbon copy or a "illegal post"
Ok... Here's the thing...

We all have our own lives. The people here, in various combinations, all have to:
  • work
  • play
  • work second jobs
  • have spouses
  • raise kids
  • other assorted "making a living" activities


What I'm getting at is it is very unlikely that some random person on the net is going to take you on as a side project, espsecially out of the blue without knowing you.

Here's how it works:

YOU have to take it on yourself to learn how to learn. Please see my comments on learning how to search as an explanation on what I mean.

Now I know I have a tendancy to sound harsh on the net, and you have not had a very warm welcome here. But you have to understand that you really are asking the complete wrong questions.

You come across as needing someone to hold your hand through this learning process. This is something that is simply not going to happen. You have to take the inititive in this. Quite frankly if you won't help yourself then we could care less.
Posted By: littleman Re: i need some help - 10/13/05 08:22 PM
infinite i compeltly get what your saying so i think im wording my question wrong and so im sorry but can someone show me a good site for a beginner to learn c++? i've done a bunch of google searches and i get pages with more advanced stuff that i dont understand
Posted By: Testing Re: i need some help - 10/13/05 09:09 PM
littleman out of pure curiousity I clicked on the links Gizmo left for you. If you have checked out those links and havent found a single site that will help you then you are trully hopeless. I suggest you choose a different language. Try Basic.

Personally I think its all but impossible to not have gotten a start in learning c++ had you really checked the links out.
I think your just wasting time. My time, others time, and your time.
Posted By: §intå× Re: i need some help - 10/13/05 10:21 PM
littleman,

*sigh* Okay guy, seriously. I will clue you in a bit. The first program you will learn in any language is "hello world". This will teach you the most simple program you can make in any language.

for example html

Code
<html>
<head>
  <title>Hello World</title>
</head>
<body>
Hello World
</body>
</html>
That is the most simple HTML doc that is still formatted correct you will see. So you get to see the correct way to set up a HTML page and how to echo out to the screen.

In C or C++ you can search for hello world. You need to first decide if you want to learn C or C++. C++ is more structured. Both will be a tough learn. These and not easy languages to master. I apllaud your desire to learn. I truely do. You just need to learn how to do it. Sooooo.

http://www.engin.umd.umich.edu/CIS/course.des/cis400/cpp/hworld.html

This is your first C++ program. Play with the code, make it say other things. This is how you learn to program. You are going to need a compiler BTW. Once you master hello world


try the others
http://www.engin.umd.umich.edu/CIS/course.des/cis400/cpp/cpp.html
http://cplus.about.com/od/beginnerctutorial/l/aa020502a.htm

Some compilers
http://www.thefreecountry.com/compilers/cpp.shtml
Posted By: littleman Re: i need some help - 10/14/05 02:17 AM
thanks �int�� and also giz ill try learning it but would it be better if i learn basic then c and then c++ in that order? or does it not really matter?
Posted By: KillHour Re: i need some help - 10/14/05 02:35 AM
It's pretty rare to use C. Usually you only need it if you are concerned about program size. C++ is just an extended version of C, and can do all the same things, and then some. If you want to ultimately learn C++, then you may as well start with that, but it really doesn't matter.
Posted By: §intå× Re: i need some help - 10/14/05 02:55 AM
Basic is truely useless in modern programing but can give you a basis as to how to code. C++ I think would be good for you because if you truely push yourself you will HAVE to learn to find info. To get good in C++ you will reach a point where asking your question will take a lot more time than just searching for the answer.

You are in for a long journey if you truely want to learn C++. It is one of the tougher languages to master. I think assembly is harder to get.
Posted By: KillHour Re: i need some help - 10/14/05 03:02 AM
ugh assembly... /me shudders

But if you want hard, try Brainfuck on for size!

Here's a "Hello World!" for you:
Code
 ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. 
Posted By: §intå× Re: i need some help - 10/14/05 03:19 AM
http://en.wikipedia.org/wiki/Brainfuck#Hello_World.21

Wow, I hope to never want or need to learn that. It is properly named that is for sure. How in the hell are you supposed to be able to edit that or remember commands.
Posted By: littleman Re: i need some help - 10/14/05 03:28 AM
lol iunno im just now learning c++ and im already confused lol
Posted By: KillHour Re: i need some help - 10/14/05 03:33 AM
well, if you need a 180 byte compiler, that's the way to go...

Boolfuck is even harder BTW (I might even consider including "Weaker, less useful, more futile: Boolfuck." into my Sig... smile )
Posted By: Shinobi Re: i need some help - 10/24/05 06:28 PM
If tutorials aren't your way to go then the easiest way I found is to get a SMALL program along with is sourcecode, (not hard to find, remember google is your friend, but you have to have an amount of patience it look around. Its not just going to jump out and say I AM YOUR ANSWER!)

Look at the program, use it every option that you can. Then look at the souce code, and things will start to jump out at you. Then after you actully see a finished product, you can go to the tutorials and have a better understanding since you've already seen it.

Also, if you are looking through code and cannot even fathom what that lines use is. Search for it such as the question in the php thread. If you don't know what "$!CMD" search google for Php $!CMD and I bet you'll atleast get some insight as to what it does.

And you do always have the option of asking us, however the only thing that will make us angry and not help you is if you do not first try to help yourself.

So if you still are oblivious to C/C++ then try what I suggested and see if that helps.

Last thing. If you really want to learn DO NOT GIVE UP. The only way to learn is to keep doing it over and over and over and reem it into your brain.
© UGN Security Forum