Computing desk | ||
---|---|---|
< November 1 | << Oct | November | Dec >> | November 3 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
I'd like to start a blog-style website, but I'm not sure which host would be right for what I have in mind. Specifically, I'd like a site that allows for very detailed categorizations of each post (sub-categories, easily make new categories, handle large quantities of categories, that kind of stuff). A setup that would allow me to automatically queue up multiple days of uploads would be nice. Adding pictures would be a bonus, but not a deal-breaker; this could be a completely text-only kind of thing. There seem to be dozens of different sites and it's hard to tell which one would be a good fit for me. Any suggestions? Matt Deres ( talk) 02:23, 2 November 2009 (UTC)
Well, I downloaded the disc that makes my Xbox 360 able to play original Xbox games. However, when I put in my copy of True Crime: Streets of LA (subpar game but the only original Xbox game I have), a message appears (in six languages, mind you) telling me "This is an Xbox game disc. Please put it in your Xbox to start playing." Well, shouldn't have the disc I just installed to my Xbox 360 fixed that problem? 71.213.70.217 ( talk) 03:18, 2 November 2009 (UTC)
Note: This was moved from WP:VPM#Xbox 360 backwards compatability. Killiondude ( talk) 03:25, 2 November 2009 (UTC)
Not all games are backwards compatible. Check out the site Microsoft lists the backwards compatible games. Your game appears to be on there, but you should check a few things.
The other option is to go [1] to the 360 compatibility FAQ or go here, [2] where your specific issue is addressed. I'd start with the bold link.
Nezzadar [SPEAK] 05:28, 2 November 2009 (UTC)
Er, you probably don't want to hear this, but confusing game discs with film DVDs was one of the last things my first 360 did before it threw up E74/1 red light. Try swapping round other discs and seeing if the same thing happens. It may just be that disc, but even if it seems that way, it may be the console anyway; my old one only ever got confused by Mass Effect. CaptainVindaloo t c e 14:19, 2 November 2009 (UTC)
I've been at this for over 4 hours and can't figure out why this isn't working. I'm trying to write a simple + - * / ^ calculator that starts at 0 and increments based on user input. When the user presses the character Q or q the calculator quits but it doesn't work (among other things). The while ( (operator != 'Q' ) || (operator != 'q') )
doesn't work, but if I remove the || it works fine, and another interesting thing is that if I make this condition an if statement rather than a while, it works. I can't figure out why this isn't working. Any suggestions? --
penubag (
talk)
06:02, 2 November 2009 (UTC)
C source code
|
---|
/* Programming project 2 -- Calculator */
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
double add_function(double initialvalue)
{
double aftervalue, operatorvalue;
scanf("%lf", &operatorvalue);
aftervalue = ( initialvalue + operatorvalue );
return aftervalue;
}
double subtract_function(double initialvalue)
{
double aftervalue, operatorvalue;
scanf("%lf", &operatorvalue);
aftervalue = ( initialvalue - operatorvalue );
return aftervalue;
}
double multiply_function(double initialvalue)
{
double aftervalue, operatorvalue;
scanf("%lf", &operatorvalue);
aftervalue = ( initialvalue * operatorvalue );
return aftervalue;
}
double divide_function(double initialvalue)
{
double aftervalue, operatorvalue;
scanf("%lf", &operatorvalue);
aftervalue = ( initialvalue / operatorvalue );
return aftervalue;
}
double power_function(double initialvalue)
{
double aftervalue, operatorvalue;
scanf("%lf", &operatorvalue);
aftervalue = (pow( initialvalue, operatorvalue) );
return aftervalue;
}
int main (void)
{
char operator;
double valuetotal, aftervalue, initialvalue;
initialvalue = 0;
aftervalue = 0;
scanf("%c", &operator);
while ( (operator != 'Q' ) && (operator != 'q') )
{
if (operator == '+')
{
valuetotal= add_function( valuetotal);
printf("The value so far is %f\n", valuetotal);
}
else if (operator == '-')
{
valuetotal= subtract_function(valuetotal);
printf("The value so far is %f\n", valuetotal);
}
else if (operator == '*')
{
valuetotal= multiply_function(valuetotal);
printf("The value so far is %f\n", valuetotal);
}
else if (operator == '/')
{
valuetotal= divide_function( valuetotal);
printf("The value so far is %f\n", valuetotal);
}
else if (operator == '^')
{
valuetotal= power_function( valuetotal);
printf("The value so far is %f\n", valuetotal);
}
else
printf("Invalid operator\n");
scanf("%c", &operator);
}
printf("The total is %f\n", valuetotal);
return 0;
}
|
(operator != 'Q' ) || (operator != 'q')
return if operator == 'q'? (answer: 1) Is that correct? What if operator == 'Q'? (answer: still 1) --
antilived
T |
C |
G
06:24, 2 November 2009 (UTC)
Input | A: !='Q' | B: !='q' | A OR B | A AND B |
---|---|---|---|---|
'a' | 1 | 1 | 1 | 1 |
'q' | 1 | 0 | 1 | 0 |
'Q' | 0 | 1 | 1 | 0 |
int main()
{
char operator;
double valuetotal, aftervalue, initialvalue;
initialvalue = 0;
aftervalue = 0;
for (;;)
{
scanf("%c", &operator);
if (tolower(operator) == 'q')
{
break; // exits the for loop
}
else if (operator == '+')
{
valuetotal= add_function( valuetotal);
printf("The value so far is %f\n", valuetotal);
}
// other options ...
}
printf("The total is %f\n", valuetotal);
return 0;
}
input test loop: test input output
loop: input test output
ffshrine is finally back up (why did they even take it down just for donations?), but it still has a problem. The download links on that site do not work. I click to download a song, but it does not start up; I right-click to download a song, but it does not download. What is causing this? jc iindyysgvxc ( my contributions) 08:46, 2 November 2009 (UTC)
can any one guide me how can i find wavelength of the colour by its image. 220.225.98.251 ( talk) —Preceding undated comment added 09:44, 2 November 2009 (UTC).
Are there any open-source video converter programs that require neither codecs nor registration? jc iindyysgvxc ( my contributions) 11:51, 2 November 2009 (UTC)
j'aimerai savoir ce que c'est une diode snap-off? ses structures, utilisations, caractéristiques et fonctionnement —Preceding unsigned comment added by 41.204.124.12 ( talk) 13:57, 2 November 2009 (UTC)
Translation: I would like to know what diode snap-off is? Its structures, uses, characteristics, and function. -- Nimur ( talk) 20:11, 2 November 2009 (UTC)
what scripting language are they made from? Accdude92 ( talk to me!) ( sign) 14:31, 2 November 2009 (UTC)
I need a program that'll ding or do something to let me know when an rss feed updates. Any suggestions? —Preceding unsigned comment added by 82.43.88.201 ( talk) 16:03, 2 November 2009 (UTC)
is there a way to view/download all the tweets for a particular user? either through twitter.com or 3rd party app? —Preceding unsigned comment added by 82.43.88.201 ( talk) 20:14, 2 November 2009 (UTC)
Question moved from Talk:How to print from dos to usb printer prefix:Wikipedia:Reference desk/Archives. Astronaut ( talk) 22:07, 2 November 2009 (UTC)
I have some DOS applications that insist on printing to a parallel printer port. However, my new printer only has USB. Where can I find a cable that can do this? (There are lots of cables that connect the computer's USB port to a parallel printer port but I need the reverse.) Alternately, are there any drivers that can fool the DOS applications into thinking that they are printing to a parallel port when they are actually printing to the computer's USB port. — Preceding unsigned comment added by 117.196.224.106 ( talk) 12:19, 31 October 2009
You don't need a cable; DOS does not recognize USB. Assuming you have Windows XP or above, let it do the work:
---— Gadget850 (Ed) talk 22:18, 2 November 2009 (UTC)
I'm practically terrified by it. Well, not terror...more of a creeping paranoia. I noticed a certain song of mine had a strange buzz in the background when I listened to it through the car speakers, and thus began the paranoia.
I'm starting to become concerned about my ~600 songs. They're either bought from the iTunes music store, ripped from CDs, or occasionally one downloaded (Touché! They were songs that could not possibly be bought!). I tend to be a perfectionist, and I can't stand the thought of my beloved music becoming crappier and crappier through the years. I've read through the article about lossless data compression, but I'm still not sure I fully understand. What exactly should I go about doing to ensure that my music doesn't degrade further?-- The Ninth Bright Shiner 22:31, 2 November 2009 (UTC)
Hi there. Does anyone know whether there is a driver which will enable the integrated webcam in my Alienware m9750 (which came with XP) to work with my new 64 bit Windows 7? I can't navigate Alienware's awful customer support services. Cheers, SGGH ping! 23:57, 2 November 2009 (UTC)
Computing desk | ||
---|---|---|
< November 1 | << Oct | November | Dec >> | November 3 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
I'd like to start a blog-style website, but I'm not sure which host would be right for what I have in mind. Specifically, I'd like a site that allows for very detailed categorizations of each post (sub-categories, easily make new categories, handle large quantities of categories, that kind of stuff). A setup that would allow me to automatically queue up multiple days of uploads would be nice. Adding pictures would be a bonus, but not a deal-breaker; this could be a completely text-only kind of thing. There seem to be dozens of different sites and it's hard to tell which one would be a good fit for me. Any suggestions? Matt Deres ( talk) 02:23, 2 November 2009 (UTC)
Well, I downloaded the disc that makes my Xbox 360 able to play original Xbox games. However, when I put in my copy of True Crime: Streets of LA (subpar game but the only original Xbox game I have), a message appears (in six languages, mind you) telling me "This is an Xbox game disc. Please put it in your Xbox to start playing." Well, shouldn't have the disc I just installed to my Xbox 360 fixed that problem? 71.213.70.217 ( talk) 03:18, 2 November 2009 (UTC)
Note: This was moved from WP:VPM#Xbox 360 backwards compatability. Killiondude ( talk) 03:25, 2 November 2009 (UTC)
Not all games are backwards compatible. Check out the site Microsoft lists the backwards compatible games. Your game appears to be on there, but you should check a few things.
The other option is to go [1] to the 360 compatibility FAQ or go here, [2] where your specific issue is addressed. I'd start with the bold link.
Nezzadar [SPEAK] 05:28, 2 November 2009 (UTC)
Er, you probably don't want to hear this, but confusing game discs with film DVDs was one of the last things my first 360 did before it threw up E74/1 red light. Try swapping round other discs and seeing if the same thing happens. It may just be that disc, but even if it seems that way, it may be the console anyway; my old one only ever got confused by Mass Effect. CaptainVindaloo t c e 14:19, 2 November 2009 (UTC)
I've been at this for over 4 hours and can't figure out why this isn't working. I'm trying to write a simple + - * / ^ calculator that starts at 0 and increments based on user input. When the user presses the character Q or q the calculator quits but it doesn't work (among other things). The while ( (operator != 'Q' ) || (operator != 'q') )
doesn't work, but if I remove the || it works fine, and another interesting thing is that if I make this condition an if statement rather than a while, it works. I can't figure out why this isn't working. Any suggestions? --
penubag (
talk)
06:02, 2 November 2009 (UTC)
C source code
|
---|
/* Programming project 2 -- Calculator */
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
double add_function(double initialvalue)
{
double aftervalue, operatorvalue;
scanf("%lf", &operatorvalue);
aftervalue = ( initialvalue + operatorvalue );
return aftervalue;
}
double subtract_function(double initialvalue)
{
double aftervalue, operatorvalue;
scanf("%lf", &operatorvalue);
aftervalue = ( initialvalue - operatorvalue );
return aftervalue;
}
double multiply_function(double initialvalue)
{
double aftervalue, operatorvalue;
scanf("%lf", &operatorvalue);
aftervalue = ( initialvalue * operatorvalue );
return aftervalue;
}
double divide_function(double initialvalue)
{
double aftervalue, operatorvalue;
scanf("%lf", &operatorvalue);
aftervalue = ( initialvalue / operatorvalue );
return aftervalue;
}
double power_function(double initialvalue)
{
double aftervalue, operatorvalue;
scanf("%lf", &operatorvalue);
aftervalue = (pow( initialvalue, operatorvalue) );
return aftervalue;
}
int main (void)
{
char operator;
double valuetotal, aftervalue, initialvalue;
initialvalue = 0;
aftervalue = 0;
scanf("%c", &operator);
while ( (operator != 'Q' ) && (operator != 'q') )
{
if (operator == '+')
{
valuetotal= add_function( valuetotal);
printf("The value so far is %f\n", valuetotal);
}
else if (operator == '-')
{
valuetotal= subtract_function(valuetotal);
printf("The value so far is %f\n", valuetotal);
}
else if (operator == '*')
{
valuetotal= multiply_function(valuetotal);
printf("The value so far is %f\n", valuetotal);
}
else if (operator == '/')
{
valuetotal= divide_function( valuetotal);
printf("The value so far is %f\n", valuetotal);
}
else if (operator == '^')
{
valuetotal= power_function( valuetotal);
printf("The value so far is %f\n", valuetotal);
}
else
printf("Invalid operator\n");
scanf("%c", &operator);
}
printf("The total is %f\n", valuetotal);
return 0;
}
|
(operator != 'Q' ) || (operator != 'q')
return if operator == 'q'? (answer: 1) Is that correct? What if operator == 'Q'? (answer: still 1) --
antilived
T |
C |
G
06:24, 2 November 2009 (UTC)
Input | A: !='Q' | B: !='q' | A OR B | A AND B |
---|---|---|---|---|
'a' | 1 | 1 | 1 | 1 |
'q' | 1 | 0 | 1 | 0 |
'Q' | 0 | 1 | 1 | 0 |
int main()
{
char operator;
double valuetotal, aftervalue, initialvalue;
initialvalue = 0;
aftervalue = 0;
for (;;)
{
scanf("%c", &operator);
if (tolower(operator) == 'q')
{
break; // exits the for loop
}
else if (operator == '+')
{
valuetotal= add_function( valuetotal);
printf("The value so far is %f\n", valuetotal);
}
// other options ...
}
printf("The total is %f\n", valuetotal);
return 0;
}
input test loop: test input output
loop: input test output
ffshrine is finally back up (why did they even take it down just for donations?), but it still has a problem. The download links on that site do not work. I click to download a song, but it does not start up; I right-click to download a song, but it does not download. What is causing this? jc iindyysgvxc ( my contributions) 08:46, 2 November 2009 (UTC)
can any one guide me how can i find wavelength of the colour by its image. 220.225.98.251 ( talk) —Preceding undated comment added 09:44, 2 November 2009 (UTC).
Are there any open-source video converter programs that require neither codecs nor registration? jc iindyysgvxc ( my contributions) 11:51, 2 November 2009 (UTC)
j'aimerai savoir ce que c'est une diode snap-off? ses structures, utilisations, caractéristiques et fonctionnement —Preceding unsigned comment added by 41.204.124.12 ( talk) 13:57, 2 November 2009 (UTC)
Translation: I would like to know what diode snap-off is? Its structures, uses, characteristics, and function. -- Nimur ( talk) 20:11, 2 November 2009 (UTC)
what scripting language are they made from? Accdude92 ( talk to me!) ( sign) 14:31, 2 November 2009 (UTC)
I need a program that'll ding or do something to let me know when an rss feed updates. Any suggestions? —Preceding unsigned comment added by 82.43.88.201 ( talk) 16:03, 2 November 2009 (UTC)
is there a way to view/download all the tweets for a particular user? either through twitter.com or 3rd party app? —Preceding unsigned comment added by 82.43.88.201 ( talk) 20:14, 2 November 2009 (UTC)
Question moved from Talk:How to print from dos to usb printer prefix:Wikipedia:Reference desk/Archives. Astronaut ( talk) 22:07, 2 November 2009 (UTC)
I have some DOS applications that insist on printing to a parallel printer port. However, my new printer only has USB. Where can I find a cable that can do this? (There are lots of cables that connect the computer's USB port to a parallel printer port but I need the reverse.) Alternately, are there any drivers that can fool the DOS applications into thinking that they are printing to a parallel port when they are actually printing to the computer's USB port. — Preceding unsigned comment added by 117.196.224.106 ( talk) 12:19, 31 October 2009
You don't need a cable; DOS does not recognize USB. Assuming you have Windows XP or above, let it do the work:
---— Gadget850 (Ed) talk 22:18, 2 November 2009 (UTC)
I'm practically terrified by it. Well, not terror...more of a creeping paranoia. I noticed a certain song of mine had a strange buzz in the background when I listened to it through the car speakers, and thus began the paranoia.
I'm starting to become concerned about my ~600 songs. They're either bought from the iTunes music store, ripped from CDs, or occasionally one downloaded (Touché! They were songs that could not possibly be bought!). I tend to be a perfectionist, and I can't stand the thought of my beloved music becoming crappier and crappier through the years. I've read through the article about lossless data compression, but I'm still not sure I fully understand. What exactly should I go about doing to ensure that my music doesn't degrade further?-- The Ninth Bright Shiner 22:31, 2 November 2009 (UTC)
Hi there. Does anyone know whether there is a driver which will enable the integrated webcam in my Alienware m9750 (which came with XP) to work with my new 64 bit Windows 7? I can't navigate Alienware's awful customer support services. Cheers, SGGH ping! 23:57, 2 November 2009 (UTC)