5,331 Posted Topics

Member Avatar for RikTelner

I think I prefer Windows 7 to XP, but then I REALLY prefer any Linux distribution over ANY Microsoft operating system! FWIW, this is written on a Red Hat Enterprise Linux clone, Scientific Linux, the OS that runs most major science labs in the world. If it's good enough for …

Member Avatar for rubberman
0
366
Member Avatar for AKJo

MP4 files require a different codec. I don't know how you would load/enable that with Delphi, but it should not be difficult.

Member Avatar for Duoas
0
823
Member Avatar for glubbish
Member Avatar for ema-miles

I've had the same problem in the past with Windows. The solution was to remove the USB ports and/or hubs from the Device Manager, and then reboot the computer. That does a clean re-install of the USB hubs and ports and then usually it will recognize the thumb drive when …

Member Avatar for ema-miles
0
160
Member Avatar for kingwash

The best way is it do this in the class One's constructor. Pass $b as an initialization variable. That said, cereal's approach is also fine, as long as the $a member variable remains public. If at sometime in the future you decide it should be private, then his approach will …

Member Avatar for diafol
0
137
Member Avatar for NoobCoder85

The default arguments should be in the class declaration (header), not in the definition. Some compilers may accept this, but many will not.

Member Avatar for David W
0
374
Member Avatar for Pratyay67

So, what will your internet / ISP download/upload speeds be? That's where you need to start at. Depending upon the construction of your house, how you set up the network and streaming functions will vary. WiFi 802.11n is currently the best throughput, but all streams are still going to accumumlate …

Member Avatar for rubberman
0
285
Member Avatar for Omar El Hussein

To add to what Schol-R-Lea said, there are a large number of graphics libraries for C++, many of which can be used on many operating systems (Windows, Linux, OSX). A very popular one is Qt. It is powerful, robust, and very cross-platform. I have used it without much fussing on …

Member Avatar for マーズ maazu
0
184
Member Avatar for JustinCpE

We don't do your homework for you. Make an effort. Post the code and errors here. Then we may help you.

Member Avatar for rubberman
-1
257
Member Avatar for Larry_6

Homework assignment? The concept of inodes (not i-nodes) is really simple. There are directories, and each entry has a pointer to the inode for that file or sub-directory. The file system keeps multiple copies of the inode trees (protected with a checksum) so if one gets munged, the system is …

Member Avatar for rubberman
0
176
Member Avatar for vijay90kk

What API? OCR is to scan an image to render it into plain text. What library are you using? Is the image being actively scanned by a scanning device? Or is it from an image on the system?

Member Avatar for peter_budo
0
116
Member Avatar for muhammad_74

Have you visited the Intel web site support pages for this chipset? They should have 8.1 drivers there to download and install.

Member Avatar for muhammad_74
0
199
Member Avatar for bidisha_1

2) for numbers > 9, if it ends in 0, it is divisible by 10. If it ends in a 5, it is divisible by 5. If < 9, it isn't divisible by 10, but if it == 5, then it is divisible by 5. Done...

Member Avatar for rubberman
0
112
Member Avatar for SwtNemesis

The simplest way is to convert the dates to Julian dates (days since start of "time"), and subtract one from the other. Bingo, done... Wikipedia has some good articles about this: http://en.wikipedia.org/wiki/Julian_day - skip to "Converting Julian or Gregorian calendar date to Julian Day Number".

Member Avatar for David W
0
2K
Member Avatar for markdean1989

The tablet obviously has access to a valid DNS server. You either need to configure the hotspot software to relay DNS requests from connected systems, or you need to tell your system what DNS server it should use (using an IP address for same). You can set this in the …

Member Avatar for markdean1989
0
208
Member Avatar for Piotr_13

First, since I have implemented robust time classes several times in the past, I can say that you only want seconds, and microseconds as member variables. Forget the hours and other cruft. Next, always name your variables in your header functions, including your constructors. Your "explicit" constructor does not do …

Member Avatar for Piotr_13
0
217
Member Avatar for whyprinter

Time for a new printer? 5 years is an antique in internet time. I think my last HP printer lasted about 5 years as well before it self-destructed.

Member Avatar for cgeier
0
263
Member Avatar for Jazmine_1

Let's start with this: cout << "Enter 5 integers: "; for (i = 0; i <= 10; i++) { cin >> i; } First, you loop for 10, not 5 integer values. Second, the terminating condition should not be `<=` but should be `<`. Third, you never add the input …

Member Avatar for David W
0
261
Member Avatar for negru

Homework? Walk through the code, line by line, and describe what it is doing. FWIW, just a cursory view has shown me a couple of bugs in this code. Also, proper indentation will help see where some of the problems are.

Member Avatar for rubberman
0
195
Member Avatar for Vandvshop

What OS are you running? If Linux, try running Alsamixer to adjust your master and other volume controls. If Windows, then see if your system is using the desired channels. On my work Windows system, I have both external speakers as well as a headset, and I need to enable …

Member Avatar for rubberman
0
82
Member Avatar for surya777

The multiply and divide operators are of equal precidence for C/C++ compilers. What order they are evaluated it is up to the compiler. IE, your `400*400/400` expression can be evaluated as `400*(400/400) == 400`, or `(400*400)/400 == 400`. Gee, they compute the same. If you aren't getting 400 as a …

Member Avatar for NathanOliver
0
144
Member Avatar for tentrabyte

You need a loop to collect the scores, a variable to store the highest value found, and an array to store them in. Then another loop to find the difference between each value and the highest value that you stored in the variable in the first loop. You have to …

Member Avatar for David W
0
820
Member Avatar for Siberian

As pointed out by the other posters here, most VM managers have tools that you can install to deal with this cursor "stickyness". With VirtualBox it is the "guest additions" package which you can easily install after you get your VM running. VMware has its own tools to install to …

Member Avatar for Siberian
0
135
Member Avatar for lexd

@Schol-R-LEA - I'm guessing that HLA means "High Level Assembler"? IE, an abstract assembly language? @lexd - real assembly languages are very processor dependent. x86 vs ARM vs Power-PC, vs Sparc, et al. FWIW, we don't do your homework for you. Post your efforts (code), errors that the compiler/assembler gives …

Member Avatar for Schol-R-LEA
0
205
Member Avatar for KumbangGroup

From my reading on Microsoft's support site I have to suspect that there is a communication error between the system and device you are trying to connect with. If this is a built-in port, then go to the computer manufacturer's web site and see if they have a diagnostic program …

Member Avatar for rubberman
0
181
Member Avatar for computercrazy

1. CPU - either an AMD or Intel 64-bit chip with 4+ cores and runs at 3+GHz. 2. RAM - 8+GB 3. Video - Either an nVidia GeForce GT/GTX 730+, or an AMD Radeon card. I'm not familiar with Radeon cards so I can't specify which to get. In any …

Member Avatar for rubberman
0
102
Member Avatar for Pete Solo

Please explain the situation, operating system (Windows I presume), what caused this - I presume error code. What you have provided is not sufficient to help you.

Member Avatar for rubberman
0
38
Member Avatar for lewashby

Your printf() function should be `printf("%s", message);` You could have used message as you did if you cast it to a `const char*` as in `printf((const char*)&message[0]);`, but the first example I provided is preferable.

Member Avatar for TalhaMoazSarwar
0
213
Member Avatar for sdtechi

This line: `per=(m1+m2+m3+m4+m5)/500*100;` means that per is equal to the sum of the inputs divided by 50000. It that your intention? Or is it to divide the sum by 500 and then multiply that result by 100? If so, then the expression should be (since C/C++ treat multiply and divide …

Member Avatar for TalhaMoazSarwar
1
234
Member Avatar for Kadian

A major part of the problem why we can't help you is this: if (user.likes.get(e).equals(Stranger.likes.get(e))) { if ((Stranger.howDoYouLike(likes.get(e)))== 1 && user.howDoYouLike(likes.get(e))==1) { numOfCommonLikes=numOfCommonLikes+1; } } else if (user.dislikes.get(e).equals(Stranger.dislikes.get(e))) { if ((Stranger.howDoYouLike(dislikes.get(e)))== -1 && user.howDoYouLike(likes.get(e))==-1) . . . There is no way to tell if the objects 'user' or 'Stranger' have …

Member Avatar for JamesCherrill
0
164
Member Avatar for SoCalCynic

I think this is as good of a forum as any for that. If we think your posts are off-topic, we'll let you know.

Member Avatar for rubberman
0
50
Member Avatar for larin83109

If you want to get rid of the "and" and leave the spaces, then do this: $s/ and/ / If you want to get rid of the "and" and the leading space then this: $s/ and// No rocket science required! :-)

Member Avatar for larin83109
0
373
Member Avatar for lewashby

JorgeM pretty much hit this on the head. All the data in a VirtualBox VM are stored in system files. You do want to use the incremental expansion option for the virtual drive though, since it will not take up more space on your system disc than necessary - growing …

Member Avatar for lewashby
0
309
Member Avatar for rayan08

What do you mean by "internal fragmentation"? Memory fragmentation? Disc fragmentation? Other?

Member Avatar for rayan08
0
130
Member Avatar for jcomputing

There is a command escape sequence that you can use with bash to set your prompt. Read the bash man page for information on how to set this. The default version can be seen in /etc/bashrc. It is likely that ssh is configured to use another rc or login file …

Member Avatar for rubberman
0
416
Member Avatar for Sbflettt

If your relative got your system infected with malware then you will need at the least to do a factory reset. Unfortunately, that will mean losing all your data on the system. Contact your nearest Apple store to make an appointment with their "gurus" to do a scan of the …

Member Avatar for rubberman
0
122
Member Avatar for Centorpe

Do you want to run this as a native mobile application, or as a web application? If native, then iOS and Android use very different programming languages. If web, then use standard web application tools such as html + css, javascript, jsp, php, etc. which will run on just about …

Member Avatar for AleMonteiro
0
1K
Member Avatar for JOSheaIV

Yes, I've been there! In my opinion, less is more, and simpler is better. Good naming conventions are very useful, such as m_Varname for scalar member variables of a class, and m_pVarname for member variables that are pointers. It keeps them from becoming conflated with other variables such as Varname. …

Member Avatar for JOSheaIV
0
149
Member Avatar for cambalinho

Did you initialize WindowMain to NULL when you created it? If not, then it contained arbitrary data from the stack and it would not be NULL in your test in the WM_CREATE switch.

Member Avatar for cambalinho
0
146
Member Avatar for Huseyin_1

Man, this is getting boring! How many times do we have to tell folks that we do NOT do your homework for you! Make an effort. Post your code (with errors) and we may be able to help you, but until then... Have a nice day!

Member Avatar for somjit{}
0
282
Member Avatar for Luminary

On my TV I have to select the port for display using the control pad. Some might auto-discover the ports connected, and others may not.

Member Avatar for rubberman
0
52
Member Avatar for rajiakhaiz

Look on the Fujitsu web site for bios updates for this system. You might find what you need here: http://support.ts.fujitsu.com/Download/Index.asp

Member Avatar for rubberman
0
71
Member Avatar for acfchinnababu

Is this related to your reported HP notebook overheating problem? Again, we need more information.

Member Avatar for rubberman
0
108
Member Avatar for acfchinnababu

Sorry, but we need more details. By heating, I assume you mean overheating. And what do you mean by "when power goes off it starts struck..."? We can't provide solutions or advice without adequate information. This is not enough.

Member Avatar for rubberman
0
51
Member Avatar for Tom_11

Just some general PHP observations: 1. PHP is an object-oriented language. Create appropriate classes, much like you would in Java or C++. Don't mix HTML output and PHP. It makes it very difficult to debug and is inefficient. 2. If you have multiple adjacent PHP blocks, keep them in one. …

Member Avatar for suresh43
0
183
Member Avatar for Shane-dev

You need to post your code before we can help you. Just generalities like you posted are not helpful to determine the cause of your problem.

Member Avatar for Shane-dev
0
395
Member Avatar for DS9596

My advice is to read the entire line - not just one word - and parse that. You can easily scan the string from right-to-left to get the last name, and left-to-right to get the first name. See `getline()`.

Member Avatar for Moschops
0
174
Member Avatar for Hidayat_1

Actually, I have found that upon occasion (though not often) a do ... while() loop has advantages over a simple for(;;) or while() construct, just as the goto statement, while deprecated in most languages, is still useful upon occasion.

Member Avatar for deceptikon
0
167
Member Avatar for sem123

Is this a VMware, or a VirtualBox VM? You say that the VM is using a bridged network. If so, then it should get its IP address from the local network's dhcp server. IE, it should be 80.xxx.xxx.xxx or something like that unless your host as an externally addressable static …

Member Avatar for rubberman
0
192
Member Avatar for JOSheaIV

If you are using physical serial ports (even via USB) then IP addresses are irrelevant, and not used. You need to connect to the correct COM: port.

Member Avatar for JOSheaIV
0
152

The End.