Jump to content

  • Log In with Google      Sign In   
  • Create Account


OZLK

Member Since 25 May 2013
Offline Last Active Jul 15 2013 02:48 AM

Posts I've Made

In Topic: Looking for some guidance.

29 May 2013 - 05:21 PM

Ok, thank you. Yeah, I was probably being a bit selfish before, I kinda half expected for all the answers to just come to me, but I want to do this so I will be more adamant about it now. Any tutorials that you may have seen that you recommend, I've seen loads of them, but if you know one that is better than most then feel free to let me know.


In Topic: Looking for some guidance.

27 May 2013 - 07:53 PM

Well it opened up, and displayed the text, but then immediately closed. But the one that I did was able to be ran without closing. I tried that second code you put there after my Hello World line, but it just made me be able to type in the window, it didn't close it, unless I pressed enter, with the "conio.h" line. Other than that I couldn't close it, even with "return 0;", this was all with "int" by the way, but as soon as I changed it to "void", with the "char c" etc and without "conio.h" (with no "_getch();" either) it was open until I pressed enter.


In Topic: Looking for some guidance.

27 May 2013 - 06:29 AM

@Dragonsoulj I had actually used that way of coding it before, it didn't work and I had to look up another way to do it, I did it this way

#include <iostream>
#include <conio.h>

using namespace std;
void main(){
	cout << "Hello World!" << endl;
	_getch();
}

And that seems to work, I am using Visual Studio 2012 if that makes any difference

 

And 3Ddreamer, I'm sorry, but I only kinda got half of that, you were talking a bit too advanced for me, I guess I'm more noobish than I thought. But as for trying to learn, as I stated in my post I learn best with a project, do you know a good tutorial on creating a program or game that I can follow?


PARTNERS