• Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Lagging again

    It happened again to me just now.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Gave Reputation to android9000 in A trick

    this looks kind of cool. http://www.eklavya.org/magic9-1.html
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Lagging again

    Sometimes I click a menu and nothing happens for a long time. Other times I double post because I didn't think anything happened when I clicked the Submit button.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Bad Grammar

    > but I find it annoying when used in other situations Especially when posting in any of these forums!
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in A trick

    What is so magical about the digit 9, except turn it upside down and it becomes 6?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Created Shirley Temple Black

    RIP -- she died recently at young age of 85. Those in my age group will remember her as the sweeet little curley haired girl in movies. She made a …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Using other (non-standard) libraries in C++ of course

    I already explained in the second paragraph how to tell the compiler where to find the lib files. > Is it right to say that as long as a library …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in project

    How much c++ do you know? If you're a beginner then you need to study c++ for about a year (maybe longer) before attempting that program.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Gave Reputation to Banfa in Size Of Structure.

    There are a couple of negative implications. Firstly if you compile and run a program on 1 machine that writes a structure directly to a file in binary form using …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Using other (non-standard) libraries in C++ of course

    Go to Project --> <Project name> Properties (last menu item) --> Configuration Properties --> Linker --> Input. Then in the right pane, add the lib name in the first item …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in i like openoffice much better than ms office, what do you think?

    New versions of Word can always save in older version formats, so it wasn't really necessary for everyone to upgrade unless there were other reasons to do so.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in I do not understan why it says that "new" undeclaret ! Can you help me?

    new is a c++, not a C. In C call malloc() or callc() to allocate memory, and free() to release it.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in i like openoffice much better than ms office, what do you think?

    Not likely -- each new version of Word has it's own doc format which is incompatible with previous versions.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in KUBUNTU 12 04 Disabled Windows partition

    Do you have a windows repair disk? Did you make backup before you started screwing up your computer?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in c++

    [click this link](http://lmgtfy.com/?q=c%2B%2B+video+tutorial)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in BIGINARS TO VB

    I'd recommend you learn VB.NET instead of a 15-20 year old compiler like VB 6.0. You can get VB.NET Express for free, just download it from Microsoft. There are lots …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in i like openoffice much better than ms office, what do you think?

    >hmm, I've Office 2010 installed on Win 8.1 and it runs just fine :) I wanted to use Office 2012 but it wouldn't run on Windows 8. Never tried it …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Hot Beverages at BaristaLavazza

    We have [Starbuks ](http://www.starbucks.com/?gclid=CKzko9LWwrwCFe1aMgodnG0A1Q)around here -- good product but much overpriced. I like Hills Bros double mocha cappuccino that I make at home.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Structs and Unions + Randoms Got me down

    You need to pass Number to assign() by reference, not by value so that assign() can change the structure that is declared in main().
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Computer crashed while playing Diablo III

    I updated Nvidia drivers but that didn't fix the problem.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Edited Computer crashed while playing Diablo III

    I'm running 64-bit Windows 8.1 on a PC with 16 Gig RAM and 8 cores. I've noticed a lot of lag, e.g. all action momentarily stops and when it starts …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Edited Computer crashed while playing Diablo III

    I'm running 64-bit Windows 8.1 on a PC with 16 Gig RAM and 8 cores. I've noticed a lot of lag, e.g. all action momentarily stops and when it starts …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Created Computer crashed while playing Diablo III

    I'm running 64-bit Windows 8.1 on a PC with 16 Gig RAM and 8 cores. I've noticed a lot of lag, e.g. all action momentarily stops and when it starts …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in deleting the middle node

    Can you post the complete program? Are you setting the next pointer to NULL after a new node is allocated? If you don't do that then the rest of the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Size Of Structure.

    Some compilers let you select the padding size, or no padding at all regardless of what the members of the structure consist of. If I'm writing a program to transfer …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Parallel program using openmp threading

    why would you want to do that with threading?? I don't see how threading would help solve the problem, except maybe for huge values of N. In that case you …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in deleting the middle node

    Move lines 3 and 4 down after that first if statement, between lines 10 and 11. If master is null (line 10) then line 4 will cause a seg fault. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Reading input for a text file/format

    Open std::ifstream for input int item_numnber[3]; float item_prices[3]; int item_qry[3]; In a loop, use ifstream's >> operator to read each field into it's array element.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Multiple definition of functions help pls

    >#include "coduri functie.c" Never, ever, for any reason include one \*.c file in another. If your program uses more than one \*.c file then compile each one separately and link …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Accessing executable file for C#

    >How can I find the executable file You could just use File Explorer, enter the program name in the search bar, and let File Explorer find it for you.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Help with my homework (begginer)

    It's almost impossible to test for equality with floats because the varables can contain small rounding errors. It is better to convert both floats to strings then compare the two …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in acces database conection

    ODBC -- [see this tutorial](https://www.google.com/#q=odbc+tutorial+c%2B%2B). If you use one of the Microsoft compilers when you can also use ADO.NET
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Write a function in C++ to write N number of record in binary files ‘hospit

    No one here is going to write your program for you. Here are some basic steps needed to complete your assignment. Step 1: create a structure that contains all the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in time.h

    [Here](http://www.cplusplus.com/reference/ctime/) is a complete list of the available time functions. When to use what all depends on what you want to do.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in fscanf utilisation

    delete line 30, it's already reading the file in line 27. Post the function that writes the file. A lot easier way to do it is to read/write binary files …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in cargo booking system

    I worked on such a project about 10 years ago, I was one of a team of nearly 100 people and it took about 3 years.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Help with my homework (begginer)

    The program is doing integer division which means no fractions because number1 and number2 are both integers. You can correct the problem by typcasting either the numerator or demoninator to …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Pointers and Strings.

    The difference between `char *str="Hello World!!";.` and `char str[]="Hello World!!";.` is that char\* str is just a pointer into read-only memory where the string "Hello World" is actually stored, it's …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Help regarding analyzing a set of ascending numbers.

    In lines 30-32 I think your trying to find out if a<b<c. if( a%b > 0 && b%c > 0) then a<b<c. So line 31 is backwards, should be b%c …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Help regarding analyzing a set of ascending numbers.

    To determine if a<b<c why not just use the normal simple if statement if( (a < b) && (b < c) ) { // true } then to determine if …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in system() function

    Sounds like the console window is closing and killing the mp3. Add a PAUSE in the batch file after the line that plays the mp3 to keep the console window …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Random number and Mode

    what do you expect? Your pogram is generating 30 random numbers that are between 1 and 30.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Created Tables in Text Editor

    Is it possible to create tables in the text editor that will retain spacing -- something like code tags but without line numbers?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Random number and Mode

    The mode is the number that appears the most often in the array. If the array contains {1,2,1,3,4,5,8} the mode is 1 because it appears twice and all others appear …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in error C4703: potentially uninitialized local pointer variable

    I think you can remove the warning by initializing those two pointers to NULL when they are declared on lines 18 and 19.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Quick fire Pre-Compiled Header Questions

    >So why shouldn't I put everything in PCHs? That is a compiler-generated file, you can't do anything with it except delete it when it's no longer needed.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Quick fire Pre-Compiled Header Questions

    Everything in stdafx.h is included in precompiled headers. Yes, the linker only links into the executable the functions etc. that are actually referenced in the program or one of the …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Quick fire Pre-Compiled Header Questions

    I assume you are using one of the Microsoft c++ compilers. If you want precompiled headers then every \*.cpp file in the project must include stdafx.h as the first header …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in C++ database connection - C::B and mingw, NO .NET

    Have you read [this article](http://msdn.microsoft.com/en-us/library/cc811599.aspx#Y3869)? -- be warned that it isn't easy.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in I need a hit!

    It worked for me Enter size of array: 5 Enter elements: 1 2 3 4 5 The elements after shifting the array: 0 1 2 3 4 5 Press any …

The End.