2,839 Posted Topics

Member Avatar for flageolet

[quote=flageolet;300051]hi If I ask how many patiënts have to be operated, the program should create a variable for each patiënt that can contain their individual data. [/quote] You could use vectors to store pointers to 'patient'classes. That way you could 'create' patients at runtime. Regards Niek

Member Avatar for flageolet
0
95
Member Avatar for apurv
Re: Help

[quote=apurv;300011] [B][COLOR=blue]Can anybody plz tell me their equivalents ?[/COLOR][/B][/quote] [inlinecode]system("cls");[/inlinecode] for clearing the screen. This is NOT portable so it's not a good thing to use it. Why do you need it? [inlinecode]Gotoxy();[/inlinecode] is a different story. You first need a handle to your console window, use [inlinecode]GetConsoleWindow() [/inlinecode]for that. …

Member Avatar for andor
0
112
Member Avatar for mrnice

This error normally occurs when something went wrong with installing SP2. Perhaps the program you installed used some old config. Anyway, to solve the problem you'll have to repair windows with the XP cd. [edit] Found [URL="http://www.pcreview.co.uk/forums/thread-1506995.php"]something else[/URL], you could try it [/edit]

Member Avatar for Nick Evan
0
85
Member Avatar for tdale

[QUOTE] . Can I make the drive a slave without having power to the unit. [/QUOTE] Yes, it's setting one jumber on the back of the drive. For your PSU: Big change you just blew your fuse.. That's what it's there for. Repare costs 5 bucks I guess. Don't try …

Member Avatar for JANINE1
0
155
Member Avatar for TheNNS

[QUOTE]By the way, I want to make an electric guitar. [/QUOTE] hmm... How much experience do you have with guitars and carpeting? Building a 'decent' guitar (one that would cost >100 bucks) is very difficult. You shouldn't make a neck yourself but buy it. If you're off by millimeters on …

Member Avatar for 'Stein
0
69
Member Avatar for mattyd

[quote=sharky_machine;299589]Logic game: [URL]http://www.i-am-bored.com/bored_link.cfm?link_id=21428[/URL][/quote] fail to see the logic in level 9 [edit] never mind....made it to 10, took to much time so I quit[/edit] Niek

Member Avatar for Nick Evan
0
24
Member Avatar for Cordillera

[quote=Cordillera;299185][COLOR=blue] I will like to hear from same one , if this Laptop has a build in infrared system as it apparently has, but as I don’t have a book (second hand laptop), mi information is limited. [/COLOR][/quote] Well, you do have an IR-port it's in the back of the …

Member Avatar for Cordillera
0
116
Member Avatar for bops

First of all: Why are you using char[] with C++? You should use strings. This line :[INLINECODE]char actualMessage[sizeof(buffer)-2]; [/INLINECODE] is causing some troubles. Since you have shown effort in making it yourself: [CODE=cplusplus] void cremoveFirstChars(char * buffer) { char* actualMessage = new char[sizeof(buffer)]; for (int a = 0; a <=strlen(buffer) …

Member Avatar for WaltP
0
281
Member Avatar for meaculpa

[quote=meaculpa;299089]Do you know if there is any free game engine??[/quote] Yes, please read [URL="http://www.daniweb.com/techtalkforums/thread63827.html"]this[/URL]. You could also try the Irrlicht engine, it's free and relatively ease to use. Next time, please do not hijack someone else' thread, post your question in a new thread. Regards Niek

Member Avatar for whap
0
122
Member Avatar for roryt

[quote=WaltP;298335]Not me 'cuz I know how to avoid that misteak! :)[/quote] tsss.. didn't you read the [URL="http://www.daniweb.com/techtalkforums/faq.php?s=&do=search&q=leet&match=all&titlesonly=0"]forum rules[/URL] :) Niek

Member Avatar for happygeek
0
242
Member Avatar for Dani

[quote=joeprogrammer;297028]ME TOO! :cheesy: (j/k, although you can if you want) I have a real question now: when it talks about all those moderators stepping down for "personal reasons", how come there wasn't more warning? I just looked one day, and suddenly DMR had shifted ranks from "Super mod" to "Team …

Member Avatar for WaltP
1
456
Member Avatar for 80s
Member Avatar for gabs

[quote=Bench;298742] and did you compile it in Release Mode (rather than debug mode)?[/quote] I think that might be the problem. Go to build --> Configuration Manager and select 'Release' instead of 'debug', close the window and press F5. You will now have a new sub-directory in your project's folder 'release' …

Member Avatar for jbennet
0
146
Member Avatar for The Dude

hmm looked for niek_e and found: [URL]http://www.thefailures.nl/bio/nieke.gif[/URL] it is me actually.... No suprises.

Member Avatar for ~s.o.s~
0
142
Member Avatar for jbennet

[quote=iamthwee;297758]It would be interesting to see your progress in vb.net. [/quote] Agreed. I'm trying some things in C++, but I would like to have a look in your VB.net project. Regards Niek

Member Avatar for jbennet
0
522
Member Avatar for nitinmoriwal

[quote=nitinmoriwal;298569]thanks for your answer. i wanted to know, do we have any conversion function in C to convert ascii to long double as the same way we do for atof()?[/quote] Use Joey's advice and just put the word 'long' in front of 'double' Niek

Member Avatar for Nick Evan
0
406
Member Avatar for rustieblue

[QUOTE=rustieblue] Thanks a bunch for the welcome! Did I post in the right place? [/QUOTE] Well, if your looking for help with your guestbook you should try the [URL="http://www.daniweb.com/techtalkforums/forum31.html"]web-development forum.[/URL] Niek

Member Avatar for rustieblue
1
105
Member Avatar for Qube
Member Avatar for Nick Evan

Chaky opened a thread on rep a while ago and I just finished reading it when I found out it was closed for some reason (I seem to recall there being more messages in that thread....). I've got quite a lot of posts for which I have recieved rep, but …

Member Avatar for WaltP
3
135
Member Avatar for jan1024188

[quote=jan1024188;297183]hi I am new to C++ and I want to vrite some kind of "virus" for windows. [/quote] We should help you write a virus? Wait.. let me think about it.... No...Sorry

Member Avatar for jan1024188
0
203
Member Avatar for jbennet

[quote=~s.o.s~;296318]Ah...it really was fun when the policy was strict against bumping threads. Me and Wolfie really had fun closing the threads with a really cool comment ( "Dont ressurrect dead threads like a Shaman" ;) ). Oh those days.........[/quote] I remember having arguments with you or WolfPack because Shamans don't …

Member Avatar for happygeek
0
241
Member Avatar for bernard_wanjohi

[quote=bernard_wanjohi] write a program that awards marks depending on the instane of the guess you make. [/quote] YES SIR! ;) You might want to [URL="http://www.daniweb.com/techtalkforums/announcement8-2.html"]read this[/URL] What have you got so far? Niek

Member Avatar for Nick Evan
0
78
Member Avatar for sabatas
Member Avatar for Nick Evan
0
109
Member Avatar for sivaslieko++

I don't want to state the obvious but: [code]char mytext[5] = {'1','2','3','4','\0'};[/code] mytext[0] == 1 mytext[1] == 2 etc.... Or am I missing your point here? I've had quite a mind-destroying week so it could be... p.s. Happy newyear everybody

Member Avatar for sivaslieko++
0
483
Member Avatar for Jessehk

How about one with a recursive function? [code]#include <stdio.h> int count(int); int main() { return count(0); } int count(int iTeller) { iTeller++; printf("%d ", iTeller); if (iTeller < 10) count(iTeller); else return 0; } [/code]

Member Avatar for Maidomax
0
991
Member Avatar for mattyd

Smoked for 7 years, no intention to stop even with the prices nowadays. [quote=jwenting] smokers however do cause severe problems for non-smokers indirectly [/quote] That's true and I always ask people if it's ok before lighting a sigarette. But people with fuel-guzling-cars also cause healthproblems... But I'll probably have to …

Member Avatar for Dave Sinkula
0
248
Member Avatar for gator7man

[quote] MSIE: Internet Explorer v7.00 (7.00.5730.0011) [/quote] Could it be that these problems started when you installed IE7? You wouldn't be the first having all kinds of problems with it... Regards Niek

Member Avatar for gator7man
0
139
Member Avatar for mrsdts

A few things: - You shouldn't reply to a 2 year old thread - If you post a new thread, you should do this in the correct forum, which would be: Hardware For your problem: Somethings wrong with the bios, perhaps the battery is dead. If that's not the case …

Member Avatar for Nick Evan
0
158
Member Avatar for manu124

[QUOTE=manu124] MAIN PROBLEM NOW IS THAT SIMULATOR RUNS FOR EVER BECAUSE THIS CONDITION IS NOT BEING MET sum < 1 && sum > 0.75 [/QUOTE] No reason for yelling... ;) If you put a printf() in your loop you would see what the output from your srand() is and check …

Member Avatar for paradox814
0
161
Member Avatar for gary_crapsparov

Did you install drivers for your card or did windows detect them automaticly? If the second is true, you should install the drivers from the CD that came with your motherboard/soundcard. Regards Niek

Member Avatar for gary_crapsparov
0
120
Member Avatar for mu5tang

[quote] gforce ti 200 64mg ram video card. [/quote]` It could be that it's not the DirectX that's the problem, but your videocard. My 'old' GeForce 4 doesn't support pixelshading, so I think your GeForce3 (?) doesn't either. This could be the reason that the games won't start. Try disabling …

Member Avatar for mu5tang
0
113
Member Avatar for jvignacio

Sorry, but that won't work: [quote=jvignacio]It can be any numbers and as many numbers and digits...[/quote] your program only accepts numbers <=999: [quote=madhuri_mi][code=cplusplus]else if(a[i]<=999 && a[i]>99)[/code][/quote] I would go with strings too. Regards Niek

Member Avatar for dubeyprateek
0
123
Member Avatar for Golds

TFT or CRT screen? If it's a TFT your backlight is probably broken. Regards Niek

Member Avatar for BuggZ
0
88
Member Avatar for Monsignor

First of all: What Dragon said. [QUOTE] Why am I getting 'call of nonfunction' every time I use word(j)? What am I doing wrong? [/QUOTE] Use [INLINECODE]word[j][/INLINECODE] instead of[INLINECODE] word(j)[/INLINECODE] (square brackets)

Member Avatar for Ancient Dragon
0
166
Member Avatar for vicky_dev

[QUOTE=vicky_dev] The first 4 bytes( or whatever sizeof(int) is ) indicates how many numbers the file has. [/QUOTE] [QUOTE=vicky_dev] Then how do you check if the file was read correctly, i.e. if all the numbers were read correctly or not? [/QUOTE] You could read the first integer into a variabel …

Member Avatar for Ancient Dragon
0
115
Member Avatar for solomon grundy

don't think so: [COLOR=#0000ff][QUOTE][COLOR=#0000ff]usingnamespace[/COLOR][COLOR=#000000] std;[/COLOR][/QUOTE][/COLOR] Niek

Member Avatar for Nick Evan
0
89
Member Avatar for mistermister

[quote] while(fgets(s,1000,f) != NULL) sprintf(value,s); fclose(f); printf("%s",value); [/quote] You're only executing this: [inlinecode]sprintf(value,s); [/inlinecode] in your while loop. What you want to do is: [code=cplusplus] while(fgets(s,1000,f) != NULL) { sprintf(value,"%s", s); printf("%s",value); } [/code] I fixed a typo in your sprintf too ps. Take these broken wings .... ;)

Member Avatar for mistermister
0
116
Member Avatar for mattyd

[QUOTE=jbennet] they found water on europa too i think [/QUOTE] True. I drink it every day:lol:

Member Avatar for 'Stein
0
213
Member Avatar for Nick Evan

I think it was a good idea to censure some posts. But there's a leak in the system, compare these two pages: [URL]http://www.daniweb.com/techtalkforums/search1919416.html[/URL] (first post) [URL]http://www.daniweb.com/techtalkforums/post286279.html#post286279[/URL] [QUOTE] Are you taking the ****? [/QUOTE] Not a big problem, but I thought I should mension it ;) Niek

Member Avatar for mattyd
0
213
Member Avatar for Marks256
Member Avatar for Salem
0
164
Member Avatar for joelw

[quote=joelw]s1.GetStudent() flagged a error stating that it wasnt declared [/quote] [quote=Lerner] void displayArray(Student studentArray [], int size) { for(int i = 0; i < size; ++i) { [COLOR=red]s1.GetStudent();[/COLOR] } } [/quote] Replace s1 with studentArray to solve the error. [quote=joelw] plus in my GetStudent i need to put cin.getline/cin.ignore and …

Member Avatar for Ancient Dragon
-1
322
Member Avatar for Smartedpanda

It sounds like your OS or HD has died. You could try downloading [URL="http://www.knoppix.org/"]Knoppix [/URL](Yes I know this is a windows-forum). You can boot knoppix from CD and see if your HD is still (sort of) alive. You can even make a backup of your drive. Niek

Member Avatar for Smartedpanda
0
119
Member Avatar for JJ___

[quote=iamthwee]And the advice offered is too generic to be of any use. [/quote] Well so far the only questions are: -which programlanguage doe I use? -What's a gameengine?/how do I make one -Who will help me with making a game from scratch? I don't think a lot of people will …

Member Avatar for John A
0
790
Member Avatar for hxzero

[URL="http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=6&PFid=6&Level=5&Conn=4&DownTypeID=3&GetDown=false"]Here[/URL] you go. Good luck! Niek

Member Avatar for hxzero
0
336
Member Avatar for javanewbie

is opera free by the way? Yup is there a pda version? Yup: [URL]http://www.opera.com/products/mobile/[/URL] You could also try minimo (mozilla mobile). Niek

Member Avatar for jwenting
0
113
Member Avatar for Mushy-pea

Wolf3d: i+l+m = :cool: Doom: iddqd, idkfa, idspispopd (god, weapons and noclip) I've used these so many times that i'll probably never forget them in my life. And I don't play that much games anymore. Quake I and yuri are still my favourites Niek

Member Avatar for Ancient Dragon
0
71
Member Avatar for whitemoss

What he means is that this piece of code: [CODE] if (sprintf(query3, "select * from Register where substring(MasterNumber,2,1) = '1' and MasterAccNo <> 'NONE'") == 0) [/CODE] Will always be false. Sprintf will return the value of chars loaded into query3. So in this case it would return 89 because …

Member Avatar for whitemoss
0
119
Member Avatar for jessiegirl

[QUOTE]It'll keep you people happy (god knows that'll be a miracle)[/QUOTE] I was born happy ;) Relax May4life, Narue was agreeing with you. She was asking WaltP what was wrong with it. Just a little mis-communication Works fine with VS2005 Pro too.

Member Avatar for WaltP
0
160
Member Avatar for John A

[quote=joeprogrammer]"It's alright to keep discussions in their own language forums" are people who I suspect don't even program! I don't think their votes should count[/quote] :( [quote=cscgal] Oh, you're right! I just got a new star recently, didn't I? [/quote] I hope the 32 inch widescreen TFT will become standard …

Member Avatar for Janiceps
0
497
Member Avatar for JS1988

you're calling [inlinecode] createFrequency(scores,size,frequency,NUM_RANGE); [/inlinecode] in main, but scores[] doesn't have values yet, so when it it used here: [code=cplusplus] void createFrequency(int numbers [] , int size, int frequency[],int range) { for(int i = 0;i <range;i++) frequency [i]=0; for (int i = 0; i < size; i++) frequency [numbers [i]] …

Member Avatar for JS1988
0
250

The End.