5,331 Posted Topics

Member Avatar for vegaseat

Using personal data is never secure - note that the use of a pet name + number broke the encryption of the laptop for a major Lulzsec hacker. I use obscure data related to stuff only I could possibly know. Your idea about a python script to help you generate …

Member Avatar for Gribouillis
1
436
Member Avatar for tony75

You are not showing enough code, such as how you would create the third file "OutPut3.exe". In addition, even if you did that, the system would probably not be happy as your "executable" would contain two main() functions and it would probably just execute the first found, if it didn't …

Member Avatar for tony75
0
2K
Member Avatar for cambalinho

Is it possible that your ISP is throttling your data due to exceeding data caps? You might want to look into that.

Member Avatar for RobertHDD
0
126
Member Avatar for lewashby
Member Avatar for rubberman
0
709
Member Avatar for bchinfosieeuw

What are the compiler outputs? Are you getting errors? The file "example.txt" should appear in the same directory you run the executable from, not necessarily in the directory where the executable "test" exists. How did you run the executable?

Member Avatar for bchinfosieeuw
0
175
Member Avatar for jalpesh_007
Member Avatar for somayyah
Member Avatar for yaya1234

Your getter needs to be a const member function as in `int getSimulation() const;`. Other than that, Moschops is correct in that you need to do argument validation before you set member variables otherwise you have effectively made your private members public. In addition, do NOT use leading underscores for …

Member Avatar for rubberman
0
189
Member Avatar for divinity02

Please show the rest of the code in the function that this conditional statement resides.

Member Avatar for rubberman
0
169
Member Avatar for Benniit

The reverend's solution should work with MS-SQL. Basically, a Word file is a BLOB of unknown size. If you aren't using MS-SQL, then the definition and possibly access will differ. I don't think the solution will work for Oracle, for example.

Member Avatar for Reverend Jim
0
6K
Member Avatar for Echo89

And this will help with integer roots: http://en.wikipedia.org/wiki/Integer_square_root It may be more to your needs. Do note that the output still needs to be a floating point value (float or double).

Member Avatar for rubberman
0
2K
Member Avatar for Faisalmunawar15

Of your own? How "random" do you want the output? There are plenty of texts out there that can explain some of the more common ways. Here is a great tutorial compliments of the US government and my tax dollars: http://www.phy.ornl.gov/csep/CSEP/RN/RN.html It is one of the best treatises on the …

Member Avatar for Maritimo
0
211
Member Avatar for chahinez.abdelo.9

You aren't being very helpful in providing enough information. Showing code and describing exactly what you want to accomplish will generate a lot more comments.

Member Avatar for rubberman
0
136
Member Avatar for Annie fugenx

I suspect that the BT adapter is not enabled. If you still have the user docs that came with the laptop, they should tell you how to do it. Also, if you are running Windows, then you should be able to use the device or network manager tools to do …

Member Avatar for rubberman
0
121
Member Avatar for Echo89

Back in the 1980's I wrote a seive using an array of pre-computed values from 1 to 10,000. Then using a recursive algorithm I could look up primes with almost linear time, and this was on an old Compaq 8088 with 256K of ram... I used doubles so I could …

Member Avatar for Moschops
0
176
Member Avatar for murali2489

Your main program can poll the files in question. When they get to the requisite size you can fork()/exec() a child process which know it is a child can take the file name and then archive the file in question, terminating when that is finished. So, you could have many …

Member Avatar for murali2489
0
271
Member Avatar for Keith Morgan

Hard disk checks notwithstanding, this sounds like one of a couple of possibilities. 1. There is a fault in the boot sectors of the disk. You need to run extended disk checks to see if there is a fault there where it can read the sector occasionally, but not always. …

Member Avatar for rubberman
0
244
Member Avatar for Elvi

For an unlocked device that can use a SIM (assuming you are going with a GSM device) from any provider, then $200 is pretty cheap. Take a look on Amazon.com. I have several, ranging from an old Nexus One (freebee from Google), to a Nokia 920 (freebee from Nokia when …

Member Avatar for jenferrer815
0
219
Member Avatar for tom.magaro
Member Avatar for tom.magaro
0
179
Member Avatar for ferrous

The short answer is "it depends". Have you consulted the "gurus" at the Apple Store? Or looked online on the Apple web site? Some things may be upgradeable (depending upon model you have), such as RAM or disc size. So, what are you trying to accomplish. Do bear in mind …

Member Avatar for kc0arf
0
192
Member Avatar for abhilivetech
Re: mac

Huh? Apples are NOT Windows machines. Yes they have services that you can view, but they are NOT Windows services. Have you tried to read any of the operating system documentation yet?

Member Avatar for kc0arf
0
111
Member Avatar for RikTelner

0x00 is a valid (null) character, and indicates the end of a string for C, C++, and other languages. Some languages encode strings with a length indicator (Java and others) and embedded 0x00 chars are just more data. 0x00 is only a problem if it is used to set a …

Member Avatar for gusano79
0
307
Member Avatar for Slavi

I use Debian for embedded systems work (ARM chip sets), but Scientific Linux (an RHEL clone similar to CentOS) for both my laptop and workstation. SL has been exceptionally reliable and I only reboot when I have installed a new kernel. To get the laptop WiFi working properly, I had …

Member Avatar for Slavi
0
507
Member Avatar for Farid_1

Arbitrary precision math. An interesting problem. Look at the source code for the Boost libraries. I worked on this about 30 years ago and gave up for lack of time (ie, I got a job).

Member Avatar for Farid_1
0
213
Member Avatar for Riya_2

I speak pig latin -> Igspay atinlay. My sister and I spoke it extensively as children in the 1950's. FWIW, this is where you want a finite state machine representation of the transformations needed in order to handle this in a generic manner. Have you studied finite state machines as …

Member Avatar for tinstaafl
0
2K
Member Avatar for shahera.arafat

What do you want to do? I would have thought that you had read the book by now as your exam is coming up. We are not mind readers and the subject is vast. See Niklaus Wirth's seminal text "Algorithms + Data Stuctures = Programs".

Member Avatar for shahera.arafat
0
114
Member Avatar for Roger_2

1. Asking us to analyze almost 300 lines of x86 assembler code 2 days before your project is due is not reasonable. 2. Show us what is working, and where your problems seem to be. Have you run this in a debugger yet?

Member Avatar for Roger_2
0
354
Member Avatar for kieran16

This is just bogus! if (player == 1 && player != 3) { player = 2; } else if (player == 2 && player != 3) { player = 1; } Just use if (player == 1) { player = 2; } else if (player == 2) { player = …

Member Avatar for rubberman
0
323
Member Avatar for Slavi

Why did you have to restart? Linux is not like Windows where you need to reboot after installing software. One other thing, Fedora 14 used the old grub bootloader. Your current debian installations uses grub2 (depending upon version - what is it?). So, I am saying that you need to …

Member Avatar for Slavi
0
2K
Member Avatar for khess

Ok. To reply to each point... 1. Most current distributions come with KVM built into the kernel. 2. Why? There are a gazillion applications out there. Who decides which get your attention? Just look into your distribution's package list. You'll find what you want easily enough! 3. You want 100% …

Member Avatar for rubberman
0
701
Member Avatar for Terrie18

OS? Driver version? Didn't you get a disc w/ driver and other stuff with the printer?

Member Avatar for rubberman
-2
148
Member Avatar for johnstensil

Send it in for repair? Can you boot into the BIOS? Have you run diagnostic checks on the system board and hard drive?

Member Avatar for rch1231
0
43
Member Avatar for mechbas

Re Microsoft. Sometimes, the left hand doesn't know what the right hand is doing... My advice for MS WIndows systems is to NEVER allow automatic updates, but let them inform you when they are available. Then, wait 7 days before updating in case the changes may "brick" your system (not …

Member Avatar for rubberman
-1
241
Member Avatar for Ijvaadh

"Most modern" != "best". All in all, it depends largely upon what your usage intentions are. Is this a personal workstation, laptop, server, what? Each has very different characteristics and performance needs.

Member Avatar for rubberman
0
137
Member Avatar for Randy W

You should not need device-specific drivers for a bluetooth keyboard, etc. You will need to use the system BT tools to pair them with the computer. Now, why do you think you need drivers for them?

Member Avatar for rubberman
0
143
Member Avatar for FlightStimulant

Are you sure you have a big enough power supply? What happens if you remove one of the graphics cards (they use a lot of power)?

Member Avatar for FlightStimulant
0
117
Member Avatar for Terrie18

System (kernel) crash. Reboot into safe mode. Let the OS fix itself, and then reboot into normal mode again. Post the output of the bluescreen here if it happens again.

Member Avatar for rubberman
-1
97
Member Avatar for mnparikh

ksh and bash are much the same critter, except that ksh is mostly Unix oriented. What OS are you running? You can also use perl or python (as mentioned by pyTony). You would probably use the 'find' command with the '-ctime' option (N*24 hours) to find the files in the …

Member Avatar for rubberman
0
459
Member Avatar for mdsumon7864

If it is an Apple phone, it already is installed. If not, then you can't install it. If it is an iPhone and the flash memory has been completely wiped, then you would at least have to go to an Apple Store to get it re-flashed. If you are in …

Member Avatar for techforus
-1
211
Member Avatar for stanlee.herman

Good answer Beginnerdev. Reformatting the drive means that if you want to use it as a system drive, you will need to re-install the operating system. No Windows installation disc? Need Windows? Contact Microsoft and pay a couple hundred $$ for one, or see if your system vendor can help …

Member Avatar for KillerQuag
0
208
Member Avatar for irncru

I think you need to get the WiFi drivers for the computer from the system vendor(s) for Vista. BTW, why Vista? That was an abomination. Try Windows-7 instead.

Member Avatar for CimmerianX
0
444
Member Avatar for monaya.ash

It means that you are not linking the library that contains that symbol (_flushall_). You need to add that to your link list.

Member Avatar for rubberman
0
238
Member Avatar for ali.fayyazi

There are several package management tools for Debian - based systems, most of which are based upon aptitude. There's the synaptic GUI tool and the command line tool apt-get. As a new user, you are best off using Synaptic.

Member Avatar for hardmode
0
326
Member Avatar for mario81

You say you wiped the system and installed Linux Mint (a Ubuntu derivative)? Why does the virus scanner still show windows files? 1. Reset bios and wipe firmware (may require removing battery and shorting out some contacts on the motherboard). 2. Boot from a live cd/dvd/usb linux drive and use …

Member Avatar for gerbil
0
226
Member Avatar for eurohttp

All of my monitors are now LCD monitors. The backing light can be fluorescent (older tech - more common) or LED (newer, becoming much more mainstream). So, what did you mean by LED monitors? FWIW, LED backing lights are much more efficient and long-lasting, in theory at least.

Member Avatar for rubberman
0
133
Member Avatar for harrykingsville

A lot depends upon the rendering requirements of the game (more realistic video == more bandwidth required) and resolution you want to use. Most recent cards that are in the under $200 USD category will do quite nicely unless your wishes are to play the most current top-end games. In …

Member Avatar for rubberman
0
184
Member Avatar for Hector_2

You haven't defined the Stacknode class, but are trying to instantiate constructors and other methods inside the template Dynstack class. This is not valid C++ code, at least to my knowledge.

Member Avatar for Hector_2
0
285
Member Avatar for nhrnjic6_1

Chances are that the server is not listening on port 14. Port 13 is used for daytime services. Also, you may want to connect with an NTP server, which would be listening on port 123.

Member Avatar for rubberman
0
126
Member Avatar for Satish_5
Member Avatar for kxjakkk

Sorry. We don't do your homework for you. Make an attempt, post your output here, and we may decide to provide some guidance.

Member Avatar for rubberman
0
132

The End.