C++ video tutorials.

This is a discussion on C++ video tutorials. within the C++ Programming forums, part of the General Programming Boards category; Hello, i have made a new youtube channel, Called CprogrammerC. Please subscribe, i am posting new videos everyday or every ...

  1. #1
    deletedforumuser
    Guest

    C++ video tutorials.

    Hello, i have made a new youtube channel, Called CprogrammerC.

    Please subscribe, i am posting new videos everyday or every two days.

    And people who want to learn c++, check it out and subscribe.

    My english is not that good, but, you can still understand my videos hopefully.

    Here's the link:

    YouTube - cprogrammerc's Channel

    There's only 2 videos for now.

    Because, i started posting 3 days ago.

    I already have 12 subscribers, Hopefully i will get more.

    Please, if you watch my videos, subscribe, if you don't have a youtube account to subscribe, make one .

    Alright, thanks.

  2. #2
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,428
    It helps if you know what you're talking about.
    Long int and long are synonyms. Same data type. Long is short for long int.
    The 64-bit type is called long long.
    Long can be greater than int. You say they are the same, but that's not always true.
    Similarly, you also assume int is 4 bytes, which is not always the case.

    If you need variables of certain size, it's better to use the C stdint.h or boost's cstdint for exact types like int32_t (integer variable that is 32 bits).

    Also, a double can only contain two 0s? Nonsense. For all intentions and purposes, it's like a float, but with greater precision. Holds bigger numbers and more accurate numbers.
    Last edited by Elysia; 07-31-2009 at 03:05 PM.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    deletedforumuser
    Guest
    Yea, i didn't know how to say it in english :P...
    lol

  4. #4
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,428
    As for the first part (which is simply named tutorial 1 with no part and the second part is named tutorial 1 part 1), you have two problems:
    1) Return 0 does NOT tell the computer anything, nor the OS. It simply returns a number which other programs can pick up and interpret. The values have no special meaning--it's up to you to define it.
    2) You should not discourage putting "std::" before all functions. You say this is "messy," but not everyone agrees. Many thinks it's a good idea. You also failed to mention using std::cout.

    Also, I would suggest you use more shortcuts, such as F7 for build and Ctrl+F5 for run. It simply looks cooler!
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    deletedforumuser
    Guest
    The second video is name c++ programming tutorial 2 part 1
    the first one is c++ programming tutorial 1

    Yea, i will repost the videos, because i didn't know how to say most of the stuff in english.

    but ill keep them like that for now.

  6. #6
    deletedforumuser
    Guest
    Nevermind, i guess i'll just post annotation to repair this.

  7. #7
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,428
    Maybe you should do manuscripts before recording.
    Also, I would remove that "Watch in HD" label, since HD YouTube decoding takes an insane amount of cpu power that not every computer can handle.
    Last edited by Elysia; 07-31-2009 at 04:05 PM.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  8. #8
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Also, in the 2nd tutorial, you create a char & signed char and tell their ranges, but char by itself is usually signed. You need to explicitly say unsigned char to get a range of 0 to 255.

    BTW, what program did you use to make the videos?
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem With My Box
    By HaVoX in forum Tech Board
    Replies: 9
    Last Post: 10-15-2005, 07:38 AM
  2. CProgramming.com should update their tutorials.
    By PorkyChop in forum C++ Programming
    Replies: 17
    Last Post: 09-19-2004, 10:51 PM
  3. Codec Bitrates?
    By gvector1 in forum C# Programming
    Replies: 2
    Last Post: 06-16-2003, 08:39 AM
  4. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 06:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21