I wish this was in Java..i got a 97 in my first comp sci class. Hopefully down the road i'll happen to be taught c+ but im too lazy..
+1 :o Java sucks, well. Not really, just not a good language (For me). =O Btw, my biology exam, i think... I Think... D=! A big 1 (One) =D
JAVA IS BETTER. I actually think it is nicer to use though.. its just.. idk but it has a cleaner, nicer feel to it.
Well the languages are pretty similar; i can understand a lot of what you've written. If you ever need help with a complex algorithm or recursion or something i could help you guys with logic. Also i have resources and contacts with some very esteemed comp sci professors lol..
As long as you define 'better' as memory hungry with slow GUI, then sure :3 For desktops this sucks. Also I find a concept of OS-in-OS to be flawed, but that's just me. As for algorithms and logic coyotte might know better whether there is a need currently.
Yeah i know java isnt great for desktop programs, i was just joking. Java excels in its virtual machine compiler/interpreter, so it works best in web based apps. I know it wouldnt work as well as c+ in implementing PO like you guys did, which is a great achievement btw :p
Don't worry for algorithms, I'm there ^^ And it takes more time you explaining the problem to someone and having someone explain you an algorithm and then you implementing it than just doing it already, but if you can code what you imagine then why not :)
Lamperi..regardless Java is still better for web based applications although it can still work fine on desktops. Theres a reason why its the basis of teh interwebs. And coyote, makes sense. I'm good at recursion tho :p
laitos, could you make it so when the server isn't minimized, it shows in the task bar and not only the tray bar?
Gah! Can't compile, just downloaded the source again. Without touching anything, tryed to compile Utilities and i get 3 errors: C2057: expected constant expression C2466: cannot allocate an array of constant size 0 C2133: 'buffer' : unknown size
functions.cpp* Case sensitivity is not to be trifled with! Code (text): void cropImage(QImage &p) { uchar * scanline = p.scanLine(0); uchar buffer[p.bytesPerLine()]; memcpy(buffer, scanline, p.bytesPerLine()); int c = 0; while (memcmp(p.scanLine(-c-1+p.height()), buffer, p.bytesPerLine()) == 0 && (-c-1+p.height() >= 0)) { c++; } for (int k = p.height() - 1; k - c >= 0; k--) { memcpy(p.scanLine(k), p.scanLine(k-c), p.bytesPerLine()); } for (int k = 0; k < c; k++) { memcpy(p.scanLine(k), buffer, p.bytesPerLine()); } } You probably have some compiler option to prevent you to use C99 syntax. Try finding how to enable variable size arrays on your compiler with your favorite tool, google :x
Wtf, it's strange. i we're compiling with Qt 4.8.0 beta for Desktop - MSVC 2010 (Qt SDK) Debug, which basically gave me the errors. When i cleaned the proyect, tryed to build again but with Qt 4.7.3 for Desktop MinGW 4.4 (Qt SDK) Debug and it compiled fine. o.O EDIT: Okay, nevermind. Seems that it wasn't that. :Looks for workaround:
Because MSVC++ is an evil compiler which doesn't support C99: http://msdn.microsoft.com/fr-fr/library/zb1574zs.aspx
It'z magik mah friendz. Hahahaha. (? Well i'm going to sleep, need to finish the update for some day lol.
EDIT: Nevermind... ._. EDIT 2: No nevermind... moves.cpp:2387: error: 'struct BattleCounters' has no member named 'counter' moves.cpp:2132: error: 'struct BattleCounters' has no member named 'counter' Does this hates me, right? ._:
Open the space for another DLL. Since PSID works with an DLL. TOMORROW, MAYBE WE WILL HAVE SYS.PSID(SRC) WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO <3 Also if we and you can coyo, i can make a DLL to make functions that Qt doesn't let us to do. Like get RAM, process CPU usage, etc. EDIT 1: PSID only will work on Windows, since i have no experience on Android, Linux or Mac. EDIT 2: The #ifndef for Windows was #ifndef Q_WINDOWS , right?!
What you mean? =O (:has done it already: ) Oh that, yea. Sorry i'm still sleepy, been working on it all night haha. Yeah, i'm still re looking all the whole code of the DLL and PO. Until i see it works fine and also get maybe something working on Linux don't think will release it. Web client and Android, no idea of how they work. :/ EDIT: If you could tell me how to send it to the server from the client, since i've got a way which is in the notify() of loginIn (Analyzer of Teambuilder) or create an sendPSID() notify(PSID, psid) I meant: Analyze.cpp (Teambuilder) Code (cpp): void Analyzer::sendPSID() { notify(PSID, psid); } Analyze.cpp (Server) Code (cpp): // In void Analyzer::dealwithcommand... case PSID: { if(socket().id() != 0) { QString psid; in >> psid; emit psidReceived(psid); break; } } Analyze.h (Server) Code (cpp): signals: void psidReceived(QString &psid); player.h (Server) Code (cpp): public: QString psid; public slots: void psidReceived(QString *psid); player.cpp (Server) Code (cpp): // In player::Player connect(&relay(), SIGNAL(psidReceived(QString), SLOT(psidReceived(QString))); // Then create this: void psidReceived(QString *psid) { mypsid = psid; }
Anyone offers to do the Linux library? I s*c* for Linux, i don't know how to do a Linux Library either load it in Qt. ._. /sys/class/dmi/id is maybe where everything we need is.
Debian... Strange, though. I've looked on Ubuntu and /sys/class/dmi it's there o.O (Yes i know, Debian is another distribution of Linux like Ubuntu (Or thats what i heard) However, i'll look later. I'll try to do it for Linux, need to find a way. Until now, if i release it (maybe) i'll use #ifndef WIN32 ._. EDIT: #ifndef for Linux? =O
Look, on linux it could base itself on the mac address plus a generated config key, or whatever. The thing is , you have to have a solution for each platform before even thinking of adding it.
I don't know how to Develop for Android, either i know a little of web site programming. Linux i'll may get it, Windows it's done. Web and Android aren't out yet. What i heard is that Android also haves an Unique ID which is obtainable http://stackoverflow.com/questions/3115918/android-unique-id http://stackoverflow.com/questions/2785485/is-there-a-unique-android-device-id Going to talk with Android developers about that right now. Still the issue is Web Client. :/ Also, trying to run Ubuntu again, I GOT BSOD. Fuu Virtual box. lol.
LOL Anyway, how is the syntax highlighter coming? I could probably do that fairly easily if you're having trouble. Using simple replaces won't be sufficient, of course.
I'm busy with exams, lol. (Yes, again...) Basically i know simple replaces won't work. But yes, i'm trying to continue working on it while i'm studying. Gets hard but may have it. (Currently not going to release it with Autocompleter... Just later) o.O Sorry if you didn't understand me, i wrote this very fast (:confused: Studying maths D:)
Studying is fun. I've been reading huge books all summer. ._. Although, mostly about history, biology, Java, C++, blah blah blah. Which isn't really studying but idc KK. So, how are you doing it? Regular expressions?