5,331 Posted Topics
Re: School assignment - we don't do that. What do you think would be appropriate? In the networking/security domain there are a plethora of issues to deal with. Pick one... :-) | |
Re: Python has functions that deal with that stuff - in an operating system neutral manner. RTFM... Or do some simple Google searches! I just did, and came up with a bunch of links to stuff that tells me how to do this stuff. | |
Re: I've had issues with Win7 losing the ability to see/mount usb drives (thumb drives or other). The solution I have found (works for me and others with this problem) is to remove the USB devices/hubs in your device manager, and then reboot. On reboot, they will be reinstalled and generally … | |
Re: File folders are directories. From the Linux getdirentries man page: GETDIRENTRIES(3) Linux Programmer’s Manual GETDIRENTRIES(3) NAME getdirentries - get directory entries in a file system-independent format SYNOPSIS #include <dirent.h> ssize_t getdirentries(int fd, char *buf, size_t nbytes , off_t *basep); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): getdirentries(): _BSD_SOURCE || … | |
Re: If this is a class project, then don't just copy the code from AD's link - your professor probably knows about that and cheating is generally frowned upon... :-( | |
Re: It is available in the standard repositories for RHEL and clones, at least for version 6. IE, RHEL 6.x. I have it in my Scientific Linux (RHEL clone) 6.4 standard repository (/etc/yum.repos.d/sl.repo). So, try running the command `yum list 'tkinter*'` | |
Re: You are returning a reference to a local variable - not good! Even though the elements of arr[] are allocated on the heap (malloc()), arr[] itself is not. This would work if you made it static, but the fact of the matter is that this is REALLY bad code! Rethink … | |
Re: Friends are not inherited. Usually if you are a friend class and you want your derived classes to have access to the friending class' private and protected members, then you will need to add the appropriate functions to access them in yourself (the friend class). Example: class AnotherClass; class SomeClass … | |
Re: Well, you can see all the classes as they load with the -verbose:class option when you start the jvm. You can pipe that output to a file. After they are loaded, the application should run normally. | |
Re: The key to speed in joining tables in any relational database (such as mysql) are indices. If you do frequent queries on a specific join, then I recommend using a view and perform the query on that. | |
Re: Why are you using strings to contain numeric (int) values? Why aren't you using arrays of ints instead? | |
Re: There is the circuitry of the computer, external circuitry of other devices, and just other (simple) external circuitry, which if you want to control you need some kind of connectivity, such as RS-232, RS-485, etc. How you "talk" to those devices and circuitry depends upon the operating system, and a … | |
Re: Are you sure you have admin privileges on your computer? Are you trying to install a 32-bit, or 64-bit version of Oracle - your system is 32-bit. Did you remove some files after you installed Oracle, possibly thinking they were not necessary? | |
Re: LONG types (blobs basically) usually have to be fetched separately. What is stored in the table is a link to the actual data, which may be in an external file. Read the Oracle documentation on how to do that. I haven't done this for almost 10 years so that's as … | |
Re: What do YOU want to do? You say you "know Oracle". Do you know PL/SQL? What about Oracle's embedded Java implementation? Tools? | |
Re: Do you know if this version of RDB has an ODBC interface? If so, you can use that to migrate the data to most any current database. Oracle databases all have ODBC available. In any case, a DEC RDB database is NOT Oracle... :-) | |
Re: I would add one change to the structures/classes/members shown by decepticon, and that is to use a std::vector<CArticle> for the _articles member in the CLibrary class. Also, it is STRONGLY recommended by standards to NOT use leading underscores for local/class/static variables as that is reserved for internal use by system … | |
Re: It depends upon one thing: your phone account. Does it support using your phone for tethering or as a WiFi "hotspot"? Most will allow that, but usually charge you a premium for the privilege. You configure your phone as a WiFi hotspot, and then connect your computer and (usually up … | |
| |
Re: Sorry, be we don't do your school work for you! This information is easily available on the web. Wikipedia has some great articles on networking fundamentals. | |
Re: Hessian seems a bit dated (in internet time terms) - the last updates I found on their website were 2010. What exactly are you trying to accomplish? | |
Re: Shell variables, including environment variables, are context sensitive. IE, you set a variable in one script, it (or its changes) are not visible outside of it after exit. If they are exported environmeent variables, then they are visible to scripts that IT calls, but not to the script that called … | |
Re: A couple of observations: 1. C++ classes have member initializers which should be used OUTSIDE of the main block of the constructor. IE, do this: Cube::Cube(int x, int y, int z) : width(x), height(y), other(z) { } Why? Because you always want your member variables initialized before you can use … | |
Re: Have you looked into either VLC or ffmpeg to do this. I have used both in the past to stream from my usb video camera, as well as from various files. Using ffmpeg is nice because it can transcode on the fly from any to about any format, so you … | |
Re: This is a binary file. An image consists of pixels. Usually, they are encoded into 8, 16, 24, or 32 bit values depending upon the "depth" of the image (number of colors). This looks like a 16 bit image at first glance (no guarantees - it may be 32-bit). You … | |
Re: Well, basically you are writing your own web browser - good luck! Not impossible, but not trivial (to say the least). You will have to be able to parse the returned HTML text and render it in some sort of reasonable way. FWIW, my company does this, and we utilize … | |
Re: Most any CD-ROM drive will be fast enough for audio playback - even a 1x device will do that just fine (with some possible stuttering when system functions take up too much I/O or CPU resources). Most CD-ROM drives can read at up to 52x, so when you play back … | |
Re: Sorry, but we don't do your homework/schoolwork for you. Make an honest effort first, post what you've done here, and we may then want to critique your work, but let's just say you have NOT gotten off to a good start! :-( | |
Re: My first commercial software was for a wholesale bakery - A/R, A/P, and G/L. Then I was an OEM for the major manufacturing accounting software system MCBA, on which I would do custom modifications for our clients in upstate New York. As decepticon said, you first need to understand the … | |
Re: You need at the least a cable modem (you can purchase these from Best Buy, Amazon.com, et al). You should probably also get an ethernet switch/router, which you connect the modem to with the ethernet port, and connect the modem via its coaxial connector to the cable. Finally, you will … | |
Re: Close, but no banana. You need to store the letters in a char array, and the count should not be subtracted by 1 at the end. IE: #include <iostream> #include <stdio.h> #define MAXLETTERS 100; using namespace std; int main(int argc, char* argv[]) { char letters[MAXLETTERS+1]; char letter = 0; int … | |
Re: An interpreter is not the same as an emulator or compiler. An binary code interpreter will interpret the machine instructions dynamically at run time. An emulator will be an environment that poses as the target machine, and execute the instructions just like a physical machine. A compiler will take source … | |
Re: There are several grades/speeds of WiFi - a/b/g/n. The fastest is 'n'. Check if your computer AND access point (router) are both using that. Also, the distance from the access point (AP) to the computer affects speed tremendously. There are high-gain antennas (if your AP has an external antenna/antennas) that … | |
Re: You can also use nslookup to see if your host name is recognized by DNS. Open up a cmd.exe window and enter the command "nslookup www.mydomain.com", using your host.domainname. If it can't find your domain, you will get an error something like this: `*** some.dns.server can't find www.mydomain.com: Non-existent domain` … | |
Re: IT infrastructure is all the computer hardware, networking gear, wiring, WiFi, power supply, and software that your systems utilize. How many desktops, laptops, and servers does your organization require/have? What about networking? Backup power for servers? Managing and maintaining these (both hardware and software repairs, patches, and upgrades) are all … | |
Re: You could use an autoit script and call that from C++ using the system() or one of the exec() functions. AutoIt lookes very capable. Unfortunately they don't provide source code, but it is free. | |
Re: The main difference between vanilla java and Andoid's Dalvik is the byte code generated by the compiler and the virtual machine to execute that byte code, plus the additional API's that Dalvik provides. | |
Re: What are you using for the rfid reader, and what is its hardware interface? In any case, the answer should be "probably". Certainly ARM, MIPS, uC controllers, etc can handle the reader <--> computer interfacing. You might even be able to use an Arduino board. That said, if the reader … | |
Re: Each return point returns only one value, true or false. Assuming your logic is valid, you are ok. FWIW, I am NOT going to review all 250 lines of your code to determine if your predicate logic is valid! :-) So, which branch is returning "128" instead of 0 or … | |
Re: Or: #include <iostream> #include <string> using namespace std ; double get_double(string Prompt) { double salary ; cout << Prompt << flush; cin >> salary ; return salary ; } void main() { double salary = get_double("Please enter your salary $") ; double perc_raise = get_double("What percentage raise would you like? … | |
Re: Remember, winsock is Windows specific. Better to use standard C socket library stuff, which Windows also supports, as do Unix/Linux systems. | |
Re: Run Linux in a virtual machine on your Windows system and install nasm. From the nasm man page: nasm - the Netwide Assembler, a portable 80x86 assembler You can download/install the VirtualBox virtual machine manager, and then install any number of Linux distributions on that. Each virtual machine will be … | |
Re: Safe from copying unauthorized data to the drive? Safe from prying eyes (unauthorized access to the data they contain)? Even the CIA has rescinded their ban on the use of USB drives because they are just 1. Too difficult to control/manage. 2. Impossible to avoid use of (sneaker net is … | |
Re: Ah! You must have ordered the keyboard for dyslexics... :rolleyes: Sorry, couldn't help myself! Seriously though, you need to go into the Control Panel / Ease of Access Center and turn on the on-screen keyboard. See if that is also reversed. In Linux you can remap the keyboard pretty easily, … | |
Re: Also, check that height is != 0.0, otherwise you will get a floating point exception and your program will dump core. | |
Re: If someone has physical access to your network, they own you! They can attach a network sniffer and obtain credentials, passwords, and monitor/manipulate traffic to their heart's content. Logical security keeps people honest and out of things they should not be accessing without appropriate permissions. | |
Re: Well, there are "infinite" precision math libraries (I think Boost has such) that you could look at for ideas... :-) | |
Re: A p2p network can also have client/server connections. Consider these terms as abstractions. In a P2P network, one system is directly connected to another, as peers (ie, peer-to-peer); however, once system on one end of the p2p network may operate as a server that a client on either end can … |
The End.