Computing desk | ||
---|---|---|
< July 16 | << Jun | July | Aug >> | July 18 > |
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. |
Hi, I have recently made a ppt presentation on a Mac, however, when I wanted to open the file on a PC, the pictures can't be opened. It is said that I need a TIFF (uncompressed) decompressor and a Quick Time, well sth along those lines. I am wondering if I could simply save the ppt in a particular format (on the Mac)such that it can be read w/o the need of those applications mentioned above. Thanks in advance!
Fox News reported that even if cell phones are turned off, "the government" can turn the microphone on and listen in on our conversations: [1]. Is this true ? And, if so, does it apply to all cell phone models ? Is there a list of which cell phones are safe from this ? StuRat 04:52, 17 July 2007 (UTC)
I recently installed XP with SP2. The Ati-MMC when started gives the error" Atisserv registry access failed to startup" . Also whatever services are automatically enabled in the windows management needs to be manually started when starting the computer. Any help on this one??~~
services.msc
or msconfig
? --
soum
talk
08:47, 17 July 2007 (UTC)#include <stdlib.h> #include </Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h> int x = 100; int y = 100; int main(int argc, char **argv) { void glutInit(int *argc, char **argv); void glutInitWindowPosition(int x, int y); void glutInitDisplayMode(GLUT_RGB | GLUT_SINGLE | GLUT DEPTH); int glutCreateWindow(char *title); return 0; }
When I try to compile, I get this message from gcc:
/Users/ryangrasell/Desktop/opengl.c: In function 'main': /Users/ryangrasell/Desktop/opengl.c:13: error: conflicting types for 'glutCreateWindow' /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h:429: error: previous declaration of 'glutCreateWindow' was here
Any help is greatly parreciated! —Preceding
unsigned comment added by
71.195.124.101 (
talk •
contribs) 05:47, 17 July 2007
int glutCreateWindow(char *title);where the error occurs declares a function taking a
char*
parameter and returning an int
value. What you want is something like int i = glutCreateWindow("Window Title");which calls the function with a value (and, I assume, returns a handle for that window). -- Dapete ばか 08:44, 17 July 2007 (UTC)
Wow, now that I've looked at it, it looks like you have prototypes in your code. Declaring prototypes is different from actually calling a function. Should be something like this:
#include <stdlib.h> #include </Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h> int x = 100; int y = 100; int main(int argc, char **argv) { glutInit(argc, argv); //Call glutInit, which returns void, with the parameters passed to main. glutInitWindowPosition(x, y); //Call glutInitWindowPosition, passing in variables x and y, to set our initial window position. glutInitDisplayMode(GLUT_RGB | GLUT_SINGLE | GLUT DEPTH); //Set initial display mode. glutCreateWindow("Some Title"); //Need to feed glutCreateWindow a string for the caption. return 0; }
Declaring a function like this:
int aRandomFunction(int Something, char* Something2);
is different from actually invoking the declared function:
int returnValue = aRandomFunction(0, "Blah");
You may wish to review your C knowledge. Splintercellguy 09:33, 17 July 2007 (UTC)
Thanks everyone, I'm a complete C newbie :) I still have a problem though: With this code:
#include <stdlib.h> #include </Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h> int x = 100; int y = 100; int main(int argc, char **argv) { glutInit(argc, argv); //Call glutInit, which returns void, with the parameters passed to main. glutInitWindowPosition(x, y); //Call glutInitWindowPosition, passing in variables x and y, to set our initial window position. glutInitDisplayMode(GLUT_RGB | GLUT_SINGLE | GLUT DEPTH); //Set initial display mode. glutCreateWindow("Some Title"); //Need to feed glutCreateWindow a string for the caption. return 0; }
I get this problem:
/Users/ryangrasell/Desktop/opengl.c: In function 'main': /Users/ryangrasell/Desktop/opengl.c:8: warning: passing argument 1 of 'glutInit' makes pointer from integer without a cast /Users/ryangrasell/Desktop/opengl.c:12: error: 'GLUT' undeclared (first use in this function) /Users/ryangrasell/Desktop/opengl.c:12: error: (Each undeclared identifier is reported only once /Users/ryangrasell/Desktop/opengl.c:12: error: for each function it appears in.) /Users/ryangrasell/Desktop/opengl.c:12: error: parse error before 'DEPTH'
That's fixed now with this code:
#include <stdlib.h> #include </Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h> int x = 100; int y = 100; int main(int argc, char **argv) { glutInit(&argc, argv); //Call glutInit, which returns void, with the parameters passed to main. glutInitWindowPosition(x, y); //Call glutInitWindowPosition, passing in variables x and y, to set our initial window position. glutInitDisplayMode(GLUT_RGB | GLUT_SINGLE | GLUT_DEPTH); //Set initial display mode. int window1 = glutCreateWindow("Some Title"); //Need to feed glutCreateWindow a string for the caption. return 0; }
I still get an error though:
/usr/bin/ld: Undefined symbols: _glutCreateWindow _glutInit _glutInitDisplayMode _glutInitWindowPosition collect2: ld returned 1 exit status
gcc -lglut opengl.cwill tell it to search for the libglut library. -- JSBillings 14:01, 18 July 2007 (UTC)
For testing purposes, I have a PC configured with several different types of NICs (or equivalents), all set to use the same static IP address/ subnet mask (10.0.0.1/255.255.255.0). At any given point in time, only one of these ports is actually connected to the downstream system (which lives at 10.0.0.2). During my testing, I need to switch among these several NICs and make sure the downstream system operates with all of the different NIC types.
Windows/2K grudgingly lets me set all these NICs to the same address. But to switch from one NIC to the next, not only must I move my cable, but I find that I must also either:
Is there a more-automatic way of accomplishing this? Is the behaviour essentially the same in Windows/XP as in Win2K?
Atlant 12:35, 17 July 2007 (UTC)
Hi, I've just installed ubuntu 7.04, and can't get the correct screen resolution on my monitor. Here are the contents of my xorg.conf file
Section "Monitor" Identifier "DELL SE197FP" Option "DPMS" EndSection Section "Screen" Identifier "Default Screen" Device "nVidia Corporation C51 [GeForce 6150 LE]" Monitor "DELL SE197FP" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1272x1272" "1024x768" "880x704" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1272x1272" "1024x768" "880x704" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1272x1272" "1024x768" "880x704" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1272x1272" "1024x768" "880x704" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1272x1272" "1024x768" "880x704" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1272x1272" "1024x768" "880x704" "800x600" "720x400" "640x480" EndSubSection EndSection
I don't understand the contents of this file, and the options displayed are nor available under system - preferences - screen resolution. My Dell handbook does not tell me the screen resolution which I am supposed to be working at, but I know it should be higher than 800*600, which is what I am currently set at. What can I do? Please explain in laymans terms.
Maria
Ok, I've followed splintercellguy's advice, and have got up to a terminal screen which has a series of options for screen resoltuion. These options have boxs which look like this [ ] or [*] , however, I can't seem to edit these boxes, and I need to put a star in the one which says 1280*1024.
Ah lovely, thanks
Maria
Message posted at Village Pump and it was suggested I try here. Original note with two brief replies follows. Ben MacDui (Talk) 18:23, 17 July 2007 (UTC)
I recently discovered the the sort function on "wikitable sortable" e.g. List of United States cities by population does not work with OSX and Safari. Sometimes clicking in the data fields just toggles the list up and down alphabetically; today for some reason the sort buttons are missing completely. This applies to both OS 10.3.9 with Safari 1.3.2 and OS 10.4.10 with Safari 2.0.4. OS 10.4.10 with Firefox 2.0.0.3 is fine. Ben MacDui (Talk) 19:07, 13 July 2007 (UTC)
I was ordering a 1 GB RAM upgrade from Crucial, but somehow ended up ordering two of them. I'm running 512 MB of RAM in my computer right now, and there are two RAM slots; would there be any negative side effects if I removed the 512MB module and replaced it with a 1GB module? If there aren't, I'll just replace the old module to have a total 2GB of memory. If there are, I'll have to cancel the order.-- The Ninth Bright Shiner 20:07, 17 July 2007 (UTC)
what are good antivarius software? i use panda and its pretty good. i'm thinking about buying one. i looked around and bitdefender and kaspersky seem to be best but i know nothing about them!!!--anon
years ago there was not even 1GB and now there is 1TB why do they wait they know we want more why dont they just make the 1PB now instead of waiting 10 years —Preceding unsigned comment added by 71.185.130.11 ( talk • contribs) 23:07, 17 July 2007
Years ago they didn't know how to cram 1G on a hard disk and now they do. People learn how to do things and then they do them. They know you want 1PB, they just don't know how to cram it into a little box yet.
Normal PC disk drives come in standard form factors (sizes and shapes) so that they can fit in a standard computer case or laptop. Disk companies usually just release drives of whatever round-number capacity they can fit into a device of that size and shape. They could release a PiB-capacity single-drive, but its non-standard size would limit its commercial success. It all comes down to data storage density, which grows over time as technology progresses. -- TotoBaggins 14:45, 18 July 2007 (UTC)
Computing desk | ||
---|---|---|
< July 16 | << Jun | July | Aug >> | July 18 > |
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. |
Hi, I have recently made a ppt presentation on a Mac, however, when I wanted to open the file on a PC, the pictures can't be opened. It is said that I need a TIFF (uncompressed) decompressor and a Quick Time, well sth along those lines. I am wondering if I could simply save the ppt in a particular format (on the Mac)such that it can be read w/o the need of those applications mentioned above. Thanks in advance!
Fox News reported that even if cell phones are turned off, "the government" can turn the microphone on and listen in on our conversations: [1]. Is this true ? And, if so, does it apply to all cell phone models ? Is there a list of which cell phones are safe from this ? StuRat 04:52, 17 July 2007 (UTC)
I recently installed XP with SP2. The Ati-MMC when started gives the error" Atisserv registry access failed to startup" . Also whatever services are automatically enabled in the windows management needs to be manually started when starting the computer. Any help on this one??~~
services.msc
or msconfig
? --
soum
talk
08:47, 17 July 2007 (UTC)#include <stdlib.h> #include </Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h> int x = 100; int y = 100; int main(int argc, char **argv) { void glutInit(int *argc, char **argv); void glutInitWindowPosition(int x, int y); void glutInitDisplayMode(GLUT_RGB | GLUT_SINGLE | GLUT DEPTH); int glutCreateWindow(char *title); return 0; }
When I try to compile, I get this message from gcc:
/Users/ryangrasell/Desktop/opengl.c: In function 'main': /Users/ryangrasell/Desktop/opengl.c:13: error: conflicting types for 'glutCreateWindow' /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h:429: error: previous declaration of 'glutCreateWindow' was here
Any help is greatly parreciated! —Preceding
unsigned comment added by
71.195.124.101 (
talk •
contribs) 05:47, 17 July 2007
int glutCreateWindow(char *title);where the error occurs declares a function taking a
char*
parameter and returning an int
value. What you want is something like int i = glutCreateWindow("Window Title");which calls the function with a value (and, I assume, returns a handle for that window). -- Dapete ばか 08:44, 17 July 2007 (UTC)
Wow, now that I've looked at it, it looks like you have prototypes in your code. Declaring prototypes is different from actually calling a function. Should be something like this:
#include <stdlib.h> #include </Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h> int x = 100; int y = 100; int main(int argc, char **argv) { glutInit(argc, argv); //Call glutInit, which returns void, with the parameters passed to main. glutInitWindowPosition(x, y); //Call glutInitWindowPosition, passing in variables x and y, to set our initial window position. glutInitDisplayMode(GLUT_RGB | GLUT_SINGLE | GLUT DEPTH); //Set initial display mode. glutCreateWindow("Some Title"); //Need to feed glutCreateWindow a string for the caption. return 0; }
Declaring a function like this:
int aRandomFunction(int Something, char* Something2);
is different from actually invoking the declared function:
int returnValue = aRandomFunction(0, "Blah");
You may wish to review your C knowledge. Splintercellguy 09:33, 17 July 2007 (UTC)
Thanks everyone, I'm a complete C newbie :) I still have a problem though: With this code:
#include <stdlib.h> #include </Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h> int x = 100; int y = 100; int main(int argc, char **argv) { glutInit(argc, argv); //Call glutInit, which returns void, with the parameters passed to main. glutInitWindowPosition(x, y); //Call glutInitWindowPosition, passing in variables x and y, to set our initial window position. glutInitDisplayMode(GLUT_RGB | GLUT_SINGLE | GLUT DEPTH); //Set initial display mode. glutCreateWindow("Some Title"); //Need to feed glutCreateWindow a string for the caption. return 0; }
I get this problem:
/Users/ryangrasell/Desktop/opengl.c: In function 'main': /Users/ryangrasell/Desktop/opengl.c:8: warning: passing argument 1 of 'glutInit' makes pointer from integer without a cast /Users/ryangrasell/Desktop/opengl.c:12: error: 'GLUT' undeclared (first use in this function) /Users/ryangrasell/Desktop/opengl.c:12: error: (Each undeclared identifier is reported only once /Users/ryangrasell/Desktop/opengl.c:12: error: for each function it appears in.) /Users/ryangrasell/Desktop/opengl.c:12: error: parse error before 'DEPTH'
That's fixed now with this code:
#include <stdlib.h> #include </Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h> int x = 100; int y = 100; int main(int argc, char **argv) { glutInit(&argc, argv); //Call glutInit, which returns void, with the parameters passed to main. glutInitWindowPosition(x, y); //Call glutInitWindowPosition, passing in variables x and y, to set our initial window position. glutInitDisplayMode(GLUT_RGB | GLUT_SINGLE | GLUT_DEPTH); //Set initial display mode. int window1 = glutCreateWindow("Some Title"); //Need to feed glutCreateWindow a string for the caption. return 0; }
I still get an error though:
/usr/bin/ld: Undefined symbols: _glutCreateWindow _glutInit _glutInitDisplayMode _glutInitWindowPosition collect2: ld returned 1 exit status
gcc -lglut opengl.cwill tell it to search for the libglut library. -- JSBillings 14:01, 18 July 2007 (UTC)
For testing purposes, I have a PC configured with several different types of NICs (or equivalents), all set to use the same static IP address/ subnet mask (10.0.0.1/255.255.255.0). At any given point in time, only one of these ports is actually connected to the downstream system (which lives at 10.0.0.2). During my testing, I need to switch among these several NICs and make sure the downstream system operates with all of the different NIC types.
Windows/2K grudgingly lets me set all these NICs to the same address. But to switch from one NIC to the next, not only must I move my cable, but I find that I must also either:
Is there a more-automatic way of accomplishing this? Is the behaviour essentially the same in Windows/XP as in Win2K?
Atlant 12:35, 17 July 2007 (UTC)
Hi, I've just installed ubuntu 7.04, and can't get the correct screen resolution on my monitor. Here are the contents of my xorg.conf file
Section "Monitor" Identifier "DELL SE197FP" Option "DPMS" EndSection Section "Screen" Identifier "Default Screen" Device "nVidia Corporation C51 [GeForce 6150 LE]" Monitor "DELL SE197FP" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1272x1272" "1024x768" "880x704" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1272x1272" "1024x768" "880x704" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1272x1272" "1024x768" "880x704" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1272x1272" "1024x768" "880x704" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1272x1272" "1024x768" "880x704" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1272x1272" "1024x768" "880x704" "800x600" "720x400" "640x480" EndSubSection EndSection
I don't understand the contents of this file, and the options displayed are nor available under system - preferences - screen resolution. My Dell handbook does not tell me the screen resolution which I am supposed to be working at, but I know it should be higher than 800*600, which is what I am currently set at. What can I do? Please explain in laymans terms.
Maria
Ok, I've followed splintercellguy's advice, and have got up to a terminal screen which has a series of options for screen resoltuion. These options have boxs which look like this [ ] or [*] , however, I can't seem to edit these boxes, and I need to put a star in the one which says 1280*1024.
Ah lovely, thanks
Maria
Message posted at Village Pump and it was suggested I try here. Original note with two brief replies follows. Ben MacDui (Talk) 18:23, 17 July 2007 (UTC)
I recently discovered the the sort function on "wikitable sortable" e.g. List of United States cities by population does not work with OSX and Safari. Sometimes clicking in the data fields just toggles the list up and down alphabetically; today for some reason the sort buttons are missing completely. This applies to both OS 10.3.9 with Safari 1.3.2 and OS 10.4.10 with Safari 2.0.4. OS 10.4.10 with Firefox 2.0.0.3 is fine. Ben MacDui (Talk) 19:07, 13 July 2007 (UTC)
I was ordering a 1 GB RAM upgrade from Crucial, but somehow ended up ordering two of them. I'm running 512 MB of RAM in my computer right now, and there are two RAM slots; would there be any negative side effects if I removed the 512MB module and replaced it with a 1GB module? If there aren't, I'll just replace the old module to have a total 2GB of memory. If there are, I'll have to cancel the order.-- The Ninth Bright Shiner 20:07, 17 July 2007 (UTC)
what are good antivarius software? i use panda and its pretty good. i'm thinking about buying one. i looked around and bitdefender and kaspersky seem to be best but i know nothing about them!!!--anon
years ago there was not even 1GB and now there is 1TB why do they wait they know we want more why dont they just make the 1PB now instead of waiting 10 years —Preceding unsigned comment added by 71.185.130.11 ( talk • contribs) 23:07, 17 July 2007
Years ago they didn't know how to cram 1G on a hard disk and now they do. People learn how to do things and then they do them. They know you want 1PB, they just don't know how to cram it into a little box yet.
Normal PC disk drives come in standard form factors (sizes and shapes) so that they can fit in a standard computer case or laptop. Disk companies usually just release drives of whatever round-number capacity they can fit into a device of that size and shape. They could release a PiB-capacity single-drive, but its non-standard size would limit its commercial success. It all comes down to data storage density, which grows over time as technology progresses. -- TotoBaggins 14:45, 18 July 2007 (UTC)