yes, I made the project in Pelles C and built the project... or did I??
If you had done this, you would know...
In POIDE (The editor for Pelles C) creating a project is a distinct step in the process. You cannot simply open the program and start typing in source code...
In the IDE click File -> New -> Project ... you probably want a Win32 Console Program, from the empty projects section, for this... give your project a name at the bottom of the dialog and click OK.
That leaves you with an empty project.
Now click File -> New -> Source code (or type CRL+N)
The new page is where you type in your source code.
When you finish click the save icon on the taskbar.. you will be asked to name your file and then asked if you want to add it to your project.
After saving the file you can build it by clicking the Build icon on the taskbar...
So, as you can see... if you had done this, you would know
Also take a look in the help file...
Help -> Contents -> Integrated Environment -> POIDE Integrated Environment -> Your First Project
... for a more detailed explaination.
FWIW... Pelles C has one of the best help files I've ever seen... you should get used to using, as you will be in there a lot.
I wrote the source code in Pelles C if thats what you mean then compiled it then ran it.
Did you get any errors during the compile process?
The compiler and linker stop if there are any errors.
Nothing happened though because the file wasn't there. It needs to be input.
There could be other reasons why "nothing happened"... especially of you got errors during the build process.
Pelles C emits Windows executable files... running a file after a successful compile should produce a console window with (at least) "Press any key to continue..." showing. If you didn't get that, it's likely your program is not built... either because of errors at compile time or because you haven't created a proper project for it to build.
I guess the question is how do I open the file to use it as an input?
Pelles C is standard C ... So you would open and process the file in the usual C manner, using fopen() fread() fwrite() fclose() etc. There's nothing special or unique to Pelles C about this...
You need to read up on how each of these functions works... For example; type fopen (or place your editing cursor on it) in your source page and press F1 on your keyboard... The help file will open with a complete explaination of what the function does.
Do I actually have to make it a project?
Yes. The project is the instructions the compiler and linker use to know how to build your code.
My questions may sound silly because I'm really new to programming and Pelles C
No worries... we've all been there at one time or another.
The biggest problem is that I can't see your screen to help you figure out where it went wrong. When asking questions on line like this, the more information you give us the better... samples of the failed source code, project files attached to messages, detailed descriptions of the problem, etc. all contribute very strongly to our ability to help you. We're a pretty smart bunch but I don't think any of us are mind readers.