5,331 Posted Topics
Re: This is a classical symptom of an underpowered power supply. Rule of thumb is to get a power supply with twice the wattage as you figure you will need. | |
Re: Do you really expect us to analyze and comment on almost 1000 lines of code? I'd be happy to for my normal consulting rate of $200 USD per hour... :-( | |
Re: The goggles look totally dorky! The concept is good. If it had a display something like Google Glass it wouldn't be so bad. | |
Re: Sorry, but we don't do your homework for you. Code the problem and when you are having trouble post the code with errors and an explanation of when you get them here. | |
Re: Neither are good code. A string is not an integer. The length may be. Any character of the string can be considered an integer, but the string itself is not. What are you trying to accomplish here? | |
Re: I would try dropping the share, reboot, and reestablish the share. Also, when you try to log in again from the laptop, make sure the displayed workgroup is correct. If not, then use workgroupname\username instead of just the user name. | |
Re: You can also add a `b*` extractor method the class a that returns the `b*` from the a object. Then your assignment would probably work. operator b* () { return p; } And change the assignment from `obj1=obj2;` to `obj1=*obj2;` That works on my system. | |
Re: I only run Windows on my Linux system in a virtual machine. I have a licensed copy of Windows 7, but it refuses to allow me to register it with MS which results in degraded operations. I also have XP and will install that in another VM - never had … | |
![]() | Re: Study and work in the subject for about 5+ years and you might get a clue. FWIW, VBA and other Visual Basic versions are NOT used for enterprise class software, other than for writing user interface components. They then will typically send transactions to an application server (typically written in … |
Re: 1. Please indent your code. 2. It is not polite to ask people to analyze almost 300 lines of code in a forum like this. 3. Isolate your problematic code and tell us what is going on. | |
Re: Simple. The farmer secures the duck under his hat - now there is only the farmer, the wolf, and the bag of corn which the wolf won't be interested in. BTW, how does the farmer keep the wolf from eating him? :-) | |
Re: You say it "gets stuck". What do you mean? Does it stop formatting and issue an error message? Does it just stop formatting and sit there seemingly doing nothing? If the latter, is the disc activity light still on? Please be more descriptive. Also, what make/model/size of HDDs are you … | |
![]() | Re: NEVER allow direct SQL code to be passed to your application. I always use stored procedures in the database and data binding to eliminate SQL injection altogether. You can write some php functions that take user input for data modifications and such and those can in turn parse the data … ![]() |
Re: You need to issue a `begin transaction` and `commit transaction` statements before/after the actual SQL update statement. That will protect you from other activities from interfering with your transaction. That will also guarantee that your update gets written to the database in a serialized fashion. First in, first updated. | |
Re: Start by writing out the algorithm in non-code terms to be sure you understand it. Then apply the algorithm manually to see if it corresponds to what you can observe directly. Do this for both saturdays and sundays. Once you have verified the algorithm, then you can code it. IMO, … | |
Re: Sorry, but we don't do your homework for you. Show your work and we can help. FWIW, this is a generic algorithm and the code in php, c++, c, c#, et al would be very similar in content (syntactical differences aside). | |
Re: 1. Get a new phone and change all your phone passwords. 2. Wipe all your systems, including the BIOS flash memory. This would include using an industrial strength disc eraser that will clear the boot / partition sector as well. 3. Reinstall new / patched operating systems. DO NOT USE … | |
Re: Not asking for much, are you? :rolleyes: Read some programming books and take some tutorials on the language(s) you are interesting in learning. Programming is basically an exercise in structured thought and logic. Decide what you want to do. Determine how you might solve the problem. Write out the steps … | |
Re: @cereal's link is a good place to start. A bit of background information - PL/SQL is a derivative of the ADA programming language. It can also call into the Oracle JVM if you need to write some Java code to use in your database procedures. | |
Re: This is not trivial and telling you how to start doing this is not in the scope of these forums. There are open source web-based tools out there that will do this for you, the study of which can help you understand what needs to be done. As for document … | |
Re: No code. No help... Post the relevant code where you are having a problem. | |
![]() | Re: There is no real reason other than "showing off". That said, toupper(int ch) returns an int, so they may have wanted to force it to return a char, which they could have done with a simple (char) cast which is effectively what static_cast<char> does. IE, a waste of space, and … ![]() |
Re: Please DO NOT multi-post questions to the forums. I have made some suggestions in your other post. Please delete this one. | |
Re: This constructor is bad - do NOT initialize in the body of the constructor, but in the initializer block: // Bad usman::usman() { root=leaf=NULL; count=0; } // Correct usman::usman() : root(0), leaf(0), count(0) { } Also, with C++ you can add a constructor to structs, which are just public classes, … | |
Re: Not suer, but try C:\ProgramData\MySQL instead of C:\ProgramsData\MySQL. I only use MySQL on Linux and since it is a standard package installation all of that cruft is taken care of for you. | |
Re: This is not the forum for that question. I would advise that you consult with your attorney once more about your actual liability. ![]() | |
Re: Are you sure all your related code is up-to-date and/or in sync with the version of grunt that you are trying to install? Also, you need to make sure that appropriate path environment variables are set correctly so the system can find the associated components required. | |
Re: Assuming you have an nfs or samba share mounted on the remote system, this should not be a problem. I have done this frequently in the past. | |
Re: You haven't written the code to reverse the str1 string. Also, your string variables are being declared as an array, and you are putting the input string in a likely bogus position of that array. To declare them properly, do this: `string str1, str2;` Next, in your loops you look … | |
Re: I don't see anything atttached here. Also, show your code or we can't help much. | |
Re: Are these compiler, or are they runtime errors? Please show them. As for passing an array into a function, either the function already knows the size of the array, or you need to pass the size in another argument. Better is to use a C++ vector<type> class, and you can … | |
Re: This is most likely a command line length problem. I'd use a bash shell for loop and as rproffitt didn't suggest I would use cat to merge each candidate file into the merged.csv file. | |
Re: RTFM. There is a lot of eclipse support on the Internet as well on the Eclipse web site. | |
Re: Show your work (algorithm and/or code) and we can help. We don't do your school work for you. | |
Re: Without showing your code, it is very difficult to advise/help you. | |
Re: What code? This question cannot be answered as is. ![]() | |
![]() | Re: I've had good luck with Buffalo NAS devices. RAID-5 is standard as well as easy access from Windows or Linux. |
Re: You need constructors for Draw that initialize the obj pointer appropriately (null for default ctor, and possibly copy ctor though in that case you may want to clone obj from the copied item - ditto an assignment operator). Then, deleting obj in the destructor will succeed, even if it is … | |
Re: This unit does not appear to have an integrated video adapter, correct? What video card are you using? Also, does it have one, or two display ports? Have you tried a different video adapter. This unit also has an audio-out connector which if you hook it up with a speaker … | |
Re: uint8_t as others of that ilk are not defined by default by c or c++. You either need to include some header that defines them for you, or you need to define them yourself as in: `typedef unsigned char uint8_t;` | |
Re: There is a lot to do for that. Better start reading - plenty of resources on the Internet, including online classes that will help learn about this. Get your Googling or DuckDuckGo limbered up for some serious searching. | |
Re: I assume these are GET arguments from a browser URL? If so, then each of mr1, mr2, and mr3 content strings would be avaliable in your PHP $_GET variables. So $_GET["mr1"] would return '60,60,60,60,60'. Anyway, show your code. ![]() | |
Re: In linux you would use the "clear" command unless you create an alias for it. | |
Re: You can add an assignment operator in class b that takes a reference to an a object: const b& operator=( const a& anA ) { if (&a != p) { delete p; p = new a(anA); } return *this; } Also, your b class copy constructor should return a reference … | |
Re: What you are trying to do is called "single sign-on". It requires that both systems are running a service such as OpenLDAP or YP (Yellow Pages), with one of them being the server that will store the passwords and perform login authentication. | |
Re: 1. You need to be sure that the str variable is big enough to handle your input. You might want to consider using getline() instead. Read the man pages. Are you using this in Windows, or Linux/Unix systems? | |
Re: Line 15, your WINDOW pointer is never allocated, yet you are trying to manipulate it. I would expect that your application would dump core. It would if you initialized it to a null pointer when you declared it. |
The End.