• Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in info

    >i hope it usefull for you It's not -- have no idea what you're talking about.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Voting online

    Republicans aren't the only party guilty of that. Democrates are guilty as well, here in St Louis area a few years ago there were many dead people who voted Democrat. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in I need help with string

    Here I am using the function atoi() to convert a string to an integer. First extract the substring of the digits I need for the integer then pass a pointer …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in I need help with string

    line 14 won't work because you have to also enter the / between the numbers. Get the input as a string then parse the string to extract each of the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Voting online

    And how about those few paople who don't have computers?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in parallel arrays and putting them into a file

    This is the start of the function, now all you have to do is create two nested loops. The outermost loop iterated from 0 to 6 which displays the compainies, …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Problem Loading Page/Server Not Found

    >Download anything on the internet and you will have uninvited guests. Depends on where you browse and download from. If you download illegal stuff then yes, you will most likely …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in deploying a website

    Do you already subscribe to a [website hosting service](http://www.daniweb.com/business-exchange/webmaster-marketplace/36)?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Voting online

    I think electronic voting has been proven to be even less reliable then paper voting either because of bugs in the electronic software or hackers. It wouldn't be difficult for …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Problem with Chrome

    I use Chrome Version 33.0.1750.146 m on 64-bit Windows 8.1 and don't have that issue. Your screenshot looks like you have two instances of Chrome, one on top of the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in coding academy

    "Coding Academy" -- just another catchy phrase for online tutorial. Do you have one in mind? Post a link to it so we can see what you are talking about. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Bad Grammar

    gotten -- past tense of get. See [Marian Webster](http://www.merriam-webster.com/dictionary/gotten) dictionary. And in the [Oxyford Dictionary](http://www.oxforddictionaries.com/us/definition/american_english/gotten). The word dates back to Middle English, which was a few year before my time.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Converting string into uppercase

    typecasting doesn't work. You use the macro toupper() on each character in the string (use a loop) Example char c = 'a'; c = toupper(c); // convert to upper-case printf("%c\n", …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in LNK 1104

    On my computer the file is here: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib If you also have VS 2010 installed on the same computer there may be a conflict. See [this related …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Same code but this time error c2061

    You're missing the open brace { for the start of the do loop (line 25).
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Help :(

    >when I input a binary number it won't give an answer That's because b2 is an integer, binary numbers are character arrays, not integers. If you want to enter a …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Numbers to Text

    [Here's](http://www.daniweb.com/software-development/csharp/threads/53072/converting-numbers-to-text-equivalent) another similar thread that may give you some ideas.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Password checker with loops

    line 24 is incorrect -- `password.length();` length is a function call so you need parentheses. You might want to move the while loop on lines 21 and 22 up to …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Fstream Output prob

    Lines 41, 42 and 43 use the wrong file description. Should be dir, not newemployyee [edit]Oope! I didn't see the above when I posted this. Sorry for duplicating the answer …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Fatal Error c1075

    Since you are using Visual Studio, place the cursor on one of the open {, press Ctrl+] and it will move the cursor to the matching closing }. In the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Calling a Function

    Cross posting like this causes more problems than it's worth
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in How To Transfer Windows 8.1 App Saved Data?

    My guess is no, at least not without hacking the data file and possibly the Windows registry entries. But you might ask the author of the game if there is …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Calling a Function

    You don't need the switch statement inside the function, just inside main(). Delete lines 142-150 because that code is now in each of the functions that you created. void Binary2Decimal() …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Calling a Function

    This is [cross post](http://www.daniweb.com/software-development/cpp/threads/474492/calling-a-function) of the same thread in c++ forum?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Calling a Function

    It's very similar to how you coded main() #include<iostream.h> #include<conio.h> #include<stdio.h> void Binary2Decimal() { } int main() { }
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Calling a Function

    First create the empty functions what you need. Next copy the code from the swith statement into the functions Finally, replace the code in the swith statement with function calls. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in 2D array help

    >loops are the hardest thing. Yes they do seem difficult when you are first learning -- But, like most everything else you do, a little practice helps clarify things in …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in 2D array help

    You need to start a new loop on line 21, you can't reuse the same loop because the value of i counter is now beyond the bounds of the array. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in 2D array help

    post code
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in 2D array help

    use a loop very similar to the one I posted above except use cout instead of cin.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in 2D array help

    Start out by coding a very simple loop int i; for(i = 0; i < 5; i++) { // code goes here } that goes on line 10, after students …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in BACKSPACE PRob

    I don't know how to do it in Tubo C, but basically get current corsor position move the cursor back one character (probably with gotoxy() ) print a space at …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in database

    That's true -- if you are coding with MFC in C++. AFAIK C# has no such similar library. The closest I can think of is DataGridView.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in BACKSPACE PRob

    It doesn't remove the character from the window or change the cursor position because you never told it to do that. It only removes the charcter from passChar array. If …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Unhandeled exeption, access violation in vector for loop

    This works ok too int main() { Settings *s = new Settings; s->loadAndDrawFont(); delete s; }
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in BACKSPACE PRob

    Yes
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in BACKSPACE PRob

    yes, 8 is the scancode for backspace, but it's in input, not in passChar[i].
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Unhandeled exeption, access violation in vector for loop

    The problem might be line 61 -- al_draw_text(...), I don't have that library installed so I couldn't call it.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in BACKSPACE PRob

    See my previous post. passChar[i] will never contain the value of 8 because it hasn't been set yet.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in BACKSPACE PRob

    line 27 is wrong. `else if (input == 8 && i > 1)`
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Gave Reputation to urvisha in how to count the number of duplicated rows in the databade

    If you add any other column like name in below query ,than its not working without group by. SELECT name,COUNT(age) as AGECOUNT FROM table WHERE age = 14 That is …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in BACKSPACE PRob

    lines 3 and 4 of the code snippet untio posted are reversed -- have to zero out the current character before decrementing the value of i. neyoibarra: repost current code.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in BACKSPACE PRob

    line 30: should be `--i;` as previously mentioned, but -- be careful that the value of i does not go negative, such as pressing backspace too many times. So you …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Unhandeled exeption, access violation in vector for loop

    The problem must be soemthing else in the program that has corrupted stack or program memory. The code below works ok for me #include<string> #include<vector> #include<iostream> using namespace std; class …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    You can add any other columns you want, and that has already been posted 3 times. I don't think there is any need for the group by clause because there …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in graphics library problem in c

    [Here ](http://www.daniweb.com/software-development/cpp/threads/331239/how-to-configure-graphics.h-in-dev-c)is a related article you might find helpful.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    Google does many good things for you. Study [this link](http://www.codeproject.com/Questions/653013/Need-to-change-default-browser-in-vb-net-webbrowse)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in c++

    That's not a question, it's simply a statement of the program you have to write. -- we don't do homework for people. You write the program then ask specific question(s) …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Database

    See your other thread [here](http://www.daniweb.com/software-development/csharp/threads/474395/database).
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    ![5ec5c6cffeddfadcd44f0b599daf0631](/attachments/large/0/5ec5c6cffeddfadcd44f0b599daf0631.jpg "5ec5c6cffeddfadcd44f0b599daf0631")

The End.