Post: Mac Help
10-24-2011, 04:34 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello, is there any good programming applications for android or even mac os x applications cause i have a macbook pro, and i want to program for mac os x and also android. please help out for me thanks again!
(adsbygoogle = window.adsbygoogle || []).push({});
10-24-2011, 05:23 PM #2
Epic?
Awe-Inspiring
Originally posted by RaunchyBurito View Post
Hello, is there any good programming applications for android or even mac os x applications cause i have a macbook pro, and i want to program for mac os x and also android. please help out for me thanks again!


Yes, you can use the Android SDK: You must login or register to view this content..
But also, if you have a Mac, most people would prefer to develop iOS based applications (for the iPhone, iPad, etc.).
As for developing MacOSx applications, there's a variety of programming languages and IDEs that you could use.

Note that you will need to know how to program to develop programs, its not something you can learn in a day.
10-24-2011, 09:01 PM #3
if you want to make a macOSx application program you can just use bash
here use this first for a simple c application.
    
#include <stdio.h>
int main(){
printf("hello world");
}

copy that save it as hello.c

open up terminal go to desktop
type
cd ~/Desktop
then type
gcc -o hello hello.c
and then it should give you a file named hello in mac's version of an executable format.
you could also just type make hello and that'll work to

as for android apps not really worth it on a mac, but just listen to what Epic? said.
hope this helps

also, this guy has a lot of good videos for c++ programming for macOSx
You must login or register to view this content.
10-24-2011, 09:19 PM #4
Epic?
Awe-Inspiring
Originally posted by D3ss3rtPr0ducts View Post
if you want to make a macOSx application program you can just use bash
here use this first for a simple c application.
    
#include <stdio.h>
int main(){
printf("hello world");
}

copy that save it as hello.c

open up terminal go to desktop
type
cd ~/Desktop
then type
gcc -o hello hello.c
and then it should give you a file named hello in mac's version of an executable format.
you could also just type make hello and that'll work to

as for android apps not really worth it on a mac, but just listen to what Epic? said.
hope this helps

also, this guy has a lot of good videos for c++ programming for macOSx
You must login or register to view this content.


I don't think many people write full applications in bash.

Also, in C you're supposed to specify void as the argument for a method that takes no arguments and you should return 0 after successful execution. But more over, you should actually specify main as int main(int argc, char *argv).
10-24-2011, 11:11 PM #5
Originally posted by Epic
I don't think many people write full applications in bash.

Also, in C you're supposed to specify void as the argument for a method that takes no arguments and you should return 0 after successful execution. But more over, you should actually specify main as int main(int argc, char *argv).


well actually that's all a little unnescessary, cuz either way they both compile.
10-25-2011, 12:21 AM #6
Epic?
Awe-Inspiring
Originally posted by D3ss3rtPr0ducts View Post
well actually that's all a little unnescessary, cuz either way they both compile.


Just because something seems "unnecessary" doesn't necessarily make it "incorrect", and just because something will "compile" doesn't mean its "correct".

First off, it is necessary on many large scale applications, to take command line arguments and to return error codes, also, its the technically correct method for doing things.

To further my point, this will also compile, and serves a very similar purpose as your application did:
    #include "stdio.h"
#define e 3
#define g (e/e)
#define h ((g+e)/2)
#define f (e-g-h)
#define j (e*e-g)
#define k (j-h)
#define l(x) tab2[x]/h
#define m(n,a) ((n&(a))==(a))

long tab1[]={ 989L,5L,26L,0L,88319L,123L,0L,9367L };
int tab2[]={ 4,6,10,14,22,26,34,38,46,58,62,74,82,86 };

main(m1,s) char *s; {
int a,b,c,d,o[k],n=(int)s;
if(m1==1){ char b[2*j+f-g]; main(l(h+e)+h+e,b); printf(b); }
else switch(m1-=h){
case f:
a=(b=(c=(d=g)<<g)<<g)<<g;
return(m(n,a|c)|m(n,b)|m(n,a|d)|m(n,c|d));
case h:
for(a=f;a<j;++a)if(tab1[a]&&!(tab1[a]%((long)l(n))))return(a);
case g:
if(n<h)return(g);
if(n<j){n-=g;c='Awesome face';o[f]=h;o[g]=f;}
else{c='\r'-'\b';n-=j-g;o[f]=o[g]=g;}
if((b=n)>=e)for(b=g<<g;b<n;++b)o[b]=o[b-h]+o[b-g]+c;
return(o[b-g]%n+k-h);
default:
if(m1-=e) main(m1-g+e+h,s+g); else *(s+g)=f;
for(*s=a=f;a<eWinky Winky *s=(*s<<e)|main(h+a++,(char *)m1);
}
}
10-25-2011, 01:19 AM #7
Originally posted by Epic
Just because something seems "unnecessary" doesn't necessarily make it "incorrect", and just because something will "compile" doesn't mean its "correct".

First off, it is necessary on many large scale applications, to take command line arguments and to return error codes, also, its the technically correct method for doing things.

To further my point, this will also compile, and serves a very similar purpose as your application did:
    #include "stdio.h"
#define e 3
#define g (e/e)
#define h ((g+e)/2)
#define f (e-g-h)
#define j (e*e-g)
#define k (j-h)
#define l(x) tab2[x]/h
#define m(n,a) ((n&(a))==(a))

long tab1[]={ 989L,5L,26L,0L,88319L,123L,0L,9367L };
int tab2[]={ 4,6,10,14,22,26,34,38,46,58,62,74,82,86 };

main(m1,s) char *s; {
int a,b,c,d,o[k],n=(int)s;
if(m1==1){ char b[2*j+f-g]; main(l(h+e)+h+e,b); printf(b); }
else switch(m1-=h){
case f:
a=(b=(c=(d=g)<<g)<<g)<<g;
return(m(n,a|c)|m(n,b)|m(n,a|d)|m(n,c|d));
case h:
for(a=f;a<j;++a)if(tab1[a]&&!(tab1[a]%((long)l(n))))return(a);
case g:
if(n<h)return(g);
if(n<j){n-=g;c='Awesome face';o[f]=h;o[g]=f;}
else{c='\r'-'\b';n-=j-g;o[f]=o[g]=g;}
if((b=n)>=e)for(b=g<<g;b<n;++b)o[b]=o[b-h]+o[b-g]+c;
return(o[b-g]%n+k-h);
default:
if(m1-=e) main(m1-g+e+h,s+g); else *(s+g)=f;
for(*s=a=f;a<eWinky Winky *s=(*s<<e)|main(h+a++,(char *)m1);
}
}

lol actually no that won't compile.
You must login or register to view this content.
and second of all all that i was trying to say was that for a small simple program like hello world, you dont need the char args or the void. but yes it is used on most c programs. and also i didn't say it was incorrect or correct to use that. i was just saying that that will compile and run. for a hello world program.
10-31-2011, 08:02 AM #8
Pichu
RIP PICHU.
Lol between Epic and Desert but...

If I were you I would focus on coding for IOS as if you get really good at it you can then pay for a licence and submit applications for the Itouch/Phone/Pad.

It's a good way to make some money. You may though want to see about, when you are good enough, getting a friend or two who are good with GFX and 3d rendering to help create animations and such and split the cash made.

The following user thanked Pichu for this useful post:

Docko412

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo