• Member Avatar for Ancient Dragon
    Ancient Dragon

    Edited endorsements

    Where did you hide the Indorsement button? I can't find it anywhere. Nevermind -- I figured it out. There used to be a button in the purple ribbon, but I …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Edited endorsements

    Where did you hide the Indorsement button? I can't find it anywhere. Nevermind -- I figured it out. There used to be a button in the purple ribbon, but I …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Created endorsements

    Where did you hide the Indorsement button? I can't find it anywhere. Nevermind -- I figured it out. There used to be a button in the purple ribbon, but I …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Problem with c programming!

    >Also repeatedly doing b = b*(1.0F+(r/1200.0F)); is going to give you compond interest I thought calculating compound interest was he whole idea of the assignment. @Ancient Dragon just how did …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in gotoxy function in turbo c++

    I don't think he's asking to change the font, just to input text at specific coordinates. All sahil needs are these two lines. gotoxy(x,y) fgets(text,sizeof(text),stdin);
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in read file character by character for char and the number set for numbers

    If you mean in this line `num += (c - '0');` It is subtracting the ascii value of 0 (which if you look at [any ascii table ](http://www.asciitable.com/)'0' has an …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Gave Reputation to vmanes in How do you pass a single row of a 2d array to a function?

    You don't need the adress of operator (&) in your call to the 1D function. Just use the array name and index of the row. That is the address of, …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in New Life after Death Theories

    There are no "theories" about life after death that can be observed or tested scientifically. Is there life after death? Your guess is as good as mine. My guess is …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in How to create a class in visual studio 2012 ?

    First you have to create a project, that will generae a default \*.cpp file. You can put your class there or add a \*.h file to the project. You might …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in How do you pass a single row of a 2d array to a function?

    I got the same results when I tried it after I posted that reply.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in How do you pass a single row of a 2d array to a function?

    <deleted>
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Problem with c programming!

    You need to do math inside the loop that begins on line 17. The equation on line 15 is only for one month. The balance needs to be recalculated every …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in how to make Installation Package of VB6 Project For Windows 8

    What is the error? Most likely vb6 programs are just too old to run on windows 8, but that is just my guess.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Happy Pongal

    Hope you enjoy your holiday :)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Problem with c programming!

    r/1200 is doing integer math which means all decimals are discarded. So 10/100 is 0 because 10 cannot be divided by 100. You can fix that in one of three …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in HELP! a simple database using c++

    The first thing you need to do is to decide what you want to put in the file.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in HELP! a simple database using c++

    There are many kinds of databases: simple text files, binary files, and numerous SQL compliant databases such as MySQL (free). Which kind do you want to create?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Would you like to live for 1000 years?

    Bummer! It would take a couple hundred years to reach puberty :) That would also mean I would have to raise my kids for several hundred years. Ohh Myyy.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in [win32] - is there anyway for get the text rectangle?

    Not that I know of, but you can get the text itself. The size of the rectangle would depend on the font being used.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Would you like to live for 1000 years?

    I'm in much the same position as the Reverend, and I have to pay taxes on all my retirement pay; it isn't tax free.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Bad Grammar

    Where are examples 4 and 5???
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Would you like to live for 1000 years?

    I would hope if life span were 1000 years then the retirement age would be something like 950. That also means all you young folks would never get jobs because …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Bad Grammar

    >Technically me can be correct as well : [Here](http://www.oxforddictionaries.com/us/words/i-or-me) are the rules, which are pretty much the same as you stated.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Using PHP and C++ together. What C++ can offer?

    I only used it once -- to generate an HTML page from the results of SQL queries. Don't know why they wanted me to use c++ for that instead of …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in reading tab delimited file in C

    I tested your code, and as it turns out "%1023[^\t\n]" is no different than "%1023s" because with %s scanf() stops converting when it encounters the first white space (space, tab, …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in c++ guessing game

    Yes, but only if you help yourself out. Please post the code you have attempted then we can answer questions you might have.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Using PHP and C++ together. What C++ can offer?

    c++ is used for a great deal more than web development. Most PC games and desktop apps are written in c++. c++ can also be used as CGI programs (google …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Starting " C "

    >Does this mean it is possible to study C FIRST and THEN 'add' C++ ? You can study either in either order. C++ did not implement C 100%, there are …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Optimization Experiment: Recursion vs. Iteration (with a twist!)

    I was going to test using Visual Studio 2014 to see how the results compared with yours. But VS won't even compile it due to this line `task_type tasks[total_sum / …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Gave Reputation to mike_2000_17 in Optimization Experiment: Recursion vs. Iteration (with a twist!)

    Following up on a discussion on [this thread](http://www.daniweb.com/software-development/cpp/threads/470519/looping-using-recursion/), I did some tests on the performance of recursion vs. iteration, and some interesting things happened, so I thought I would share …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Bad Grammar

    >Traveling 200 miles in the UK would bring you to not only very different accents, but also a different pronunciation of the word iron From what I understand, just travel …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in hashmap explanation

    don't you know how to [use google?](http://lmgtfy.com/?q=what+is+a+hashtable)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in hashmap explanation

    Isn't that all explained in your textbook?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in read file character by character for char and the number set for numbers

    For numbers you have to do a little more processing -- convert the ascii value of the char to binary then add it to an integer. This works for English …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in reading tab delimited file in C

    You can never skip parameters in C language -- they are always required. In this case num is the maximum number of characters that can be put into the buffer. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Bad Grammar

    Here, two common mispronunciations around here are: "Missouri" a state name, pronounced missourah or missouree, even state officials such as the Governor and state federal senators flip flop between the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in reading tab delimited file in C

    fgets() is incorrect. See the parameters [here](http://www.cplusplus.com/reference/cstdio/fgets/). If you are not sure about parameters you need to look them up -- just google "c++ fgets" and you will find the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in reading tab delimited file in C

    You can easily skip the first line by calling fgets() to read it, then just don't use what was read. Do any of the strings contain spaces? fscanf with %s …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in DataStructure for client-server communication

    UDP is not recommended for long distances because there is no guarentee that the packets will ever arrive. TCP is best for that.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in how to save connectivity through adodc

    [Youtub](https://www.youtube.com/watch?v=0Evg9582VW4)e tutoral. Google will give you other tutorials too.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in how to create some dynamic sprites falling from top to bottom

    what language are you writing this with??
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in C program compiles but stops working - infix to postfix

    (1) Use your compiler's debugger so that you can step through the execution of the program and see where it stops. (2) or scatter some print statements around.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Poker program

    why did you post all that code???
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Blackjack Program

    You'll have to explain the "constraints" -- I don't want to guess or read your mind.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in How is the weather today in your country?

    Temp in the 40s and 50s (F) today and tomorrow. All the snow we got the other day is nearly gone now.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Linked list problem

    Ok, I see what FirstItem refers to -- the head of the item linked list. When I said the two functions were identical I meant the code within the functions, …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Linked list problem

    AddClient() and AddItemToClient() should both be coded similarly because they both add a new node to the tail of a linked list. The only difference is that AddClient() adds a …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Looping Using Recursion

    >recursion will be faster in general. It varies from being quite a bit faster (in simple cases) to making almost no difference at all, but it's very rare, with a …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Looping Using Recursion

    Yes, loops can crash too, but everything else being equal recursion is more likely to crash than loops. > Like i said and i will repeat that again. There are …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in New Life after Death Theories

    My theory is that we are like a virus growing in someone's test tube. Travel far enough in space and we will hit the wall of the test tube. Big …

The End.