5,331 Posted Topics

Member Avatar for Rudy Jaef

So, you say it copies the data correctly (you have verified that with cksum or md5sum, right?), but just doesn't close the terminal window when done? There can be many reasons for that, including unintended input in the terminal window, so our being able to determine exactly what is causing …

Member Avatar for rubberman
0
273
Member Avatar for Hemant_3

A common cause of WiFi network slow-downs is due to using the default signal channel. Example: on 802.11b networks, there are 13 channels. The default that all WiFi routers (access points) use is channel 6. Other AP's that your systems can see are likely using channel 6 as well. So, …

Member Avatar for rubberman
0
199
Member Avatar for khushhappy

TCP/IP is not deterministic, nor is ethernet. As my signature says, "Real fast is ALMOST as good as real-time"... The only deterministic real-time networks that I am aware of are Arcnet (up to 20mbps) and Token Ring, and then you need a real-time operating system to support them (QNX does, …

Member Avatar for rubberman
0
231
Member Avatar for sagngh8

I have written assembler code for Intel 8048 and 8086 as well as Sparc chip sets. Each target processor has its own instruction set, so assembler programmers (very low level - direct to the processor) generally focus on one processor family. Mostly today, you can write C code that will …

Member Avatar for mathematician
0
788
Member Avatar for cambalinho

Normally, you initialize static class variables in a translation unit (a source file, NOT a header). IE, in pessoa2.cpp: #include "./pessoa2.h" string Pessoa2::strnome("ana"); . . . You should NOT be initializing it in the header (class definition), although I think the latest C++ standard does allow that (not 100% sure) …

Member Avatar for cambalinho
0
214
Member Avatar for DarkLightning7

L1, L2, and L3 cache are hardware based. The cache block size is probably determined by the CPU (L1 and possibly L2), or system board BIOS/flash settings (L2 and/or L3). I don't think that the OS has much to do with that, though I may be wrong. The standard Linux …

Member Avatar for DarkLightning7
0
239
Member Avatar for MasterHacker110

C# is NOT cross platform! Yes there is Mono for Linux, but it is not really ready for prime time... Consider it a Windows-only tool. If working in the Windows environment is what you want, then fine, but realize that even on Windows phone systems, Java is still the language …

Member Avatar for sepp2k
0
259
Member Avatar for VUEKID

Unless there is some really good reason to use arrays, why not use std::vector constructs that contain structures with your data? struct location { string city; string country; double latitude; double longitude; }; void getLocationData(vector<location>& locations, ifstream& inFile );

Member Avatar for VUEKID
0
130
Member Avatar for coolioschmoolio

Unless you use an arbitrary precision library (such as Boost), this is not possible. All floating point (including double types) are imprecise and cannot be used easily for *precise* values as can integer types. So, use integers to express dollars and cents. Use the modf() function to extract the dollars …

Member Avatar for deceptikon
0
515
Member Avatar for H_beginner

Just a cursory glance, but you have defined all of your arrays to have 2 columns. Why are you iterating over the passed column count? Also in your sub() function, you define g as a 2x2 array, yet you overrun the size with your g[3][3] = f - e. You …

Member Avatar for rubberman
0
156
Member Avatar for Flurps

These days, most systems will support WebApps apis, which is about as platform neutral as you might get.Javascript is another (and common) platform neutral approach.

Member Avatar for alexloxton
0
170
Member Avatar for narenfomax

Reputation, referrals (both positive and negative), examples of code, interview the team that will be designing, developing, and delivering the end product. There are other points as well, but this is a starting point.

Member Avatar for narenfomax
0
107
Member Avatar for rajathvk

Show the equations you need to use, and show the code you are trying to get to express them - as well as all required inputs and outputs.

Member Avatar for rajathvk
0
10K
Member Avatar for iwanna4get

Place the "Study making forms" last in your list of stuff to learn. Add "Study C++ GUI tool kits" before that - the forms will be part of that... :-) So, 1. Study the basics. 2. Practice the basics, gradually getting more complex with your code. 3. Study C networking …

Member Avatar for rubberman
0
202
Member Avatar for alaa_4

You should have some idea of projects that may interest you by now. Please don't ask us - there are just too many. My interests in this domain (professional) are in predicting network and systems failures by using strong engineering analytical methods on captured system performance, SNMP, and application behavioral …

Member Avatar for rubberman
0
69
Member Avatar for elptuxman

Sorry, but I'm not familiar with this distribution. Taking a bootable USB stick is not a bad idea. It should work fine in foreign internet cafes, but until you try you won't know for sure. Before you boot the thumb drive, do check with the cafe proprietors as to whether …

Member Avatar for cereal
0
178
Member Avatar for vegaseat

Two problems. One is that this thread is 8 years old! Two is that writing *good* random number generators is not a trivial undertaking, and thinking it is just shows your ignorance of the subject. Read this: http://www.phy.ornl.gov/csep/CSEP/RN/RN.html From the document, 2 relevant quotes: Anyone who considers arithmetical methods of …

Member Avatar for rubberman
1
6K
Member Avatar for Ngrud

What you call the "bios screen" is the system's POST (Power On Self Test). If you go into the BIOS (usually F2), you should be able to set the BIOS to report more details about the results of the POST activities. This should give you some data to post (sic) …

Member Avatar for bradly.spicer
0
179
Member Avatar for N841990

Most scanners generate ascii strings of the code, so basically you only need to open the port and use normal stream I/O to gather the data.

Member Avatar for straw77berry
0
473
Member Avatar for Sunny.Day.HYH

There are several problems with this. One is that a letter can be input in either upper or lower case. Since you are limiting input to 26 letters (the number of letters in the English alphabet), then you need to convert the letter to upper case to match your array. …

Member Avatar for rubberman
0
127
Member Avatar for jmphotog1

Most sata/esata controllers can handle multiple devices over one connection. I do that by connecting multi-disc carriers (4 discs each) to a single port. I can configure them as JBOD (Just A Bunch of Discs), or LVM volumes, or RAID arrays. So, get a multi-disc carrier (StarTech has some good …

Member Avatar for rubberman
0
222
Member Avatar for freebotter
Member Avatar for adolphusg1

You probably need to remove the CPU heatsink and reapply thermal tape or paste after cleaning both the cpu and heatsink surfaces that mate to each other.

Member Avatar for Greg_z
0
65
Member Avatar for infatuate

Actually, to get a random number between 0 and 25 (exclusive) using rand(), use a modulus operation: `num = rand() % 25`

Member Avatar for deceptikon
0
263
Member Avatar for fafa70

First, you need to understand how basic colors can be combined to create others. There are a number of standards for this. Do some Google/Wikipedia searches - there is a lot of information on the web to help you understand this domain better.

Member Avatar for ben25x
0
547
Member Avatar for ztdep

Conversions between types are more strict in C++ than C (the compiler errors in testprint.c), and you probably didn't "guard" your external C function declarations with `extern "C"` (the linker errors). So, please show your code.

Member Avatar for rubberman
0
399
Member Avatar for pakhraal

Huh? Convert what to sata? And what are "byous"? I know what a "bayou" is - just go to Louisiana and you'll find plenty of them (still), along with some great Cajun music and dance! :-) Sorry, but my sarcasm gene just got control of me...

Member Avatar for rubberman
0
26
Member Avatar for babysha

Please do your own homework! That is why you are in school, to learn this stuff, and not to get the answers from someone else! :-(

Member Avatar for rubberman
-2
46
Member Avatar for kkd3253

So, if you use WiFi you can connect, but if you use a direct ethernet connection you cannot? If that is the case, then it is likely that you need to change your TCP/IP connection settings for the direct connection to use DHCP instead of a static IP address. If …

Member Avatar for mayaestat
0
239
Member Avatar for wuz2blu
Member Avatar for Sam R.

The poster said "no pointers"... :-) Here is a function to do that without pointers at all. // Recursive function to remove spaces from string void removeSpc(char array[], size_t posn) { for (size_t i = posn; array[i] != '\0'; i++) { if (array[i] == ' ') { // Move data …

Member Avatar for NathanOliver
0
1K
Member Avatar for Jason_6

Basic for loop for (int hours = 1; hours <= totalhours; hours++) { // Compute distance travelled - distance = hours * speed int distance = hours * speed; // then print the disance using cout cout << "After " << dec << hours << " hours at " << …

Member Avatar for Jason_6
0
397
Member Avatar for amos.kirui.16

Two major areas of interest today (and in the future) are "network security" and "large-scale distributed systems engineering", especially in the "cloud".

Member Avatar for rubberman
0
242
Member Avatar for balletshana

Unfortunately, dropping a system is not covered under warranty. My advice is in any case to send it into the manufacturer for repair - you should be able to get an RMA (Return Merchandise Authorization) from their web site. DO NOT trust this to third parties! When fixed by the …

Member Avatar for JorgeM
0
219
Member Avatar for yi625

Use an output statement to display the resulting sql string to the console, and then post that here so we can see what you are actually trying to store. In any case, remember that string values in SQL have to be delimited by single quotes, which you didn't do for …

Member Avatar for silvercats
0
835
Member Avatar for fajardojohnpaul
Member Avatar for rubberman
0
67
Member Avatar for Ravic85

Babble, babble, babble. Please, just tell us precisely what you are trying to accomplish! I do this stuff for a living - reading big long lines of log data, and then parsing that into stuff that we can store in a database (mysql or hadoop) and then apply analytical algorithms …

Member Avatar for rubberman
0
228
Member Avatar for Rob_M

Find another ISP without caps (or bigger ones), or get an unlimited business account - costs more, but is probably cheaper in the long run.

Member Avatar for rubberman
0
258
Member Avatar for vibhaJ

You need to blacklist the source of the pings in your iptables configuration files. This will block all connection attempts by those sources. Read the iptables man pages for more information.

Member Avatar for vibhaJ
0
200
Member Avatar for August AlieN

The original ethernet was invented by Robert Metcalf at the Xerox Parc (Palo Alto Research Center) in California in 1973-74. Here is the Wikipedia article about it: http://en.wikipedia.org/wiki/Ethernet Its design was inspired by the ALOHAnet and incorporated by Metcalf in his PhD thesis. FWIW, I have personally known Metcalf since …

Member Avatar for Greg_z
0
113
Member Avatar for catsithx

Has he enabled a BIOS / admin unlock password? What happens if you try to boot into the BIOS?

Member Avatar for best4earn
0
277
Member Avatar for mini_1

What file system was on the usb drive - NTFS or FAT? NTFS file systems are much more recoverable than FAT file systems. Also, in either case, if you write anything to disc, then it makes recovery a lot more problematic. FWIW, I usually use Linux tools to recover files …

Member Avatar for rubberman
0
120
Member Avatar for August AlieN

This is where a VPN (virtual private network) is the solution. It allows one system that is geographically separate from the other group to act as though it is a local node. That's what allows me to work anywhere in the world on my corporate network just as though I …

Member Avatar for rubberman
0
131
Member Avatar for shadowchinna

What do you mean? What precisely do you want to do in this regard. Changing the location of the repo files is not difficult - you edit /etc/yum.repos.d/*.repo and change the location therein.

Member Avatar for rubberman
0
91
Member Avatar for shadowchinna

Windows assumes it owns the system. Normally, if you want to dual boot a system, you install Windows first, and then Linux. Linux will install a grub boot loader and recognize the Windows system, allowing you to boot either that or the Linux system as desired. IE, start over, and …

Member Avatar for rubberman
0
193
Member Avatar for iana.bancila

Sounds like school work. We don't do it for you. First, make an effort to solve the assignment. Then, post your code here. We will be happy to help you understand/fix your issues/problems at that point.

Member Avatar for NathanOliver
0
207
Member Avatar for Platnium

Build it with the debug flags enabled and then run it in the debugger. It is either that, or sprinkling a bunch of print statements through your code to help isolate the problem. For core dump exceptions like this, I find that running in the debugger is the better choice. …

Member Avatar for bondo
0
162
Member Avatar for cool_zephyr

First off, Linux doesn't accept Windows-style back-slash characters for directory delimiters in a path. On the other hand, Windows will handle Linux-style forward slashes just fine, so when referring to file paths in Java, use '/' instead of '\'. IE, use: `"c:/Users/myname/directory/filename"` instead of `c:\\Users\\myname\\directory\\filename"` The first case is universally …

Member Avatar for JamesCherrill
0
303
Member Avatar for FazeLessWhite

Like voice recognition, facial recognition is one of those so-called NP-Hard problems. IE, there are so many variables involved that you cannot state categorically that any image matches any face. You can only state a probability that an image matches a particular face. Probabilities are like statistics (and are part …

Member Avatar for rubberman
0
262
Member Avatar for Rayon_1

Sorry, but I haven't done any Prolog for almost 30 years... I'll have to refer to my copy of Clocksin and Mellish when I get home tonight.

Member Avatar for TrustyTony
0
201

The End.