5,237 Posted Topics
Re: > #define Mess1 "\n\rWaterflow Sensor"; Well the ; at the end of this line should really have drawn a syntax error from your compiler, not a pointer convertion error. Which leads me to suspect you've posted from memory what you think you've got, rather than copy/pasting what you've actually got. … | |
Re: Standard email is text, so the basic idea of font and formatting and styles might be dead in the water. What happens next really depends on the email client at the other end. If you don't know this, what you send might look OK or it might look an awful … | |
Re: > I got a Dell D610 from Ebay from a guy who got it from a guy and so on. If the person you bought it off doesn't know, then you should be thinking "was this stolen?". | |
Re: 1. Please figure out how to use [co[b][/b]de][/code] tags real soon. Isn't the water mark at the back of the edit box, or the [URL="http://www.daniweb.com/techtalkforums/announcement118-3.html"]READ THIS FIRST[/URL] links enough for you? 2. printf(arr[i]); The first parameter of printf() is a control string, not your data. | |
Re: You didn't post any code. Just the call to the output function, and the 'format' of the output string. You need to look at the functions which write to your 'string', at say DEDUCT Look at the length of the space available, and whether you're justifying to the left/right as … | |
Re: [url]http://www.daniweb.com/techtalkforums/announcement8-3.html[/url] Then edit your post to include [co[b][/b]de][/code] tags, which would be rather more useful than green tags. | |
Re: There's a lot of good info here -> [url]http://www.tomshardware.co.uk/#redir[/url] | |
Re: Man, I must be bored..... A: A river Q1: What gets wetter as it's drying? Q2: What walks on 4 legs, walks on 2 legs and finally walks on 3 legs? Q3: What has eyes, but cannot see Q4: What has ears, but cannot hear (it's not a UK politician … | |
Re: > but the problem the service provider they offer applications, Find out more about what they offer, read some documentation. Maybe it's all done through a nice DLL you can just link to. Or maybe it's a simple command line program where you can do "sendSms number message", which would … | |
Re: [url]http://msdn.microsoft.com/en-us/library/dd144871%28VS.85%29.aspx[/url] [QUOTE]hWnd [in] A handle to the window whose DC is to be retrieved. If this value is NULL, GetDC retrieves the DC for the entire screen.[/QUOTE] | |
Re: That you're stepping off the ends of your arrays would be one problem. | |
Re: You only test game outside your for loop, yet it could be incremented many times in between each test in your while loop. Add [ICODE]&& game <= 1000[/ICODE] to your for loop condition as well. The indentation could be a little better as well. ![]() | |
Re: Was it too hard to google your way to this? [url]http://www.ruby-lang.org/en/[/url] ![]() | |
Re: > but after having all my seven proposals rejected a) what were they, so we don't repeat the same mistakes again b) were you given any reasons? | |
Re: > q->link = NULL; Your struct doesn't contain a member called link ? | |
Re: > eg:- roman equivalen of 1988 = mdcccclxxxviii Actually, it isn't. It's MCMLXXXVIII The first step is to realise that all 4 and 9 digits are written as say 4=IV or 90=XC You then basically do /10 and %10 to extract each decimal digit, then work out what short sequence … | |
Re: Like so [code] pthread_creat(&threads[0], NULL, thread_function, &a1[0] ); pthread_creat(&threads[1], NULL, thread_function, &a1[5] ); [/code] And [code] void *thread_function(void *p) { int *arraySlice = p; } [/code] What I haven't done (that's your thing to think about) is how you also convey the length of each array slice to each instance … | |
Re: [url]http://www.ctyme.com/intr/rb-2977.htm[/url] [url]http://www.ctyme.com/intr/rb-2779.htm[/url] Well 1Eh is the offset in the Disk Transfer Area (DTA) where the actual filename of the found file will reside. I rather suspect someone is making a big assumption about where the DTA is located. IIRC, there was an IRQ to discover where it was located. You … | |
Re: I would regard [url]http://mysql.com/[/url] as definitive. Did you check there? | |
Re: > Both are not what I wanted to... Great, out of all possible solutions, you've narrowed the field by two solutions. Still leaves a hell of a lot of possible solutions out there. Care to actually put some effort in towards showing what your ideal solution might be, rather than … | |
Re: [URL="http://en.wikipedia.org/wiki/Comparison_of_Subversion_clients"]Let Me Google That For You[/URL] | |
Re: Which operating system and compiler are you using? | |
Re: [url]http://lmgtfy.com/?q=different+between+Vb.net+and+PHP[/url] | |
Re: > do I need any special code to read and write .doc file? What system(s) are you running the program on / transferring the files between? Perhaps word on your machine makes use of alternate data streams, and you're not in fact copying the whole file. There are hidden parts … | |
Re: Well if you were using a real OS with a decent set of command line tools, then I would suggest [url]http://www.manpagez.com/man/1/cut/[/url] But since you seem (from your other posts) to be using an OS where all you can do is attempt to create fine art with wax crayons, then I … | |
Re: [url]http://en.wikipedia.org/wiki/Cisc[/url] [url]http://en.wikipedia.org/wiki/Risc[/url] | |
Re: OK, you've listed a handful of different things your program is supposed to do. Can you do ANY of them, at all? Show us how far you've got and a specific question about what to do next, don't just post "gimme the answer" then bump it with a useless "does … | |
Re: > #! /usr/bin/perl First begin with [code] #! /usr/bin/perl -w use strict; [/code] Then you'll get warning about your mis-spelling [code] $exp = <STDIN>; chop $ex; [COLOR="Red"]# NOT exp !?[/COLOR] [/code] Paying attention to what you post as well would help. It looks like two attempts at copy/paste from a … | |
Re: I'm with jephthah - I'm outa here! The site is an unreadable mess - it's a student summer assignment gone horribly wrong. The only thing which should actually matter (the stuff people actually contribute) is relegated to the bottom of the pile. But you all know all this already, so … | |
Re: > for (i=0;i<3;i=i+2) > for (j=0;j<3;j=j+2) i is 0 or 2 j is 0 or 2 You're just printing the corners of your matrix. Try a different loop. | |
Re: [ICODE]for i in *.c; do echo >> $i; done[/ICODE] How is that going to take you any time at all to do? Here I'm assuming that since you're using gcc, that you also have a decent shell to play with as well. Of course, you could refine it to say … | |
Re: Well for one thing, you're not checking the return result of all the file access functions. At the end of the file, the fread will NOT advance by the size of 1 record, but your following seek doesn't know that. Result - trashed last record (probably). | |
| |
Re: [url]http://www.nondot.org/sabre/os/articles[/url] > I have been learning C for a while now how would i use that in ASM too for my OS. Write the bare minimum in ASM. Just enough to allow you to start writing C. | |
Re: [url]http://tigcc.ticalc.org/doc/float.html#DBL_DIG[/url] But printing out anything more than the decimal precision of a double (less for floats) just means you're outputting junk. If you want arbitrary decimal precision, you need a library. [url]http://gmplib.org/[/url] | |
Re: > This one defective ball can be either heavy or light. How much information are you really after? - find the odd one (and not care about its mass) - find the odd one AND know whether it is heavier or lighter than the rest So far, the first answer … | |
Re: [url]http://www.daniweb.com/forums/announcement118-2.html[/url] Oh, since you missed it the first time, here it is again [url]http://www.daniweb.com/forums/announcement118-2.html[/url] | |
Re: > So if you cannot put here at least 1000 memorable moments of your life, you better start thinking of throwing yourself under a train. 999 - replying to this thread. Oh bugger. ![]() | |
Re: > Is the DVD version in 3D? No, it's the same thickness as regular DVD's :icon_razz: | |
![]() | Re: > MS visual studio Visual Studio express IS free. As for the error message, can we assume that you read the URL in the error message? |
Re: So what is your question? Because it looks like a zero-effort homework dump from here [url]http://www.daniweb.com/forums/announcement125-2.html[/url] | |
Re: > please answer me the following questions. What is your name? What is your quest? What is the airspeed of an unladen swallow? | |
Re: CGI describes an interface which you can implement in a variety of languages (some easier, and more importantly, more safely than others). Unless you own the box you're running the HTTP server on, your average sysadmin would baulk at running a program executable as a CGI on their machine. They … | |
Re: *shrug* Yet another "please help me with..." not so cunningly disguised as a "please do this for me..." post. Where's your EFFORT? | |
Re: For an easy intro, try [url]http://www.arduino.cc/[/url] For hardcore programming down on the "bare metal", [url]http://www.avrfreaks.net/[/url] All I can suggest is you read around and follow some links to board manufacturer sites to see what meets your needs. There are a lot of variations to choose from. | |
Re: > pSinglePoint = &next; Two things wrong here. 1. You're attempting to point from inside the class, to some outside the class. A class object should be a self-contained entity. Having invisible dependencies to the outside world is a recipe for disaster. 2. You're actually storing a pointer to the … | |
The End.