5,237 Posted Topics
Re: [url]http://cboard.cprogramming.com/c-programming/119269-rsa-encryption-s-o-s-emergency-distress-signal.html[/url] Don't spam across multiple forums. [url]http://www.catb.org/~esr/faqs/smart-questions.html#forum[/url] | |
Re: More a case of: Twit: errrr, what shall I say now that doesn't make me look like a complete doofus with nothing better to do than write short messages on some website. Sooner or later, it will be: News just in! Sen. NoName from never-been-there caught using ghost-writers to write … | |
Re: Oh good, another futile "War on ...." initiative. I wonder how the US is managing with the "War on drugs" ([url]http://www.drugsense.org/wodclock.htm)[/url]. Now that's a lot of moola. Still, it makes good PR for the chattering classes even if nothing ever comes of it. Even in the midst of failure, they … | |
Re: Worse is to come. Guess what's going to get sliced to the bone in the downturn? Yep, that's right, anything for which a bean-counter can't see having an immediate monetary value which can be bought or sold. Security fits ever so snugly into this category. Another example is quality. Sure, … | |
Re: Perhaps they're hoping to get some drive-by downloads to help them with this ;) [url]http://www.daniweb.com/blogs/entry3752.html[/url] | |
Re: Big Brother is shit. Big Brother in HD would be HD shit. Big Brother in 3D would be 3D shit. Then there's the "repeats", the "making of", the "talk show" and the "uncut" versions to deal with. 100s of hours of airtime filled for a pittance of production budget. The … | |
Re: Renting say MS Office or IE on the very rare occasions when you simply have to access the resource, and the free alternatives of Open Office and Firefox just don't cut it, would be fantastic for me. But I doubt MS would last long on such meagre revenue streams. "purchasing" … | |
![]() | Re: If you've just strapped the LED between the 5v and ground pins, then no, you won't be able to make it flash. [url]http://lvr.com/usb.htm[/url] Or, if you want a simple intro to hardware programming [url]http://www.arduino.cc/[/url] ![]() |
Re: So have you done 'ls' without the -R part already? Use the stat() function to work out what kind of thing a directory entry is, then call your file listing function recursively. | |
Re: 1. Learn C REALLY well. 2. Get good at maths - [url]http://en.wikipedia.org/wiki/Digital_image_processing[/url] | |
Re: Use fgets() to read each line. Use sscanf() to parse the line (or better yet, strtod). | |
Re: Well it rather depends on the application. Web browsers for example just give up and print a message. A file downloader might retry. | |
Re: Fixed already (apparently) [url]http://www.daniweb.com/forums/thread210391.html[/url] | |
Re: Please don't cross-post [url]http://forums.devshed.com/c-programming-42/how-to-read-numbers-out-of-a-txt-file-636270.html[/url] Here's why [url]http://www.catb.org/~esr/faqs/smart-questions.html#forum[/url] Imagine how unusable all the forums would be if everybody did it. | |
Re: And again [url]http://www.daniweb.com/forums/thread215731.html[/url] Pity neither of them has code tags.... | |
Re: The console is what you learn with. GUI programming is no different, it's just a different API. But it takes half a book to explain "hello world" rather than half a page, to an absolute newbie. | |
Re: What you see today in the C pre-processor is a faint echo of how the pre-processor was originally implemented. [URL="http://en.wikipedia.org/wiki/M4_%28computer_language%29"]m4[/URL] is a macro pre-processor and then plenty. The original C pre-processor (when C was still on a single machine in the 70's) was just an input to m4. Oh, but … | |
Re: > If i put #include "zlib.h" the errors are the same. Include files tell the compiler HOW to call something. Libraries (the thing you're missing) tell the linker (the stage after compiling) WHAT actually provides the implementation of the thing you wanted to call. For a simple command line, it's … | |
Re: Or you keep track of the count whenever you add/remove nodes. | |
Re: [CODE]delete &capacidad; delete &indice; delete &datos;[/CODE] All these are wrong. a) you don't call delete AT ALL unless you called new. b) a new [] is matched by a delete [] So [ICODE]delete [ ] datos;[/ICODE] would be the only thing needed here. | |
Re: [code] $ date '+%m/%d/%Y':'%H:%M:%S' ; date --date='now -5 minutes' '+%m/%d/%Y':'%H:%M:%S' 08/26/2009:18:25:41 08/26/2009:18:20:41 [/code] | |
Re: Is that something you copied out of a header file which came with your compiler? Or did you find that macro on the net somewhere, and just copy/pasted it into your code? | |
Re: [B][url=http://www.daniweb.com/forums/announcement8-2.html]We only give homework help to those who show effort[/url][/B] Didn't you see this in your rush to post your homework. | |
Re: One function to write the struct to a file. Another function to read the struct from a file. For each field, use the appropriate fprintf or fscanf conversion function. For extra robustness on reading, use fgets() to begin with. | |
Re: Once [URL="http://www.daniweb.com/forums/thread207536.html"]before[/URL] and now [URL="http://forums.devshed.com/c-programming-42/how-to-unblock-connectnamedpipe-and-readfile-c-635510.html"]again[/URL] What makes your posts so damn important that they must always be asked on two forums in parallel? | |
Re: Did you see this on your way in? [B][quote=forum title page] Announcement: [URL="http://www.daniweb.com/forums/announcement8-3.html"]Please use BB Code and Inlinecode tags[/URL] cscgal (The Queen of DaniWeb) [/quote][/B] | |
Re: You can find a youtube clip, but not a web search? [url]http://clusty.com/search?query=motion+detection+algorithm&sourceid=Mozilla-search[/url] | |
Re: > is there a way to use these if statements more efficiently? [URL="http://www.catb.org/~esr/faqs/smart-questions.html#prune"]Yes, there is a more efficient way[/URL] | |
Re: All the files are in the same directory? If so, all you need to do is add the two .cpp files to some kind of project (or makefile), and then build. > cannot find -lfunctions.h". -l is for libraries, not header files. Like I said, in a simple case with … | |
Re: > As a nasty hack this works fine but it takes a long time (> 10 mins) to run the code through enough repetitions. > For my project specification I really need this to be much, much faster (< 5 mins hopefully) Why does a program which runs only once … | |
Re: Well your class lacks both a constructor AND a destructor! > free(Cb); Cb = (float*)calloc(sizeof(float), T1->b); Cb is garbage on entry, and then you try to free it. That's your *** glibc detected *** ./R: double free or corruption (out): 0xbfaaa878 *** It might not be that one, but your … | |
Re: Well you need to build into your loop some sense of "expecting number" and "expecting operator". It should toggle between these two states. So if you're expecting a number, and see '-', you know what it means. | |
Re: It lacks imagination, but did you try this? [url]http://www.google.se/search?q=png+to+xpm&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-GB:unofficial&client=firefox-a[/url] | |
Re: Yeah, it's basically dying. The tube is probably OK, but the electronics in the back controlling the brightness are shot. Unless you know someone who can repair these things for free, getting it repaired commercially will probably cost as much as a new LCD monitor (think about all the extra … | |
Re: > my problem is that my teacher give an activity to do to make a c++ program that will determine That's not all. It also determines who gets to stay on the course and learn something advanced, and who gets extra free time to explore alternative paths through life. For … | |
Re: > Place the hard drive in a zip bag then put it in the freezer overnight. I recently chucked out a drive which would only work after it had warmed up to something like normal operating temperature. An hour or so in bright sunlight worked for me in this instance … | |
Re: Perhaps you've got [URL="http://www.webopedia.com/TERM/W/Wake_on_LAN.html"]Wake on LAN[/URL] with the bits reversed (so it's shutdown on LAN) ;) Joke aside, check whether such a feature is enabled in the BIOS (or in Windows for that matter). | |
Re: > when i am runing the server program and doing telnet 127.0.0.1 int the console What command did you actually type? telnet without additional parameters will try to connect to port 23 Your server is listening to something else. | |
Re: A fair portion of the population have yet to figure out what 'R' means, never mind the rest of it. | |
Re: > .It should also be feasible to be done in 7 months by 4 people.... Who between them don't have enough to come up with a project by themselves. So much for "innovative". The "challenge" is a bit shaky as well. What if my "can be done in a wet … | |
Re: > it states debug assertion failure fseeki64.c line 61 stream !=null. You opened a file, say FILE *fp = fopen("doofus.txt", "r" ); You then tried to seek somewhere - I guessed that fseeki64.c > stream !=null How many parameters does fseek() have? Which one's are a) pointers (the message says … | |
Re: What - that you can't use a float to subscript an array? The error message should have been pretty obvious. Array subscripts are integers. | |
Re: [url]http://bloodshed.net/compilers/index.html#toolkits[/url] | |
Re: Copy and past your terse question into google. Like this. [url]http://www.google.se/search?q=step+by+step+tutorial+on+COM+using+vs2005.+&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-GB:unofficial&client=firefox-a[/url] | |
Re: Which end of the list holds the least significant digits? Adding 12 to 3456 for example, adds 2 and 6 together because they're the same rank at the end of the list. Not adding 1 and 3 together because they're at the head of the list. | |
Re: What exactly are you trying to achieve here? > it's the only precompiled C compiler for Windows which[COLOR="Red"] compiles code to Linux [/COLOR] > (I tried building GCC in every way imaginable without success). I've successfully built a few hello world > programs without much trouble. However, with a bigger … | |
Re: [url]http://www.google.se/search?q=SSL+handshake+protocol&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-GB:unofficial&client=firefox-a[/url] [url]http://www.webstart.com/jed/papers/HRM/references/ssl.html[/url] | |
Re: Read this and fix your post [url]http://www.daniweb.com/forums/announcement118-3.html[/url] | |
Re: Do a tracert to find out what ISP they're connecting to. Tell the ISP what you know Tell the police what you know. | |
Re: And your question? No, it won't compile. No, you didn't read the intro threads on how to post code. No, I won't guess what you wanted. |
The End.