Forum: C++ 5 Days Ago |
| Replies: 3 Views: 120 You mean something like?
#include <iostream>
#include <string>
class Foo
{
public:
std::string sayHello()
{ |
Forum: C++ 5 Days Ago |
| Replies: 1 Views: 146 // strings and c-strings
#include <iostream>
#include <cstring>
#include <string>
#include <vector>
using namespace std;
vector<string> SplitString (string aString)
{ |
Forum: Graphics and Multimedia 7 Days Ago |
| Replies: 3 Views: 213 |
Forum: DaniWeb Community Feedback 8 Days Ago |
| Replies: 90 Views: 4,695 This site is getting ridiculous with all its mickey mouse gimmicks and shiny useless buttons telling me,
'hey look this is a new post'...
'hey look iamthwee you are surfing daniweb'
C'mon... |
Forum: C++ 8 Days Ago |
| Replies: 27 Views: 125,954 If it works, it works.
There's no point worrying about if a better methods exists because getch() or anything that simulates its behaviour is going to be non-standard anyway, so your concern is a... |
Forum: Computer Science 8 Days Ago |
| Replies: 6 Views: 285 Let's say I have a homework question. Let's say I have no intention of actually doing it myself.
Let's say I post that question on an internet forum and see how many people will try and post the... |
Forum: Computer Science 8 Days Ago |
| Replies: 6 Views: 285 Let's say I have a homework question. Let's say I have no intention of actually doing it myself.
Let's say I post that question on an internet forum and see how many people will try and post the... |
Forum: C++ 15 Days Ago |
| Replies: 9 Views: 362 I thought you purposely gave him a dud answer so he would hand it in. Well done you had me fooled. |
Forum: Graphics and Multimedia 19 Days Ago |
| Replies: 4 Views: 487 What the hell is this? Go get yourself a flash actionscript 3.0 book or something.
I'm being SERIOUS. |
Forum: Graphics and Multimedia 20 Days Ago |
| Replies: 5 Views: 535 I don't know if this is the best practise. It probably isn't but you could declare a global variable at the very top of the code then assign it later. |
Forum: Graphics and Multimedia 20 Days Ago |
| Replies: 5 Views: 535 What exactly are you trying to do?
Get those variables into an xmllist or something? |
Forum: Graphics and Multimedia 20 Days Ago |
| Replies: 13 Views: 913 Hey kiddo,
I've just emailed the link you gave me to JasonHippy as he is probably way more advanced in flash than me. Plus it's actionscript 2.0 so I don't really dabble with that.
In terms of... |
Forum: Graphics and Multimedia 23 Days Ago |
| Replies: 13 Views: 913 Yeah sure but I'm assuming she purchased that code from somewhere so if you ask the OP to email you a link to her zipped file. I'm not at liberty to post her link and will probably contravene some... |
Forum: Graphics and Multimedia 23 Days Ago |
| Replies: 13 Views: 913 If you have any other problems just post them here. |
Forum: Graphics and Multimedia 23 Days Ago |
| Replies: 13 Views: 913 Hi temarisky,
I've just had a quick look at the fie and I don't think you can change the <font> easily. It looks like it is drawn with code or something.
You can however, change the text easily... |
Forum: Graphics and Multimedia 24 Days Ago |
| Replies: 13 Views: 913 I'll do it. Post the .fla files etc. |
Forum: Geeks' Lounge 25 Days Ago |
| Replies: 1,548 Views: 198,008 Love is never wanting to lose faith, never wanting to give up, and never truly moving on. Love is knowing and praying in the deepest part of what's left of your heart that they feel the same. |
Forum: Geeks' Lounge 25 Days Ago |
| Replies: 1,548 Views: 198,008 If i had to choose between loving you, and breathing. I would use my last breath to say I LOVE YOU. |
Forum: C++ 25 Days Ago |
| Replies: 3 Views: 232 Next time don't leave your h/w to the last minute. |
Forum: C++ 25 Days Ago |
| Replies: 9 Views: 395 get devshed c++
You don't have to add any compilers. |
Forum: Geeks' Lounge 26 Days Ago |
| Replies: 2 Views: 314 |
Forum: Geeks' Lounge 26 Days Ago |
| Replies: 179 Views: 8,187 I've only ever used linux distro's for testing stuff on, now mainly through vmware.
I've remained with windows xp because of the software really. For protection all I do is run sygate personal... |
Forum: Geeks' Lounge 26 Days Ago |
| Replies: 58 Views: 2,939 I'd definitely like to get more into python.
I only ever used it once to use one of their excel to csv conversion scripts which was mega easy to code. Plus you can turn the script into a stand... |
Forum: C++ 27 Days Ago |
| Replies: 8 Views: 286 oops i meant
vector<bool>setlist;
setlist.push_back(true);
setlist.push_back(false);
setlist.push_back(true);
setlist.push_back(true); |
Forum: C++ 27 Days Ago |
| Replies: 8 Views: 286 I think your easiest answer would be
vector<int>setlist;
setlist.push_back(3);
setlist.push_back(12);
setlist.push_back(4);
string s1 = ",";
cout << "{"; |
Forum: C++ 27 Days Ago |
| Replies: 8 Views: 286 Well at the end can't you just do an string erase on the last but one element?
string p = "{1,2,3,24,}";
p.erase(p.length()-2,1); |
Forum: Graphics and Multimedia 28 Days Ago |
| Replies: 13 Views: 916 try:
http://scriptplayground.com/tutorials/as/getURL-in-Actionscript-3/ |
Forum: Shell Scripting 28 Days Ago |
| Replies: 24 Views: 1,286 If anyone else has the same problem it was a permission problem... |
Forum: Shell Scripting 28 Days Ago |
| Replies: 24 Views: 1,286 |
Forum: Shell Scripting 28 Days Ago |
| Replies: 24 Views: 1,286 >I don't know if it will work on my machines. It requires a ton of libs that I don't have installed.
No not at all, the reason why we chose it because it is a stand-alone web server much lighter... |
Forum: Shell Scripting 28 Days Ago |
| Replies: 24 Views: 1,286 The output is:
root@localhost:~/monkey-0.9.2/bin# more output
Monkey HTTP Daemon 0.9.2
Built : Aug 9 2009 22:38:40
Home : http://monkeyd.sourceforge.net
Which is probably useless no... |
Forum: Shell Scripting 28 Days Ago |
| Replies: 24 Views: 1,286 Ok I just tried that new script, but it didn't work.
The webpage still failed to load.
[edit]
Out of interest does it work on your machine.
To see it working you should be able to open... |
Forum: Shell Scripting 28 Days Ago |
| Replies: 24 Views: 1,286 Erm I vaguely remember the guy saying something about using linux from scratch? Does that matter?
I mean if that makes things a bit more easier.
I'll forget that for the time being and just... |
Forum: Shell Scripting 28 Days Ago |
| Replies: 24 Views: 1,286 No idea, I didn't write the script. Can you update the script with what you think it should be and I'll try it with that.
Thanx for you help so far! |
Forum: Shell Scripting 28 Days Ago |
| Replies: 24 Views: 1,286 Ok I'm not sure what this is telling you but
root@localhost:/etc# ls -alR /etc/rc.d/rc?.d
/etc/rc.d/rc0.d:
total 8
drwxr-xr-x 2 root root 4096 Aug 10 2009 .
drwxr-xr-x 11 root root 4096... |
Forum: Shell Scripting 28 Days Ago |
| Replies: 24 Views: 1,286 Oh right not sure, I'm completely lost when it comes to shell scripting and linux
root@localhost:/etc# find ./ -iname rc\*\.d
./rc.d
./rc.d/rc6.d
./rc.d/rc2.d
./rc.d/rc0.d... |
Forum: Shell Scripting 28 Days Ago |
| Replies: 24 Views: 1,286 I am also going to attach the web-server files as their hosting seems to be down. |
Forum: Shell Scripting 28 Days Ago |
| Replies: 24 Views: 1,286 Here is my output:
root@localhost:/etc# ls -al rc.d/
total 44
drwxr-xr-x 11 root root 4096 Oct 6 2008 .
drwxr-xr-x 13 root root 4096 Jan 1 00:00 ..
drwxr-xr-x 2 root root 4096 Aug 14 ... |
Forum: Shell Scripting 28 Days Ago |
| Replies: 24 Views: 1,286 >What do you mean "The funny thing is the pid says it is running on boot"?
Well the program (c++) is actually running on start up. You see it is mini light-weight webserver.
... |
Forum: Graphics and Multimedia 28 Days Ago |
| Replies: 13 Views: 916 Well what version of flash are you using?
What version of actionscript are you using? |