5,237 Posted Topics

Member Avatar for ch.shivakumari

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.

Member Avatar for Salem
0
32
Member Avatar for yabai1974

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 …

Member Avatar for Salem
0
225
Member Avatar for Jahira
Member Avatar for Denniz
0
301
Member Avatar for iamtuxmeister

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]

Member Avatar for Salem
1
251
Member Avatar for DemonGal711

> 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.

Member Avatar for DemonGal711
0
177
Member Avatar for hugoboss911

> 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 …

Member Avatar for Freaky_Chris
0
152
Member Avatar for krishniha

Are those your only choices? You also failed to post any mention of what may be constraining your choice to one or the other.

Member Avatar for Salem
0
77
Member Avatar for nareshvlsi

GIYFS you lazy arse - we're not here to search stuff for you AND THEN email you the answers! :@ :@ :@

Member Avatar for Salem
-2
248
Member Avatar for sekola

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

Member Avatar for Salem
0
99
Member Avatar for jodyf1717

[url]http://www.cs.ubc.ca/spider/harrison/Java/sorting-demo.html[/url] Or maybe [url]http://www.nist.gov/dads/[/url]

Member Avatar for Narue
0
57
Member Avatar for annie_singh

> 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 …

Member Avatar for KevinADC
0
863
Member Avatar for Evan M
Member Avatar for koman

> 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 :)

Member Avatar for stilllearning
0
165
Member Avatar for samjars

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]

Member Avatar for Salem
0
97
Member Avatar for jodyf1717

Ever heard of a search engine? [url]http://clusty.com/search?query=divide+and+conquer+in+programing&sourceid=Mozilla-search[/url]

Member Avatar for Salem
0
37
Member Avatar for JpegUser

> 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:

Member Avatar for JpegUser
0
87
Member Avatar for it2051229

[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.

Member Avatar for KevinADC
0
179
Member Avatar for sankari27

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.

Member Avatar for Ancient Dragon
0
91
Member Avatar for Ancient Dragon

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 …

Member Avatar for Ancient Dragon
0
82
Member Avatar for odinaryman

[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 …

Member Avatar for GrimJack
0
110
Member Avatar for Pvtparts

> 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 …

Member Avatar for Pvtparts
0
126
Member Avatar for JustLearning
Member Avatar for Mike_99
Member Avatar for chaba

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 …

Member Avatar for Salem
0
105
Member Avatar for Code Shark

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.

Member Avatar for Salem
0
101
Member Avatar for massivefermion

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 …

Member Avatar for Alex Edwards
0
136
Member Avatar for java-clueless
Member Avatar for java-clueless
0
134
Member Avatar for ruby T.

[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 …

Member Avatar for peter_budo
0
179
Member Avatar for NinjaLink

> numbers[i] = numbers[i+1]; When you're removing, this loop should start at the number you enter, not 0

Member Avatar for NinjaLink
0
131
Member Avatar for Trekker182

> 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] …

Member Avatar for eggi
0
102
Member Avatar for zamzianwar

[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.

Member Avatar for R0bb0b
0
98
Member Avatar for dimension

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.

Member Avatar for Colin Mac
0
149
Member Avatar for arunkr6

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]

Member Avatar for Ancient Dragon
0
89
Member Avatar for Liszt

Lemme get this straight, you're complaining something is 10 seconds slower because it sleeps for 10 seconds?

Member Avatar for Liszt
0
293
Member Avatar for concavang

> 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).

Member Avatar for Salem
0
264
Member Avatar for gbengazzee

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. …

Member Avatar for Salem
0
68
Member Avatar for staufa

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.

Member Avatar for HiHe
0
190
Member Avatar for vrga

You need to be calling new node; for each word you read from the file.

Member Avatar for JustinJose12002
0
154
Member Avatar for FrawgLips

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 …

Member Avatar for FrawgLips
1
110
Member Avatar for En-Motion

> 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]

Member Avatar for WaltP
0
148
Member Avatar for GrimJack

Pah, a mere lightweight compared to [URL="http://en.wikipedia.org/wiki/Governmentium"]Gv[/URL]

Member Avatar for Salem
0
54
Member Avatar for arupa

> 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]

Member Avatar for LizR
0
108
Member Avatar for MaxDev

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.

Member Avatar for MaxDev
0
98
Member Avatar for mayafree2002
Member Avatar for mayafree2002
0
141
Member Avatar for koman

> 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 …

Member Avatar for Salem
1
111
Member Avatar for sladesan

> 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.

Member Avatar for stilllearning
0
169
Member Avatar for Liszt

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.

Member Avatar for Liszt
0
183
Member Avatar for Somersett
Member Avatar for Somersett
0
102
Member Avatar for gregorynoob

[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 …

Member Avatar for Salem
0
240
Member Avatar for Khae

The End.