5,331 Posted Topics
Re: Most file managers for Linux GUIs have a "properties" item when you right-click on the item. Usually there you will find a tab titled something like "Open With" which will usually let you set the default application to use when double-clicking on the file type in question. | |
Re: It is possible that the card has a fault. I don't know what you can do to diagnose that. You could send it in for service, but then you would be without your computer for awhile. In the meantime, you can remove the card, clean the connectors (an eraser works … | |
Re: I'm not an attorney, but I think what you want to do is illegal in most states in the US and most countries abroad as a violation of privacy and/or felony computer hacking. You would do so at your own risk - if you get caught you are likely to … | |
Re: I wrote a simple desktop interface many years ago (about 1985) using the curses api. That wasn't simple to do, but worked rather well (it became part of a commercial office automation system). You can use Qt or GTK++ to do this today, as do Gnome and KDE, but modern … | |
Re: Well, I have to disagree with Mike2K with regard to UML, but that depends upon the tools you use. I employ Sparx Enterprise Architect for my design needs, and then use it to generate source code. If I have to work with existing code, then I used its reverse engineering … | |
Re: 1. Because if the headers change (software updates, etc), then you would have to update every source file you have. 2. Header files often have macros defined, global variables that may vary upon the results of macro definitions, etc. 3. Each header file may include many other headers, which in … | |
Re: Is this a home or work network? If a home network, what is your router? Have you tried other computers (or phones using WiFi) on the network? | |
Re: As chriswelborn said, having a problem to solve is a good incentive to learn how to program. I got started in 1983 by being challanged to write an accounting program in dBase II for a wholesale bakery company in the Silicon Valley. That program ran the bakery for the next … | |
Re: Write out the algorithm first in pseudo-code. If words can only contain alpha characters (no numbers, special characters, etc), then incorporate that into the pseudo-code, skipping past the next white-space character(s). Myself, I would read the file one character at a time, and use a finite-state machine algorithm to accumulate … | |
Re: There are network monitoring tools that can help you do that. Two that are available (free, open source) for both Windows and Linux are Wireshark and tcpdump. They can work together if needed. IE, you can capture a bunch of network packets with tcpdump and then view them in wireshark. … | |
Re: How many and what type of disc drives are you running? Devices that are USB powered? Other cards besides the video? FWIW, the Radeon 7850 draws approximately 300 watts when not at idle or just doing simple desktop stuff (provided your system can engage with the 7850's low-power control system). … | |
Re: Mac OS is basically BSD Unix with a nice GUI. Linux is similar, with many nice GUIs, SOME of which resemble the Mac's. That said, Linux GUIs are a lot more user configurable than the Mac's is. Play with them. You can switch easily enough, without munging the entire system. | |
Re: Get yourself one what? SSL certificate? Are you running a web site? If not, don't bother. If so, then explore the options for registered certificate authorities. | |
Re: Your biggest problem in the future will be using Visual Studio. In any case, this was NOT a C++ problem. It was a Windows Visual Studio problem. | |
Re: Are you running from a home network, or company one? Is this on WiFi or a hard-wire ethernet connection? | |
Re: Try using Google or Wikipedia to start your search about facial recognition algorithms. This is not a simple subject and is one that has tripped up some of the top minds in the business for years. Just now are some such technologies becoming reasonably accurate where they can be used … | |
Re: I doubt it would make much difference betwixt the two versions, assuming the Bing Maps APIs are available for 8.1 as well as 8. | |
Re: A map is not case-insensitive by default. You need to specify your own comparison function in the template argument list for the directory object to handle your use case. Here is a link to the documentation for std::map: http://www.cplusplus.com/reference/map/map/ | |
Re: Bose has some nice gear for this sort of thing. A bit more expensive than Logitech, but far better in quality. | |
Re: Ok. Put a space between the '>' and 'records' on line 38. Other than that, what is your problem other than confusion? Show how you are using the vector. | |
Re: OOP is a means to help you think about the things that are going to "live" in your programs - their properties and behaviors, as well as how they are related to other things (classes). For example, a class "Automobile" might have some properties such as Engine (probably another class … | |
Re: Try Googling this on your own. We aren't here to do your homework for you. | |
Re: > nitin1: extremely awesome ;) You always explain awesomly. how? ;) I think deceptikon had the "awesome C++ wizard" gene spliced into his DNA... :-) | |
Re: There are a number of good discussions on the internet about this - try a google search on the terms "java operator overloading". The short answer is that java does copy-by-reference vs. C++ (and I assume C#) using copy-by-value. Here is one link for you that tries to explain it: … | |
Re: As pointed out, that is just bad code with no indentation, not pseudo code, which is the process of describing what the program will do, not doing it. Here is your code in pseudocode form: if the user inputs a valid medium { ask user to enter the distance get … | |
Re: 1. Convert number to string. 2. Create array of pairs in the string. 3. Convert array members to integers. 4. Iterate array to find largest member. | |
Re: I seem to recall there were some problems with that update. Have you tried updating with the current patches? | |
Re: :-) We have all done that. Just remember, we are trying to help students to learn how to fish. Not just feed them a fish! Anyway, as per my comment, your intention was good, but the results may not help the student in the long term. I know I have … | |
Re: The data from the scanner is binary. You are trying to output that as text. You need to decode the binary data first. | |
Re: Showing your code would be helpful also. The class you are trying to allocate an instance of, does it have a static new() method? | |
Re: I don't see a Basement to Dining_Room transition. There is a Basement to Closet transition, and a Dining_Room to Basement transition. | |
Re: You are correct in that the protected: declaration in class Tank does nothing. You could put static or instance methods or variables there, but since it is only succeeded by public: that is what access will be granted to following elements. Do note that you can multiple public, private, protected … | |
Re: You may also have a restore partition on the hard drive that will let you restore it to factory settings. If not, then it is either paying for the restore discs, or wiping the hard drive completely and letting the center install the operating system of the hard drive, or … | |
Re: Show your code here, some explanation of your problems, and we may be able to help. | |
Re: If you have no monitor, how do you know it is running properly. The fact that the fan and/or hard drive spin is no indication for sure. Have you tried another monitor? Cable? Video card? Does the system beep when you boot it up, and if so, how many beeps … | |
![]() | |
Re: The main distinction, which decepticon was trying to get across, is that each member variable in a struct has its own memory within the structure, and the structure size is the aggregate of all the member variables. A union is only as big as the largest member of the union. … | |
Re: You have defined State after Machine, but each has a dependency on the other. This is how you can deal with that: // Forward declaration of the State class. class State; class Machine { // Don't put 'class' in front of State here. State *current; . . . }; | |
Re: I suspect that you would need a BIOS option as well as operating system support for that. | |
Re: Try using strcpy() and strcat() instead, as in: if (buffer != 0) // test for a null buffer pointer. { ::strcpy(buffer, w); ::strcat(buffer, v); } Yes, these are C functions, but they work just fine with C++ and are appropriate as your function arguments are simply char* and not std::string& … | |
Re: So, show your code doing this. You only show the structure of the list and node structures. | |
Re: 1. The loop `for(i=0;i<=4;i++)` should be `for(i=0;i<4;i++)` 2. You should set a 'largest' variable as found and then output that after the loop has terminated. Following is how to do that. 3. You also have a bunch of other issues that should make your compiler throw up... #include<iostream.h> int main(void) … | |
Re: How you do this depends upon you compiler and operating system. Read the relevant documentation for you system on how to create a static or shared library. | |
Re: What error are you getting? FWIW, this is a Star Office file (most likely). LibreOffice or OpenOffice should be able to read this file unless it is corrupted or you are out of memory. | |
Re: You definitely need some skills... I don't run windoze, so I can't comment on your use of netsh very intelligently, but from what I garner from some web searches and reading MS documentation on the tool, what you want to do is not possible. | |
Re: Any particular reason why you are using hash-maps vs regular maps? One advantage (possibly) for maps is that they are key ordered. | |
Re: There are ample e-commerce packages that will do what you want. Nothing is free. You either pay in $$ or in time and effort. | |
Re: So, you only show your main() and argumentCheck() methods. What have you done for the createTable() and printTable() methods? What problems are you encountering? | |
|
The End.