• Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Reading first word from file

    line 23 is looking for the end of the first word, but then you display the entire line on line 27. before the break on line 25 you need to …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in check error in code

    Both getchar() and EOF return int, not char.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in SDL_Delay(); executing too fast

    where did you get sdl.h from?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in check error in code

    In copy() you need to null-terminate the string at line 50 because that while statement doesn't do it. The main problem is line 16, it's missing required parentheses. `while ( …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in What are you eating/drinking right now?

    vanilla ice cream
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Random Facts

    Not according to [this article](http://www.snopes.com/critters/wild/duckecho.asp).
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Ftp error c++ (Using external .h file)

    >But when i compile the program it give the error: what Error(s)? post the error messages what compiler and operating system are you using?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Problem with pointer in C...

    move line 27 down to line 38 because you are throwing out the first token in the string.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Check perticuler cell is focused or not

    you mean [this](http://www.spreadsheetgear.com/?ac=WF)? It's highly unlikely anyone here will know anything about it. You will be better off to ask in their forums.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Let's learn assembly!

    Just use any text editor, If you are on MS-Windows then Notepad++ is a good one to use because it has color highlighting.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Check perticuler cell is focused or not

    what grid? c++ doesn't support grids natively. We need more info about your compiler, operating syste, and GUI library.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in c++ program for add at the end and delete at the beginning linked list

    Do you have a question?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Infinite Loop In a program that uses files

    move lines 43 and 44 up between lines 40 and 41 so that they are within the if statement that start on line 27. The way it is now you …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in vc++ error webbrowser text value

    what is the error message?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in What are you eating/drinking right now?

    Dannon Oikos Greek Nonfat Yogurt -- yummmmy!
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in [win32] - how the child control accept the text format?

    unless MSDN says otherwise, controls don't work with them. You have to expand those yourself before sending text to the control.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in ~Error~

    >he did say that the issue may lie in compiler Very doubtful. You need to compile for debug then use VS debugger to single step through the program and look …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in What's Your Favorite Body Part

    My lungs because can't live without them.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Marked Solved Status for PFO is very slow

    It takes an unusually long time for PFO to respond to link clicks. I don't think it's my computer because DaniWeb and other sites are ok.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in PFO is very slow

    He fixed it now.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Created PFO is very slow

    It takes an unusually long time for PFO to respond to link clicks. I don't think it's my computer because DaniWeb and other sites are ok.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in What are you eating/drinking right now?

    My son barbecued today, had brots, pork steaks, corn on the cob, and sweet potatoes.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Bad Grammar

    >Example: "I should of done it" vs "I should have done it". Guilty. Many native English speakers pick up bad habbits from parents and other people. And you are correct …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Drawing graph of a function with user interface

    Then get started studying previous suggestions because no one here will do it for you.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in GetwindowText of c equivalent in linux?

    [Link](http://qt-project.org/)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Drawing graph of a function with user interface

    [Here](http://www.winprog.org/tutorial/) is a good tutorial on win32 api GUI programs. You can do it in either C or C++.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Drawing graph of a function with user interface

    >Note:I dont know anything about c++. Good luck! Do you know anthing about programming at all? If not you are in very deep cow dodo.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in What are you eating/drinking right now?

    >Ask for a double espresso, now that's caffeine :) You mean that's cow dodo.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Counting sort while taking data from the file

    Why did you convert from 2d to 1d array? Why not just read it into a 1d array to begin with?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Counting sort while taking data from the file

    You're right, this doesn't really work `while (getline(myfile, line, ','))` because when the last numbe on the line is read getline() does not stop until it reaches the next comma. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in What are you eating/drinking right now?

    KFC chicken breast, original recipe.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Counting sort while taking data from the file

    >@AD What does line 7 do? I have never seen that. It's an error. Sorry about that. That's what happens to old men who try to think too much :) …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Connecting from a Windows CE to a MySQL Server

    Have you tried ADOCE DLL? I haven't used it in several years now but it worked about 10 years ago.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Contrary to Popular Belief...

    contrary to popular belief, the Earth is flat and the sun revolves around it. The Earth is also only 10,000 years old.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Counting sort while taking data from the file

    Your program is doing way too much work! There's an easier way to do it. The code below does NO error checking so you might want to add that. ifstream …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    Cold and wet. I had to turn the furnace back on to take off the chill.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in What is your favorite English word?

    I don't think that is a real word. Comes from the movie Mary Poppins and, AFAIK, does not appear in any American dictionary, but was added to Oxford Dictionary in …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Geographical segregation order?

    The problem is not how it's spelled but how it's pronounced. Ho and Hoe are both pronounced the same. Some people have objected to Santa saying that word.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in solving array problems

    start out simple. First just write a progam thad declares an array of 20 floats. The expand the program to fill the array with 20 values. Once you get that …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Using CreateFile() from User Inputs

    Something like I posted WILL make the first argument like that. You don't have to use string literals as the first argument -- it can be a formatted char array.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Creating a library for use with MASM

    >Oh and I dont know your exact age, but please try to live forever Happly that isn't going to happen :) I don't want to live forever, too much trouble.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Creating a library for use with MASM

    >If such complications arise for the process writing C libraries for use with MASM, I can only assume that the two were never intended to be mixed in such a …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Creating a library for use with MASM

    The actual executable code for printf is contained in a library. I don't know which one it is for Turbo C. You may have to link your assembly program with …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Creating a library for use with MASM

    >Why why why? Because you also have to link with standard C small libraries that are in Turbo C install folders. In your assembly code you can delete lines 16 …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in for saving

    [Tutorial here](http://www.homeandlearn.co.uk/NET/vbNet.html)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Creating a library for use with MASM

    Did you also use the small memory model with Turbo C? When you linked the assembled code did you tell the linker to also use the \*.lib file along with …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in clearing specific texts in c

    printf("\rLoading ..."); // after timer expires printf("\r "); The "\r" moves the cursor back to the beginning of the line without changing lines.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in ~Error~

    Is that in response to a program you wrote? What compiler did you use? there are many ways to figure out where the problem lies -- one way is to …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in How do I create a uml for this code?

    what is "uml" ?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Using CreateFile() from User Inputs

    Just get the port number from the user then format a string, something like this. The code may not be exactly correct, I didn't test it. int port = 0; …

The End.