2,839 Posted Topics
Re: [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 | |
Re: [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. … | |
Re: 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] | |
Re: [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 … | |
Re: [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 … | |
Re: [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 | |
Re: [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 … | |
Re: 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) … | |
Re: [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 | |
Re: [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 | |
Re: [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 … | |
Re: could you post your errors and your *new* complete source? | |
Re: [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' … | |
Re: hmm looked for niek_e and found: [URL]http://www.thefailures.nl/bio/nieke.gif[/URL] it is me actually.... No suprises. | |
Re: [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 | |
Re: [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 | |
Re: [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 | |
Re: Did you download Internet Explorer 7 recently? | |
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 … | |
Re: [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 | |
Re: [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 … | |
Re: [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 | |
Re: If you want to restore the image on a new harddrive: Yes Niek | |
Re: 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 | |
Re: 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] | |
Re: 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 … | |
Re: [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 | |
Re: 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 … | |
Re: [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 … | |
Re: 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 | |
Re: [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 … | |
Re: 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 | |
Re: TFT or CRT screen? If it's a TFT your backlight is probably broken. Regards Niek | |
Re: 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) | |
Re: [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 … | |
Re: don't think so: [COLOR=#0000ff][QUOTE][COLOR=#0000ff]usingnamespace[/COLOR][COLOR=#000000] std;[/COLOR][/QUOTE][/COLOR] Niek | |
Re: [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 .... ;) | |
Re: [QUOTE=jbennet] they found water on europa too i think [/QUOTE] True. I drink it every day:lol: | |
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 | |
Re: I think OpenCV is what your looking for, it's free, windows/linux and has a imagerecognition. | |
Re: [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 … | |
Re: 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 | |
Re: [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 … | |
Re: [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 | |
Re: 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 | |
Re: 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 | |
Re: 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 … | |
Re: [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. | |
Re: [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 … | |
Re: 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]] … |
The End.