NO

Author Topic: How to run a new program in pelles?  (Read 6501 times)

orion6

  • Guest
How to run a new program in pelles?
« on: January 16, 2012, 03:53:22 PM »
hi

As you can understand from the question
im a begginer
I just want to know how can i run program
after built it.

My program was the basic one:

#include <studio.h>

void main()
{
printf("hello world");
}

thanks you!

Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 772
Re: How to run a new program in pelles?
« Reply #1 on: January 16, 2012, 05:52:54 PM »
hi

As you can understand from the question
im a begginer
I just want to know how can i run program
after built it.

My program was the basic one:

#include <studio.h>

void main()
{
printf("hello world");
}

thanks you!
first of all, you would have to fix your program to be able to build it... (it's stdio.h not studio.h).

Otherwise, just hit the "Execute" button on the menu bar.

However, you need to realize that Pelle's C is a Windows based and "project oriented" development environment.
So to create your simple program, you would have start with creating a console application project first. But as you state that you already build it, you might have already done that.

Otherwise, please be a bit more specific as to what exactly you have done and what exactly is (not) happening when YOU try to run it. You need to remember that we can't see what you're doing...

Ralf

orion6

  • Guest
Re: How to run a new program in pelles?
« Reply #2 on: January 16, 2012, 07:21:25 PM »
thanks you for the answer.

First, I do not talk english so good as you can see so I would
like you to forgive me.

I tried to run the program but this bottom is not work (I cant push it)
so what can i do?
You have talked about some process that I need to do before starting
built programs...what it is?

and one more last queastion:
Do you reccomand to me to try a nather developed enviromaent?

Thanks you very much. the forums in Israel are empties...
 

CommonTater

  • Guest
Re: How to run a new program in pelles?
« Reply #3 on: January 16, 2012, 08:32:32 PM »
Hi Orion6, welcome to the forums...

First thing you should do is look in the help file... press F1 on your keyboard then click the following...

Contents -> Integrated Environment -> POIDE Integrated environment -> Your first project (hello world)

This will tell you how to make a basic project that you can compile.

You can't just type in source code and run it... you need to build a project first.

orion6

  • Guest
Re: How to run a new program in pelles?
« Reply #4 on: January 16, 2012, 09:48:01 PM »
Thanks you for the unswer

I succeed in making the first program (lol...it was too easy)
but now im trying to built a program by my self.

I have open a new project with a nather name
and built the program but when I tried to run the program
it just showed me an empty page...

I remmember from JAVA learning in Eclipse developed enviroment
that after building a program and runing it( For example X+X) it was display me a place to import
the value of X and the program show's the answer.

for example, if my program was x+x and I imported x=2 then the answer will be 4

Im sorry agen for the English...

Thanks you.

CommonTater

  • Guest