-
Replied To a Post in help solving c++ code
What @rproffitt said. Also, do you know what a recursive function is? -
Replied To a Post in converting array of hexadecimal notation into an unsigned char array In C
Well, the string "Abcd" would be 0x41, 0x62, 0x63, 0x64, and 0x00 (terminating null char) - caps != lower-case... -
Replied To a Post in Concatenate Wstring in C++
I would have been a bit more snarky if you said you lived on the Ile de la Cite. :-) I don't think Notre Dame has student housing on the … -
Replied To a Post in Concatenate Wstring in C++
So, you live on the Ile-de-France? Paris is a pretty big place! :-) Where are you going to school? -
Replied To a Post in Concatenate Wstring in C++
Assuming the target is also a wstring type, this should work. IE: `std::wstring newstr = first + L" " + second;` Note that you left off the second colon in … -
Replied To a Post in IRC commands
So, what is your purpose for this? Are you trying to put together a tool that you can use to manage a pool of systems without the overhead of direct … -
Replied To a Post in Javascript onclick with array parameters
Please properly format your code, indendented appropriately. I won't comment on code like this... -
Replied To a Post in IRC commands
Your honeypot needs to be a virtual machine that you can shut down and nuke as required. Also, you can block out-going messages (may not be helpful) and still see … -
Replied To a Post in Char pointer to anonymous char array
You have a couple of problems. Both examples are REALLY bad and probably won't work. Technique #1 `char three[] = { '2', '5', '8', '\0');` You can use `three` as … -
Replied To a Post in converting array of hexadecimal notation into an unsigned char array In C
So, what is exactly your problem? You need to make the TempBuffer bigger than 4 chars - you have no room for a terminating null char ('\0') so you are … -
Replied To a Post in Compare Database Password Hash for User Authentication
For debugging purposes, output the hash stored in the database and that returned in userLogin(). If they are using a different salt value (based upon date/time by default perhaps), then … -
Replied To a Post in How read more than one file without rewrite bufferedreader more than once?
The only way is to spawn multiple threads and do the read in each. That will parallelize the I/O, though throughput will not likely improve over your current serialized approach. … -
Replied To a Post in Windows 10 Update sharing. I'lll turn that off.
Microsoft has happily turned Win10 into a virus - "whatever is yours is ours" seems to be their attitude these days. Disabling this cruft is a total PITA. My attorney … -
Replied To a Post in Mac Book Pro unable to Format HDD
You say it "gets stuck". What do you mean? Does it stop formatting and issue an error message? Does it just stop formatting and sit there seemingly doing nothing? If … -
Replied To a Post in C++
What @rproffitt said. Put your code inside a code block and then make sure it is properly formatted, indented, etc. Then we can comment more appropriately. -
Replied To a Post in Migrating to Linux - Any Tips?
Start with a Linux virtual machine. Install VirtualBox on your Win7 system and create a Linux virtual machine. That way, you can experiment with a number of different distributions until … -
Replied To a Post in Not showing correct output, how to fix?
In`shifter(int size)` you are never filling the array. Since it was never initialized, the random number stuff is not only doing nothing, but as far as I can tell it … -
Replied To a Post in return v.compareTo(w) < 0; what influence does the "< 0" serve?
This is the usual way to sort lists of stuff, and a number of the C++, C#, and Java (as well as other OO languages) use this method to determine … -
Replied To a Post in VPN Server router
Have you tried running Linux in a virtual machine on the 2012 server and installing OpenVPN on that? I've done that and it works just fine, though you need to … -
Replied To a Post in unique_ptr with copy construction operation in c++
Using a shared pointer to an a in class b means in b's copy constructor you don't need to create a new instance of a. You can simply assign the … -
Replied To a Post in Solution to repair damaged motherboard by electric circuit
Repairing a PC board, especially something as complex as a computer motherboard, that has been damaged by an electrical short circuit, is neither simple nor easy. In most cases, special … -
Replied To a Post in cURL Doesn't Work On Same Host Anymore
Assuming the host it is trying to connect to is external to the local network, or is in another subnet, then either the internet proxy or the router (depending upon … -
Replied To a Post in Reading Column for C programming
Your 'input' variable is an array of 512 possible values. Try this for your fscanf function: `fscanf(pToFile,"%d %d %d %d %d",&input[0], &i, &j, &k, &l);` Remember, the number of format … -
Replied To a Post in Access violation reading location 0x00000000
The error is saying that you are trying to access a NULL value, which results in a segfault. You need to determine which variable/argument has a null value. -
Replied To a Post in connect database in another computer
Your response from MySQL above indicates that the host/server you are trying to connect from is blocked. You need to contact the database administrator about this I think. -
Replied To a Post in Please tell me any hosting providers that let me switch my servers to PHP 7
You will need to contact candidate host sites directly to see if they support it, or if you can install it. Many today will use either virtual machines for their … -
Replied To a Post in "Prim's" Algorithm (Maximum spanning tree) c++
You aren't providing enough information. You need to show what is in your adjacencyMatrix first of all, and then you need to provide additional code in your application. -
Replied To a Post in I need a php script that will run automatically every day ?
PHP 5.5.4 and later have the ability to run php code directly, even as its own web server (not necessary here I think). Anyway, what RudyM said. On Linux you … -
Replied To a Post in Creating DB design for number of login count for a specific company
You need a trigger that will run and update the password count and such when a user logs in or out. -
Replied To a Post in How to make a USB token
Besides, what's to keep someone from installing LibreOffice on a USB stick? They can view/edit most any MS Office document with that, even if Office itself is locked down. It … -
Replied To a Post in Running Ethernet To Bungalow
This should be fine, running an ethernet cable through a PVC pipe, although you will want to check with your city to verify whether you need a permit to do … -
Replied To a Post in Matching fingerprints stored in mysql-How to?
As stated, no two fingerprint scans will generate the same data/image. Intelligent fp scanning tech identifies notable features in a print and develops a hash of that. When the same … -
Replied To a Post in Function
Sorry, but we don't do your homework for you. In any case, look up the use of the pow() function. -
Replied To a Post in Built-in Keyboard not functioning
I would suggest booting a live CD/DVD of Linux and see if the keyboard works with that. Also, check your BIOS settings. You may need to reset that and clear … -
Replied To a Post in fan randomly turns on, on my mac
The fans are controlled by thermal sensors. If the motherboard and other stuff (power supply, etc) are dusty, this can exascerbate the problem of high internal temperatures. Take the cover … -
Replied To a Post in Save file data to int or string array
Also, if you want the data to be sorted, then use a set<int> or multiset<int>. A set is ordered, where a vector is not, and it will only allow unique … -
Replied To a Post in Save file data to int or string array
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 … -
Replied To a Post in HI !! first year student here cramming for finals ^^
@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 … -
Replied To a Post in Popping/Cracking sound and audio lag?
It could also be a faulty hardware issue. Is this a desktop or a laptop? If desktop, have you tried an add-on audio card and disabling the integrated one? Also, … -
Replied To a Post in Replace key press problem
It is likely that dirt in your keyboard is causing this. Get some compressed air and blow the dirt, dust, and detritis out of the keyboard (also holding it upside … -
Replied To a Post in app asking for password when installing it
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 … -
Replied To a Post in I'm beginner what may do to start here
Not asking for much, are you? :rolleyes: Read some programming books and take some tutorials on the language(s) you are interesting in learning. Programming is basically an exercise in structured … -
Replied To a Post in Issue with WinRAR
Glad you got the issue resolved, but posting what the issue really was and how you resolved it may help others. :-) -
Replied To a Post in What is wrong with my program?
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 … -
Replied To a Post in Recovering files from ransomware .vvv png's etc before virus removal
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 … -
Replied To a Post in Retail management systems?
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 … -
Replied To a Post in Linux Bash Script
@rproffitt has it right. Set a timer after alarm is raised, or set a number of events to process before raising another alarm within some specified (and adaptable) time frame. -
Replied To a Post in PHP classes and keepalives
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 … -
Replied To a Post in Water Billing
First, describe the problem, how you would solve it in plain language, and the step-by-step process that you would follow to implement the solution - this is sometimes called pseudo … -
Replied To a Post in Some confusion about my class
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 …
The End.