5,237 Posted Topics
Re: By assembly, you mean the .net thing right? Or do you mean the real low level stuff which compilers produce, which represent your actual running code. | |
Re: Yeah, I was a csh fanboy long long ago, then I realised this made a lot of sense [url]http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/[/url] You're probably falling foul of one of the many parsing anomalies which csh has. For one thing, if you use a proper shell, you'll be able to use cron (which would … | |
Re: [url]http://www.daniweb.com/forums/thread152973.html[/url] Try cut and paste. | |
Re: If by 'parse', you mean do all the interesting stuff you would otherwise do in perl with a couple of handy regex's, then consider this [url]http://search.cpan.org/dist/Net-Telnet/lib/Net/Telnet.pm[/url] | |
Re: > Anything bigger and it doesn't fill it in completely. As in it crashes with some error message, or some other reason? Why do you have a 'static' in fill()? There's only ONE variable, not a separate copy for each recursive invocation. | |
Re: > EDIT: im using windows xp pro, if that helps. But which compiler? Not some fossil like TurboC by any chance? > send a high or low signal to the corresponding output pin on a serial port Er, you do know what a serial port looks like right? Or even … | |
Re: Are those your only choices? You also failed to post any mention of what may be constraining your choice to one or the other. | |
Re: GIYFS you lazy arse - we're not here to search stuff for you AND THEN email you the answers! :@ :@ :@ | |
Re: There's an environment variable called PATH which tells cmd.exe where to look. If the program is in a directory not on the PATH, then you need to specify the full path, say D:\path\to\prog.exe | |
Re: [url]http://www.cs.ubc.ca/spider/harrison/Java/sorting-demo.html[/url] Or maybe [url]http://www.nist.gov/dads/[/url] | |
Re: > my exiting code: Really.... [url]http://www.daniweb.com/forums/post702120-2.html[/url] Try to reply to existing threads which cover basically the same topic as before. In your loop, having worked out the distance between 6.324 32.707 50.379 5.197 32.618 46.826 ie, lines 1 and 2 Would you then need to work out the distance between … | |
Re: > I was surprised, but this code compiled on Dev C++. I figured "or" would be an error [url]http://david.tribble.com/text/cdiffs.htm#C99-alt-tok[/url] It's one of the less travelled paths through the C++ standard :) | |
Re: So post what you can achieve yourself, then we'll help [url]http://www.daniweb.com/forums/announcement8-2.html[/url] I supposed I could mention this, but chances are you'll ignore it. [url]http://www.daniweb.com/forums/announcement8-3.html[/url] | |
Re: Ever heard of a search engine? [url]http://clusty.com/search?query=divide+and+conquer+in+programing&sourceid=Mozilla-search[/url] | |
Re: > Did I miss anything? Like mentioning your OS / Compiler / JPEG library. Or even posting a reasonable amount of code to establish a context for the question. No, not a thing :icon_rolleyes: | |
Re: [url]http://www.activestate.com/Products/languages.mhtml[/url] Perl is a scripting language, more akin to PHP than C Whilst you can do web stuff in perl, it is a general purpose programming language which can be used for many other applications as well. | |
Re: You didn't state exactly which POSIX OS you're using. It's easy enough to create a myRead() which just calls read() in a loop until it's got the required number of bytes. | |
Re: Well as a guess, a name like "_mysql_get_client_info@0" suggests it is being decorated as a C++ symbol, whereas the equivalent in the library is very much a C symbol. It seems to me you're compiling C++ and linking with a C library. > Dump of file libmysql.lib Is there a … | |
Re: [quote=Renton, trainspotting] Choose life. Choose a job. Choose a career. Choose a family. Choose a fucking big television, Choose washing machines, cars, compact disc players, and electrical tin openers. Choose good health, low cholesterol and dental insurance. Choose fixed-interest mortgage repayments. Choose a starter home. Choose your friends. Choose leisure … | |
Re: > I do not have monitor instead I use the DVI port of the video card to connect to the TV. I would suggest you get (or borrow) a real monitor and plug it into the real monitor port of the video card. It would seem to me that your … | |
Re: Initialise countPtr Then countPtr = countPtr->next; | |
Re: What does the information in P0 and P2 tell you? | |
Re: Name: HW1.txt Size: 968B If that's it's size, post it here. If you wanted the math library for example, it would be [ICODE]gcc prog.c [COLOR="Red"]-lm[/COLOR][/ICODE] That's lowecase "LM" at the end. -l means link with a library m means lib[COLOR="Red"]m[/COLOR].a Just in case you have other libxxx.a libraries, and you … | |
Re: Post something which compiles perhaps? Random lines from your program doesn't tell us a great deal about all the possible ways you could have gone wrong. | |
Re: I rather suspect they want a font design tool, to create a new font, with glyphs of their own design. Having done that, they can then use that font in any program capable of using fonts. Which, unless you intend to write said "font design tool" yourself, in C++, has … | |
Re: If you post code, then someone will probably be able to help you. | |
Re: [url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url] > i have an assignment which i have to submit by tmw, Awww - what a shame - tomorrow you say. > The deadline for this work is: Monday October 20th before 4:30pm. Now correct me if I'm wrong, but isn't it already past this time at the "university … | |
Re: > numbers[i] = numbers[i+1]; When you're removing, this loop should start at the number you enter, not 0 | |
Re: > I've already got rid of the tabs with the tr command so its a lot more cleaner now, And destroyed any sense of where all the columns are with it no doubt. If the result is variable width fields, with variable content, which now overlap, then you're stuck. [icode] … | |
Re: [url]http://www.catb.org/~esr/faqs/smart-questions.html#writewell[/url] Not to mention [url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url] Better read the whole thing before dribbling over a forum. | |
Re: Are you trying to move a word or a long value to that address? A number of modern processors do not allow you to store multi-byte values (such as a 32-bit int) on an odd address. | |
Re: Which version of C++? Later versions come with libraries to parse XML automatically, without you having to deal with all the < > stuff yourself. Failing that, use a library [url]http://expat.sourceforge.net/[/url] | |
Re: Lemme get this straight, you're complaining something is 10 seconds slower because it sleeps for 10 seconds? | |
Re: > when i declare, has notice : "do'nt enought memory" So post your attempt then, so it doesn't look like you're just dumping your assignment on us and expecting a polished answer on a plate (it won't happen). | |
Re: Fortran is widely used in scientific and engineering applications. The fact there is a new ISO standard for it doing the rounds means that there's still a lot of interest in it. Asking about it on a forum where there is no Fortran section is however not the smartest idea. … | |
Re: It might, if you use strlen rather than sizeof Oh, and there can only ever be one newline. If there is a newline at all, it will always be at input[strlen(input)-1] Though you should check fgets() returned success before doing this. | |
Re: You need to be calling new node; for each word you read from the file. | |
Re: Consider using a struct, like [code] typedef struct { char word[20]; int numDefs; char defs[10][30]; } definitions; [/code] Then you could have something like [ICODE]definitions dictionary[100];[/ICODE] The raw input code would be something like [code] for ( w = 0 ; w < 100 ; w++ ) { // read … | |
Re: > For that you just use fflush(stdin) after each input line. Just plain wrong I'm afraid. [url]http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1052863818&id=1043284351[/url] | |
Re: Pah, a mere lightweight compared to [URL="http://en.wikipedia.org/wiki/Governmentium"]Gv[/URL] | |
Re: > This has been posted before. Please use the search function Are you suggesting they're incapable of finding their own ass in the dark\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b post? ;) [url]http://www.daniweb.com/forums/thread145077.html[/url] | |
Re: You mean to end up with the equivalent of str3 db "23",0 ? Do you first know how to copy a string (in C, this is strcpy) strcat is basically just strcpy called twice, the second starting at the end of the first copy. | |
Re: > The first part of program is to square the input value (input = r3) What about r2? | |
Re: > for ( int i = 1; i <= num; i++ ) for ( int i = 1; i <= num; i += 2 ) would generate all the odd numbers for you. > 8 = 1 + 7 num = i + x right? So maybe rearrange the expression … | |
Re: > bohica = argv[1]; Your log shows NO command line parameters, not 3 like you assume here. Always check argc before looking at argv > for (int kt=0; kt<256; kt++) Woah, first you ignore the input, now you assume a specific number. | |
Re: Or just do a difftime() between now and next Saturday @00:14, then call Sleep() for that many seconds. One calculation, one call to Sleep(). 5 lines of code, and it's sorted. | |
Re: What are you planning to do with the input, when you've finished reading it? | |
Re: [url]http://clusty.com/search?input-form=clusty-simple&v%3Asources=webplus&query=automated+software+test[/url] The more challenging aspects are: - how to manage interaction - how to deal with programs which exit with some kind of exception - how to deal with programs which refuse to exit. What is the form of the result? - return status - easy - output to a … | |
The End.