• Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in partial class

    [Link](http://msdn.microsoft.com/en-us/library/wa80x488.aspx) (google does wonders for answering homework problems)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in database

    Do you know [SQL (Structured Query Language)?](http://en.wikipedia.org/wiki/SQL). It doesn't matter what programming language you use, all of them have to use SQL statements in order to accomplish the tasks you …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Help me

    google for c++ keywords and you will find [this article](http://cs.smu.ca/~porter/csc/ref/cpp_keywords.html)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in how to count the number of duplicated rows in the databade

    Simple SQL statement SELECT name,COUNT(age) as AGECOUNT FROM table WHERE age = 14
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    I have a tablet for a couple years now -- almost complete waste of money. The only thing I use it for is to play a few games on occasion. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Things I hate about TV shows

    [These](https://www.google.com/search?q=laser+beam&tbm=isch&tbo=u&source=univ&sa=X&ei=NgQUU7nPAsWcyQGX-IG4CA&ved=0CDMQsAQ&biw=1045&bih=534) are laser beam images
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    My PC has a lot of external devices connected to it, I don't see how a tablet could possibly do that. The tablet I have has only one port -- …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in RBAC Library

    AFAIK there is no such library. I worked on a project which included RBAC and all we did was (1) define what class of users have access to what program …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in quick sort in ds with c++

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

    Replied To a Post in how to open Firefox browser instead of Internet ?

    Set the default browser to Firefox and your program will probably work.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Gave Reputation to Suzie999 in Converting a string to a hexadecimal string

    I'm quite the novice but are chars not just unsigned int values anyway? for example... char c = 0x41; // A cout << c <<endl; getchar();
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Converting a string to a hexadecimal string

    You're right Suzie999, there is no need to convert from char to hex -- char is already hex. Whether it is int or hex all depends on how you want …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    Freezing rain and sleet this morning, snow coming tonight.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Issue with Pointer

    line 15 of the original post increments ptr within the loop, which is ok. But ptr is not reset back to the beginning of the array before the next loop …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in basic operator overloading

    Make the two friend functions friends of CustomString, not LongInteger. In main(), don't use pointers. class CustomString { public: CustomString(std::string s) { SetStr(s); } CustomString(); void SetStr(std::string s) { vec.push_back(s); …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in basic operator overloading

    Like I said, that won't compile for the reason you just posted. In your program one of the parameters to the friend function must be a reference to LargeInteger class. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in tutorial

    [w3schools ](http://www.w3schools.com/)are not video tutorials, but worthwhile reading anyway.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in GUI programming

    I looked over the options in Visual Studio 2013 and, as far as I can tell, only MFC programs can be statically linked to the MFC dlls. None of the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Stopped Watching How is the weather today in your country?

    How is your weather in your country? I am living in the Philippines and the weather here today is stormy and according to news, we are overloaded of typhoons in …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in basic operator overloading

    > if (str != str2) Since the memory for str and str2 are allocated at runtime they two address will never be the same. Lines 10 and 14 are reversed, …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Menu() & Switch() ; switch() doesn't work properly..

    Insert a new line between lines 25 and 26 to print out the value of ch so that you can see what's happening.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in basic operator overloading

    How you write it is a little unconventional, but should still compile ok. You just have unnecessary parentheses. `for(std::vector<string>:: iterator s = str1.vec.begin(); s != str1.vec.end(); ++s)` I can't really …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in basic operator overloading

    line 7 is incorrect -- instead of ++i it should probably be ++s. does line 14 show that *s and *s2 are the same strings?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Unintended Link

    [Click Here](null) When you hit cancel should the editor put that text into the post?? If yes, then what's the purpose of the Cancel button?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Created Unintended Link

    How did the link get into [this post](http://www.daniweb.com/software-development/shell-scripting/threads/474195/file-in-unix#post2070691)? The op said he/she didn't put it there.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Function Callbacks problem?

    lines 12 and 15 are wrong. According to line 27 the parameter to multiply() is not a callback function, but just a simple integer. int multiply(int a, int x) { …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in weird int declaration

    LOL -- a beginner's mistake (embarrassed)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Gave Reputation to sepp2k in weird int declaration

    Yes, VLAs and implicit casts from void are not allowed in C++. You'll have to compile this as C code.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Gave Reputation to David W in Having hard time newbie

    Also ... you will have much more joy in your coding in C when you find some regular ways to easily handle the problem of char's left in the input …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in weird int declaration

    I have gcc version 4.8.1, (c) 2013 and may be outdated. It was installed with Code::Blocks version 13.12 just the other day. Here are the errors. mingw32-g++.exe -Wall -fexceptions -g …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in D-o-B

    >display star of entered date of birt What does that mean?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in c+++

    Sorry, we don't do you homework for you. Post your attempt to solve the problem then ask specific question(s) about what you don't understand.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in weird int declaration

    LINE 3 is not a valid C statement -- it won't compile with either VS2013 or MinGW (Code::Blocks)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in unistd.h

    My guess is that he found some code written for \*nix and is trying to compile it with an MS-Windows compiler -- MinGW compiler is pobably the only MS-Windows compiler …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in weird int declaration

    Lines 1, 5, and 6 are not valid C statements. Possibly some other language.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in C++ Payroll

    You are missing some brackets. statements that are two or more lines require brackets, like this: if (Exempt == 'Y' ) { cout << "Gross wages = " << (hoursWorked*hourlyRate) …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in file in unix

    Your link doesn't work.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Menu() & Switch() ; switch() doesn't work properly..

    The problem most likely is that after you enter the Choice you then press the Enter key. After line 25 the Enter key '\n' is still in the keyboard buffer …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Having hard time newbie

    line 64: you can not compare two character arrays using the == operator, you have to call strcmp() `if ( strcmp(custDB[i].state,stateCode) == 0)`
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in comparative analysis of parallel sorting algorithm on dual core architectur

    You need to create threads in order to do parallel program. How to do that depends on the operating system you are using, or threading extensions of c++11 standards. A …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in error 2065

    line 40: you forgot the class name before function name. `float Student::setEnglish(`
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in project

    Then you might want to start by learning a game driver such as OpenGL (there are others)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Java Application

    You start by learning the fundamental math of circles ([click here](http://www.mathgoodies.com/lessons/vol2/circumference.html)). Then you read your textbook or online tutorial about how to create a simple java program. No one here …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Memory Leak in Daniweb? (Chrome)

    For version, see [here](http://www.daniweb.com/community-center/daniweb-community-feedback/threads/473863/memory-leak-in-daniweb-chrome#post2069020)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Bad Grammar

    There's no ambiguity -- she refers to Stephanie. I don't recall the exact rule, but she always refers to the closest object, in this case Stephanie.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in undefined reference to 'readline'

    > but it's just a warning so I'm ignoring it. You should never ignore warnings (except maybe in compiler-supplied header files) because 90% of the time they are really errors.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in undefined reference to 'readline'

    Your computer is probably missing the readline folder and associated header files and library files.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Windows 7

    >The problem is that Win8 for the most part ignores those ports. My PC is running Windows 8.1 and it has lots of USB ports with no problems. Maybe it's …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Version Control

    >When I get it to a point where I want to do a checkpoint I type "archive projfolder" and it creates a zip file Does VS do that for you …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Unit Conversion wit C++

    line 50 should probably be the same as line 38.

The End.