Recent content by Shadow2531

  1. S

    C++ guidance

    Just in case you're still working on this: What happens if the limit falls in the middle of a word? Are you supposed to discard the partial text of the word? When you display all the words for the line, can you display them all on one line separated by a space? If so and the line (the...
  2. S

    Image map in ul list

    An element is a list item when its display property is set to list-item. The li element is set to list-item by default. But, on hover, you're changing the li's display to block. This could be causing Webkit to no longer display the li as a list item. Avoiding that may solve part of the...
  3. S

    Solved: new account in thunderbird 3.0

    In the account wizard, if you set [email protected] as your email address, when it comes time to automatically test the incoming and outgoing servers, Thunderbird will try 'foo' as the username and try server names based on If those are not correct (like if the username should be the...
  4. S

    Opera 10.10 Final (with Unite) released!

  5. S

    Javascript onsubmit form confirm

    onsubmit="return confirm('Are you sure?');" works for me.
  6. S

    Opera will not connect to internet

    Does it work in Firefox? If so, go into its preferences and double-check its proxy settings to see if it picked up any settings from anywhere that might help. My buddy has a modem like that. He manually loads up the program that dials up the connection. Then, he can browse with whatever...
  7. S

    Opera will not connect to internet

    Opera can connect to the internet no problem if you're connected with a regular dialup connection, wireless connection or wired connection. So, the problem has to be somewhere else. Are you talking about a fixed wireless phone that you run dialup internet through...
  8. S

    Opera will not connect to internet

    I know you said you didn't set up a proxy in Opera, but double-check: In Opera, goto "tools -> preferences -> advanced -> network -> proxy servers" and make sure all the boxes are unchecked. Or, configure the settings if you use a proxy. Check IE's proxy settings to see what it's using.
  9. S

    C++ Loop

    No, but maybe there's something you want to accomplish that you can do in another way. If you have a simple code example that shows what you'd like to do (even if it doesn't actually work), that might help show what you want.
  10. S

    C++ Loop

    "cin >>" grabs user input from stdin, but white-space is a delimiter. So, if there's a space for example in the text you enter, cin will stuff everything up to the space in a variable and leave the rest in the input buffer. If you then try to ask for input again, cin is going to look in the...
  11. S

    C++ Loop

    Examine these examples: #include <iostream> #include <string> #include <limits> #include <cstdio> using namespace std; int main() { string test; while (true) { cout << "Example1: "; cin >> test; if (!cin.good()) { cin.clear()...
  12. S

    Solved: Win32 API - sprintf() or is there a C++ way?

    These work with mingw: #include <windows.h> #include <string> using namespace std; int main() { const wstring message(L"Screen size"); MessageBox(NULL, message.c_str(), message.c_str(), MB_OKCANCEL | MB_ICONINFORMATION); } // g++ -Wall -Wextra -o messagebox...
  13. S

    Firefox, Internet Explorer and Opera all crash the computer randomly

    Yeh, never buy anything to solve a crash unless you know what's causing the crash in the first place. Not very wise of HP to ask someone to do the "buy all new stuff till it doesn't crash anymore" deal. It might be a windows vista/software-related issue though or virus etc. You could try...
  14. S

    Firefox, Internet Explorer and Opera all crash the computer randomly

    Sounds like a hardware issue that just gets triggered by browsers (net connection or a browser plug-in crashing or exposing the instability in your system). It'll probably crash with: and any other...
  15. S

    Best, easy-to-learn scripting language

    Just in case you didn't see it on the Pike site, FWIW, the software for the Opera mini servers is written in Pike.