rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Each sprite should be an object, with a tick delay as part of its member variables. So, when you tell a sprite to "delayAndMove" (or something like that), it will set a timer to the internal tick delay, and then move. There are also other methods you can use. What will work best for you depends upon too many factors to go into here.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Back in the "dark ages", when I needed to sort a linked list, I would put the nodes into an array, then use qsort to sort that, and then rebuild the list from the array. Worked well. Was simple. And it was quite fast. It also met the KISS principle.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

So, what is your problem. Don't expect us to analyze 260+ lines of code without some indication of the errors you are getting, and where you think they may be.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The isdigit() function is a standard C/C++ function that will tell you (true or false) if a character is a digit. Every C/C++ compiler should support this. In reality, usually these are macros that operate on ascii data.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Have you posted this question on the Apple user forums, or looked on the Apple site for a FAQ about this?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It depends upon what you want to do, how complex the desired system is, etc. The language is irrelevant, in my opinion. There are great C++ libraries for graphics such as Qt and Wx, and python as well as java have good libraries for graphics as well. Do you need simple graphics, or do you need complex ones for things such as animation?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

There are simple tools to do this without having to resort to VB. Look at notepad++. It can easily convert Unix/Linux text files to Windows ones (converting the LF in the *nix files to CRLF for Windows), and vice-versa.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Asking people to debug 600+ lines of code isn't fair. Write out the algorithm you are using (pseudo code and logic you used), and where you think the problem is occuring in your code. Then we may be able to help.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Without your code, there isn't much to say. Post it here.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Did your computer come with a recovery partition? If so, you may be able to boot that and reinstall or repair the main system. If not, then you may be able to get a recovery disc from the system vendor. Barring those approaches, you will probably need to get a system disc from the system vendor. You will have to pay a nominal fee for that most likely, but that way you will be able to do a complete reinstallation, though note that will nuke all of your data. You can boot a live Linux CD/DVD and copy your data to an external drive first. Good luck!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The answer is that it depends. If it was writting using the WebApps api it may work. Installing is the question. Also, you can search the Google Play Store to see if they have something like Arc to use.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Another means is to create a Libre Office, or Open Office writer document and import the images, resizing them and positioning them to suit. Then, select the File->Export PDF option. Bingo!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Early life failures in electronics are not uncommon. If they don't fail in the first year, then they probably will live a long and productive life - much like humans!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Your basic problem is that A is a base class of both B and C, and the instance of A in an instance of B, is NOT the same instance in C! If you make the variable a static member rather than an instance variable, then both B and C will see the changes the other made to it.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Assuming you have verified that the power supply is working (you have, haven't you?) then the mother boards is probably dead and you need to get it replaced. As mentioned, the most likely cause is a power supply failure. Have you checked to see if the fuse or circuit breaker have tripped?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

No. You work it out and we critique it. We don't do your homework for you... :-(

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Sorry, but we don't do your homework for you. Post your work (code) and we will critique it. To get you started though, read the paragraph and parse each word, placing them in a map (sorted list) with counts which you can then easily search from the user input. IE, when parsing the paragraph, if you find the word in the map, you increment the count by one. If not found you add it with a count of 1. The rest of exercise becomes trivial after that. The main thing is to determine what are delimiters for words, such as spaces, commas, periods, and such. And then to skip non-words such as elipses (...) and hyphens, etc.

Have fun!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Also, symbols that start with an underscore, such as _children, are reserved. Use something like m_children, indication a member variable, or s_children for a static variable.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
  1. What database are you using?
  2. Are you building the database schema directly, or in PHP?
  3. What API are you using to implement this in PHP?
  4. Show your code.
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If you want real help, rather than some opinions on how to approach the problem, then post your code here!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Show code please. This is basic computer science stuff.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I'd try it and debug it, but I don't have a Turbo-C++ compiler on my Linux system. I could modify it to build/run on current compilers when I have the time, but when that is will be next week at the earliest.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You have to parse the message, and find the <ns:return>...</ns:return> value (where the ... is). IE, this is the return value for the call. If this SOAP call returns more data that just a boolean true/false value, you need to do more work.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Ok. You stated the problem. Show the code you are trying to use.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

How do you think it should change? Arrays are kind of like vectors, but they don't resize automatically, so you need to pre-allocate a size, and when the size needs to be increased, you need to re-allocate the array. In any case, C-style arrays don't have methods like "push_back", "pop", etc. You need to deal with these behaviors manually.

Anyway, the answer to your question is yes. You figure out the syntax and code, and then when you run into problems, post the code here with the problems you are having.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Without experience, certifications don't mean a lot. Higher education sxample: we all know what BS means. MS is just More of the Same. And PhD? More of the Same, just Piled higher and Deeper! In any case, good luck in your career endeavors!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Thanks Mike for the link. I'll keep it in mind for my Windows clients. In many cases, video cards can suck up so much power that default power supplies cannot handle it. One possibility is to install a bigger power supply, such as one of 750 to 1000 watts capacity. Cooling it helps, but it may not be enough if the power demands of the card and other components exceed the supply's capabilities.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Ok. If it is solved, please inform the rest of us what you did to fix it. :-) Thanks.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If the CPU fan is working, you might want to check your memory sticks. There is a tool called lm_sensors that gives you access to the thermal detectors on the system - default available on Linux systems. I think there is something similar for Windows. It will tell you what is overheating. I had such a problem on my Linux system, and found that my RAM was overheating, due to insufficient airflow over the RAM sticks. I was able to re-configure them to get better airflow, and in the subsequent 7 years have not had a recurrence of the problem.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@phoenix254 - Well, besides being very bad, and retro, goto's are allowed, even in C++, but VERY MUCH not recommended! And usually not needed in properly structured code. It is a lazy programmer's crutch. It is still allowed in order to preserve backward (good term that!) compatibility.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@phoenix254 - Well, besides being very bad, and retro, goto's are allowed, even in C++, but VERY MUCH not recommended! And usually not needed in properly structured code. It is a lazy programmer's crutch. It is still allowed in order to preserve backward (good term that!) compatibility.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

When you make changes to C/C++ code, you have to recompile the sources. Did you do that? Also, for basic C/C++ code I do not recommend the use of an IDE, but rather a good code editor and Makefile. If the code is in one file then you don't even need a Makefile - you can just compile and link it in one step.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Where have you looked? The Android developers web site has some good tutorials and user community. Remember, Android apps are either Java-based (using the Dalvik compiler), or webapp based. Do you understand Java code? There are 10 gazillion tutorials for building java apps out there. Google is your friend here... :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

So, does your code work? If not, what errors are you getting? We can help you more now, and we can appreciate your difficulties using out-of-date tools. We will try to help you work around those. You have made a good first step.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@Schol-R-LEA - nice explanation! To expand, if one doesn't initialize pointers to NULL (or 0 - preferable for current systems), then you have introduced serious security flaws in your system.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You are asking us to analyze 300+ lines of code, yet give no indication of what your problem is. Got $200 USD per hour for me to do that? My clients pay me that for similar services... :-(

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

A lot of the ignoring of these issues is due to management not wanting to deal with the costs involved. They seem to take the stance that "we aren't being hacked, so why pay the price?". The old addage of "penny wise, but pound foolish" comes to mind...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If you are booting a recovery or live CD/DVD/USB drive, the system hard drive will not be mounted. Since you seem to be getting similar errors in these cases, you either have a memory or motherboard/CPU problem.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I agree with Suzie999. First index is the number of "rows", and the second is the number of "colums" in the row, although either way will work if programmed correctly, though this way is simpler in that you can do this:

for (int i = 0; i < rows; i++)
{
    for (int j = 0; j < columns; j++)
    {
        sometype colval = array[i][j];
        cout << "row " << dec << i << ", column " << j " == " << array[i][j] << endl;
    }
}

I'm sure someone will point out that I am incorrect in some of this, but it seems to work for me! :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

DO NOT modify the Makefile! That is unnecessary if you put the headers in the correct place. I didn't need to make any changes to the Makefile on my system. I did exactly what I said in my previous posts, and it built and ran just fine!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@Leo G - this goes back further into the days when MS-DOS was first derived from Seattle Computer Product's QDOS opearting system that MS purchased to sell to IBM for the first IBM PC. In those days, storate was on a small (underl 1MB) floppy disc. So, your comment about .com files being a small compact program is spot on. They still will run on Windows systems, but most are now .exe files that have more capabilities. Like a zombie, you just can't kill them! :-)

FWIW, I think (not 100% sure) that .com programs are still 16bit software, whereas .exe programs can be 32bit. Before NT, the Windows command processor was cmd.com. Now it is cmd.exe, with much greater capabilities, at least as far as utilization of system resources is concerned.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

And until you post some effort at a solution, don't expect help here for a homework problem!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This code does nothing. Don't expect help until you post code that at least approximates a solution to the problem at hand!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Sorry, but per the terms of service for DaniWeb, we don't do your homework for you. You do the work, post your code and analysis here, and we may help you. Just asking us to solve the problem is not acceptible.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I agree 100% with HappyGeek. Just think as the cloud as being an external data center. You still have to put in place the security methods you do for internal ones with external access. At Nokia we had thousands of servers in the Amazon cloud, and virtually no security issues, but then our network security people were very dilligent in how they configured the systems, network connections, and all that cruft. They did in the cloud what they did in our own physical data centers. As a result, I never heard about any breaches of security, and I managed our performance, test, and analytical accounts in AWS - I would have been informed.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

As I mentioned before, you need to install all the pkcs11*.h files in the source/Crypto directory. That should allow the CFLAGS options in the Makefile to find them for the build.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Describe your approach, show your code (even pseudo code), and where you are running into roadblocks. This will indicate an honest effort on your part to do the work. We won't do your work for you, but we will critique your work and try to point you in appropriate directions.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Ok. I'm almost there. The three pkcs11.. header files have to go into the TrueCrypt source/Crypto directory. Then you need to install the Linux native assembler nasm, and the fuse-devel (developer) package that has the fuse headers. After all that, it successfully built for me, though I haven't tried running it yet. :-) You'll find the linked executable "truecrypt" in Main under the source directory. Ok, I was able to run it with the --help option and get the command-line options.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You should be able to build it by extracting the directory with the command: tar -zxvf "TrueCrypt 7.1a Source.tar.gz"

After that, cd into the source directory: cd truecrypt-7.1a-source
Then run the "make" command. Do note I just tried it on my RHEL 6.6 clone system and it had some errors with missing header files. I will try to resolve those and get back to you. You can also download the pre-built Linux executables and run those.

Re-reading your original post, those headers you need to wget are those that I am missing. I'll install those and see what happens.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@nitin1 - oops, sorry about that. I hate it when people hijack other folks' threads. I'll get back to that when I have a minute.