5,237 Posted Topics
Re: [url]http://en.wikipedia.org/wiki/Gauss_Elimination[/url] a) do you actually understand the math? b) there are many and varied examples of "the code", do you have a specific example. And c) No. Your question is hopelessly vague to "explain everything" to you. | |
Re: [url]http://cboard.cprogramming.com/cplusplus-programming/119344-crack-cipher-string-arrays.html[/url] Here's a FAQ [url]http://www.catb.org/~esr/faqs/smart-questions.html#forum[/url] | |
Re: > string home(getenv("HOME")); Does this actually return a true path - one that starts with / ? Because I see lots of ~ flying about, and programs do NOT expand ~ automagically for you (that's what the shell does). | |
Re: Well it won't compile by simple visual inspection. Then there's the whole "let's magic some functions to do the interesting work simply by naming them" (which of course, doesn't work either). | |
Re: What sort of phone? iphones, phones based on google android, certain other high end phones allow people to develop java applets. | |
Re: > Please, i need to decide this today, and in only 2 hours!!! You've been on the forum for a couple of months, and NOW you decide to bounce this on us with only 3 hours to go - sheesh. I guess planning ahead isn't your forte. Write each choice … | |
![]() | |
Re: And the 75% of the membership which have ZERO posts, what contribution are they making, apart from puffing up the numbers? | |
Re: [url]http://en.wikipedia.org/wiki/.NET_Framework[/url] To run .net things, you need all this baggage. Basic DOS doesn't even know about IP addresses, never mind anything else. | |
Re: You can't assign arrays. Use strcpy() instead. | |
| |
Re: Having removed the stdafx.h abomination, you ALSO need to do project->settings->compiler->pre-processor->precompiled headers and turn it OFF. OK, the last couple of steps may vary, but you get the idea of where to start looking. | |
Re: > well i am planning to record information in a database and the data can be accessed via the web in a well formatted web page. That has to be the most bone-headed idea going. "I know, lets publish all my keystokes on a web page for all to see … | |
Re: It would be better if you actually posted your actual error message. Rather than saying "an error", hoping we can be a) bothered to run your code b) actually end up with the same error message Neither of these is guaranteed. | |
Re: A suitable build with Visual Studio for example would produce that list for you. | |
Re: > file_content = (char *) realloc (file_content, sizeof(char) * file_size); Is this C or C++? If it is C, then you don't need the cast. However, what happens if realloc fails? The problem is, you just trashed your pointer with NULL, thus making it impossible to free a memory leak … | |
Re: Well you win this weeks prize for the most uselessly terse question. a) have you tried anything, or just blurted some phrase out to see what happens next. b) which OS are you using? c) which compiler? And try to be more specific than "windows" and "borland" say. | |
Re: Why on earth are you using a map? calculate, print, move on. | |
Re: [url]http://en.wikipedia.org/wiki/SGI_Octane[/url] You're comparing a modern PC with something which is 5 years old. Whether they're worth it depends on what sort of condition they're in, and what price you can get. | |
Re: Using time.h to time code is like using a sundial to time a bullet. You could use it if you're doing a lot of work (say sorting 1M integers), then time.h might work (so long as it takes several seconds). But for anything consistently below 1 second, you need a … | |
Re: > though not every compiler accepts the same syntax at all. Yes they will. If you take the trouble to learn the language as defined by ANSI/ISO, then you'll have no problem writing code which will work on any ANSI/ISO compatible compiler. The reason most people come unstuck is the … | |
Re: Is there a particular reason why you're doing this the hard way, with a "roll your own" per-character input? Because there are standard library functions to read a whole line for you. | |
Re: Your code is wrong. | |
Re: [url]http://www.daniweb.com/forums/announcement8-2.html[/url] Read this, make an effort, post that attempt and then ask a specific question. Don't just dump your assignment on us and then go party, hoping to have a nice finished program sitting in your in-box. | |
Re: > AFAIK, the <> is means that the dll is not same directory with my project folder. <> vs. "" has nothing to do with your DLL. #include is processed by the compiler, to read a .h file which is another text file. The error messages you're getting are LINKER … | |
Re: To further what Tom Gunn said, if you changed [ICODE]char name[25][/ICODE] to [ICODE]char *name;[/ICODE] then the second printf would immediately be very wrong indeed, and not just ever so slightly odd. | |
Re: > sir, help me solve it plssss..... He did help you, A LOT. Do something for yourself, and replace // statements with I dunno, something simple like printing out the values of m and j | |
Re: Well you'll need to call chdir() in the current process. Each process has it's own "cd", so calling a process to change the current directory will only have a limited and local effect. | |
Re: Well you look in the source file to find out what files it actually depends on. As far as the makefile is concerned, it only depends on mconf.h | |
Re: That's a nice homework question - what do you think? | |
Re: > asked and answered at least half a million times since Daniweb went live. For the millionth time, stop exaggerating ;) [quote=daniweb stats] DaniWeb IT Discussion Community Statistics Threads: 199,393, Posts: 951,087, Members: 601,466, Active Members: 85,978 [/quote] > Why yes, there is indeed a way. Where there is a … | |
Re: > can anybody help? [URL="http://www.catb.org/~esr/faqs/smart-questions.html#prune"]not any more[/URL] Maybe look at your post, and figure out why half of it seems to be blue (aka, a "string") would be a start. In common with a lot of your previous attempts, you write a whole mess of code, then wonder why it … | |
Re: > "program to swap two no. using third variable" A better question would be: "How to swap my idiot teacher of 1970's assembler tricks with someone who has a clue about programming in the modern world". | |
Re: [B][url]http://www.daniweb.com/forums/thread197250.html[/url][/B] | |
Re: [url]http://lmgtfy.com/?q=usb+webcam+via+Python[/url] | |
| |
![]() | |
Re: > How can I combine this one? (TURBO C++) 1. THROW OUT your ancient compiler. It has been obsolete for 20 years. Honestly, this is driving down the information super highway in some clapped out Model-T Ford (did I mention how old it was?). The druids built stonehenge with better … | |
Re: 1. Welcome to the forum. 2. We have a Virus help forum here -> [url]http://www.daniweb.com/forums/forum64.html[/url] 3. It has lots of useful intro threads, read them. 4. When you post logs, simply copy and paste the log data from the analysis tools directly into your forum message. DO NOT add it … | |
Re: But not as awesome as posting this link. [url]http://www.daniweb.com/forums/announcement9-2.html[/url] Reading it would be pretty spiffy as well, try it. | |
Re: I see lots of abuse of feof() [URL="http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1046476070&id=1043284351"]http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1046476070&id=1043284351[/URL] | |
Re: a user that [URL="http://www.daniweb.com/forums/announcement8-2.html"]reads intro threads[/URL], makes effort, posts code using [URL="http://www.daniweb.com/forums/announcement8-3.html"]code tags[/URL] class pass, class fail, class attend. | |
Re: Read the binary data into a buffer. If the first 10 bytes pass 'isprint' (in ctype), then it might be a printable string If every other byte passes 'isprint', and the other alternate bytes are zero, then it might be a unicode string. In any event, you know what the … | |
Re: Either set the length of the vector before you start, or use push_back() to add each new cube as you go. | |
Re: ios::app places the pointer at the end of the file whenever you try to write to a file. | |
Re: Can you convert metres into centimetres? Can you convert centimetres to inches? Can you see where this is going? | |
Re: > I am trying to work learn thread programming in C. Mmm-kay, > I have my turbo C installed and its working fine. You're stuck then. > Please do shed some light on how to configure my Turbo C to work with threads. Delete is the only config possible. Followed … | |
Re: > if(current_getch == 69) With better indentation, you would see that the code to read a username is OUTSIDE your while loop. | |
Re: > Please its urgent. You don't say, really? [url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url] | |
Re: > can u pls teach me how to start [url]http://cboard.cprogramming.com/c-programming/88495-development-process.html[/url] |
The End.