• Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in check files in folder

    Is the file in the current working directory? If not then you have to add the full path to it. FindFileData.cFileName does not contain the path.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in using strtok function for counting the vowels in a string

    strtok() cannot be used the way you are trying to do it, you can't use it to count the repeating adjacent vowels because of the way strtok() works. >To determine …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in check files in folder

    You will have to read each file line-by-line and search for the string you want. Do that on line 49 of the code I posted, inside that do loop.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in using strtok function for counting the vowels in a string

    >char check[]="'a','e','i','o','u'"; That does not produce a null-terminated string, which strtok() requires. Just do this: `char check[] = "aeiou";` But --- Deceptikon has a better solutiom.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in GNU science library (GSL)

    You can learn all about it from [here](http://www.gnu.org/software/gsl/manual/html_node/)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in check files in folder

    The main reason your program doesn't work is because the first parameter to FindFirstFile() is incomplete -- it needs "\\\*.txt" added to the end of the path. The following code …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Pure C# to VB.Net Converter

    I would be very surprised if you found any language translator that did the job 100% correct -- the .NET functions would be easy, but the rest nearly impossible due …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Sorting Data of Nodes

    if( strcmp( i->next->data, step->data ) > 0) { } >I'm a newbie in C sorry i'm asking a lot Not a problem -- we were all in your shoes at …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in check files in folder

    It looks like you are on MS-Windows, so you can use the win32 api function [FindFirstFile](http://msdn.microsoft.com/en-us/library/windows/desktop/aa364418(v=vs.85).aspx)() and FindNextFile() to get a list of all the files in the desired folder. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Sorting Data of Nodes

    I think all you have to do is change line 10 to use strcmp()
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    >And between -10C and -20C is nice and comfortable. I'll bet you all are sun bathing in all that heat :)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in I need help with my exercice in c prog, please help

    Your program has a few compiler errors that needs to be fixed before you can run it, and that may be why it exits unexpectadly. line 29: There is no …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    >Wow, that is worse than the artics lol Naw -- just a bit chilly :) >Wanna trade? -27C isn't really all that cold -- I've seen it colder in Iowa …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in enum vs #define vs const

    >check the following article nice summary Yes, but not completly accurate. For example >4. switch can work with enum or #define but not with const. That's not true. This compiles …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Ruin the above poster's wish.

    Too late -- you can't take back a wish. I wish I knew everything about everything.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Ruin the above poster's wish.

    Granted, now all your bones creek, you're too fat, can't sleep at night, and have nightmares about wishing your life away.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Ruin the above poster's wish.

    Granted, you're now 80 years old and finished sophmore year in 1940. I wish I never heard of this game.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Yo mama

    Yo mama is so gorgeous I went blind when I saw her.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Ruin the above poster's wish.

    Granted, a dog bit your head off. I which I had a Ph.D.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in aide moi svp segmentation d'un document texte

    This is an English speaking forum, not many people here will be able to read that.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    Sunny and warm here too -- we will most likely catch hell next month.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Ruin the above poster's wish.

    Granted - but they are negative rep points. I which I could see snow again.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in help with c++ coding?

    Why are you using arrays to solve quadic equation with three unknowns? [This ](http://www.mathplanet.com/education/algebra-2/how-to-solve-system-of-linear-equations/solving-systems-of-equations-in-three-variables)is how I was taught to solve them.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Memorable Quotations

    >It becomes easy to spread a lie when no one knows what the truth is. - anonymous If no one knows what the truth is, how can it be a …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Create database tables from Visual Studio

    [Tutorial here](http://www.homeandlearn.co.uk/NET/vbNet.html) The free version may not describe what you want, I have a copy of the purchased version which as additional chapters and describes in detail exactly how to …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

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

    Unseasonally warm today, didn't even need a coat. Supposed to get warmer this weekend. I thought it was supposed to be middle of winter, not spring :)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in search a word from file using c++

    >just after this i hve 9 idea how to store , read the space after each word n show output ,,,, Please write in English -- I have no clue …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Beginner's Tutorial On Loop

    The only time I've ever seen goto useful is to break out of a very deeply nested set of loops. Too bad c++ didn't implement C's setjmp and longjmp functions …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in search a word from file using c++

    Please post the code you have done so far. No one here will write the program for you. Hint: you need to know how to read text files.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Seasons Greetings - Happy Holidays etc

    Now that Christmas is over for another year -- Happy New (Hicup) Year everyone :) I plan to have a glass of champaign with a shot of brandy on new …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Guess number game

    Are you required to have a switch statement in your program? If not, then why not just simplify it by replacing the swith with the if statemsements in test()? Simple …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in C++ linker error

    Visual Studio want angle brackets, not quotes, around the names of standard c++ and VS header files `#include <iostream>` >void main it's **int** main(), never **void** main() because main() always …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Bah Humbug

    I think Ebenezer Scrooge is the only one I've ever heard say the phrase "bah humbug", and then only in reference to the celebration of the Christmas season. Charles Dickens …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Bah Humbug

    >Xmas is the version that takes the Christ out of Christmas [Actually, no ](http://en.wikipedia.org/wiki/Xmas)-- xmas was the original spelling of Christ. > the "X" comes from the Greek letter Chi, …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Guess number game

    line 49: Why is time() part of the equation? rand() will generate a random number, no need to add value returned by time(). `int secret = 1 +(rand() % 100);` …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Member counters recalculated

    >Im unpopular no matter what i say so i decided not to care anymore. I have other things to worry about. I don't know why you have so many down …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in C++ linker error

    The IDE should have told you what those error numbers mean and on which line they occur. We can't tell you much about them unless you post the complete code. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Windows 7

    Is the hard drive nearly filled up?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in C++ linker error

    The limit only applies to old 16-bit compilers, and I think the compiler you installed is like that. Why don't you install either Code::Blocks with MinGW compiler or Visual Studio …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Happy New Year Daniweb

    [Jingle Bells, Jingel Bells, ](https://www.youtube.com/watch?v=3PgNPc-iFW8) Merry Christmas, and Happy New Year (Hicup!)
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in C++ linker error

    What new compiler did you install? Visual Studio will compile both 32 and 64 bit programs, its just an option change. The compiler itself is a 32 bit compiler and …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in C++

    Do the assignment one part at a time, don't attempt to do them all at once. Write/compile/test the first part of the assignment. If you have problems post your code …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Windows 7 to Windows 8.1 Upgrade

    I think all I have to do is delete c:\windows.old folder.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Created Windows 7 to Windows 8.1 Upgrade

    I just finished upgrading Windows 7 Pro to Windows 8.1 Pro. I thought it was supposed to keep all files and applications, but only a few of the applications were …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in finding a word in a file

    Please explain your problem in more detail. Can we help you do what, exactly?
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in C++

    What DiasplayEvent() are you talking about? I know of no such MS-Windows api function.
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in delete a line(string) from a file c++

    Instead of line 3 and 4, why not just this: if(line!=deleteMovie) { outfile<<line<<endl; }
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Ruin the above poster's wish.

    Granted, everyone is bored to death. I wish I could time travel
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in HealthCare.gov what is wrong?

    Many studies (such as [this one](http://www.washingtonpost.com/business/economy/research-ties-economic-inequality-to-gap-in-life-expectancy/2013/03/10/c7a323c4-7094-11e2-8b8d-e0b59a1b8e2a_story.html)) over the years have tied life expectancy to economic status. Whether availability of heal insurance has anything to do with it, I don't know. …
  • Member Avatar for Ancient Dragon
    Ancient Dragon

    Replied To a Post in Ruin the above poster's wish.

    Granted -- you are the ball in [this song](https://www.youtube.com/watch?v=_NWjehpGSO0) I winsh I were a mouse in Bill Gate's house.

The End.