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?
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.
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...
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
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.
I noticed a slight fallacy in your terminology around 1:55... you said it's a pointer times a pointer when technically it's not since you're dereferencing the pointers (it's the actual values at the addresses to which the pointers are pointing.) It's nothing big, and people obviously know what you meant, but it might cause some confusion in the future for some.
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.
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
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? ;]]
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.
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
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????
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.
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!
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.
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.
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!
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?
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?
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++
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
I keep getting errors...
fighter8864 3 months ago
did any1 else not understand that?
\
TheBlizznerd 3 months ago 2
It is suposed to be working or I m not doing something right???
stalitsa2009 4 months ago
and what r all the keyevents about? void AltEnter ? pm pls
BrotKillian 7 months ago
pretty good but this toutrial dont work
coolg963 9 months ago
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.
sorenslothe 11 months ago
This has been flagged as spam show
boo !
TheWestRyders 1 year ago
This has been flagged as spam show
boo !
dheibh916 1 year ago
This has been flagged as spam show
boo !
dheibh916 1 year ago
Pretty much all I wanted in this tutorial was the multiple colors in C++, Lol.
wasitrealy 1 year ago
Comment removed
ztsb45 1 year ago
#Include "iostream"
using namespace std;
void {fuckers};
pufixas 1 year ago
This has been flagged as spam show
@pufixas "void {fuckers};"
error C2447: '{' : missing function header (old-style formal list?)
cplusplusish 1 year ago
wtf? need a tutorial to understand your tutorial, really poor.
zglobodnik 1 year ago
IDK why, but I'm getting a build error when I try to compile it, any idea how I can fix that?
basstheterrible 1 year ago
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
silvergirl113 1 year ago
I dont think windows vista supports full screen mode when i entered in the code for AltEnter()
Oreoboy101 2 years ago
ya same here
awais308 2 years ago
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 2 years ago 59
@Archlvt
+ 1 to that..
gonzalezluis78 2 years ago 16
@Archlvt
agreed... i cant learn... cuz i dont ever know what i do...
pufixas 1 year ago
Visual basic is better for n00bs.
thecoast47 2 years ago
@thecoast47
I tried a bit of VB. It's like Paint, but you can make the pictures a bit interactive.
Lemoncode 2 years ago
can you use c++ on a mac (probably not right???)??
Soezor 2 years ago
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...
UNaruto1990 2 years ago
Hey, I just wanted to say these tutorials are awesome! I am just now learning C++ and these help A LOT!
Thanks so much.
mrchicanoman 2 years ago
Umm, my program opens, i put in i1 and i2 and then it just closes. I am using Dev-C++
cameronbrownrox 2 years ago
//you need to add
system("pause");
//in main for dev-c++
mustardmaniac11 2 years ago
what does this program acomplish?
MasterHacker01 2 years ago
It just teaches you things.
cameronbrownrox 2 years ago
Shame full screen cmd.exe doesn't work in vista.
lemongrapesfilms 2 years ago
idk what this is about lol
nubserver 2 years ago
This has been flagged as spam show
he uses old programming techniques.
Subscribe to my channel, i post new generation c++ programming tutorials.
What he is showing is bad pratice.
New videos will be available every 2-5 days on my channel too!
cprogrammerc 2 years ago
Just letting you know, NetBeans is for Java not for C++.
Get your IDE's Correct.
CPUhacker24 2 years ago
No, if you look at the NetBeans site there is a version for C++ and a lot of other languages.
voodoo7333 2 years ago
noob
Zolga00 2 years ago
@CPUhacker24
I like Code Blocks a lot.
I'll have to give NetBeans a go.
mattiexpx 2 years ago
I dunno if anyone agrees with me, but I think that NetBeans is the best C++ IDE.
ownage1996 2 years ago
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
EVHplayer 2 years ago 2
I completely agree, and, yes he is a pretty kick-ass programmer!
theconman81 2 years ago
93Matu, add
system("PAUSE");
in a line between cout <<iTimes1<<" * "<<iTimes2<<" = "<<iPointer <<endl; and return 0; in int main
BackyardSkunkworks 2 years ago
It shuts down when I add i1 and i2, and anyways these videos get like 10000 times harder everytime... tooo haaarddd
93Matu 2 years ago
ye same... my program just goes...
kathiecussxxx 2 years ago
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.
tfburges 2 years ago
after reading your comment like 10 times, it's still greek to me. it's kinda hard for me to wrap my head around.
JonTerp 2 years ago
This has been flagged as spam show
I noticed a slight fallacy in your terminology around 1:55... you said it's a pointer times a pointer when technically it's not since you're dereferencing the pointers (it's the actual values at the addresses to which the pointers are pointing.) It's nothing big, and people obviously know what you meant, but it might cause some confusion in the future for some.
tfburges 2 years ago
Comment removed
tfburges 2 years ago
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.
nfistfu 2 years ago
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!
Badbrad234 3 years ago
try system("PAUSE");
TafTaf4Life 2 years ago
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.
TheUndeadBoy 3 years ago
when you are using visual studio or visual c++ express, you need to start WITHOUT debugging.. or CTRL + F5 is the shortcut key
DeluxeWarPlaya 3 years ago
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
ayettrisha 3 years ago
how can you print the actual program output to a printer?
tchkaine 3 years ago
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.
kandyass37 3 years ago
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? ;]]
paranoidtomte 3 years ago
yeah dude, you need to elaborate on some of this stuff, pretty confusing for beginners like meh
iEatStaplz 3 years ago
agreed, I had to back pedal the video because I'm just lost as hell.
JonTerp 2 years ago
it a little hard to folow but its good
WMavrik 3 years ago
Thanks for the tutorial =D
MongooseRoadkill 3 years ago
ok everything works for me, its an awesome tutorial but still I don't get a **** about it... :(
Blackd696 3 years ago
* 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.
superbattary 3 years ago
I can't wait till you get into C++! You do my box!
lafinboylafbubba 3 years ago
at 0:38. What is the symbol infront of iPointer? I can't figure it out....
DaCreechmeister 3 years ago
its piPointer1
madhoundnet 3 years ago
what are those signs at minute 1 second 40 in the red " "
smcorrea 3 years ago
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???? :(
hellstudios 3 years ago
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 ;)
kdmq 3 years ago
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;
PontusM4gnusson 3 years ago
cin >> Sob;
hellstudios 3 years ago
dude thanks.. however i do not understand some,,,'
marverde7 just type syster("pause");
before return 0;
yummy00000000001 3 years ago
that is a good job...thanks alot
rirooo2007 3 years ago
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
marverde7 3 years ago
system("PAUSE")
return 0;
at that to the end of your program
hellstudios 3 years ago
Yahoo! Followed tutorial with shine! as the average japanese dude would say Arigato!
olddudd 3 years ago
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????
bomckwawa 3 years ago
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?
skyborg007 3 years ago
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
bomckwawa 3 years ago
goodvids but this one i am lost i dont get what you are trying to do what does this program do?
DeepGlue555 3 years ago
This has been flagged as spam show
the new forum side is located at:
reconnetworks . net / forum (remove spaces)
askegk 3 years ago
why cant he use & ambersands instead of stars *
is this the same as call by reference parameters ??
aclockworkkelly 3 years ago
i think there are redundancies with pointers you can phrase diff ways to do a smae thing, makes it more confusing
DeepGlue555 3 years ago
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.
skyborg007 3 years ago
How come I can't Choose the Debug options of Debug or Continue without debugging? I'm using the same program as him
JAPSRejekt 3 years ago
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!
GhostXoP 3 years ago
askegk's comment is not spam, its reconnetwork's new website, the old one is down
pentiumwetwired 3 years ago
This has been flagged as spam show
New website is reconnetworks.net/forum
See you there, Icemens =)
askegk 3 years ago 3
This one doesn't make much sense either.
ghostbusterz 3 years ago
for anyone who is interested, the new site is reconnetworks(.)net/forum
k3ystone 3 years ago
omg.. after u came back and added all that new stuff i was just like fuck that... maybe later ;]
abeKabe 3 years ago 2
whats that little thingyyou put here- pointerfunc(_ipointer); to draw the address out?
PCProbe 3 years ago
idk what that is either! grr someone tell us..
abeKabe 3 years ago
I think it was this "*". Asterisk. If that's what you asking about.
SpraxIAKS 3 years ago
i dont know either, i think it was a % sign or a 6
whatiswrongme 3 years ago
He puts a "&" there if you haven't figured it out yet.
mrnoobkiller 3 years ago
Please join mycomputerforum(dot)com, if you're interested in programming!
JWHooper3581 3 years ago
Great tutorial, thanks
unrealriot 4 years ago
thanks you keep making tuts if u can, also put the webpage back up
sarracatuf 4 years ago
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;)
SpartanQ77 4 years ago 2
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.
lnknprkman 4 years ago
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.
zachlr1 4 years ago
how do u color each text line your comment was really helpfull thanks
eritreaforum 3 years ago
This comment has received too many negative votes show
you guys are so inferior to my high intellect that your attention spans dont last more than two seconds
shariffjames 4 years ago
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.
marmuhlade 4 years ago
use sysem("PAUSE");
stromming90 3 years ago
Make sure to add system("PAUSE"); before return 0;
crazybunny1410 3 years ago
Make sure to add system("PAUSE"); before return 0;
crazybunny1410 3 years ago
This comment has received too many negative votes show
its like if you were talking to yourself, tryint to teach your own self the things you are not even able to understand yourself, youre funny :)
Quevillonnais 4 years ago
Nice man, love the video... but i couldnt tell apart some symbols, seeing as i am new to c++.
jagman991 4 years ago 2
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.
mannwbhs 4 years ago
nice jmac, good tut i did comment about it in the source post keep up the good work
HLA91 4 years ago
good job.
objectorientedscotty 4 years ago
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.
lifeiscomplexing 4 years ago
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!
lifeiscomplexing 4 years ago
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
pro1master 4 years ago
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?
DarkerCry 4 years ago
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
MauriMahtava 4 years ago
Omg T_T, I found my problem, sorry about that >.>.
mikezenox2 4 years ago
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 =[.
mikezenox2 4 years ago
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?
Ceonsamea 4 years ago
whats the function that I have to add to my code in order to change the color of an especific part?
TeamBlurr 4 years ago
You have to declare the variable HANDLE hConsole, then do SetConsoleTextAttribute(hConsole, n) where n is the number of the colour you want.
DannyBurgoyne 4 years ago
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++
videopray 4 years ago
its declaring a handle variable.
reconnetworks 4 years ago
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
sticksquash 4 years ago
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.
23jackal 4 years ago
I kinda of changed that... but its moving too fast for me, Cant keep up with your guy's pace...
reconnetworks 4 years ago
He needs 50000000 views first doh :(
Zomggiggity 4 years ago
its a secret! :p
reconnetworks 4 years ago
hey man can u pleas send me a video on how to make a
fun game? ive alredy made the gumball thingy
videopray 4 years ago
What's going to be on your next video or do you know when you're going to make another video. JW ;)
poopminion 4 years ago
I use Visual studio 2005
reconnetworks 4 years ago
can you make a tutorial on loading .gif or .jpg as a background? I love your tutorials ;)
poopminion 4 years ago
what Text editor are you using for your scripts?
aaron556 4 years ago
probably KDE's Kate - I know you can do that in Kate.
ultrajumboshrimp 4 years ago