5,331 Posted Topics

Member Avatar for franckyjj

1. Disconnect external power. 2. Verify that the internal power supply is properly connected, and grounded. 3. Make sure all fan electrical connections are correct. 4. Ditto motherboard, and disc drives. One assumes you have a CD/DVD player so you can install the OS? The first sign that things are …

Member Avatar for rubberman
0
154
Member Avatar for Schol-R-LEA

They's been trying to adapt the x86 family for mobile devices for some time, without a lot of success. ARM pretty much owns that business, but I think I heard that Intel may license the ARM designs. Since ARM itself doesn't manufacture anything (other than test devices perhaps), they wouldn't …

Member Avatar for rubberman
4
293
Member Avatar for KolmisoftSwitch
Member Avatar for basit_3

Visual Studio has the means to create an install script (.msi file) for an application. Read the documentation.

Member Avatar for rubberman
0
53
Member Avatar for Muhammadian

Android development is Java with a different compiler and runtime (Dalvik vs. JVM). DotNet is totally different. If you are angling for an Android job after graduation, then I would strongly suggest that you do your project for that environment. There are Android emulators available from Google for both Windows …

Member Avatar for rubberman
0
109
Member Avatar for nhiap6

Take the input into a char buffer and then allocate and copy it to a new buffer, which you assign to the struct. Also, since this is C++, you need to create a default constructor which will null the pointer and set the age to some sane value, such as …

Member Avatar for Moschops
0
173
Member Avatar for vegaseat
Member Avatar for ArpitJ.25

Example (in a .cpp or .cc file): void myHelloWorld(void) { std::cout << "Hello World!" << std::endl; } int main(void) { myHelloWorld(); return 0; }

Member Avatar for basit_3
0
117
Member Avatar for Fon_1

How depends upon the operating system. If it is a simple program, then with Windows, you add it to your Start menu. If Linux, you can add it to /etc/rc.local. If it is a service, then for Windows you add it to the Services list to be autostarted. If Linux …

Member Avatar for Moschops
0
215
Member Avatar for hell hansen

One common method is to create a bunch of virtual machines, each with its own IP, and partition the job to those. That is basically how we did it for Adobe's Email Campaign software, used by many major vendors for email campaigns - and no, they aren't spam, per se! …

Member Avatar for hell hansen
0
314
Member Avatar for MiketheBook

You can remove the driver installation files and associated programs, probably without incident. The driver itself should be now part of the operating system, and required DLL's in the \Windows OS directories.

Member Avatar for MiketheBook
0
120
Member Avatar for joshl_1995

Most routers have 100mbps ethernet links, so if your WiFi is 802.11n, it will have close to that speed. The advantages of a wired connection are these: 1. More reliable and stable data stream. 2. No radio interference (w/ accompanying speed degradation) from neighbors' access points (AP). 3. If someone …

Member Avatar for joshl_1995
0
453
Member Avatar for Al-Haya Noor

What Schol-R-LEA said. You certainly need to know the functions for i/o outputs on this system, and an 8051 cross platform compiler. I have such for my ARM embedded systems, but they can be quite different for other processor families. Do you have an 8051 emulator to run your compiled …

Member Avatar for rubberman
0
183
Member Avatar for pspwxp fan

First, itoa() is a non-standard C/C++ language extension. Don't use it. Normally for C++, you would use something like sprintf() instead, like this: char tpid[33]; int numchars = 0; numchars = sprintf(tpid, "%d", (int)Processes.at(pindex).pid); if (numchars > 32) { // sprintf() returns number of chars output, not // including the …

Member Avatar for rubberman
0
602
Member Avatar for fsuren
Member Avatar for S-e-c-r-e-t
Member Avatar for ITPT

Ok. Since you are using yum as a package manager, that means that you are trying to install this on a Red Hat or clone system. Please provide the specifics of your OS, distribution, version, etc. I am running a clone of RHEL 6.6 and the 4.0.10.9-1 version (from epel) …

Member Avatar for ITPT
0
154
Member Avatar for nitin1

A static member variable is still just a static (global) variable, that belongs to a class. All static variables have to be declared and initialized somewhere in a translation unit - them's the rules!

Member Avatar for deceptikon
0
335
Member Avatar for cambalinho

Services can be disabled from autostarting in the control panel, and you can remove other auto-started applications by removing them from the Start menu's All Programs Startup folder.

Member Avatar for Kelly Burby
0
355
Member Avatar for ervinmalkaj

Provide your code, errors, and problems, then we may help you. That said, we DO NOT do your homework for you!

Member Avatar for rubberman
0
278
Member Avatar for janicemurby

What diafol said. Mixing html and php like that is just asking for trouble. First, build up your output html in php classes and variables. Then when you are ready, output the data. You can take the data/age input from another page, and call this one with the data you …

Member Avatar for janicemurby
0
225
Member Avatar for phoenix254

I think your table name is incorrect. You are using "item" for the table name and "ITEM" for the column name. MySQL doesn't care if a column name is upper, lower, or mixed case, so you have the same name for your table and column. Are you sure the table …

Member Avatar for cereal
0
235
Member Avatar for noobjavacoder

Add each new result to a vector (array) and then after the division loop, loop over the vector, and add each result for a final value. I leave the coding to you as a simple exercise.

Member Avatar for noobjavacoder
0
164
Member Avatar for markdean1989

How are you using it? Also, have you declared "using namespace std;"? If not, then you need to prefix it with std:: as in `std::cout << std::setw(width) << std::dec << value << std::endl;`

Member Avatar for markdean1989
0
157
Member Avatar for bhlevca

Adobe's cloud acrobat tools should deal with this just fine. Personal use is $12.99 / month subscription. Check on Adobe.com.

Member Avatar for rubberman
0
368
Member Avatar for Kenneth_3

Re. deceptikon - it works fine for me also on RHEL 6.6 Linux using the g++ version 4.4.7 compiler.

Member Avatar for rubberman
0
144
Member Avatar for hadisur_rahman
Member Avatar for tony75

Your question is not clear. Please be more specific. Symbols are embedded in object and executable code until they are stripped, usually in order to reduce the physical size of the file(s). If you have stripped a binary, then you cannot debug it since the debugger (WinDbg in your case) …

Member Avatar for tony75
0
163
Member Avatar for Hector_2

Quicksort is implemented in C with the qsort() function. It is fast, efficient. You aren't sorting in your code. RTFM... For C++/Java code, look here: http://www.algolist.net/Algorithms/Sorting/Quicksort FWIW, you should be able to do this in about 10-20 lines of code. A bit more if you implement all the low-level stuff …

Member Avatar for rubberman
0
423
Member Avatar for ehpratah

Never pay these thieves a penny! It's like leaving cheese out for the rats. They won't leave you alone! There are some of these malware encrypted systems that can be decrypted. Do a Google search to find out if there is a means to determine the code for the system …

Member Avatar for Slavi
0
340
Member Avatar for vjcagay

A bit on the retro side - I vote for APL! Or Prolog? Dibol? Snowbol? Smalltalk (did some good work in that)? Personally, I prefer to work with a mix of C and C++.

Member Avatar for vegaseat
-1
4K
Member Avatar for d8m9

Some of the new mock tools are useful for unit testing software. I would like to see more of your "fuzzy" methodology that uncovered these bugs. Code is good...

Member Avatar for rubberman
0
527
Member Avatar for phoenix254

This is a great wikipedia article on the approximations of PI: https://en.wikipedia.org/wiki/Approximations_of_%CF%80

Member Avatar for phoenix254
0
262
Member Avatar for omarsherpur

Homework? Sorry, but we don't do it for you. This information is easily available with a simple Google search on the Internet.

Member Avatar for Reverend Jim
0
148
Member Avatar for Thomas_25

1. Sort the array (qsort works well for this). 2. Iterate through the sorted array and keep the pointer and incremented count in a separate array (one entry for each string). When the string changes, add the new one to the counter array with a count of 1 and then …

Member Avatar for tinstaafl
0
721
Member Avatar for Petcheco

The Boost libraries support arbitrarily large (and arbitrary precision) numbers. This is not available "out-of-the-box" for systems, which is why that Boost does provide this. Note that Boost was originally written for scientific computing where this was a needed capability. IE, if you want to estimate the # of protons …

Member Avatar for Petcheco
0
195
Member Avatar for Petcheco

I used to do this all the time when I was researching public key encryption and Goedel algorithms. I would create an array of 10K elements that included all of the primes up to that, using the Sieve of Aratosthenes (I almost always misspell that). Look here for good coverage …

Member Avatar for Petcheco
0
258
Member Avatar for gahhon

If the PracticeTest class inherits from Task, then you can use it to initialize a Task variable. However, you won't be able to use PracticeText methods unless they were also inherited from Task. This is where interface classes can be useful.

Member Avatar for JamesCherrill
0
208
Member Avatar for A. Gregory

Your example will output the data and then return (you forgot the return statement, btw) because the condition will always evaluate to false. If you stated it as a while()... statement instead it would have to have been `while(true) {/*output;*/ break; }` which is somewhat uglier. There are times for …

Member Avatar for David W
0
181
Member Avatar for kayecng

If you aren't technically astute and haven't built a system before, then either buy a pre-built one with the features you want, or find a local white-box builder (computer store) to build one to your specs. I have built a lot of systems (and am certified by IBM and others …

Member Avatar for kayecng
0
115
Member Avatar for zxz

And what problems, specifically are you having? From the title of this post, you seem to think that shared memory is a problem? Why do you think that? Please be more clear about your issues. I see your code - you create a shared memory segment, fork, but you don't …

Member Avatar for rubberman
0
168
Member Avatar for tgreiner

When it answers "NO", you still fall through to process the invalid handle. You need a conditional to detect that and either emit an error message, or throw an exception.

Member Avatar for tinstaafl
0
142
Member Avatar for scrapple

Almost 800 lines of scan output? Please reduce it to the entries you thing are problematic. My time costs my clients $200 USD per hour. Be respectful that we are doing this gratis.

Member Avatar for scrapple
0
665
Member Avatar for danielg55

"The nice thing about standards, is that there are so many!" So, when writing code, be clear, explicit, and consistent!

Member Avatar for rubberman
0
100
Member Avatar for durgaBHAVANI

This is not enough to go on. Are these sensors built into your computer? External sensors with some sort of network connectivity? What? Have you contacted the sensor manufacturer's web site for libraries/api's and such to communicate with them, or even to get their technical specifications?

Member Avatar for vegaseat
0
2K
Member Avatar for Syed Ammar

You can initialize a structure, or array of structures, with memset(). Example: #include <stdio.h> #include <iostream> struct MyStruct { string name; string address; string mobno; }; int main(void) { struct MyStruct aStruct; struct MyStruct arrayOfStructs[0]; ::memset((void*)&aString, 0, sizeof(struct MyStruct)); ::memset((void*)&arrayOfStructs[0], 10, sizeof(struct MyStruct)); return 0; }

Member Avatar for Moschops
0
233
Member Avatar for lena1990

All phones should get their time from the cell tower/service (by default) which is normally syncronized to the global time service (network time protocol). So, normally, you should NOT have to deal with this. If your application needs to, because the devices are in different time zones, then adjust the …

Member Avatar for lena1990
0
228
Member Avatar for ivylyn

If you are doing this as an online project, then for the server use PHP, and DO use it as a C++ like object oriented language! On the client, you will probable use javascript graphics tools to handle the rendering. The server will emit the javascript to the client, with …

Member Avatar for ivylyn
0
186
Member Avatar for Chem_1

Don't dual boot. Have a good host OS and then run other operating systems in virtual machines. Current systems, especially ones built for Windows, don't play nice for dual booting without a lot of effort, pain, and suffering on your part!

Member Avatar for Chem_1
0
333
Member Avatar for Naagieh

Ok. Post your questions, code, errors, and problems (incorrect results or output) here and we will help if possible.

Member Avatar for rubberman
0
37

The End.