Jump to content

msevilgenius

Member
  • Posts

    70
  • Joined

  • Last visited

Reputation Activity

  1. Agree
    msevilgenius reacted to Naeaes in 8pin to molex adapter wont fit?   
    The pins inside Molex are loose. As you can see they're nowhere near aligned. But they're not set that way, they rattle around randomly. As you plug it in, turn the wires to alight the pins and it'll slot in just fine.
  2. Like
    msevilgenius got a reaction from JaynineReturns in Python code help   
    print(mul(var1, var2)  <- there is a ')' missing
  3. Agree
    msevilgenius got a reaction from vorticalbox in Python code help   
    print(mul(var1, var2)  <- there is a ')' missing
  4. Like
    msevilgenius got a reaction from Nineshadow in [HELP] C++ while true loop   
    This is what your code is doing
    ( the semicolons after the if expressions mean that they do nothing)
    cout << "I'm thinking of a number between 1-100\n"; cout << "Guess what it is: "; cin >> usersGuess; cin.ignore(1000, 10); while(true) { if( usersGuess == 7) { break; } // see if the guess is right if( usersGuess > 7 ){ // do nothing } cout << "That's too high.\n"; cout << "Guess what it is: "; cin >> usersGuess; cin.ignore(1000, 10); if( usersGuess < 7){ // do nothing } cout << "That's too low.\n"; cout << "Guess what it is: "; cin.ignore(1000, 10); }  
    You should use braces like this:
    cout << "I'm thinking of a number between 1-100\n"; while(true) { cout << "Guess what it is: "; cin >> usersGuess; if( usersGuess > 7 ){ cout << "That's too high.\n"; }else if( usersGuess < 7){ cout << "That's too low.\n"; }else{ // usersGuess == 7 break; } }  
  5. Informative
    msevilgenius got a reaction from rcarlos243 in [HELP] C++ while true loop   
    This is what your code is doing
    ( the semicolons after the if expressions mean that they do nothing)
    cout << "I'm thinking of a number between 1-100\n"; cout << "Guess what it is: "; cin >> usersGuess; cin.ignore(1000, 10); while(true) { if( usersGuess == 7) { break; } // see if the guess is right if( usersGuess > 7 ){ // do nothing } cout << "That's too high.\n"; cout << "Guess what it is: "; cin >> usersGuess; cin.ignore(1000, 10); if( usersGuess < 7){ // do nothing } cout << "That's too low.\n"; cout << "Guess what it is: "; cin.ignore(1000, 10); }  
    You should use braces like this:
    cout << "I'm thinking of a number between 1-100\n"; while(true) { cout << "Guess what it is: "; cin >> usersGuess; if( usersGuess > 7 ){ cout << "That's too high.\n"; }else if( usersGuess < 7){ cout << "That's too low.\n"; }else{ // usersGuess == 7 break; } }  
  6. Like
    msevilgenius got a reaction from Vozella in How would I go about making my own keyboard?   
    If you want to actually build a keyboard you'll probably find some info on geekhack
    https://geekhack.org/index.php?topic=73496
    https://geekhack.org/index.php?topic=40501.0#post_GGGG
    https://geekhack.org/index.php?topic=47093.0
  7. Like
    msevilgenius got a reaction from Crabtr in how can i protect code from SQL injection.   
    Use Prepared statements
  8. Like
    msevilgenius got a reaction from PrimeSonic in how can i protect code from SQL injection.   
    Use Prepared statements
  9. Like
    msevilgenius got a reaction from prolemur in how can i protect code from SQL injection.   
    Use Prepared statements
  10. Like
    msevilgenius got a reaction from santsys in how can i protect code from SQL injection.   
    Use Prepared statements
  11. Like
    msevilgenius got a reaction from SNIT in how can i protect code from SQL injection.   
    Use Prepared statements
  12. Like
    msevilgenius got a reaction from SansVarnic in how can i protect code from SQL injection.   
    Use Prepared statements
  13. Like
    msevilgenius got a reaction from omniomi in Html custom elements to a tag   
    Custom data attributes are part of the html standard: http://www.w3.org/TR/html5/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes
    they just need to start with data-
  14. Like
    msevilgenius reacted to ShadowCaptain in Do I need the apostrophe in my name?   
    apostrophe is used to show possession
     
    "Alex's computer" for example, so you are right to have it 
  15. Like
    msevilgenius got a reaction from GoodBytes in some windows questions   
    You can move those folders to wherever you want, including off the SSD. Right click folder > 'Properties' > 'Location' tab > 'Move...'
  16. Like
    msevilgenius reacted to WoodenMarker in Using sli bridge to crossfire amd cards   
    No. They have physically different connectors.
     

  17. Like
    msevilgenius got a reaction from BrightCandle in C++ - Command line input parameter * (asterisk)   
    put the * in quotes:
    Input: 1 "*" 2
    Output:
    0. program.exe
    1. 1
    2. *
    3. 2
  18. Like
    msevilgenius got a reaction from Chriz6097 in Can a GPU a bottleneck you or is it only w CPUs?   
    Anything can be a bottleneck.
  19. Like
    msevilgenius reacted to JAMlE in How to make icon in taskbar show on oly one monitor?   
    Yup, sorted. Thanks for quick responses guys
  20. Like
    msevilgenius reacted to mopman94 in Why do people ask "What?" after a question and still answer it?   
    Because they do not properly hear so the initial reaction is to say what but in the time they are saying what their brain has pieced together what you have said from the bits they have heard and the context of the conversation.
  21. Like
    msevilgenius reacted to coen113 in New Monitor   
    get the U2312HM, ips, with an 8 ms response time, and good color reproduction
  22. Like
    msevilgenius reacted to JordanMac in Could i get some constructive criticism on my html?   
    just installed it, looks very good and shall be sticking with it
     
    and ill have to give brackets a go
  23. Like
    msevilgenius reacted to Samdb in Could i get some constructive criticism on my html?   
    For the love of god, indent your code.
  24. Like
    msevilgenius got a reaction from JordanMac in Could i get some constructive criticism on my html?   
    Seconded, even basic syntax highlighting is very helpful.
     
    Though if you want something more advanced have a look at Brackets, it's still in development but it's really nice to use, the live preview feature is awesome, and there are plenty of useful extensions.
  25. Like
    msevilgenius reacted to hehehehhehehehe in WTH? 2GHZ 780   
    It's the shader clock...
    Look up at the top left of the description the core is 1GHz
×