Jump to content

Hax0r

Legendary Member
  • Posts

    2,996
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Hax0r

  1. Αν ποτέ γίνεις mod, θα έρθει η στιγμή για το demote. Ε, για να μην γίνεις απλό member θα γίνεις Legendary member και καλά για να δείχνεις ότι ήσουν στο staff... κάποτε.
  2. Η σιγουριά θα σε φάει... Με το telnet μπορείς να έχεις πρόσβαση σε έναν απομακρυσμένο Η/Υ με την χρήση γραμμής εντολών.
  3. Αν η επιδότηση είναι από WIND, δες και το ZTE Blade. Value for money. Η τιμή είναι χαμηλή για τα χαρακτηριστικά του. Γύρω στα 150Ε. -IBPZIn3btk Καλό και το mini αλλά δεν παύει να είναι mini...
  4. Did the professor give you the right answer? meanwhile I thought of this :P #include <iostream> using namespace std; int main() { int year; do{ cin >>year; //has to be >0 }while(year-9999>=1); //code return 0; }
  5. I told you... either this way: if((year>=0)&&(year>=9999)) { //code } else cout <<"GTFO!"endl; or my other post ;) here: #include <iostream> #include <sstream> using namespace std; int main() { bool succ; int intYear; string strYear; cout <<"Value for strYear:"; cin >> strYear; if(strYear.length()<=4) { stringstream sti(strYear); sti >> intYear; //this should be two lines lower but there's a problem with the if...nvm it works like this too if(intYear==0) { cout<<"Wrong year input...use numbers!"<<endl; succ=0; } else { cout<<"strYear is <= 4 digits, converting it to integer in variable intYear..."<<endl; succ=1; } } else { cout<<"Wrong year input.(must be < 9999)"<<endl; succ=0; } if(succ==1) { //code } else { cout <<"exiting program..."<<endl; } return 0; }
  6. RC είναι και όχι Beta!
  7. Περίμενες να μεταφέρει και ήχο από το VGA; Ο ήχος θα παίζει από το pc και η εικόνα από την TV+PC. Ο ήχος θα παιρνούσε και στην TV μονάχα αν είχε θύρα HDMI. Δεν γνωρίζω αν η DVI μεταφέρει και ήχο.
  8. Ja! Have you ever smoked weed?
  9. @Ceptimus, but you said you wanted something like l2 or wow. for the first link: http://pwi.perfectworld.com/
  10. Perfect World Runes of Magic
  11. Well, you could have used this.
  12. Alright. this program gets strYear. if strYear is max 4 digits it checks if it really is a number.If it is a number it converts it to integer in intYear. +outputs messages #include <iostream> #include <sstream> using namespace std; int main() { int intYear; string strYear; cout <<"Value for strYear:"; cin >> strYear; if(strYear.length()<=4) { stringstream sti(strYear); sti >> intYear; //this should be two lines lower but there's a problem with the if...nvm it works like this too if(intYear==0) { cout<<"Wrong year input...use numbers!"; } else { cout<<"strYear is <= 4 digits, converting it to integer in variable intYear..."<<endl; } } else { cout<<"Wrong year input.(must be < 9999)"<<endl; } return 0; } or hell of easier: #include <iostream> using namespace std; int main() { int year; cin << year; if((year>0)&&(year<9999)) { //code } else { cout<<"Wrong year!"; } return 0; }
  13. http://www.mrtzcmp3.net/ - mp3 search engine. It ain't illegal(unless you do not read the TOS :) ).
  14. if(year.length()!=4) { cout <<"Wrong year value"<< endl; } else { cout <<"Correct...(4 digits)"<< endl; } I'm not sure if it works on integers...but you can set year as string.
  15. Και είσαι γαμάτος και γαμάς και δέρνεις.
  16. Duh... Spot the malware code and remove it. Then re-compile the source. Common sense.
  17. Έφτασε και η (X/)HTML5... πςςςςςςςςςςςςςςςςςςςςςςςςς http://www.w3schools.com/xhtml/xhtml_html.asp
  18. Για να λειτουργήσει το πληκτρολόγιο κατά το boot up πρέπει να ενεργοποιήσεις την επιλογή "USB Legacy Support" στο BIOS.
  19. Αυτό πως σου φαίνεται;
  20. Posts do not count in this topic. (I hope I'm not feeding the troll :P ) morning btw
×
×
  • Create New...