generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Club Houses » ROBLOX Talk
Home Search
 

Re: Can anyone help with this C++ code?

Previous Thread :: Next Thread 
DrHaximus is not online. DrHaximus
Joined: 22 Nov 2011
Total Posts: 8410
11 Apr 2012 05:06 PM
#include < iostream >
char map[2][78];
namespace loa {
void drawMap();
void drawMap() {
       for (int a=0;a<77;a++) {
 for (int b=0;b<77;b++) {
if (b==0||77) {
map[0][b] = '#';
std::cout << map[0][b];
}
else {
map[0][b] = ' ';
std::cout << map[0][b];
}
if (a==0||77) {
map[0][a] = '#';
std::cout << map[0][a];
}
else {
map[0][a] = ' ';
std::cout << map[0][a];
}
}
}
}
}
using namespace loa;
int main() {
drawMap();
std::cout << "\n\n";
std::cin.get();
}

Report Abuse
wowzee is not online. wowzee
Joined: 02 Apr 2010
Total Posts: 22692
11 Apr 2012 05:06 PM
I doubt anyone has that much free time.
Report Abuse
DrHaximus is not online. DrHaximus
Joined: 22 Nov 2011
Total Posts: 8410
11 Apr 2012 05:07 PM
Huh?
It would take like 5 minutes..
Report Abuse
peaspod is not online. peaspod
Joined: 29 Sep 2010
Total Posts: 2809
11 Apr 2012 05:07 PM
Wrong forum. Go to "SPITW" (Saddest Person In The World)
Report Abuse
Stanleyjustrocks is not online. Stanleyjustrocks
Joined: 20 Jun 2009
Total Posts: 26796
11 Apr 2012 05:07 PM
[ Content Deleted ]
Report Abuse
Screp is not online. Screp
Joined: 25 Feb 2012
Total Posts: 1246
11 Apr 2012 05:07 PM
O.o

Sorreh, but no.
Report Abuse
TheIdioticWarrior is not online. TheIdioticWarrior
Joined: 12 Jul 2011
Total Posts: 50039
11 Apr 2012 05:07 PM
I only know basic html :P

My ʇǝd Enderdragon Fido •д•
Report Abuse
Memitchi is not online. Memitchi
Joined: 03 Sep 2007
Total Posts: 5917
11 Apr 2012 05:07 PM
Does Roblox support C++ now?
Report Abuse
DuckD0nald is not online. DuckD0nald
Joined: 21 Aug 2008
Total Posts: 9870
11 Apr 2012 05:08 PM
@peas
What are you, ten?
I don't see how a hobby means someone has no life.
Report Abuse
Shedletsky is not online. Shedletsky
Joined: 21 Jun 2006
Total Posts: 9114
11 Apr 2012 05:08 PM
if (b==0||77) {

77 is always true. This will always run.

All non-zero integers are true.

you need if (b==0||b==77) {
Report Abuse
DrHaximus is not online. DrHaximus
Joined: 22 Nov 2011
Total Posts: 8410
11 Apr 2012 05:08 PM
@Whoever
std::cin.get();
is a better replacement for using system().

std::

I need this becuase i'm not using the std namespace on main.
Report Abuse
FleskhjertaOwns is not online. FleskhjertaOwns
Joined: 15 Sep 2008
Total Posts: 18913
11 Apr 2012 05:09 PM
cool, shedletsky helped fix it!
Report Abuse
DrHaximus is not online. DrHaximus
Joined: 22 Nov 2011
Total Posts: 8410
11 Apr 2012 05:09 PM
Oh okay. Thanks for the help.
Report Abuse
Stanleyjustrocks is not online. Stanleyjustrocks
Joined: 20 Jun 2009
Total Posts: 26796
11 Apr 2012 05:11 PM
[ Content Deleted ]
Report Abuse
DrHaximus is not online. DrHaximus
Joined: 22 Nov 2011
Total Posts: 8410
11 Apr 2012 05:13 PM
Becuase sometimes they're quite lazy.

For example; how long does it take to fix an exploit as simple as the teleporting service.

(The toolbox one.)
Report Abuse
legend8887 is not online. legend8887
Joined: 06 Nov 2010
Total Posts: 13765
11 Apr 2012 05:13 PM
Wrong forum Go to TIFCC. (There Isn't a Forum for C++ Code)

-legend8887
Report Abuse
Screp is not online. Screp
Joined: 25 Feb 2012
Total Posts: 1246
11 Apr 2012 05:15 PM
The toolbox exploit is patched.
Report Abuse
DrHaximus is not online. DrHaximus
Joined: 22 Nov 2011
Total Posts: 8410
11 Apr 2012 05:15 PM
Didn't say it wasn't.
Report Abuse
Lightmaster9 is not online. Lightmaster9
Joined: 14 May 2009
Total Posts: 8659
11 Apr 2012 05:16 PM
Woooooow... harder than chinese.
Report Abuse
greenmario1 is not online. greenmario1
Joined: 27 Nov 2010
Total Posts: 4736
11 Apr 2012 05:16 PM
I have a life.
Report Abuse
DrHaximus is not online. DrHaximus
Joined: 22 Nov 2011
Total Posts: 8410
11 Apr 2012 05:25 PM
@Green
And I don't?
Report Abuse
Sphyrinx is not online. Sphyrinx
Joined: 05 Jul 2011
Total Posts: 22022
17 Jul 2012 10:33 PM
[ Content Deleted ]
Report Abuse
DrHaximus is not online. DrHaximus
Joined: 22 Nov 2011
Total Posts: 8410
17 Jul 2012 10:33 PM
@Sphrinx

Sorry, that's classified.

*Puts on sunglasses*
Report Abuse
Sphyrinx is not online. Sphyrinx
Joined: 05 Jul 2011
Total Posts: 22022
17 Jul 2012 10:34 PM
[ Content Deleted ]
Report Abuse
AwesomeRobloxMarc is not online. AwesomeRobloxMarc
Joined: 14 Jan 2011
Total Posts: 42379
17 Jul 2012 10:35 PM
UMG SHEDLETSKY U LOOK WEIRD
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » ROBLOX Talk
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image