• Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Storage values in collection and get values from collection

    Do you already know how to query the database? What database? Is it a simple text file, and SQL database, or something else?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in How to load an image on turbo c using graphics?

    My guess is that Turbo C is just too old a compiler to do what you want -- 16-bit programs don't have very much memory so it may not be …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in reverse the string

    are you allowed to use another char array to save the reversed string? If you are, then start at the end of the original string and work backwards towards the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Decipher Broken English

    I try not to criticize people who don't know English, they most likely write in their own language then use a translator to translate into English. Those translators aren't very …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    They close all schools here at the very thought of snow. I recall one year they closed all the schools and we didn't even get one snowflake!
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Install graphicmagick on windows

    what does that have to do with vc++???? > OpenMP support requires compilation with GCC 4.2 (or later), or use of any C compiler supporting at least the OpenMP 2.0 …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in error ace oledb 12.0 not installed on local machine

    Install the 32-bit version of the device driver if you compile vb.net for 32-bit program, which is I think the default. Are you using Visual Studio 2010 **PRO** because the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Unit Conversion wit C++

    Not that I know of. I don't know very much about java. But you might be able to use the same IDE, such as NetBeans (don't know about it either).
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in [In General] How are OSes made?

    There's generally two layers of software -- os kernel which has direct access to all hardware, and application programs which are protected from direct hardware access. What you are asking …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in [C++] VS2012 Build stuck infinitely at "Generating code..."

    M$ must have corrected the problem in later versions of the compiler. Suggest the OP update to VC++ 2014, which does not produce that warning for the code snippet he …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Unit Conversion wit C++

    You never answered the last question, the problem states it's supposed to be in java.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Bad Grammar

    Not surprised, considering that another thread revealed 1 in 4 people think the sun revolves around the earth!
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Unit Conversion wit C++

    Do you mean [this one](http://www.daniweb.com/software-development/cpp/threads/473459/unit-conversion-wit-c#post2067090)?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Unit Conversion wit C++

    I already told you what's wrong with it, reread my previous post, second paragraph. You have the && and || operators mixed up. Sometimes even more experienced programmers have that …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Unit Conversion wit C++

    line 10 is still wrong -- you failed to make the correction I pointed out. The pogram isn't going to work unless you increase the size of those two variables. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in The sum of digits of a number

    > Is there any worng with my code? Well, yes. Where's the loop? Test it yourself, it doesn't do anything like you said it should. All it does is either …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Classes

    class of girls with their ages and phone numbers (a little black book).
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Removing Elements From an Array with Overloaded Operators

    Or use std::set, which doesn't allow duplicates to be entered.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Unit Conversion wit C++

    >That means I have to declare as char init_unit[2] and sec_unit[2]. No, declare as `char init_unit[3], sec_unit[3];` > How do I take care of the parts where I have else …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Unit Conversion wit C++

    You need to fix all the compiler errors before you attempt to run the program. the two variables declared on line 9 are too small if you expect to enter …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Visual Studio 2013 Question: How to Watch all Array Entries?

    >This one shows the mouse over the variable, and I tried to click on it, to make it expand, It won't expand if the variable is just a pointer because …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Visual Studio 2013 Question: How to Watch all Array Entries?

    The only way I know to do that is to move the cursor on the array name then an + will appear, select the + and it will show all …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    Icy, it rained last night and now it's all ice. Schools are all closed again today. There has been so many school snow days this year the kids will probsbly …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in String conversion to uppercase

    lines 10, 14 and 18 are incorrect. What you did was pass a pointer to a non-existant byte in the string. This is how it should have been coded: `scanf("%s",name);` …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in The sum of digits of a number

    Try again -- your program is 100% wrong.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in [C++] VS2012 Build stuck infinitely at "Generating code..."

    dreslough: The first function you posted doesn't produce that error on VC++ 2014. And the second can be simplified by removing the if-else statement int Odd(int n) { return (n%2!=0); …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in tokenizing

    Welcome to Daniweb. Can't help you until we know what language you want to use. Then you should repost your question in the appropriate Software Forums forum.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in There is an elephant on the loo!

    >1 In 4 Americans Thinks The Sun Goes Around The Earth, Survey Says That's funny -- well maybe not ([link](http://www.ajc.com/news/news/national/1-4-americans-think-sun-revolves-around-earth/ndQBb/)). About 20% of American adults are functionally illiterate ([link](http://www.ajc.com/news/news/national/1-4-americans-think-sun-revolves-around-earth/ndQBb/)).
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Overload cout.operator<< and ofstream.operator<< 'Differently'!

    Lines 23 and 43 write text files, not binary files. If you want binary file then. You can't write binary then expect to read it as text, or vice versa. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    >any windows installation will whine and complain about the smallest fixable issues like that. I don't know what you are talking about. The only problem I've had in the past …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Startup

    If it's Windows 8/8.1 then please read [this article](http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/tutorials/472643/windows-8-how-to-resurrect-the-windows-7-start-menu)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Microsoft Outlook and Internet Explorer

    Are you at work or at home when that happens? If you're at home why not just use Thunderbird? I'm guessing you don't have that option at work.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Startup

    what thread are you talking about? You need to post a link to it. >Where is the start menu in Windows 7? Are you kidding??? The Start menu is in …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Things I hate about TV shows

    And how many bullets do those hand guns hold anyway? I've seen people shoot over 30 shots out of a 6-shooter gun without reloading. And in True Lies, in one …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in c programing error message]

    sounds like you didn't create a console project so that Dev-C++ could generat the makefile.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Sorting Doubly Linked lists

    >How do I go about doing that? Easy -- whenever a swap is needed swap the data that's within the two nodes instead of the pointers. If there are several …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Vector is different for every class instance!

    I actually like tinstaafl's suggestion better than mine. >, whereas if it is declared in main() it cannot be. Of course it can -- just pass the vector as a …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Sorting Doubly Linked lists

    Rather than attempting to swap link pointers it is a lot easier to swap the data and leave all the pointers alone.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in How to create DOS?

    I had a similar problem with a laptop, no screen or wifi driver. >FreeDOS is too heavy How big a hard drive is in that computer? old DOS and FreeDOS …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in The last song you heard/ listened to

    Tchaikovsky Violin Concerto, one of my favorates
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Database connectitvity

    Yes you can if you have the Windows SDK installed. I just successfully compiled your program with Code::Blocks and MinGW compiler after adding windows.h as the first include file.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Lagging again

    While it is lagging I pinged Daniweb.com in a command prompt and got pretty quick responses.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in strcmp not working

    > I think it may be because there's a pointer inthe struct declaration, Nope, it has nothing to do with that pointer, unless there is no memory allocated to the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in How to create DOS?

    Yes, you can write your own, but since you mentioned xmove.exe I assumed you wanted MS-DOS. Be prepared to write assembly language.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in How to create DOS?

    If you are talking about MS-DOS 6.X and earlier, you don't "creat it". You get it from Microoft, assuming they still have it. There's also Dr DOS, which is MS-DOS …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Gave Reputation to Learner010 in problem display the unchange array

    > problem display the unchange array i don't see the code for displaying an array. you should use `cout<<` for displaying i don't know what do you mean by the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in problem display the unchange array

    what's the problem? How is **array** declared?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Variation on finding Stirling numbers of the first kind

    Please post the code you have written.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in A PROGRAM TO CALCULATE THE NET SALARY OF A STAFF

    Where's the coded you have done? We are not going to write it for you.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Vector is different for every class instance!

    Why is the vector of Student classes contained within the Student class? The vector should be declared in main(), not in the class itself Then I'd take set_students() out of …

The End.