5,237 Posted Topics

Member Avatar for i.linus

You missed this > Our Software Development forum category encompasses topics related to application programming and software design. When posting programming code, encase it in code-tags, (code=syntax), where 'syntax' is any language found within our Code Snippets section, or (icode), for inline code, bbcode tags. Also, to keep DaniWeb a …

Member Avatar for Salem
0
174
Member Avatar for henpecked1

Sheesh - 200 posts, and the indentation is still crap. Your super IDE may be able to make sense of your crazy mix of spaces and tabs, but most everything else will (sooner or later) make a complete pig's ear of it. Do everyone a favour and turn OFF tabs, …

Member Avatar for henpecked1
0
183
Member Avatar for cabdziner

> Can I boot/run the XP HD (master) and access the W98 Hd (slave) to transfer/copy files? Sure. Just make sure the W98 disk is configured as a slave drive when you swap them over, and it just becomes a data disk. > Assuming this can be done, how would …

Member Avatar for cabdziner
0
108
Member Avatar for Ancient Dragon

Well that's what you get when you integrate a browser into the OS. [url]http://www.answers.com/topic/hoare-c-a-r[/url] Perhaps it's time to consider making things much simpler, rather than bloating the crap out of everything in the guise of creating "value". Or as Scotty in ST-III said "The more they over think the plumbing, …

Member Avatar for R0bb0b
0
139
Member Avatar for nivea_jmd

IMO, the better place for this would be in the driver code, not your user code. If you're lucky, your hardware will be capable of generating an interrupt when CTS changes. If not, then making the driver (not your user code) poll the status and only signal your code when …

Member Avatar for Salem
0
176
Member Avatar for Isha20

Sure, show us how you would begin with reading your format file to - read each line - tokenise the line at each ; - print the value of each token

Member Avatar for jephthah
0
139
Member Avatar for gispe

The "used without being initialised" refers to your line 20. You don't set it to anything, then you pass it to a function. Answer: initialise it. > //this for isnt countin Your while loop is doing the counting - check line 51. You have two loops, so I guess it …

Member Avatar for Salem
0
171
Member Avatar for anesis23

[url]http://www.catb.org/~esr/faqs/smart-questions.html#noprivate[/url] On the assumption that you might be back, and not just sitting in your chair waiting for the answers to come flooding in to your inbox.

Member Avatar for Salem
0
197
Member Avatar for RayvenHawk

You need a [ICODE]new node[/ICODE] every time you add a pair of integers from the user input.

Member Avatar for RayvenHawk
0
306
Member Avatar for minnie

> >But 2004 was only 1.5 years ago :-) > June 26, 2004 was the last post. It's now June 23, 2006. Well silia55 really raised the bar on this one, by being well over 2 YEARS late with the useless bump, showing NO regard WHATSOEVER for the forum rules. …

Member Avatar for Salem
0
167
Member Avatar for ankit7

I figure it's at about this point that the OP will decide to disclose that they're using from fossil DOS compiler like Turbo C. And not (as they should be) some modern 32 bit-compiler which is actually compatible with the OS they're using.

Member Avatar for dmanw100
0
136
Member Avatar for Salem

Remove all phrases like this - When posting programming code, encase it in [code], [code=syntax], Remove all announcements like this - Please use BB Code and Inlinecode tags Remove all stickies like this - Read This Before Posting Remove the watermark at the back of the edit window Why? Because …

Member Avatar for jasimp
1
190
Member Avatar for coveredinflies

Well you could try reviewing your post before submitting it, to make sure things like code tags and URL links are actually correct. Rather than just puking into the edit window and pressing submit :(

Member Avatar for Sky Diploma
0
124
Member Avatar for dave_nithis

I found a [URL="http://wooledge.org:8000/BashFAQ#head-d2cc48c6ebd4adf5892d29a62ca412d11ccde0fd"]FAQ[/URL]

Member Avatar for Salem
0
85
Member Avatar for TTgheTT

> anyone can help me? [URL="http://www.catb.org/~esr/faqs/smart-questions.html#prune"]Nope, sorry[/URL]

Member Avatar for Salem
0
127
Member Avatar for Griszell1

Unless that includes topics like these, it could be harder. - Software Engineering - Embedded Systems - Real Time Systems - Inter process communication - Networking (not just TCP/IP, networks in general) "IT Degree" is too vague. Post a URL to the college / department website with a syllabus.

Member Avatar for mackone
0
112
Member Avatar for peanutong

You mean you didn't read the manual on WHERE before asking? [url]http://www.w3schools.com/sql/sql_where.asp[/url] Check the use of % at the end

Member Avatar for Salem
0
73
Member Avatar for Evan M

> but I've been having several problems with winsock. Such as? If it's because your programs are crashing, or have odd behaviour? Then I'm afraid that's all down to bugs in your code. Changing libraries won't solve anything. Or is there some aspect of network functionality you deperately need? In …

Member Avatar for dmanw100
0
586
Member Avatar for atish00

C++? 2D arrays of char? What about a reference to a std::vector of std::string ? Easy, and safe!

Member Avatar for Salem
0
324
Member Avatar for TheGhost
Member Avatar for vijaysoft1

The user types "apple" into [ICODE]typedword[/ICODE]. You then set [ICODE]int pos = typedword[0][/ICODE]. You also set [ICODE]int wordcount = 0;[/ICODE]. The loop to scan the array is [code] while ( wordcount < 300 && word[pos][wordcount][0] != '\0' ) { // something here wordcount++; } [/code]

Member Avatar for vijaysoft1
0
358
Member Avatar for FractalizeR

Doesn't this work? [ICODE]cmd="${MODULE_NAME}_${FUNCTION_NAME}" $cmd [/ICODE] What about? [quote=bash manual] eval eval [arguments] The arguments are concatenated together into a single command, which is then read and executed, and its exit status returned as the exit status of eval. If there are no arguments or only empty arguments, the return …

Member Avatar for FractalizeR
0
92
Member Avatar for kidda

> ~Clarie Sargent, Arizona senatorial candidate > generall geekiness What's with all the military ranks AD? "Who is general failure, and why is he trying to read my hard disk?"

Member Avatar for Lardmeister
0
46
Member Avatar for shiftman
Re: pete

Wait a minute!, there's grass on the other side? *goes off to look*

Member Avatar for Salem
0
6
Member Avatar for ehsan_op

> hThread=creatThread( Null, 0, ThreadFunc, Null, 0, &ID); Yeah, there's a problem. As soon as Create() returns, you've got a danging pointer to a local variable which no longer exists. If you want to pass parameters to threads, the safest way is to allocate some memory, fill in the details …

Member Avatar for ehsan_op
0
146
Member Avatar for zawpai

First thing would be make sure you have the latest service pack for the compiler. There has been like 5 or 6 service packs for that compiler. Or just upgrade to the latest visual studio express.

Member Avatar for anilopo
0
395
Member Avatar for floros

What else is in your code? Did you define those symbols yourself? Post a minimal complete program which demonstrates the problem.

Member Avatar for VernonDozier
0
190
Member Avatar for J-son
Member Avatar for ArkM
0
88
Member Avatar for bgbiplab
Member Avatar for matiome

Sure, what have you tried so far? For instance, can you do the same in C (or any other high level language) without resorting to some library function? Start with "123" on paper, and think about how you might get say 3 from "3".

Member Avatar for Salem
0
102
Member Avatar for Dan_AlfaRomeo

Cobol has a 40 year head start over Java. [URL="http://www.faculty.juniata.edu/rhodes/cobol/syllabus.htm"]Gartner Group reports that 200 billion lines of Cobol code existed as of last year, with an expected growth of 5 billion lines of code per year for the next four years[/URL] Nor is that amount of code going to go …

Member Avatar for Salem
0
91
Member Avatar for plike922

It's called displayArray in some places, and display in others. Be consistent!

Member Avatar for Aia
0
84
Member Avatar for edouard89

Your remove leaves a garbage duplicate copy of a pointer when you shuffle the array down 1 place. This will cause havoc if you then try to delete it. Why aren't you using std::string for your char arrays, and std::vector for your field array (vector has a remove, which would …

Member Avatar for Salem
0
129
Member Avatar for utmibnca2004

> I am Rammohan from Bangalore and working as a Technical lead in big IT firm . Please tell me the name of this firm, so I know to avoid placing any contracts with it in future, or accidentally recommending it to anyone who might be looking for software services.

Member Avatar for mahlerfive
0
145
Member Avatar for mksakeesh
Member Avatar for Salem

Forget it. [url]http://news.zdnet.co.uk/software/0,1000000121,39452527,00.htm[/url] "three years from general availability of Windows Vista" Or 18 months after SP1. Or what, 2 weeks after SP3 and the deluge of daily fixes has slowed to a trickle. Oh well, never mind, time to buy some new hardware and ride this brand new pony from …

Member Avatar for sneekula
0
129
Member Avatar for creativehacker

What boot devices (and what order) have you set in the BIOS? It seems like you've got "CD-Only" or something like that.

Member Avatar for gerbil
0
132
Member Avatar for cam875
Member Avatar for cam875
0
131
Member Avatar for ambarisha.kn

> Expected o/p is 1 5 6. but i am getting 1 0 0.. what is the corrections to get the expected o/p??? > printf("const area:%d\t%d\t%d\t",constDataArea[0], constDataArea[1], constDataArea[2]); Think about what all those sizeof's you did earlier mean. If in doubt, print the current value of nextpos and freepos after …

Member Avatar for ArkM
0
855
Member Avatar for timb89

I think they're meant to write some code where all the "// Add" comments are. > cout << "Enter the filename of the grid: " << flush; // don't modify > cin >> fileName; // don't modify Start simple, write a function to read a file and store it in …

Member Avatar for Salem
0
92
Member Avatar for asymmetric

> PUSH 6(BP) ! here i'm putting romfile on the stack again It's the way a compiler would do it. > another solution would be to have a register (BX maybe?) Also a possible way, for example [URL="http://msdn.microsoft.com/en-us/library/6xa169sk.aspx"]__fastcall[/URL] Whether you push all the params, or pass a few in registers, …

Member Avatar for Salem
0
127
Member Avatar for harshchandra

> void main() Nope, main returns int [URL]http://www.c-faq.com/ansi/maindecl.html[/URL] Oh, and read the intro threads on how to post code, specifically [code][/code] tags before posting more code.

Member Avatar for Nick Evan
0
427
Member Avatar for tspj20

Use the STL perhaps? [url]http://www.sgi.com/tech/stl/next_permutation.html[/url] Unless of course using recursion is actually your homework assignment.

Member Avatar for ArkM
0
124
Member Avatar for TheBeast32
Re: TAPI

What do you mean "how"? How I would do it would be - STW for tutorials and examples - Read the manual pages - Try some examples - Do some design work on the system I want to implement - Write some code, then test it. And so on. Same …

Member Avatar for Salem
0
432
Member Avatar for kneiel
Member Avatar for Salem
0
89
Member Avatar for nizam_khan
Re: Help

First question is, why is a newbie been given the job of porting an application? It can be one of the harder things to do, making something work in a new way without breaking anything. First recommentation would be to make sure you have a good set of tests, so …

Member Avatar for nizam_khan
0
138
Member Avatar for Kadence

You can't tell how many arguments have been passed to a varargs function, you have to tell it how many there are. There are several ways of conveying the effective argument count. [ICODE]printf( const char *format, ... ); printf( "The min is %d, the max is %d\n", min, max );[/ICODE] …

Member Avatar for Kadence
0
282
Member Avatar for xcesmess

[url]http://www.opengroup.org/onlinepubs/009695399/functions/localtime.html[/url] Use localtime() or gmtime() as appropriate to turn a "time_t" into a "struct tm". Use mktime() to go the other way Use strftime() to format bits of a struct tm

Member Avatar for Ancient Dragon
1
111
Member Avatar for mimo77

Not only have you posted hundreds of lines of unindented, non-portable and non-standard C++, you've also completely FAILED to understand why the board exists. [url]http://www.daniweb.com/forums/thread78223.html[/url] Read the last entry.

Member Avatar for papuccino1
-1
197
Member Avatar for astropirit

How about spending the couple of years learning to use C++ properly, rather than diving in at the deep end? But then it seems all you want to do is cheat at games, so there's bugger all motivation for us to try and teach you.

Member Avatar for William Hemsworth
0
103

The End.