getting started with C++ on Mac
Moderator: Coders of Rage
-
- Chaos Rift Cool Newbie
- Posts: 60
- Joined: Tue Oct 28, 2008 6:10 pm
getting started with C++ on Mac
Hey, I have been interested in programming for a while, and purchases a book on SAM'S book "Teach Youself C++ in 24 hours). However, the problem lies in that I have a mac and the book seems to be based around windows, and about every game programming thing is windows based. So, I don't really know what to do.
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: getting started with C++ on Mac
Hm... try http://meandmarkpublishing.blogspot.com ... -os-x.html ?
Code should work fine as long as it's standard (IOW, in general, if it doesn't #include <windows.h> it should be fine).
Code should work fine as long as it's standard (IOW, in general, if it doesn't #include <windows.h> it should be fine).
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
- NeonNinja♦
- Chaos Rift Newbie
- Posts: 38
- Joined: Sat Oct 25, 2008 4:55 pm
- Location: Under your bed eating your couch :D
Re: getting started with C++ on Mac
I think PC's are better :D But then again mac's are good because they cant get viruses.... Good luck :D
"Java is C++ without the guns, knives, and clubs" <------- So true.
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: getting started with C++ on Mac
They can too. Just no one's made a prolific mac virus yet d:
Malicious viruses developed is proportional to market share, hm?
Malicious viruses developed is proportional to market share, hm?
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
- NeonNinja♦
- Chaos Rift Newbie
- Posts: 38
- Joined: Sat Oct 25, 2008 4:55 pm
- Location: Under your bed eating your couch :D
Re: getting started with C++ on Mac
Haha that would be hard
"Java is C++ without the guns, knives, and clubs" <------- So true.
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: getting started with C++ on Mac
I doubt it would be as difficult as it would be useless. Who cares enough to put any effort towards Macintosh viruses?
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
Re: getting started with C++ on Mac
True that, the invisible hand of malicious softwareMarauder wrote:Malicious viruses developed is proportional to market share, hm?
Re: getting started with C++ on Mac
Mac just keeps there source codes tight...so its a smaller risk of virus...compared to not as many programs/games...I think PC + Anti-Virus owns Mac....big time...but when you start incorporating Vista in...then it starts to even out a bit...NeonNinja♦ wrote:I think PC's are better :D But then again mac's are good because they cant get viruses.... Good luck :D
Vista's all right I guess, but it still isn't too great.
- Trask
- ES Beta Backer
- Posts: 738
- Joined: Wed Oct 29, 2008 8:17 pm
- Current Project: Building a 2D Engine
- Favorite Gaming Platforms: Sega Genesis and Xbox 360
- Programming Language of Choice: C/C++
- Location: Pittsburgh, PA
- Contact:
Re: getting started with C++ on Mac
When I started programming in HS, they had us using a Metroworks IDE, I don't know what's used now, but I remember loving Microsoft's IDE much more. We never got heavy into the MAC specifics of programming, it was all basic work that could be done on any system, just compiled differently. I know there's an old Mac game development book out there, I remember seeing it at my old college's library, though I never read it. If somebody could make a few good games on Apple products, they'd get a huge headstart compared to what's out there. Most game companies stay clear of the Macs due to their small install base, but if you make a few ports or Mac specific games and what not, you could make something happen.
Dear god, they actually ported ES to a piece of celery!MarauderIIC wrote:You know those people that are like "CHECK IT OUT I just made Linux run on this piece of celery [or other random object]!!"? Yeah, that's Falco, but with ES.
Martin Golding wrote: "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
Re: getting started with C++ on Mac
HUH? actually macs can get virus', can mac are really awesome development platforms.NeonNinja♦ wrote:I think PC's are better :D But then again mac's are good because they cant get viruses.... Good luck :D
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dad, "Yea well I have a fan belt in street fighting"
Re: getting started with C++ on Mac
what???, mac for the most part is open source, at least the kernel. there are versions of linux that are completely open source and have way less virus' than windows. windows is just based on less secure filesystem.XianForce wrote:Mac just keeps there source codes tight...so its a smaller risk of virus...compared to not as many programs/games...I think PC + Anti-Virus owns Mac....big time...but when you start incorporating Vista in...then it starts to even out a bit...NeonNinja♦ wrote:I think PC's are better :D But then again mac's are good because they cant get viruses.... Good luck :D
Vista's all right I guess, but it still isn't too great.
PS: im not saying windows is bad. infact im on it right now and love it. do all my development in VC2008
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dad, "Yea well I have a fan belt in street fighting"
- programmerinprogress
- Chaos Rift Devotee
- Posts: 632
- Joined: Wed Oct 29, 2008 7:31 am
- Current Project: some crazy stuff, i'll tell soon :-)
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++!
- Location: The UK
- Contact:
Re: getting started with C++ on Mac
It's all really a matter scale and market share.
Microsoft Windows is used by a relatively large share of the IT market, therefore, for some annoying teenager in their bedroom, who hates the world and wants to make as big impact as possible, will be more inclined to destroy the largest amount of machines as he/she(you never know) possibly can, therefore their natural choice would be to make viruses that messes up machines powered by windows.
Also, another factor is that there's more machines to pass on the virus, which means the viurs cannot be isolated as easily, and therefore spreads, through the use of networks.
And the final thing to take into account, and this only really counts with linux vs windows AFAIK, is the fact that windows is proprietry, therefore, there are less people, working on solutions, to combat problems with the core operating system, compared to linux which is open source. if theres a problem with linux, someone is likely to either report it, or fix it promptly, instead of wait for a company, which is probably developing an even better operating system, with even more security flaws, to fix the problem.
I could be wrong, if i've got any of this wrong, let me know, it's just how I would see it logically.
Microsoft Windows is used by a relatively large share of the IT market, therefore, for some annoying teenager in their bedroom, who hates the world and wants to make as big impact as possible, will be more inclined to destroy the largest amount of machines as he/she(you never know) possibly can, therefore their natural choice would be to make viruses that messes up machines powered by windows.
Also, another factor is that there's more machines to pass on the virus, which means the viurs cannot be isolated as easily, and therefore spreads, through the use of networks.
And the final thing to take into account, and this only really counts with linux vs windows AFAIK, is the fact that windows is proprietry, therefore, there are less people, working on solutions, to combat problems with the core operating system, compared to linux which is open source. if theres a problem with linux, someone is likely to either report it, or fix it promptly, instead of wait for a company, which is probably developing an even better operating system, with even more security flaws, to fix the problem.
I could be wrong, if i've got any of this wrong, let me know, it's just how I would see it logically.
---------------------------------------------------------------------------------------
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D
I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D
I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
Re: getting started with C++ on Mac
programmerinprogress wrote:It's all really a matter scale and market share.
Microsoft Windows is used by a relatively large share of the IT market, therefore, for some annoying teenager in their bedroom, who hates the world and wants to make as big impact as possible, will be more inclined to destroy the largest amount of machines as he/she(you never know) possibly can, therefore their natural choice would be to make viruses that messes up machines powered by windows.
Also, another factor is that there's more machines to pass on the virus, which means the viurs cannot be isolated as easily, and therefore spreads, through the use of networks.
And the final thing to take into account, and this only really counts with linux vs windows AFAIK, is the fact that windows is proprietry, therefore, there are less people, working on solutions, to combat problems with the core operating system, compared to linux which is open source. if theres a problem with linux, someone is likely to either report it, or fix it promptly, instead of wait for a company, which is probably developing an even better operating system, with even more security flaws, to fix the problem.
I could be wrong, if i've got any of this wrong, let me know, it's just how I would see it logically.
its good logical reasoning, but if you look at mac os version 6 i believe, was rid with virus'. and at that time they had almost no market share.
apple has quite alot of market share really. more than you might think. i think its about 20 percent now. that is significant, they are also prolific in the educational market.
its really a moot point. because if you are safe and secure with your networks you wont get any virus' when i surf the web i use a sandbox. ie, a cirtual machine, so i dont care if it gets infected i just sort through the things that are clean, then transver them, and delete the infected VM.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dad, "Yea well I have a fan belt in street fighting"