Added: 4 years ago
From: reconnetworks
Views: 63,614
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (133)

Sign In or Sign Up now to post a comment!
  • I keep getting errors...

  • did any1 else not understand that?

    \

  • It is suposed to be working or I m not doing something right???

  • and what r all the keyevents about? void AltEnter ? pm pls

  • pretty good but this toutrial dont work

  • I liked your other tuts, but this was not good.

    I keep getting an error, and you don't explain what precise changes you made.

  • Pretty much all I wanted in this tutorial was the multiple colors in C++, Lol.

  • Comment removed

  • #Include "iostream"

    using namespace std;

    void {fuckers};

  • wtf? need a tutorial to understand your tutorial, really poor.

  • IDK why, but I'm getting a build error when I try to compile it, any idea how I can fix that?

  • Hey I have some problems with this, I try to compile and it say that I have a lot of errors when I included "WINDOW.H". You think is because I'm using devc+ program? Can I get another code instead of using Windows.h in my devc program?

    please write back soon.

    Sincerely Silvergirl113

  • I dont think windows vista supports full screen mode when i entered in the code for AltEnter()

  • ya same here

  • The other tutorials by this guy are great, but this one was poorly made. For one thing, he doesn't tell us the PURPOSE of the program and doesn't explain most of the coding. We're basically copying crap down and not actually LEARNING what it all does.

  • @Archlvt

    + 1 to that..

  • @Archlvt

    agreed... i cant learn... cuz i dont ever know what i do...

  • Visual basic is better for n00bs.

  • @thecoast47

    I tried a bit of VB. It's like Paint, but you can make the pictures a bit interactive.

  • can you use c++ on a mac (probably not right???)??

  • I never used a Mac, but you can use C++ anywhere you want lolz... My best guess would be that there is NetbeansIDE for Mac (since Netbeans is made with Java), you can use that...

  • Hey, I just wanted to say these tutorials are awesome! I am just now learning C++ and these help A LOT!

    Thanks so much.

  • Umm, my program opens, i put in i1 and i2 and then it just closes. I am using Dev-C++

  • //you need to add

    system("pause");

    //in main for dev-c++

  • what does this program acomplish?

  • It just teaches you things.

  • Shame full screen cmd.exe doesn't work in vista.

  • idk what this is about lol

  • Just letting you know, NetBeans is for Java not for C++.

    Get your IDE's Correct.

  • No, if you look at the NetBeans site there is a version for C++ and a lot of other languages.

  • noob

  • @CPUhacker24

    I like Code Blocks a lot.

    I'll have to give NetBeans a go.

  • I dunno if anyone agrees with me, but I think that NetBeans is the best C++ IDE.

  • he does a million things but then he changes them all and then he makes like a billion more things when ur not looking and when he ;''comes bak'';...oh my gosh hes a great programmer but he needs more and better graphics not so much of a jump beetween programs and more explanation

  • I completely agree, and, yes he is a pretty kick-ass programmer!

  • 93Matu, add

    system("PAUSE");

    in a line between cout <<iTimes1<<" * "<<iTimes2<<" = "<<iPointer <<endl; and return 0; in int main

  • It shuts down when I add i1 and i2, and anyways these videos get like 10000 times harder everytime... tooo haaarddd

  • ye same... my program just goes...

  • Also, for people who are wondering why pointers are useful... it's for controlled memory allocation and it can sometimes come in handy when you need to cycle through a range of data in memory. For example, suppose you have a range of registers in memory you want to retrieve one at a time; a pointer can be initialized to point to the first register and after you retrieve/handle each register, you increment the pointer so that it points to the next register in memory.

  • after reading your comment like 10 times, it's still greek to me. it's kinda hard for me to wrap my head around.

  • Comment removed

  • great tutorial man. sucks that windows vista can't go into full screen though. but don't worry. just sent the program to my mate with xp and it works fine aparently.

  • Everything works and it compiles right, but when I run it and I input the numbers after I press enter after the second number it shuts it down! HELP!

  • try system("PAUSE");

  • can you say me why my window

    allways quits when i put i1 and i2 in?

    maybe i have anywhere some little mistake...

    and thanks for the tut.

  • when you are using visual studio or visual c++ express, you need to start WITHOUT debugging.. or CTRL + F5 is the shortcut key

  • anyone can help to make a program of cpu scheduler, this is my assignment in final graing i really dont know how. this is the FCFS, ROUND ROBIN and the other four included. pls guys help

  • how can you print the actual program output to a printer?

  • Thanks for the tut! I find the AltEnter part has wonky effects for me. It doesn't make fullscreen, it does seem to cause an Alt-Lock effect that also disables the numpad. I would probably need different keycodes. I'm running Vista 64 bit and compiling w/ gcc. Same effect if I use MSVC++ compiler.

  • Well it's nice with people making tutorials trying to help people but dude, you just have to either learn c++ yourself or be better at explaining things, I don't really know witch it is because you even said you self " I don't really know what it means but nvm" in the first part.

    I mean presuming that someone understands this in a beginner level, dude noway. and even if people make it work it's not really hard to copy someones code after he finished it, is it? ;]]

  • yeah dude, you need to elaborate on some of this stuff, pretty confusing for beginners like meh

  • agreed, I had to back pedal the video because I'm just lost as hell.

  • it a little hard to folow but its good

  • Thanks for the tutorial =D

  • ok everything works for me, its an awesome tutorial but still I don't get a **** about it... :(

  • * says angerly* THIS IS THE MOST *says calmly*

    understandible tutorial. i finally understan pionters thanks i haent seen tutorial 5 yet but i hope u will explain arrays or strings.

  • I can't wait till you get into C++! You do my box!

  • at 0:38. What is the symbol infront of iPointer? I can't figure it out....

  • its piPointer1

  • what are those signs at minute 1 second 40 in the red " "

  • my program which i copied straight from you is not working....

    errors at line, 20,21,27,33,35.

    line 20: 'Keybd_event' undeclared(first use this function)

    line 21: expected ")" before ';' token

    line 21: At global scope:

    line 27: Expected ',' or '...' before "int"

    line 27: In Function 'void pointerfumc(int*,int*)':

    line 33: pitimes1 undeclared (first use this function)

    piPointer1 undeclared (first use this function)

    HELP PLEASE???? :(

  • to fix the error on line 20: use a LOWER case k not an UPPER case K

    to fix the error on line 21:

    make sure you have a ) token before the semicolon

    to fix the error on line 27:

    make sure you did not forget ANY commas on line 27

    to fix the error on line 33:

    make sure tou spelled pitimes1 correctly

    EVERYWHERE in the program

    hope that helped ;)

  • This is really good. ive learned some :D(yey to me). but its messy somtimes when you add, remove stuff like "ops that shouldnt be there". or when a error occures.

    cout << "Cry :'(" << endl;

  • cin >> Sob;

  • dude thanks.. however i do not understand some,,,'

    marverde7 just type  syster("pause");

    before return 0;

  • that is a good job...thanks alot

  • hello. i did it exactly like in the movie. But, i can just type in the 2 variables (from the keyboard), and then, nothing is shown on the screen, it just stops the program and returns to the editing screen. Anyone else had this problem? :-S

  • system("PAUSE")

    return 0;

    at that to the end of your program

  • Yahoo! Followed tutorial with shine! as the average japanese dude would say Arigato!

  • i am still missing what you would use pointers for.....i think i kind of get it...you would use a previous variable of another function in a new function????

  • You use pointers in a few cases:

    1) you want to modify a variable when you pass it, and not just use it in the function.

    2) you want to pass large objects/data to a function. Use a pointer for efficiency and to avoid copying everything.

    3) when you work with objects/data that is in the main memory(the heap) and not local memory(the stack)

    4) some libraries other people have written that you might return pointers to stuff you want.

    5) basic tool of C/C++ got to comfy with them.

    does that help?

  • alright.... i was designing a basic program and needing some of those but i didnt know what they were called haha thank you very much

  • goodvids but this one i am lost i dont get what you are trying to do what does this program do?

  • why cant he use & ambersands instead of stars *

    is this the same as call by reference parameters ??

  • i think there are redundancies with pointers you can phrase diff ways to do a smae thing, makes it more confusing

  • It's almost the same as using references. References are easier on the eyes and should have probably been used in a simple function like this except that he said at the beginning he wanted to explain pointers before the next lesson.

  • How come I can't Choose the Debug options of Debug or Continue without debugging? I'm using the same program as him

  • i get along more with dev than visual because i got visual studio and saw the configuration i had to set up and more things to learn then i thought , fuck this is going to be a while!

  • askegk's comment is not spam, its reconnetwork's new website, the old one is down

  • This one doesn't make much sense either.

  • for anyone who is interested, the new site is reconnetworks(.)net/forum

  • omg.. after u came back and added all that new stuff i was just like fuck that... maybe later ;]

  • whats that little thingyyou put here- pointerfunc(_ipointer); to draw the address out?

  • idk what that is either! grr someone tell us..

  • I think it was this "*". Asterisk. If that's what you asking about.

  • i dont know either, i think it was a % sign or a 6

  • He puts a "&" there if you haven't figured it out yet.

  • Please join mycomputerforum(dot)com, if you're interested in programming!

  • Great tutorial, thanks

  • thanks you keep making tuts if u can, also put the webpage back up

  • Don't forget system("pause");

    You Dev-C++ users. :P See, I'm smart nuff to remember it, now it works (put it before return 0;)

  • An even easier way to color the text would be

    system("color XX");

    XX - the first X is the text and the second is the background, they go from AA-FF.

    A tip to see what they are would be to open CMD and type "color /?".

    Hope this helped.

  • That changes the color of all of the text in the window though. Using the method he mention in the video, you can make any character any color.

  • how do u color each text line your comment was really helpfull thanks

  • Well, I tried but for some weird reason the program automatically closes without giving me any colored text or the answer. Whatever, I'm going to the next tutorial >:D.

  • use sysem("PAUSE");

  • Make sure to add system("PAUSE"); before return 0;

  • Make sure to add system("PAUSE"); before return 0;

  • Nice man, love the video... but i couldnt tell apart some symbols, seeing as i am new to c++.

  • good job man, i didnt really understand the pointer thing at first but now its clearing up, i still dont really get the HANDLE thing but you have some good tuts.

  • nice jmac, good tut i did comment about it in the source post keep up the good work

  • good job.

  • and in response to ProMaster if uy have a Mac or Apple brand desktop or laptop then it wouldnt have windows.h because its not windows, it is mac. :\ if thats not the problem then i dont know what to tell you.

  • dark cry, there are MANY almost infinite ways to write any program, this is just one. However, you will need the basic structure that this vid shows. AND DUUDE START RECORDING IN A BETTER SCREEN RES FREKIN A!

  • hello i have some problems it say's in the error

    1>.\test1.cpp(2) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory

    test1 thats the name i gave it but how do i get this error away any1 plz help me

  • that means you dont have that file, try downloading it somewhere....or a new program for programming. I use code blocks, and thus far i have had no trouble with any of these programs.

    ----

    Now i have a question, for this kind of program that we're making, does it really matter if we use the way just shown? or should this be used more for bigger programs?

  • color number 100?!? As far as i know there is only 00 to ff (0,1,2,3,4,5,6,7,8,9,a,b,c,d,e­,f) and the first one is backround second is text color

  • Omg T_T, I found my problem, sorry about that >.>.

  • Hey at about 2:13 in you're movie (just before you compiled it and ran it the first time) i got an error msg saying that in this line: pointerfunc(&iTimes1, &iTimes2, &iPointer); -The integers aren't declared and that Each undeclared identifier is repeated only once for each function it appears in, what exactly did i do wrong? I followed your code down to the letter =[.

  • ok, by typing 3 digit numbers for "system("COLOR 657") it told me the numbers for the colours, and F is bright white, but why dont letters work in the code shown on this video?

  • whats the function that I have to add to my code in order to change the color of an especific part?

  • You have to declare the variable HANDLE hConsole, then do SetConsoleTextAttribute(hConso­le, n) where n is the number of the colour you want.

  • do u have a myspace?

    ima adding u to friends ive seen all videos and im 12yrs old i began studying c++ when i wasy 8 and my favroit book to us it an introduction to programming with c++

  • its declaring a handle variable.

  • I'm kind of too lazy to go on your website and request this but can you make a tutorial on how to make non-console applications in C++? I know some basics to make a window but I need to learn how to make a "working" program

  • Do u know that visual studio express 9 is out. It is only a beta but it is very good.

    Anyway how does the HANDLE hconsole thing work? I don't get it. I don't get why you need it.

  • I kinda of changed that... but its moving too fast for me, Cant keep up with your guy's pace...

  • He needs 50000000 views first doh :(

  • its a secret! :p

  • hey man can u pleas send me a video on how to make a

    fun game? ive alredy made the gumball thingy

  • What's going to be on your next video or do you know when you're going to make another video. JW ;)

  • I use Visual studio 2005

  • can you make a tutorial on loading .gif or .jpg as a background? I love your tutorials ;)

  • what Text editor are you using for your scripts?

  • probably KDE's Kate - I know you can do that in Kate.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more