Hey Everyone.
Is there any way to make a sub? For example there's int main(), can I make something else like int menu() and sort of link int main to int menu? I have no idea how to do this.:-/

The forum is littered with examples, it shouldn't take too long to find something.

There's 50 pages, but I'll try and look throught them....

I like this tutorial about function better

> There's 50 pages, but I'll try and look throught them....
I'd be surprised if you couldn't find an example on every page.

Thanks, but is there any way to link to a function or something? not just using it for something like: Add() and stuff.

I have no idea what you're asking

What I understand from your question is that, you want your int menu() function to be the entry point of your program, in C99 Standard its defined that the int main() and int main (int argc, char* argv[]) OR int main (int argc, char** argv) should be the starting point of any program in C, but few compilers let is configurable you can change the options and able to set the entry point to another function like int menu or so.
hope I get your question correctly.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.