d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Question About C++ With Macs
Prev123
Add Reply New Topic New Poll
Member
Posts: 467
Joined: Nov 18 2013
Gold: 0.00
Nov 25 2013 11:06am
Quote (grievance @ Nov 25 2013 10:39am)
it also doesn't let you type in *** but if you do something like _E_@!_B_%$_A_#$_Y_ you can still get the message through.
Though, I would be careful about doing this. If I was actually trying to sell you something using the above not mentioned site, then it's likely I would pick up some warn/etc.

Also, I don't recommend scouring the internet for random source code and then trying to compile it.
Not only because it's a security risk, but if you're studying said source code you could be picking up another programmer's bad programming habits.
You'd be much better off writing simple programs on your own. Even if they're only 10-20 lines / 1-2 functions.
You can grow from there.


only reason i copied it was to try and compile so i can learn to get the program to work before i start writing code and not being able to compile it.
Member
Posts: 11,637
Joined: Feb 2 2004
Gold: 434.84
Nov 25 2013 12:36pm
Quote (Arstar04 @ Nov 25 2013 12:06pm)
only  reason i copied it was to try and compile so i can learn to get the program to work before i start writing code and not being able to compile it.


Put spaces in between each letter of the fucking .h file's name and be done with it. That will get around whatever stupid wordfilter it's triggering on the site. We can't help you if you refuse to help yourself a little bit.
Retired Moderator
Posts: 38,135
Joined: May 27 2006
Gold: 3,835.50
Trader: Trusted
Nov 25 2013 01:54pm
Quote (Arstar04 @ Nov 25 2013 12:06pm)
only  reason i copied it was to try and compile so i can learn to get the program to work before i start writing code and not being able to compile it.


Like what others have suggested, you would be much better off writing a small program with just a function so when you learn to compile you aren't trying to compile other people's work that are including header files that you do not have or not know what they do.

You can also run a linux distro on a VMware or another sandbox program (I prefer Peppermint distro) and begin practicing C/C++ inside of that environment.

This post was edited by ArtofApocalypse on Nov 25 2013 01:56pm
Member
Posts: 467
Joined: Nov 18 2013
Gold: 0.00
Nov 25 2013 02:17pm
Quote (rockonkenshin @ Nov 25 2013 01:36pm)
Put spaces in between each letter of the fucking .h file's name and be done with it. That will get around whatever stupid wordfilter it's triggering on the site. We can't help you if you refuse to help yourself a little bit.


its A_!_L_!_L_!_E_!_G_!_R_!_O
Member
Posts: 2,757
Joined: Nov 26 2007
Gold: 1,214.81
Nov 25 2013 03:51pm
put the header file alegro.h in the same folder, and replace <alegro.h> with "alegro.h"

the person who wrote the code ur looking at probably added the include directory in their project properties

And by alegro, i mean with 2 ls. I don't know why the shit you're not allowed to post it on d2jsp :S
Member
Posts: 4,605
Joined: Sep 15 2011
Gold: 9,464.00
Nov 25 2013 04:27pm
Quote (grievance @ Nov 25 2013 08:39am)
Also, I don't recommend scouring the internet for random source code and then trying to compile it.
Not only because it's a security risk, but if you're studying said source code you could be picking up another programmer's bad programming habits.
You'd be much better off writing simple programs on your own. Even if they're only 10-20 lines / 1-2 functions.
You can grow from there.


the advice you're giving him here is far beyond his level of ability.

the short answer to the op is: stop trying to compile random shit. spend some time learning how programs actually work (no, i'm not telling you; yes, you should google for it), write some simple programs at first, and then slowly work your way up.
Member
Posts: 2,757
Joined: Nov 26 2007
Gold: 1,214.81
Nov 25 2013 05:08pm
Member
Posts: 11,637
Joined: Feb 2 2004
Gold: 434.84
Nov 26 2013 07:42am
Quote (Arstar04 @ Nov 25 2013 03:17pm)
its A_!_L_!_L_!_E_!_G_!_R_!_O


http://alleg.sourceforge.net/

Download whatever platform you need and write the appropriate makefile.
Member
Posts: 2,217
Joined: Sep 10 2007
Gold: 35.88
Nov 26 2013 09:32am
Quote (labatymo @ Nov 25 2013 03:51pm)
put the header file alegro.h in the same folder, and replace <alegro.h> with "alegro.h"

the person who wrote the code ur looking at probably added the include directory in their project properties

And by alegro, i mean with 2 ls. I don't know why the shit you're not allowed to post it on d2jsp :S



A_l_legro (auction website), a Poland-based online auction website (Sourced from wikipedia). I'm assuming it's the same reason E_B_A_Y is filtered.



Quote (Arstar04 @ Nov 25 2013 11:06am)
only  reason i copied it was to try and compile so i can learn to get the program to work before i start writing code and not being able to compile it.


Compiling somebody else's source code is not a good way to check to see if your compiler is working properly.
For all you know, that source code is 4 years old and was written by a retard. Anybody can upload to the internet.
Again, your BEST bet (both for learning and for testing your compiler) is to write your own simple programs.. 1 function, a couple variables, cin/cout, basic stuff.. Go from there.
Go Back To Programming & Development Topic List
Prev123
Add Reply New Topic New Poll