Hai-Etlik
Members-
Content Count
81 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Everything posted by Hai-Etlik
-
Probably A Stupid Question Regarding Ie
Hai-Etlik replied to modernrocko's topic in Windows 10, 8, 7, Vista, and XP
Most graphical, mouse driven browsers display the content of the title attribute as a tool tip. Title should be used for "extra" information not contained by whatever it modifies. Title or non obvious decription of an image, meaning of an acronymn, destination of a link if the text of the link is not sufficiently obvious. It is not required. Alt is only for images and it is REQUIRED. An img element with no alt attribute is technicaly invalid. It should contain text to be used if the image can't be displayed. If the image is purely decorative, give it an empty alt attribute. IE will use t -
No, I'm afraid it made no sense whatsoever.
-
Well from the look of it, breaking the string on whitespace and taking the second element will do what you want.
-
Give us some specific questions and sure, we'll help. And in case this occurs to you to try it, a listing of your C++ code with "How do I convert this to Python?" is NOT a specific question.
-
The Links On My Site Open A New Tab In Firefox.
Hai-Etlik replied to DOSError's topic in Website Design & SEO Help
target="_blank" is your problem: it says "open the specified resource in a new window, tab, or whatever is appropriate given the situation." -
It seems that the 1.0+ libraries are the correct ones and, at least in my case, you need to be root to install the dictionaries. But after that it seems to work just fine.
-
const at the end of the header of a method (member function) means that it does not change the object or class (static data). Unless that data is declared mutable (Caches, scratch areas, that sort of thing) or you do something ugly like a cast. Generaly if you have a "get" method (read accessor) you will want it to be const like this. Const at the start of a data type means that variables of that type can not be altered. If it's a class, only const methods can be called. const int, const Pointer3 if the type is a pointer or reference, then it means that the POINTER can not be changed but what
-
I've only seen a const modifier like that on methods. In which case it forces (or at least tries to force) the method to not have any side effects on the receiver. If it's valid on non-methods, I would assume it prevents them from altering non local variables (no side effects). In which case the example you gave would seem to violate that restriction. It also has a return type but no return statement. -- After a bit of searching, it looks like const is only valid on methods, not stand along functions. Looking more carefuly at your post it looks likely that it is a method as you refer tyo a
-
I've only seen a const modifier like that on methods. In which case it forces (or at least tries to force) the method to not have any side effects on the receiver. If it's valid on non-methods, I would assume it prevents them from altering non local variables (no side effects). In which case the example you gave would seem to violate that restriction. It also has a return type but no return statement.
-
You could always get The GIMP for free. Strange as it may sound there are pixmap editors other than Photoshop. http://www.gimp.org/ http://gimp-win.sourceforge.net/
-
What Is Atx, Microatx, And Baby At?
Hai-Etlik replied to GrundleLove's topic in Windows 10, 8, 7, Vista, and XP
The SI prefix "micro" is abbreviated to the lower case greek letter Mu, which looks sort of like a "u" so a "u" is often used in place of "micro" -
What Media Player Do You Use?
Hai-Etlik replied to Martint's topic in Windows 10, 8, 7, Vista, and XP
Rhythmbox, sometimes Totem. When else fails, VLC. Never had cause to complain about quality. -
There aren't realy any fixed requirements. A distro consists of a bunch of packages, you don't need to install all of them and can even replace one package with another. So a typical distro can run on a very wide range of systems depending on how you set it up. Running a full desktop environment (Like KDE or GNOME) from a live CD seems like a bad idea with a system like that. The big, fancy, interfaces are simply going to be too big and slow or even unrunnable even without the overhead of a live CD.
-
Here's the Ubuntu download process starting from their home page http://ubuntulinux.org/ Select "Download" http://www.ubuntulinux.org/download/ Select a mirror http://mirror.mcs.anl.gov/pub/ubuntu-iso/5.10/ (The first one listed, any should present the same page though) It presents 6 options with clear and simple descriptions of each. If you read them it should be fairly obvious at least which architecture (PC, Mac, AMD-64) you want. And what the difference between the install and live images is. Assuming you want a Live CD that runs on a typical IA-32 PC, you select "PC (Intel x86) live CD"
-
Installing packages should be trivial in Ubuntu From a terminal sudo apt-get install name-of-package Or you can use a graphical interface. For a simple one Applications -> Add Applications For a more powerful one System -> Synaptic Package Manager Generaly APT is used over the internet, but it works just fine from just the CD.
-
This is one of (many) things most web designers hate about IE. It's all the worse since IE does support alpha, it just isn't "on" be default. You can turn it on with some ActiveX and Javascript http://homepage.ntlworld.com/bobosola/ This does break other things though.
-
Well, the lazy way to go would be to change #include <stdio.h> to #include <cstdio> using namespace std; And otherwise leave the original alone. Your teacher probably doesn't want that though. The read and write operations on iostreams do NOT take formatting strings like printf and scanf. And you don't pass a pointer to the read method. int foo; scanf("%i", &foo); printf("The integer variable foo has a value of %i.\n", foo); is equivalent to int foo; cin >> foo; cout << "The integer variable foo has a value of " << foo << "." << endl; And the
-
It would make more sense to rip the tracks into individual files. If you want to retain the quality you could use FLAC. If you don't mind trading some quality for small size, you could use Vorbis, MP3, or some other lossy encoding. As a rule of thumb, FLAC will probably take up about half the space of uncompressed PCM while the lossy encodings at decent quality levesl will probably take about a tenth as much space. You could also mix and match so your favourite tracks are lossless and the rest are lossy.
-
1093 upgraded, 369 newly installed, 66 to remove and 3 not upgraded. Need to get 1233MB of archives. After unpacking 545MB of additional disk space will be used. archive.ubuntu.com is being pounded, you should probably use a mirror if you plan to dist-upgrade Mirrors can be found here: https://wiki.ubuntu.com/Archive
-
Lost All Of Firefox Settings
Hai-Etlik replied to brett5150's topic in Windows 10, 8, 7, Vista, and XP
That dialog means Firefox was allready running and the new instance you started was unable to merge with the old one. When that happens what you want to do is close all Firefox processes. In Windows you can use Ctrl-Alt-Del to bring up a task manager that will let you kill any Firefox processes that are in the background. Once you have done this, you can start Firefox again. -
Yes, shanenin was right, I was trying to get you to see WHY he was right. You need to know WHY things are right if you are going to be able to write code without help. You can't figure out how to fix it if you don't know what is wrong.
-
Sorry, my example wasn't really that clear. And it was JUST an example of the arguments you could pass to a printf or scanf, not necessarily ones that would be directly useful to you. If you have three format tags in the string, then there should be three arguments afterward. If you have one format tag then there should be one argument afterward. And the types should match: "%i" or "%d" should have an int argument, "%lf %lf" should have two double arguments, "%i %lf" should have an int and then a double as arguments. This applies to both scanf and printf. scanf("%i", &intvar) printf("T
-
The problem is with your IO function calls. Make sure the format tags in the string and the arguments match up. there should be the same number of each and they should have corresponding types. %i or %d int %f float %li long int %lf long float or double ("%i %i %lf", intvar1, intvar2, doublevar1) You might also consider using else to simplify the rate selection. You can do it with just 3 comparisons rather than 6. This probably isn't necessary though. You can link ifs together like this. if(test1) something1; else if (test2) something2; else if (test3) something3; else something4; If test1
-
You may need to activate more than one channel, Probably both of Master and PCM. The details vary with the sound card. GNOME (used by Ubuntu) should have a nice graphical mixer that is otherwise just like Alsamixer. Applications -> Sound and Video -> Volume Control. You can also put volume controls on your panel, right click on the panel and select "add to panel". Once you have it you can right click, select preferences and then set which channel you want it to control.
-
DNS allows heirarchical names to be used to access various information including BUT NOT LIMITED TO IPv4 addresses. An IPv4 Address is 32bits and is used for routing packets through an IPv4 network. A URL is a string which describes the location of a resource. It is a type of URI along with URNs, Different URL schemes have different requirements but most require a hostname which can be either an appropriate network address (like IPv4) or some easier name to be resolved into sutch and address (like a DNS name)