5,331 Posted Topics

Member Avatar for Kurumi_1

@ddanbe - I think it is a continuation of main, but he exits main in his while(choice) loop back on line 79. And there is no final return value at the end (line 140).

Member Avatar for Reverend Jim
0
176
Member Avatar for Ammar_7

You need to either store the data externally, or have plenty of memory. Don't use an array per-se, or you will get a stack overflow as you are seeing. Use a C++ vector<int> to store the data. It will resize itself intelligently as you add data to it. It will …

Member Avatar for rubberman
0
361
Member Avatar for Reo_1

Not a simple topic. You need to do some research on this. There are many approaches to solving this problem. Which is best for you depends upon whether or not you want to pay for the tools, whether or not you want the package to be encrypted so that the …

Member Avatar for rproffitt
0
321
Member Avatar for Sade'

1. The curly brace on line terminates main(). Get rid of it. 2. There is no "End while" (line 125) in C or C++. A while() loop will terminate with a curly brace. 3. The while statement on line 22 should be `while (option == 'Y')` and you need to …

Member Avatar for rubberman
0
209
Member Avatar for James_43

Current versions of PHP (5.x and later at least) use a time-based reference-counted garbage collector. IE, every so often any object with 0 references will be removed from memory. The class is irrelevant. A class may be an object, but it isn't an "object" in the sense of something instantiated …

Member Avatar for jkon
0
206
Member Avatar for dbtoo

It depends upon how current the malware is and what type it is. Some have well-known keys, or discoverable keys. You need to do some web searching to see what's what. In the future, you will want to a disc image backup to an external drive that is only attached …

Member Avatar for rubberman
0
253
Member Avatar for Baradaran

How old is this bugger? My wife had a Vaio years ago which was a bit of a pig. She switched to an Apple Macbook Pro and never looked back.

Member Avatar for rproffitt
0
394
Member Avatar for silvercats

Good answers Jorge! I'd give you an up-vote but I see you already got a bunch for your replies to this! No sense in spoiling you... :-)

Member Avatar for sonipat
0
19K
Member Avatar for Riaz Gul
Member Avatar for Frances0123

There are a ton of RMS and POS systems out there, most of which are from small niche software companies, so finding the right one (or a close fit) for your needs will take time. Whatever, you will want a source-code license so you can modify it to meet your …

Member Avatar for rubberman
0
182
Member Avatar for MiketheBook

Does your Mac Mini use a DHCP address, or a static one? Also, you probably want to make sure the TCP/IP v4 configuration for your Windows partition is using DHCP, and then you likely should disable IPv6 on it as well.

Member Avatar for priyanka543
0
370
Member Avatar for adele damon

Everyone was a noob once. I won't say in which century I was, but let's just say that Fortran IV was a newish thing then... :-) And folks, why was @adele downvoted? I've giving her an upvote. Just stating she is a noob to the forums and programming isn't cause …

Member Avatar for Testinodele
0
170
Member Avatar for Julie_2

def isValidFormat(str): if len(str) == 11 and str[4 and 7] == "_": valid = True else: valid = False You are testing for an underscore and not a hyphen in this part of your code. Try this instead: def isValidFormat(str): if len(str) == 11 and str[4 and 7] == "-": …

Member Avatar for Anton_7
-1
3K
Member Avatar for ztdep

First your compiler should complain about your Points class and the initialization of index to -1. You need to write the appropriate constructor so that you can properly initialize those private variables. And if you want to access them without getter methods, then you will need to make the member …

Member Avatar for rubberman
0
129
Member Avatar for Reika_1

What have you done to find such information from Twitter? If you can get the basic information on how many followers every user of a specific category there are then the rest is simple statistics. The question is whether Twitter groups users, or tags users, by professional and/or other category.

Member Avatar for rubberman
0
321
Member Avatar for vb.n

Do you know what the encryption algorithm was? If not, and you don't have the key, then you are probably SOL.

Member Avatar for vb.n
0
252
Member Avatar for toxicandy

I got a wifi repeater a long time ago. Worked pretty good. Don't use it any more. What we do now is to have two access points and one router. The router has one access point, and the other which also acts as a switch for direct connections, is connected …

Member Avatar for CimmerianX
0
414
Member Avatar for Takuniku

It also could be the Exchange server getting overloaded from time to time, network congestion, or if the email is hosted on the internet your ISP / internet pipe is overloaded. Any of these things are possible given the intermittent nature of the problem. Several minutes is excessive though - …

Member Avatar for CimmerianX
0
231
Member Avatar for fallout4player

There has to be a service running on the host that you are telneting to that is listening for connection requests on port 23.

Member Avatar for fallout4player
0
2K
Member Avatar for givemethemac

If you need portability, get a Macbook Pro - prices start at $1199. If you have a nice monitor and don't need portability, get a Mac Mini - prices range from $599 to $999. Then there is the integrated iMac - 21" models start at $1299. Here is a link …

Member Avatar for fallout4player
0
511
Member Avatar for clife

You cannot determine the order that threads will run in (scheduled), or how much time they will be allocated. To accomplish what you want, each thread will have to syncronize with a mutex, basically turning your code into a single thread. Why do you want to do this?

Member Avatar for clife
0
194
Member Avatar for ZER09

If the problem persists it could be a faulty battery cell. I've had old batteries do this and could not charge above 60-70%.

Member Avatar for fallout4player
0
316
Member Avatar for scubbastevie

The php runs on the server and the html/javascript/etc run on the client, so instead of mixing your html and php, build up your html strings in php as string variables. When ready, then output that. It is much more efficient that way. Also, you should build up php strings …

Member Avatar for scubbastevie
0
2K
Member Avatar for RudyM

So, what is the directory tree for the production site, and your local site? Also, have you made sure that none of the directories are links to elsewhere?

Member Avatar for RudyM
0
398
Member Avatar for alexander.digman

I suspect that your hardware, specifically the extender for the front office which is giving the problems, is starting to fail. To verify that, then swap it with one of the others that is not exhibiting these issues. If the problems move with the extender, voila! Time for a visit …

Member Avatar for rubberman
0
331
Member Avatar for Betty1909
Member Avatar for Learner010

Most apps for android are written in Java, using the android Dalvik compiler (different byte code than javac produces), but the source is still mostly pure java. You should be right at home! :-) Google has excellent resources, documentation, and other materials to help you with this effort.

Member Avatar for Shattered
1
408
Member Avatar for Rushikesh_1

Sounds like IE on the file server doesn't have the video driver it needs. Solution, use FF or Chrome. If you have to use IE on the server, see if you can find the driver / plugin to decode it. My guess is that the versions of IE are different …

Member Avatar for Rushikesh_1
0
362
Member Avatar for Betty1909

So, besides the additional lines of code here from your other post, what is your question. Also, please don't double post like this. Just edit the old post and add the new lines.

Member Avatar for Betty1909
0
227
Member Avatar for javalover

Nice thing about open source code is that you can see how others do it. Take a look at the LibreOffice source. They have one-click printing capabilities.

Member Avatar for rubberman
0
208
Member Avatar for bryann

Try it in the x4 slot first. If it affects the video, try one of the others. Myself I have to ask why you want a PCI device and not a USB one. The USB dongle will be a LOT cheaper, and with the speeds of USB 2 and 3 …

Member Avatar for rubberman
0
190
Member Avatar for andybe

Get rid of Windows 10? Sorry, sarcasm showing up here... Have you looked on the MS web site for what that error means, and how to fix it?

Member Avatar for Reverend Jim
0
109
Member Avatar for ali.akber

School work. So, how would you do this? If you don't understand the exercise, see your professor. Also, read the terms of service for these forums. We DO NOT do your homework for you...

Member Avatar for rubberman
0
38
Member Avatar for Nation

You can use your phone as an internet gateway (tethering) or a wifi hot-spot (router and WAP). I've used my phone for both in the past (until AT&T said I'd lose my unlimited data plan doing that). The tethering option is good when you just want to use your phone …

Member Avatar for rubberman
0
224
Member Avatar for ztdep

You can have multiple GCC compiler packages installed on your system (great for development if you have a dependency upon an earlier/later version). If you look in /bin for gcc* (ls /bin/gcc*) you should see the different versions installed. You may have to alter your Makefile's macros for CPP and …

Member Avatar for rubberman
0
192
Member Avatar for boobalan_1
Re: c

Class pop-quiz question? What do YOU think is the difference? Tell us here, and we might decide to correct your misunderstanding.

Member Avatar for ddacot
0
86
Member Avatar for Stephen_12

What was the application, and why didn't just use the tools provided by the operating system?

Member Avatar for charles.klein
0
198
Member Avatar for Omni

1. The building systems must be on their own subnet that is not accessible from the tenant subnet. 2. Each apartment should have its own subnet, but with gateway access to the Internet. Doing this, they can plug in their own router with a 192.168... local unroutable domain and all …

Member Avatar for Omni
0
518
Member Avatar for GustavoWoltmann

Lithium Ion batteries such are commonly used in laptops and other mobile devices have a 1-2 year life expectency. IE, if your system is over a year old, you probably need a new battery. You can purchase one from the system manufacturer for probably a hundred USD, but most are …

Member Avatar for ztdep
0
216
Member Avatar for rproffitt

In some cases, you want to escalate warnings to errors, or at least warnings over a certain level. Most compilers can do this. If you are building safety/mission-critical systems that should be required. Then there was the missing semi-colon that caused a satellite to crash into the sun instead of …

Member Avatar for Raul Perez
0
299
Member Avatar for briane_1

Please tell us what you are trying to accomplish. Is this for a "sleep" function? Or some sort of asyncronous timer?

Member Avatar for rubberman
0
78
Member Avatar for london-G

1. You aren't saying what/where the errors are. 2. You are asking us to analyze 400 lines of html/javascript code - get real!

Member Avatar for rubberman
-1
306
Member Avatar for Kunyepa

You can also set your compiler to use (for gcc) the -S option, which will generate assembly code as the output. Then, you can look at what that does. Other compilers have similar options, depending upon the operating system and such. There are also gcc options to generate mips code …

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for zelrick

You can edit a running bash script, but it will probably crash, or you will have to restart it in any case. In any case, post the original code, and yours here for better comments and feedback.

Member Avatar for zelrick
0
311
Member Avatar for ogsirus
Member Avatar for Reverend Jim
0
181
Member Avatar for hrushi9

No code there for cropping the image. What have you tried? Here is the manual page from php.net for imagecrop(): http://php.net/manual/en/function.imagecrop.php And yes, Google (or DuckDuckGo) is your friend!

Member Avatar for hrushi9
0
411
Member Avatar for mohammed_22
Member Avatar for UK-1991
Member Avatar for المهندز

Except at the most fundamental level, chemistry is not math. You can do this with a rules-based language or API that "understands" chemical interactions and can transform your input (left side of the equation) into the output (right side). Not simple, but a very good senior or graduate level (masters …

Member Avatar for rubberman
0
266
Member Avatar for SAMUEL_8

Assuming your web server is running with PHP, there is a rand() function that you can use to generate a random number for each entry, and sort it by that. Here is the manual page: http://php.net/manual/en/function.rand.php

Member Avatar for jj.dcruz
0
109

The End.