login about faq

To prove you're not a spammer, email newuser.lgqa@gmail.com with the subject "Account Request" to request an account.

is it normal to be 13 years old and program using c++?

asked Jun 11 '10 at 05:42

Lundager's gravatar image



Why not? if you're into it do what you like and don't let anyone tell you otherwise.

(Jun 11 '10 at 05:45) Michael Michael's gravatar image

i know someone who is 13 and programs A level visual basic. im learning to program and im under 13, if its what you want to do then there is nothing wrong with it

(Jun 11 '10 at 07:21) nytechkid nytechkid's gravatar image

I was into this at 13 too. Just make sure when you reach 15 or 16, you're either not letting it affect your school grades or you're making money from it... because otherwise your parents could start to get a little upset ;)

(Jun 11 '10 at 07:23) Seb Seb's gravatar image

Okay :D im 13 and i started when i was 11 years old and i started out with visual basic then java but none of these thing were my type so i started c++ and it's great :D

(Jun 11 '10 at 07:23) Lundager Lundager's gravatar image

For the purpose of education (don't get the wrong impression from this question):

char *p; /* what is the type of p? */
(Jun 11 '10 at 07:35) Seb Seb's gravatar image

is it a question your asking? what type p is?

(Jun 11 '10 at 07:37) Lundager Lundager's gravatar image

-nods- yes thisansweristragicallytooshort

(Jun 11 '10 at 07:39) Seb Seb's gravatar image

Okay so i guess in the above code you made a char pointer called p

am i correct?

(Jun 11 '10 at 07:40) Lundager Lundager's gravatar image

good. what about:

char *q[4]; /* what is the type of q? */
(Jun 11 '10 at 07:41) Seb Seb's gravatar image

You made an char array called q with the array slots of 4

am i correct?

(Jun 11 '10 at 07:42) Lundager Lundager's gravatar image

Nope. q is an array of 4 pointer-to-char. If I were learning C or C++ all over again, I'd learn about the types first. That includes pointer and array principles.

(Jun 11 '10 at 07:44) Seb Seb's gravatar image

Oh yeah sorry i diddent se the pointer *

(Jun 11 '10 at 07:45) Lundager Lundager's gravatar image

Yeh, that might have been the markdown language. I did edit it a few times. What about:

int (* foo)(int bar);
(Jun 11 '10 at 07:52) Seb Seb's gravatar image

Uhmm this is just a guess creates a int poiter with name foo and after create a int called bar?

i get a little confused when using parrenteses like you did there :/

(Jun 11 '10 at 07:55) Lundager Lundager's gravatar image

hehe read the first parenth first:

(* foo)

The asterisk tells you immediately that foo is a pointer.

(* foo)(int bar)

The second set of parenth tells you that the pointer is to a function, and that the pointer to function expepts an 'int bar' argument.

int (* foo)(int bar);

The int keyword at the start tells you that the function returns an int. Thus the type of foo is pointer to function expecting int, returning int.

C and C++ are really quite illogical when it comes to these sorts of variables.

(Jun 11 '10 at 07:58) Seb Seb's gravatar image

You're creating a function pointer named foo with the signature int(int). =] EDIT: Ah, I came in a bit late. >_<

@Lundager, If you haven't already, I suggest picking up a good C++ book. See other questions on this site, or StackOverflow, for some good suggestions. (Google usually doesn't help with suggestions like this.) No offense, but you have a long way to go. =]

(Jun 11 '10 at 07:59) strager strager's gravatar image

Okay i probaly will understand it better when i get better to c++ :D

(Jun 11 '10 at 08:00) Lundager Lundager's gravatar image

I learned allot c++ from this site. http://www.cplusplus.com i learned about pointers functions data types and i am about to read about classes :D

(Jun 11 '10 at 08:01) Lundager Lundager's gravatar image

Yep, you're not doing too bad though :) Hang in there! Once you've read a book as strager suggested, I suggest reading the standard... because not all books are perfect, and the standard is what the compiler developers stick to. If you know what's in the standard, you know what must work and what may or may not work.

(Jun 11 '10 at 08:02) Seb Seb's gravatar image

@Lundager, I recommend AGAINST using sites like that. I'm sure most other programmers would agree. Please pick up a good book on C++ and learn that way.

(Jun 11 '10 at 08:02) strager strager's gravatar image

Indeed, if you're going to use a web resource, use the C++ language specification.

(Jun 11 '10 at 08:05) Seb Seb's gravatar image

Why are you againt siteslike that?

(Jun 11 '10 at 08:09) Lundager Lundager's gravatar image

They don't make the rules, and they often twist the rules. The C++ language specification makes the rules. There's going to be a new one soon: C++1x working draft, so you'll be happy to know that you'll have to learn some new things when this standard is "ratified?" ;) I myself work in C most of the time and there's a different standard for C... Don't make the mistake of believing anything written in C will compile in C++ ;)

(Jun 11 '10 at 08:12) Seb Seb's gravatar image

Allot of people recommend http://www.cplusplus.com :/

but do you have a good c++ book in mind?

(Jun 11 '10 at 08:41) Lundager Lundager's gravatar image

Yeh, I come from a freenode background so I'd recommend the list here ... the list of books to avoid is at the top of the page. Scroll down further for the better ones :)

(Jun 11 '10 at 08:50) Seb Seb's gravatar image

some of the books is written by Bjarne Stroustrup isnt that the guy who created c++?

(Jun 11 '10 at 08:54) Lundager Lundager's gravatar image

Indeed he is the guy behind C++. They're apparently quite good.

(Jun 11 '10 at 08:55) Seb Seb's gravatar image

Hehe he is from my country "Denmark"

(Jun 11 '10 at 08:56) Lundager Lundager's gravatar image
showing 5 of 28 show all

Yes, it's normal. However, even if you've been programming for years, you likely don't have the proper experience to jump into a programming job. If you want to make a career out of programming, wait until you're finishing high school or until you have finished high school, if you want to start that early.

In the meantime, build up your profile of projects and maybe work on some open source projects.

answered Jun 11 '10 at 05:46

strager's gravatar image


i know he is 16 years old and he made an API han sold it to a company and he got 6400 USD :D

(Jun 11 '10 at 05:48) Lundager Lundager's gravatar image

@Lundager, I'm talking about steady income. Sure, you may do small contract jobs and freelance work, but I highly doubt you'll get a real job programming until you hit 17 or 18. (No offense, of course.)

(Jun 11 '10 at 05:49) strager strager's gravatar image

Okay thank you for your answer :D

(Jun 11 '10 at 05:50) Lundager Lundager's gravatar image

lucky u, i started programming after i was 16, and i got my first computer when i was 13. and its normal among today's teens as they're exposed to computer from very small age.

answered Jun 11 '10 at 07:50

nepdude101's gravatar image


I started coding when I was 12. I really wish I would have started earlier. In my opinion the earlier the better.

answered Jun 11 '10 at 08:33

Liam%20Quade's gravatar image

Liam Quade

I think we should start a primary school of programming. I think 8 year olds could learn to code in C++... Check this out!

(Jun 11 '10 at 08:38) Seb Seb's gravatar image

Yeah, I'm going to start my kids out with programming young. Then instead of mowing yards as a teenager they can be programming.

(Jun 11 '10 at 08:40) Liam Quade Liam%20Quade's gravatar image

Programming? What the hell is programming? msgbox("WHAT IS PROGRAMMING!") form2.show form1.hide console.beep

answered Sep 30 '10 at 12:22

Vancar6's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jun 11 '10 at 05:42

Seen: 1,587 times

Last updated: Sep 30 '10 at 12:22