User forums > Help

First program.

(1/2) > >>

ikkesomye:
I am completely new to any programming language.  I am just sort of following this youtube video making your first C++ program and even though I have followed it step by step when I build and run nothing happens.

I'm sure you have all heard this question before I am just really lost.

This was the youtube video
http://www.youtube.com/watch?v=qkilWa5sX9Y

The website I am learning from
http://www.cprogramming.com/tutorial/lesson1.html

thanks to those willing to help me out.

ikkesomye:
#include <iostream>

using namespace std;

int main()
{
  cout<<"HEY, you, I'm alive! Oh, and Hello World!\n";
  cin.get();

  return 0;
}

ollydbg:
Welcome!!!

--- Quote ---I'm sure you have all heard this question before I am just really lost.
--- End quote ---
what is your question?? Did you search the forum firstly??
we discuss only Code::blocks related question here, if you would like to discuss some programming question, I suggest you can go to some forum dedicate to that issue.

ikkesomye:
my bad sorry.  Basically I am running and building the program and nothing is happening.  I am not getting the same command prompt hellow world! message the user in the video is getting.

ollydbg:
en, what the exact steps did you do? also please describe your OS? C::B version? compiler version......


--- Quote ---Basically I am running and building the program and nothing is happening.
--- End quote ---
this statement has no sense. (you just say: I have a problem which we all know)

Navigation

[0] Message Index

[#] Next page

Go to full version