5,676 Posted Topics
Re: After two years and his last login was Jun 1st 2005 2:22 pm I wouldn't hold my breath waiting for a response. It really does help to look at post dates... | |
Re: Start by putting a timer and a text box on a form. Set the timer's [I]enabled[/I] property to TRUE and [I]interval[/I] to 2000 (2 seconds, 2000 milliseconds) Now in the timer's TIMER function, increment a value and put it in the text box's [I]text[/I] property. You now should have a … | |
Re: [QUOTE=JoBe;298277]I'd appreciate it if you didn't call me Mr. Jobe, makes me feel old and superior somehow, either JoBe or Johan(my real name) will do ;) [/QUOTE] Good luck getting Mr. [B]~s.o.s~[/B] to do that :mrgreen: He is a very respectful person -- to a fault... [QUOTE=JoBe;298277]I certainly think it's … | |
Re: [QUOTE=cpato;305356]thanxz im tryin 2 figure out the rest if i need nemore help ill let u kno...[/QUOTE] [B]CPato[/B], did you read [url=http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies]the Rules[/url]? You definitely need to read the first paragraph of [url=http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies#faq_keep_it_clean]this[/url] and [url=http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies#faq_keep_it_on_the_site]this[/url] rule. | |
Re: [QUOTE=joeprogrammer;301942]I would recommend going with Code::Blocks[/QUOTE] I've see a lot of mention of this compiler here, but I don't remember anyone posting a link. Wouldn't that be a good idea when it's recommended? | |
Re: [QUOTE=uu666;283246]Hello! here is what I wanna do: I have a while() statement, and inside of it I have some instructions to repeat. My problem is that, I want somehow to stop that loop ONLY when I press a key... I it's kinda like getch() but getch() waits for a keypress.... … | |
Re: [QUOTE=caltiger;302385]For win32 i can use case WM_KEYDOWN: tod etect a keypress during the course of a program... but wat can i do if i have to do teh same for a platfornm independent application??? Thanks,[/QUOTE] There is no platform independent way to do what you want. Each platform may (or … | |
Re: Only the direction each '*' is moving needs to be saved. The coordinates of the first '*' needs to be remembered, but not each one. And the coordinate where the snake turns has to be remembered. And rather than reallocating the size, just make a static array. Define it to … | |
Re: [QUOTE=wayani;304165]Oh, okay. So it's not any specific language, it's just an example? [/QUOTE] In a sense. It's a list of instructions to accomplish the job. Another example of pseudocode would be: 1) Open the car door 2) Slide in behind the steering wheel 3) Close the door 4) Insert the … | |
Re: [QUOTE=jwenting;303774]globals are evil. They reek of design errors. But if you insist on using them, put them in a header file you #include in everything.[/QUOTE] And in so doing create multiple definition errors for each variable. Instead, put the [INLINECODE]extern[/INLINECODE] declarations in the header file and leave the globals defined … | |
Re: Another thing you need to do is indent your code properly. Break the habit now of left-justified code because as you progress to larger programs, the bad habit will be harder to break and your code becomes unreadable very quicky. | |
Re: [QUOTE=pty;302171]VB6 came out nearly 10 years ago and apart from maintaining old apps nobody really uses it (I'll probably get told otherwise but nobody uses it for anything serious).[/quote] See [url=http://www.daniweb.com/techtalkforums/thread65642-2.html]this thread[/url], starting 3rd post from the bottom... ;) | |
Re: [QUOTE=campkev;296966]...was just looking for a function that was already written and handled all of them rather than doing them each individually....[/QUOTE] Nope, sorry. You have to be efficient on your own... ;) | |
Re: [QUOTE=dukiduki;299867]Hmm,first sorry for some grammar mistakes...[/quote] We can help you out with that a little. To make your posts more understandable, English uses spaces after commas (,) and periods (.). For example, note the space after that comma. And also note the space after that period. This will help. The … | |
Re: [QUOTE=Ancient Dragon;301331]:eek: :eek: A college and university is supposed to teach you about moden skills. If you want to be an archologist and learn ancient laguages then learn VB6 But if you want to learn a skill that you can actually use on a job somewhere learn VB .NET. VB6 … | |
Re: [QUOTE=flamecly;302021]This is a small program i have try to do but with errors... can anyone help me to solve up the error?[/QUOTE] What error? We can't help it you don't tell us. | |
Re: I don't see a problem here. You claim [code=cplusplus] if (OpenFileDialog->Execute()) { dave = OpenFileDialog->FileName; std::ifstream infile(dave.c_str(), std::ios::in | std::ios::binary); } [/code]doesn't work. Well, [INLINECODE]infile[/INLINECODE] doesn't take C-Strings, does it? Then you say [code=cplusplus] dave = "H:\\MyDocuments\\file"; std::ifstream infile(dave.c_str(), std::ios::in | std::ios::binary); [/code] works fine. So use the form that … | |
Re: It would be easier to read youe header record, then read the number of students specified into a student array. After you add a new student to the array, recreate the file by outputting the header and all the students. | |
Re: OK, here's the synopsis of the problem 1) you have private values in a class and you cannot change the class 2) private values cannot be accessed in a class without the class allowing access 3) if the class does not have methods created that allow access, you cannot access … | |
Re: [QUOTE=rajbasu;301086]To reverse a given number[/QUOTE] To reverse a given number? That's a weird question. Have you read the [url=http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies]Forum Rules[/url] | |
Re: [QUOTE=jack19;295781]Is anyone there to provide me with some guidelines please Suggestions will be appreciated.. Thank you[/QUOTE] To what? You got a suggestion. You were also asked questions which you ignored. Please be less vague and acknowledge what has already been given. | |
Re: [QUOTE=Narue;284065]>So, any other females here besides myself and Dani I'm having trouble deciding how to categorize your motivation in asking that. I've settled on one of these three: 1) You couldn't think of anything better to talk about. 2) You're trolling by subtly bringing up a topic that will divide … | |
Re: Great news! So we'll have a [B]Naruite[/B] on the board soon, I'll wager. The next generation of DaniWeb members! | |
Re: First you need to figure out what's wrong -- and that's the hard part. One thing that's probably wrong is way too many programs and services getting loaded when you boot like Real Audio, Quicktime, and other. Look into [url=http://mlin.net/StartupCPL.shtml]Mike Lin's "Startup Control Panel"[/url] to remove unwanted startups. THat would … | |
Re: [QUOTE=joeprogrammer;299839]And the point is...?[/QUOTE] It's cute, and the laughing is contagious... | |
Re: [QUOTE=apurv;298313]i work in tubo c compiler. if u want 2 enode using that, i can help.[/QUOTE] He's asking about a loop which is not a compiler dependent command. Even [I]Digital Mars[/I] could handle this... | |
Re: I think you should do it. How else do you get experience except by doing it? Don't let others tell you you can't or shouldn't. Prove 'em wrong. | |
Re: How about a slight modification that uses the the knowledge that c-strings are always terminated with \0: [CODE=cplusplus] void cremoveFirstChars(char * buffer) { char* actualMessage = new char[sizeof(buffer)]; p = -1; // initialize the pointer do { p++; // next character actualMessage[p] = buffer[p+2]; } while (!actualMessage[p]); // stop after … | |
Re: >First of all, use code tags. It makes code much easier to read (more info in my signature.) Yes, please >Don't use iostream.h, as it's outdated. void main should be avoided at all costs (see my signature also). Absolutely agree >You should use a proper compiler instead of Turbo that … | |
| |
Re: [QUOTE=cscgal;298332]Just remember to always use the Flag Bad Post link from now on ... us mods have our own way of handling things when that feature is used, and it is definitely the most speediest method.[/QUOTE] "the most speediest method"? Now I know why you're into computers. I'm also ESL … | |
Re: I usually have problems with the rule "[I][B]I[/B] before [B]e[/B], except after [B]c[/B], or when sounding like [B]a[/B] such as neighbor and weigh...[/I]" thanks to: [INDENT]albeit atheist codeine counterfeit deify Einstein either foreign forfeit height leisure neither protein seismic seize sheik sovereign their weird [/INDENT] | |
Re: [QUOTE=~s.o.s~;298827]And btw, what goes around always comes around.....[/QUOTE] ... especially hubcaps. And they make a kool noise, toooo. rouwr, rouwr, rouwr, rouwr, rouwr... | |
Re: [QUOTE=80s;296030]Hi All :mrgreen: , was mucking about with a small programme I have which makes a triangle pattern when entering in a number. It uses nested For loops. I now want to create the same thing using functions as im only just beginning to learn the C language. I have … | |
Re: Doesn't VC++ have an option to create a deployment or application wizard? With this you create a setup file and the DLLs needed are loaded into the target system. | |
Re: [QUOTE=jan1024188;298880][QUOTE=Ancient Dragon;298345]If you don't know what a HWND is, then here is a good [URL="http://www.winprog.org/tutorial/"]tutorial[/URL] intruduction into MS-Windows programming.[/QUOTE] so could you quickly tell me what is HWND?[/QUOTE] Is there someting about [B]Ancient Dragon[/B]'s statement you didn't understand? | |
Re: [url]http://mywebpages.comcast.net/iac88/waltp.JPG[/url] (it ain't me :() [url]http://www.justdisney.com/images/walt_disney_photos/Walt_in_office.JPG[/url] (searched for Walt -- it figures :)) | |
Re: [QUOTE=Ancient Dragon;296057]that compiler does not compile c++ code -- its a C compiler.:rolleyes:[/QUOTE] Really? My copy of Turbo 1 does. When did they remove C++? :rolleyes: | |
Re: While you are waiting for a key, call you cursor blink function. When a key is pressed, stop calling it. Process the key and go back to your wait loop. | |
Re: Keep in mind, [I]cin[/I] is the C++ version of C's [I]scanf()[/I] and must be used appropriately. IMAO that means -- don't! ;) | |
Re: [QUOTE=xibnoe;298042]I try read a story text file using c. the problem is i want one paragraf in one variabel. i am confuse how much i should alocate the buffer size?[/quote] Unless you know how many characters in your paragraph, you can't just allocate a buffer. As [B]AD[/B] suggests, you can … | |
Re: Definitely kool pix. But why flash?!?!? I used a satellite map site to look at the [url=http://local.live.com/default.aspx?cp=29.97|31.13&style=h&lvl=13&v=1]Pyramids[/url] and [url=http://local.live.com/default.aspx?cp=51.179|-1.826&style=h&lvl=18&v=1]Stonehenge[/url] -- really neat hobby -- but these pix are amazingly clear! | |
Re: [QUOTE=Gunner54;297333]Hi, i have made a code. Its meant to announce a "Sentence" but i dont know how to make a string into a sentece. The string up to now only announces the first word of the sentece. [CODE] //Announce }else if(memcmp((void*)lpcLine, "/announce ", 10) == 0){ bRet = false; char … | |
Re: [QUOTE=happygeek;297200]Mind you, she is 18 now and [I]totally senile[/I].[/QUOTE] How can you tell? She's a cat! :) | |
Re: Oh, oh!! Me! Me!! **[I]he shouts waving his hands wildly[/I]** :mrgreen: (just kidding) | |
Re: [QUOTE=jbennet;289845]they did. Did you hear about the massive raid in britain a month or 2 ago?[/QUOTE] Then why is it still happening? ;) | |
Re: Thank you, Joe. I get really tired of hearing that glogal warming is caused by "[I]over-industrialized nations and their spoiled citizens[/I]". It's a proven fact that it is a natural cycle and we have little or nothing to do with it. And add to that the average yearly temperature has … | |
Re: [QUOTE=MoeZen;189278]Greetings all. Its been some years since I did anything in QB. I need to manipulate a txt file so it can be imported into MSAccess. Problem: The file is already comma delimitted, however each line of text contains multiple records. I need to insert a <return> after every 35 … | |
Re: I was in Detroit and got to see it fall real-time rather than at 11PM for once. (althought I don't make it a practice). I'm sure most of the country actually watches it. It's not just the "time" but the extravaganza of it. And I think the other time zones … | |
Re: [QUOTE=Mr.UNOwen;296553]Well I'm not looking for a single function to do all this really. I mean alot of HDs are formated in NTFS or FAT32, so if I'm correct HDs have something called FAT which says where everything is located. So how is that data expressed. Is it a list of … |
The End.