• Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Using clang++

    If it's anything like gcc then `-o myfile` in the makefile link statement should do it.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    Nope -- get another hobby.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    >but there are still those freewares that force-install adware with and w/o your notification. Stop installing all those freewares, you are just asking for trouble.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Read and Write to File with ins and ext operators

    I think it wants you to just do this: ostream& operator<<(ofstream& out, CheckingWithInterest& wIAcct) { // write out the data from wIacct. out << ????? return out; } int main() …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    >most of my infections come from adware installers from "free" programs DON'T DO THAT ANY MORE!
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Read and Write to File with ins and ext operators

    The << operator overload has one simple task -- write to the stream that is the first parmeter to the function. If you add other things to the function then …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Qt remote database connection

    Are the values you put in lines 3-7 correct for the server you are trying to access (I assume you just posted dummy values here) ? Can you connect to …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in How to delete recent history in windows 8 . . ?

    AFAIK there is no such thing.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Microsoft Visual C# 2013 Step by Step

    >How does C++ not have lots of concepts you're assumed to know? @deceptikon: I said C#, not C++. And the first thing in C# you need to know is the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in How to delete recent history in windows 8 . . ?

    Install [CCleaner](http://www.software-watcher.com/listing/121963/CCleaner?did=10940&pid=1&ppd=search,38695043435,ccleaner,e,,c,0,,,&gclid=CPaVnu61ib4CFahAMgodNTEARw) -- it do0es a pretty good and thorough job at removing junk (e.g. temp) files, unneeded cookes, and other things.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    Tornadoes are as common around here as earth quakes in California. They can be devistating if you are at ground 0 but otherwise harmless.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Confused with timer behavior

    Before c++11 you would have to use an os-dependent function to create a thread, or use boost thread class. For exampe, in MS-Windows you could call the win32 api function …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in C arrays help

    `name` is a single character, it is not an array (see line 7). Therefore you can only enter a one-character name. I doubt that is what you want. Also, Stud_Names …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in so i have many different text file that i need to sort

    You could just read them into some array of structures or class then sort them in memory. If you want to know what a particular person signed up for then …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Learn Assembly language before other high level languages?

    It's called a bootloader (see [this link](http://en.wikipedia.org/wiki/Booting)). I never wrote one, so I can't really help you out with that.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in entire database

    what database are you using? What compiler and operating system?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    Cool again here today, had to turn the furnace back on last night to take off the chill. Yesterday there were some tornadoes about 20 miles away that killed 6 …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Lottery using arrays

    >I don't get how to make them match with each other. You will need two loops, one inside the other. The outer loop will step through each of the digits …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Problem With Vector Output

    variable named tau is a static variable, which means all instances of the class share the same value of tau. It retains only the last value that was assigned to …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Microsoft Visual C# 2013 Step by Step

    C# is a nice language -- if you already know C++. As a first language I think c++ could be easier and faster to learn then C#. If you have …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in ATM algorithm

    What language did you write the program in? You need to post the code you have written -- what you posted is ok, but doesn't help anyone to determine the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Lottery using arrays

    I assume the array of winning digits can not contain duplicate numbers -- for example this would be illegal: 7 1 4 7 2 5 because the number 7 appears …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Structs vs Classes

    you have the word const in the wrong place `void Draw() const` See [this tutorial](http://www.cprogramming.com/tutorial/const_correctness.html)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Confused with timer behavior

    You need to either use your compiler's debugger so that you can view the values of variables, or just put some print statements in the program to print out the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Can I apply a diff to an already altered file?

    There has to be two versions of the file so that diff can tell you the differences. How would you expect diff to work with only 1 file??? The two …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in USB issues

    >In the lower right hand side of of your window, last section on the right in the task bar, ... I never noticed that before.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Structs vs Classes

    lines 16-19 and 50-54. Remove the const keyword before void.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Can I apply a diff to an already altered file?

    diff is used to find the differences between two files. So you will need a copy of the file before the changes were made and a copy of the file …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Structs vs Classes

    In c++ stucts can even have methods just like class. The only method I use in a struct is a constructor to initialize all the data. If you add other …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Confused with timer behavior

    line 11: What??? That like saying `while( 1 != 2)` You could just delete lines 11 and 13 without changing that function. unsigned int timer(){ clock_t t; t = clock(); …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in USB issues

    >I've always understood you go in and click to remove USB hardware from the computer, click what? Not saying that's wrong, but I don't know what youre supposed to click.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in How do I extend MFC MDI application frame window to dual Monitors?

    >I tried to use it in my MDI application, but I failed. Why did it fail? Did you get compile error(s)? Did the example demo program work?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Need an algorithm for Tennis scoring.

    The first thing you should do is learn about tennis scoring rules. google for "tennis scoring rules" and you will come across [this site](http://tennis.about.com/cs/beginners/a/beginnerscore.htm), among several others.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Windows 7 64 bit

    >I was a clean install all right. If you did a clean install then the installer should have reformatted the hard drive before installing 64-bit Windows 7. If you have …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in I could really use some advice

    I was thinking that too -- I have a Chinese medical doctor whose last name is Hu.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Drag .txt file on .exe and start texteditor

    [Here](http://www.codeproject.com/Articles/3598/Drag-and-Drop-files-from-Windows-Explorer-to-Windo) is a C# drag & drop from FileExplorer tutorial
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    thunder stormes and rain all night. I had to turn on the air conditioning to take out all the humidity. Reminds me of [this song](https://www.youtube.com/watch?v=rWWVGyxvSCk).
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in serial communication interface

    Have you seen any of [these examples](https://www.google.com/#q=c%23+serial+communication+example)? At some point you just have to bite the dust and learn how to manipulate the serial ports so that your program can …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Help with overloading "<<" operator

    "hides the variable" means that if you have two variables with the same name, one global and another local, then the compiler will always use the local variable and ignore …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Windows 7 doesn't load

    It doesn't fix anything -- just tests the RAM chips to see if any are bad. If it finds bad ram chips then it's up to you to replace them. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Windows 7 doesn't load

    download [memtest32](http://www.memtest.org/). You will have to put it on a bootable disk or DVD then boot from that. It performs a very thorough check of the computer's RAM. You will …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Help with overloading "<<" operator

    The variable total on line 11 hides the variable total declared on line 10. Just delete parameter total on line 11.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Help with overloading "<<" operator

    >I guess I have found the limit of a overload. That's not the problem. Lines 43-46 pass 5 arguments, line 11 wants 6. Remove the last argument on line 5 …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    Snickers Dark Cholote -- OMG it's sooooo great! First time I ever tasted it.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    Yes, it's just one big fried onion. Very good, very tasty, and very heavy on the fat/calorie contents.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in *stl_algo.h C++ problem

    Looks like the problem is repeatValue() template. Why is that a template?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in *stl_algo.h C++ problem

    >When I try to compile my code in visual basic 2010 it gives me the error 1903 I think you meant to say Visual C++ 2010 Error 1903 just means …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in about '::' and MFC

    afx_msg is just a user-defined data type. Normal c++ stuff. right click afx_msg and the IDE will take you to where it's declared and defined. If you dont' know what …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in about '::' and MFC

    MFC uses a system of event message maps in the CView-derived class. For example in a newly created MFC SDI doc/view program, you will see this in the \*.cpp file …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Gave Reputation to nullptr in Help with overloading "<<" operator

    At line 63 you have `cout << CorpData;` You need to use an instance of CorpData, for example `cout << West;` You'll also need to set the precision when you …

The End.