No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
12 Posted Topics
Re: Narue, I am amazed at the depth and breadth of your C/C++ knowledge. You truly make this board worth reading. On a different note, I think I need to break the rust off my C++ skills. Your code makes me realize that C is not the be-all end-all of programming … | |
Re: If you you search for "xenu" on Google, you'll get the same result about a DMCA takedown notice (Blame those nutty scientologists). This is Google's way of following the letter of the law, and not returrning search results that they are legally prohibited from doing, yet providing the information to … | |
Re: [url="http://www.cplusplus.com/ref/cstdio/printf.html"]http://www.cplusplus.com/ref/cstdio/printf.html[/url] | |
Re: What's with the bizzarre capitalization in your message strings? Trying to read them is making my head hurt. :rolleyes: | |
Re: [QUOTE=dwks] And yes, array[-1] is valid. :) [/QUOTE] It may be valid, but I am starting to see some modern compilers complain about it. | |
Re: [QUOTE=Mac Paul]please send me a program of SRTF using c++, using linked list... i'm realy spending days trying to do it but i cant get it right so i need a basis for me to do it my own....[/QUOTE] Tell you what, why don't you show what you've done already, … | |
Re: Suggestion - create an array of pointers, and as you read in each word, use strdup() to put it on the heap, and save the new pointer in an array somewhere. This way when you get your pseudo-random number, you can just use that as the index of the array … | |
Re: I came up with three three-character words: ... -.. --. I don't see how to create the fourth one. | |
Re: What exactly is the problem with your program? What parts do you not understand or are having trouble with? | |
Re: [QUOTE=harrypotter]please explain in a clear way[/QUOTE] That wasn't clear? What Naru is saying is that there is no way in standard ANSI C to do what you are asking. However, there are extensions to the standard that allow for exactly what you want. For example, the getch() function (part of … | |
Re: If you are on a POSIX compliant system (Linux, UNIX, et al.) you can use stat() to get all sorts of interesting information about a file. Note that this is not part of the ANSI C standard, and as such is non-portable. |
The End.