[Site Home] [Forum Home] [Articles] [File DB] [News Archives]

General PC Talk -> coding thread


(View original topic)


MikeDB - Aug-29-2005 server time
Ok sorry about that.

Red Squirrel - Aug-29-2005 server time
Go on the link at the bottom to manage stuff

http://www.iceteks.com/forums/cybervillage/manage.php

Then click the buisiness you want and you can change the name, icon etc. btw these questions should go in the cybervillage forum.

MikeDB - Aug-29-2005 server time
hello how in gods name can i change the name's of my bank and mall?

Red Squirrel - Aug-29-2005 server time
Oh I know why, it's because it does that the first time a bank is robbed since the last rob date file is not created. I'd have to make a mechanism to create it though since it's kind of bad programming... or I can hide the error. em321.gif But that can lead to some other issues like permission denied and stuff when it's not chmodded to 777.

MikeDB - Aug-29-2005 server time
no just today.

Red Squirrel - Aug-29-2005 server time
hmm I'll look into that... has this been like that for long?

MikeDB - Aug-29-2005 server time
problems with forms
CODE
Warning: fopen(data/bankrobdate94.txt) [function.fopen]: failed to open stream: No such file or directory in /home2/iceteks/public_html/forums/cybervillage/rob-bank.php on line 25

Warning: fgets(): supplied argument is not a valid stream resource in /home2/iceteks/public_html/forums/cybervillage/rob-bank.php on line 26

Warning: fclose(): supplied argument is not a valid stream resource in /home2/iceteks/public_html/forums/cybervillage/rob-bank.php on line 27

this appers when I tryed to rob the new bank a made in cibervillage.

MikeDB - Aug-29-2005 server time
oh.

Cold Drink - Aug-29-2005 server time
conio.h = CONsole IO Header file
CODE

#include <conio.h>

int main(...){
 ...
 char ch = getch();
}

MikeDB - Aug-29-2005 server time
conio.h?

Red Squirrel - Aug-28-2005 server time
Include conio.h in your .cpp file and add the command getch() before return 0;, then you can open it normally and you'll get a chance to view the output, easier then having to open cmd and browsing to the folder then opening it.

MikeDB - Aug-28-2005 server time
Hello there I am started to get better and better with C/C++ now I have coded my own "Hello world!" thing but how do I view it? I heard that you use CMD for that but how do I do that?

(Showing 50 last posts, newest on top)