• Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in file reading problem

    see other thread
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Dennis.Ritchie is back!

    Not to mention that he died 2 1/2 years ago.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in file reading problem

    The file probably has a '\n' after the last character. Edit the ffile to remove the last '\n' variable c should be declared as int, not char, because fgets() returns …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Form AutoSize not working

    Since you didn't post any code there's not a whole lot anyone can suggest.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Career path? (Microsoft dynamics CRM consultant)

    Why go with either? Do you already have a college degree or do you have prior development experience? You can get development jobs without any Microsoft certs.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Form AutoSize not working

    Your two links are broken.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in C++ and Access

    Yes, can you? [Here](http://www.daniweb.com/software-development/cpp/threads/67312/connecting-c-to-ms-access) is a related article.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in malloc vs calloc

    >C presumes malloc returns int and silently casts your 64 bit pointer to a 32 bit integer. Just because the program is running on a 64-bit operating system doesn't mean …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in get all available SQl SERVERS

    I don't know of any way to do that. What kind of computers are on the network? Windows, \*nix, MAC, a mixture? Once you have identified and connected to the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Making GUI to talk to an energy meter for calibration purposes

    Windows Forms is c++/CLR, which is a slightly different language than c++. c++/CLR is more like C# and VB.NET and all three are based on the .NET framework. But for …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in please i need help please !!!

    We are supposed to help you help yourself. What problems or compiler errors are you getting with the code you posted? Post the error message(s) and the line numbers on …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Insert a Value into an Array-Based Heap

    line 102 is wrong `void heapInsert(int **A, int &size, int Item)`
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Insert a Value into an Array-Based Heap

    lines 1-10 are incorrect -- all line 1 does is declare an array of pointers, not an array of integers int *A = new int[10]; A[0] = 4; A[1] = …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in please i need help please !!!

    > is it correct Did you test it? Did it produce the correct results. If not, then the answer is no.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Insert a Value into an Array-Based Heap

    repost the probram and tell me what line the error is on. If this error is in main() than most likely it's because you have to pass a pointer to …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in please i need help please !!!

    Hint: The first question, about converting from text 'A' to ascii 65 Every character you can type from the keyboard has a numeric value. See [this standard ascii table.](http://www.asciitable.com/). In …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in syntax error : missing ';' before '<<'

    move lines 14-23 into a method, you can't have executable code outside functions.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Insert a Value into an Array-Based Heap

    After thinking about it, this might be a bit easier to work with void heapInsert(int **A, int &size, int Item) { size = size + 1; int i = size …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Insert a Value into an Array-Based Heap

    Yes, some of the other functions will also have to change, especially those called from main() void heapInsert(int **A, int &size, int Item) { size = size + 1; int …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in how to record information in vb.net

    Working with databases is a little complicated, but see Chapter 13 of [this free tutorial](http://www.homeandlearn.co.uk/NET/vbNet.html)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in help with this

    No one is going to do your homework. Please post the code you have attempted to write and ask specific questions about what you don't understand. Do the assignment one …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Insert a Value into an Array-Based Heap

    array B in that function has no value because it doesn't change the size of array A. In main(), change array A to be a pointer and initially allocate it …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in c

    >Difficulty in programming. Don't feel alone -- that is a common feeling even among experienced programmers. Well maybe there is one exception, our moderator Mike.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Insert a Value into an Array-Based Heap

    Yes, the array has to be dynamically allocated, then in heapInsert() you have to increase the size of the array to accommodate the new element. That becomes much easier and …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Insert a Value into an Array-Based Heap

    Probably because heapInsert() changes the value of size from 10 to 11 and there aren't 11 elements in the array. You can't just arbitrarily change the size of a statically …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in how to track in database

    Whare does the table already contain? Just add two more columns -- one to count the number of times the member uses the golf course and another to count the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Hello everyone,still haven't been able to solve the (b) part (switch)

    switch statements do not permit ranges, so the only way to do that would be something like this: switch(qty) { case 21: case 22: case 23: case 24: case 25: …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Bad Grammar

    >Drugs and gangs are more symptoms of child poverty and unprepared/unequiped parents, I disagree -- if that were the case then wealthy movie stars such as Michael Jackson wouldn't be …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Is the TAB going to replace the laptop ?

    When is a tablet not a tablet but a notebook? I bought my college grandaughter a Microsoft Surface with keyboard about 6 months ago and she loves it, a lot …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Bad Grammar

    >The school system is faulty in not properly ... Not necessarily -- many kids won't learn, or just simply drop out of school. IMHO drugs in schools has a lot …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in plz solve this

    Also, time.h is only accurate since 1970 (I think that's the beginning date). So if you wanted to calculate how many minutes I've been alive you wouldn't be able to …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Why does Windows XP refuse to die?

    If I reformat then everyone else who has data on my computer will loose it.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in state count

    Sorry, but I don't understand the assignment. "America's 50th celebration.", what 50th celebration? US has been a nation for over 225 years. >The algorithm should accept and store the actual …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in OOP robert lafore book

    Where are several books by that author. Which one do you want? I suppose you will have to buy with your money the whole book in order to get just …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Has Windows 8.1 Update 1 arrived, complete with Start Menu?

    Interesting article, Mark. I don't really have much of a problem using Windows 8.1, once I got to know where everything is located. I installed the Cla[ssic Start 8](http://www.classicstart8.com/store) which …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in get all available SQl SERVERS

    WOW! Do you really want all the sql servers on the internet??? That could be millions of them.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Invoking program within a program (_spawn)

    What are you entering for Input (line 27)? And what are the command-line arguments you are using (argv[])? I tried to run your program and it crashed upon startup, the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in [C++] Store file name into Array

    use strcpy() to copy the tempFile to name. `strcpy(fileName[numberFile].name,tempFile);`
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Has Windows 8.1 Update 1 arrived, complete with Start Menu?

    I'm also running 8.1 Pro.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Jokes

    >Because Oct 31 = Dec 25 I don't get it.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Why does Windows XP refuse to die?

    >P2P-storage is 1000x more secure than cloud-storage will ever be Now so ? You have no control over data access in either case. ([this article](http://www.zdnet.com/p2p-storage-can-it-beat-the-odds-and-take-on-the-cloud-7000008380/)). The way I understand it …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in malloc vs calloc

    >Return type of both is void so don't we have to type cast it ?? No, C language does not require it, but c++ does. >Modern compilers will at least …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in RBAC Library

    I briefly scanned the language overview [here](http://www.aspectc.org/fileadmin/documentation/ac-lang-survey.pdf) and I don't see how it will help solve your question. That doesn't mean it won't -- just that how is unclear from …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Has Windows 8.1 Update 1 arrived, complete with Start Menu?

    I just forced Windows Update on my Windows 8.1 PC and I don't have that new start menu. Is that a 3d party Start Menu as in another article you …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Invoking program within a program (_spawn)

    Line 24 is unnecessary because the string is already null terminated. Also, you are null terminating the string in the wrong place. line 38: illegal statement. Must be `arg[++count][0] = …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in ComboBox SelectedItem vs Text

    Have you tried ComboBox.FindString() ?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in namespace and header file

    cout is defined in <iostream> header file. As a beginner, don't try to read iostream header file -- it's a big mess. Just be aware that cin and cout are …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in namespace and header file

    If you don't know what namespaces are then you need to read a good tutorial because namespaces are fundamental to c++ language. Namespaces were invented to keep from getting name …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Loan Calculation

    Your calculations are incorrect. I changed all doubles to floats so that the compiler wouldn't complain about assigning doubles to floats. And I removed rem_amt variable because it isn't needed. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in when to use paper book and when ebook?

    Maybe paper is better if you are in a place where there is no electricity, such as in a small boat in the middle of the ocean. Kindles need electricity …

The End.