Ozar.net Developer Blog
Programming in PHP, C, C#, ASP.NET, Java, Objective-C, SQL also for MS SQL Server, Oracle & MySQL Development
Basic Data Types
Actually, I shouldn’t say “where ever” users input data, only when you need, want or require the user to input more than one types of data.
Awesome tutorial Zay! For your issue with the ‘glitch’ pertaining to getline(), just use cin. ignore(); right after user inputs data for ‘x’ (cin >> x;). This will ‘ignore’ the user hitting the enter key and won’t cause program to run and skip the next input command (asking for name etc. ). That’s where the ‘glitch’ is. Always use cin. ignore(); where ever users input data to prevent this type of issue.
the reezon it came out to 8 in the beginning is because x is an int and ur trying to get back a char so doesnt exactly work right
Yeah, ur jokes r cheasy lol – they cheer me up, brilliant tutorials also! You put alot of effort in your tuts, it shows. You might not be planning them out for hours on end, but most people dont go in-depth. Great. Thanks!! I started learning C++ again, i already learnt this stuff before, but ive learnt a few new things. Greetings from UK =]
Very useful, keep the tutorials coming, wierd comedy but its ok xD. Greetings from Mexico.
Thank you for watching my tutorials, too =)
Thank you =) It’s always nice to know that I’ve helped someone =)
Absolutely fantastic, you are a great teacher.
when i compile it i get an errorit saysin function ‘int main();’struct std::istream’ has no member named ‘mystring’and i cant figure it out
you cant know much more if your search for tutorials. . . . if paintballe99 == Tard; return 1;
thanx for the lessons I’m just getting started programming this actually helps alotpaintballe != normal :b
paintballe99, At least he tries to help us you fat c. u. n. t! go get a life at least he’s actually trying his best to teach us C++ unlike you fgtthen smd hoe
you are a complete idiot dont make a tutorial if you dont know what it all means. . . . . it looks like all you know is how to copy and paste no?
Your email address will not be published. Required fields are marked *