5,331 Posted Topics

Member Avatar for Daniel_41

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.

Member Avatar for rproffitt
0
338
Member Avatar for Builder_1

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... :-(

Member Avatar for rubberman
-1
621
Member Avatar for jovelle31

The goggles look totally dorky! The concept is good. If it had a display something like Google Glass it wouldn't be so bad.

Member Avatar for rubberman
-2
291
Member Avatar for rose_2
Member Avatar for amanueal

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.

Member Avatar for rubberman
0
228
Member Avatar for tqmd1
Re: Int

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?

Member Avatar for cereal
0
116
Member Avatar for Siberian

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.

Member Avatar for Siberian
0
281
Member Avatar for can-mohan

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.

Member Avatar for can-mohan
0
350
Member Avatar for showman13

Show your work. Just stating the problem would give us enough information.

Member Avatar for showman13
0
333
Member Avatar for IntegratedTweak

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 …

Member Avatar for Reverend Jim
0
497
Member Avatar for සශික

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 …

Member Avatar for Mr.M
0
282
Member Avatar for keshav1234

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.

Member Avatar for Keshav_1
0
130
Member Avatar for Gribouillis

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? :-)

Member Avatar for Gribouillis
0
2K
Member Avatar for Steven1142

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 …

Member Avatar for dannyniu
0
297
Member Avatar for TheFearful

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 …

Member Avatar for TheFearful
0
392
Member Avatar for DGULLIVER

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.

Member Avatar for rubberman
0
309
Member Avatar for ramsiva

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, …

Member Avatar for rubberman
0
119
Member Avatar for ramsiva

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).

Member Avatar for rubberman
0
72
Member Avatar for PercyCuted

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 …

Member Avatar for rubberman
0
198
Member Avatar for MWAMBA

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 …

Member Avatar for Tildesare
0
330
Member Avatar for sukumar paul

@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.

Member Avatar for sukumar paul
0
186
Member Avatar for JOSheaIV
Member Avatar for laguardian

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 …

Member Avatar for rubberman
0
169
Member Avatar for Nisa_1
Member Avatar for Nisa_1
0
324
Member Avatar for Nathan_6

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 …

Member Avatar for Nathan_6
0
570
Member Avatar for Usman_9

Please DO NOT multi-post questions to the forums. I have made some suggestions in your other post. Please delete this one.

Member Avatar for rubberman
0
201
Member Avatar for Usman_9

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, …

Member Avatar for rubberman
0
195
Member Avatar for Mr.M

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.

Member Avatar for Mr.M
0
5K
Member Avatar for andyhunder

This is not the forum for that question. I would advise that you consult with your attorney once more about your actual liability.

Member Avatar for diafol
0
151
Member Avatar for Siberian

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.

Member Avatar for Siberian
0
289
Member Avatar for nevek

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.

Member Avatar for rubberman
0
271
Member Avatar for AKRAM83

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 …

Member Avatar for rubberman
0
301
Member Avatar for Tokumu
Member Avatar for Mr.M
0
246
Member Avatar for simmyk

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 …

Member Avatar for rubberman
0
429
Member Avatar for new_2_java

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.

Member Avatar for Gribouillis
0
1K
Member Avatar for Rajesh_21

RTFM. There is a lot of eclipse support on the Internet as well on the Eclipse web site.

Member Avatar for Gribouillis
0
195
Member Avatar for sami ullah khan

Show your work (algorithm and/or code) and we can help. We don't do your school work for you.

Member Avatar for rubberman
0
420
Member Avatar for naithsleeray
Member Avatar for Mr.M
0
2K
Member Avatar for MK
Member Avatar for ingeborgdot@yah

I've had good luck with Buffalo NAS devices. RAID-5 is standard as well as easy access from Windows or Linux.

Member Avatar for CimmerianX
0
226
Member Avatar for can-mohan

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 …

Member Avatar for rubberman
0
252
Member Avatar for mortonprod

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 …

Member Avatar for rubberman
0
311
Member Avatar for directorabbey

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;`

Member Avatar for directorabbey
0
274
Member Avatar for wilkis123

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.

Member Avatar for spicyhost
0
342
Member Avatar for malatamil

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.

Member Avatar for diafol
0
146
Member Avatar for steve.dannay
Re: C++

In linux you would use the "clear" command unless you create an alias for it.

Member Avatar for underjack
0
148
Member Avatar for can-mohan

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 …

Member Avatar for can-mohan
0
319
Member Avatar for reenabiew

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.

Member Avatar for rubberman
0
260
Member Avatar for JohnMcPherson

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?

Member Avatar for AssertNull
0
3K
Member Avatar for JohnMcPherson

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.

Member Avatar for JohnMcPherson
0
374

The End.