5,676 Posted Topics

Member Avatar for nitrate

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...

Member Avatar for tycoon_007
0
134
Member Avatar for BABYDY21

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 …

Member Avatar for WaltP
0
78
Member Avatar for JoBe

[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 …

Member Avatar for ~s.o.s~
0
191
Member Avatar for cpato

[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.

Member Avatar for Nick Evan
0
598
Member Avatar for lotsofsloths

[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?

Member Avatar for lotsofsloths
0
173
Member Avatar for uu666

[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.... …

Member Avatar for Salem
0
140
Member Avatar for caltiger

[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 …

Member Avatar for apurv
0
661
Member Avatar for amishosh

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 …

Member Avatar for amishosh
0
96
Member Avatar for wayani

[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 …

Member Avatar for WaltP
0
261
Member Avatar for Jishnu

[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 …

Member Avatar for jwenting
0
289
Member Avatar for Boldgamer

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.

Member Avatar for John A
0
254
Member Avatar for jtb19nh

[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... ;)

Member Avatar for zaf
0
240
Member Avatar for campkev

[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... ;)

Member Avatar for jwenting
0
3K
Member Avatar for dukiduki

[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 …

Member Avatar for dwks
0
220
Member Avatar for Lynqu2

[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 …

Member Avatar for Lynqu2
0
455
Member Avatar for flamecly

[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.

Member Avatar for Colin Mac
0
264
Member Avatar for elodie

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 …

Member Avatar for Lerner
0
1K
Member Avatar for fesago90

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.

Member Avatar for jwenting
0
140
Member Avatar for shouvik.d

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 …

Member Avatar for shouvik.d
0
277
Member Avatar for rajbasu

[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]

Member Avatar for Salem
0
125
Member Avatar for jack19

[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.

Member Avatar for jwenting
0
144
Member Avatar for purple rainx

[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 …

Member Avatar for Chaky
0
698
Member Avatar for John A

Great news! So we'll have a [B]Naruite[/B] on the board soon, I'll wager. The next generation of DaniWeb members!

Member Avatar for Narue
0
136
Member Avatar for naknik

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 …

Member Avatar for zabina
0
99
Member Avatar for The Dude
Re: laff

[QUOTE=joeprogrammer;299839]And the point is...?[/QUOTE] It's cute, and the laughing is contagious...

Member Avatar for The Dude
0
64
Member Avatar for rbinc

[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...

Member Avatar for WaltP
0
269
Member Avatar for TheNNS

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.

Member Avatar for 'Stein
0
69
Member Avatar for bops

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 …

Member Avatar for WaltP
0
279
Member Avatar for EJCBmore03

>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 …

Member Avatar for WaltP
0
178
Member Avatar for jan1024188
Member Avatar for John A
0
141
Member Avatar for dcc

[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 …

Member Avatar for happygeek
0
140
Member Avatar for roryt

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]

Member Avatar for happygeek
0
241
Member Avatar for Dani

[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...

Member Avatar for WaltP
1
455
Member Avatar for 80s

[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 …

Member Avatar for Aia
0
497
Member Avatar for gabs

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.

Member Avatar for jbennet
0
146
Member Avatar for jan1024188

[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?

Member Avatar for Ancient Dragon
0
110
Member Avatar for The Dude

[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 :))

Member Avatar for ~s.o.s~
0
141
Member Avatar for umairsaleem_88

[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:

Member Avatar for WaltP
0
114
Member Avatar for deostroll

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.

Member Avatar for apurv
0
143
Member Avatar for murschech

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! ;)

Member Avatar for Ravalon
1
160
Member Avatar for xibnoe

[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 …

Member Avatar for WaltP
0
2K
Member Avatar for mattyd

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!

Member Avatar for WaltP
0
28
Member Avatar for Gunner54

[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 …

Member Avatar for WaltP
0
167
Member Avatar for mattyd

[QUOTE=happygeek;297200]Mind you, she is 18 now and [I]totally senile[/I].[/QUOTE] How can you tell? She's a cat! :)

Member Avatar for happygeek
0
56
Member Avatar for Nick Evan

Oh, oh!! Me! Me!! **[I]he shouts waving his hands wildly[/I]** :mrgreen: (just kidding)

Member Avatar for WaltP
3
135
Member Avatar for jbennet

[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? ;)

Member Avatar for happygeek
0
240
Member Avatar for Stuki

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 …

Member Avatar for Dani
0
283
Member Avatar for MoeZen

[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 …

Member Avatar for WaltP
0
99
Member Avatar for Dani

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 …

Member Avatar for BamaStangGuy
0
396
Member Avatar for Mr.UNOwen

[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 …

Member Avatar for WaltP
0
129

The End.