5,237 Posted Topics

Member Avatar for bharanidharanit

Tom Gunn, please read these: [url]http://www.daniweb.com/forums/thread78060.html[/url] [url]http://www.daniweb.com/forums/announcement118-2.html[/url] There's a line between "help" and "spoon-feeding the complete answer".

Member Avatar for Dave Sinkula
0
357
Member Avatar for giora88
Member Avatar for Salem
0
125
Member Avatar for julia2009

[url]http://www.tldp.org/HOWTO/NCURSES-Programming-HOWTO/[/url] [url]http://invisible-island.net/ncurses/ncurses.faq.html[/url]

Member Avatar for ArcRoyal
0
1K
Member Avatar for Tumbleweedracef

> Or, is it time to take everything off of it and trash it ? That would be the best idea. If there is mechanical damage, then no s/w is going to be able to fix that for you. It might be able to work around the problem for a …

Member Avatar for Salem
0
100
Member Avatar for anirbanjoy

> nm command shows that the corresponding object names are mangled (e.g. _Z12releaseTimerv), Try adding the extern "C" to the implementation of those functions as well. > Using extern "C" in the header file did not remove it. But it did make it so that the users of that function …

Member Avatar for anirbanjoy
0
379
Member Avatar for rosiecomsoft
Member Avatar for csurfer
0
83
Member Avatar for george_cpp

Except which one is "fastest on the current setup" is a moving goalpost with every patch / update / release / new compiler. Plus if you're writing code which is in any way open source, then a whole raft of different compiler options will appear, each with their own "x …

Member Avatar for monkey_king
0
5K
Member Avatar for paroshm

- fopen to open files, fclose to close them - fgets / fputs to deal with whole lines - sscanf to parse a line - sprintf / strcpy / strcat / str.... to generally mess around with char arrays to arrive at the answer you want.

Member Avatar for Narue
0
111
Member Avatar for chandru_shan

Use the debugger to debug your program. All you need do is run the program in the debugger, and it will catch the fault. Then you work your way back up the call stack to YOUR code, and then start looking around to see what might have gone wrong. - …

Member Avatar for Salem
0
213
Member Avatar for adrivit

> So, should I buy a Macbook or a Macbook Pro for all the mathematical work that I will be doing? Why not ask your faculty to be for a recommendation? Instead of asking "J Random Poster" who knows less about your course to be than you do.

Member Avatar for dirt14
0
113
Member Avatar for Gallienus
Member Avatar for dadrian
0
155
Member Avatar for gretty

Do you mean efficient, or elegant? Do you mean efficient, or adaptable? You could create (or find, there are plenty for this common exercise) a CSV class which does all the comma parsing for you. [code=c++] while ( line.getline() ) { CSV parser(line); // does all the magic of splitting …

Member Avatar for ArkM
0
148
Member Avatar for ruisimoes

> how would you decompile it in order to see its code? Short answer - you can't disassemble code. Long answer, you can disassemble code, but the result is likely to be the most horrible mess you've ever seen. Example: [code] for ( i = 0 ; i < 10 …

Member Avatar for ruisimoes
0
102
Member Avatar for project x

You can run as many copies of the free VmWare player as you like [url]http://www.vmware.com/products/player/[/url] But you can only run pre-built VmWare images inside the player. You can get them from many sources, such as here [url]http://www.vmware.com/appliances/[/url]

Member Avatar for DimaYasny
0
274
Member Avatar for themaster

> while using WIN32 API will limit it to Windows. You're even MORE limited by your choice of compiler!. You can build a simple window effect using curses [url]http://pdcurses.sourceforge.net/index.html[/url]

Member Avatar for Ancient Dragon
0
293
Member Avatar for vikasnahar

> [COLOR="Red"]fact [/COLOR]= [COLOR="Green"]fact[/COLOR](number); How does the compiler decide what you mean?

Member Avatar for seemant_sun
-1
106
Member Avatar for seemant_sun

> write a program to find size of a file without traversing it character by character? Even using fseek()/ftell() might be an approximate answer. [url]http://c-faq.com/stdio/textvsbinary.html[/url]

Member Avatar for Ancient Dragon
0
120
Member Avatar for mahesh parmar
Member Avatar for Stinomus
0
85
Member Avatar for soul101

> - Learn an I.T. skill in the shortest period of time Does moving the mouse count? Seriously, anything which pays well takes a LONG time to learn. You can't just chew on the end of a cat-5 cable, hope to absorb lots of information "matrix-style" and then 10 seconds …

Member Avatar for ItCareerCoach
0
207
Member Avatar for satishdvns

It's what search engines were made for. [url]http://clusty.com/search?query=base+sas+certification&sourceid=Mozilla-search[/url] Use them.

Member Avatar for freelancelote
0
60
Member Avatar for Salem

[URL="http://www.telegraph.co.uk/news/worldnews/europe/eu/5413090/European-elections-2009-No-wonder-voters-cant-be-bothered.html"]I don't know and I don't care[/URL]

Member Avatar for GrimJack
1
196
Member Avatar for GrimJack

Evolution is a fact and a theory [url]http://www.talkorigins.org/faqs/evolution-fact.html[/url] Also, the "how life got started" is a completely different question to evolution, which describes what happened after it did start. Finding say DNA (or not) on Mars / Europa in the next decade or two will certainly help in that discussion. …

Member Avatar for GrimJack
0
716
Member Avatar for grandalf62

You're not trying to call printf() INSIDE the ISR are you? Because that's a really bad idea.

Member Avatar for grandalf62
0
162
Member Avatar for andy\sr

> have asked in the virus forum, no reply. maybe cause im new No, it's because you only [URL="http://www.daniweb.com/forums/thread196522.html"]posted less than an hour ago[/URL]. You're getting a free service, which means people answer in their own time at their own pace. If you want guaranteed service, pay some money to …

Member Avatar for Godsp3ed
0
89
Member Avatar for timb89

else if ( s.length() == 1 ) return true; else do something to s, and do return isPalindrome(s)

Member Avatar for Stinomus
0
1K
Member Avatar for vandenzergen
Member Avatar for ixuz

I figure it's code::blocks IDE One difference between running inside and outside the IDE is the apparent "current working directory". Does your program open any files? Do you check for success when opening those files? If you don't, you take a leap into the big unknown and post a message …

Member Avatar for Salem
0
193
Member Avatar for krishnampkkm

[url]http://cboard.cprogramming.com/cplusplus-programming/116672-lcn-particular-volume-say-g-drive-will-start-0x00.html[/url] Here's why not [url]http://www.catb.org/~esr/faqs/smart-questions.html#forum[/url]

Member Avatar for Salem
0
118
Member Avatar for sivak

[url]http://www.catb.org/~esr/faqs/smart-questions.html#beprecise[/url] 1 line of random English words with a ? at the end does NOT make it a question.

Member Avatar for serkan sendur
0
119
Member Avatar for yazooney

> I am using a windows vista operating system and the code is correct, How do you know the code is correct? The evidence so far would suggest that the code isn't correct. Post an actual runnable subset of the code which crashes, not 1-line snippets of your guesses at …

Member Avatar for yazooney
0
3K
Member Avatar for nustian
Member Avatar for ithelp
0
65
Member Avatar for deostroll

So if you've got say 0x41 in AX, what do you expect to see as "output", and where do you expect to see it? As the letter 'A' As the decimal 65 As the hexadecimal 0x41 As a particular colour of pixel somewhere on screen. As a particular audio tone …

Member Avatar for ArkM
0
107
Member Avatar for Aseem_Pandey

a) post what you actually tried, not a description. b) post your actual error messages c) tell us what your OS/Compiler is.

Member Avatar for siddhant3s
0
269
Member Avatar for yun

Enroll in Stanford's cs program would seem to be the best way. Why is "pdf ps" at the end of every line? That in itself suggests you copied this from some D/L page anyway.

Member Avatar for Stinomus
0
438
Member Avatar for MidiMagic

Firefox + Adblock+ [url]https://addons.mozilla.org/en-US/firefox/addon/1865[/url] If you want to allow ads on your favourite site, then you can do this, otherwise, they're history. Noscript [url]https://addons.mozilla.org/en-US/firefox/addon/722[/url] If you absolutely must run javascript on a trusted website to get anything done, then you can enable it for that site. Otherwise, no thanks. Flashblock …

Member Avatar for MidiMagic
0
206
Member Avatar for theashman88

Posting some code which shows an attempt would be useful. As well as mentioning which OS/Compiler you're actually using.

Member Avatar for theashman88
0
124
Member Avatar for ithelp
Member Avatar for fadia

There are many things wrong with your code. But first, a question. How many lines did you write before pressing "compile"? If it was more than 10, then read [URL="http://cboard.cprogramming.com/c-programming/88495-development-process.html"]this[/URL] It's quite simple, if you only write 10 lines, press compile and get a new compiler error message, you've got …

Member Avatar for ithelp
0
129
Member Avatar for Pavan_

> Can memory addresses be negative No - that's just the way you print it. Use the %p format for printing a pointer. > 2)is negative subscript of array allowed in C? No. Arrays themselves are always 0-based, so there is never a negative subscript. That's not to say that …

Member Avatar for ArkM
0
148
Member Avatar for jcollins85

Your second call to getFirst() first consumes the \n left behind by the previous scanf() call. Mixing input methods is always a disaster waiting to happen.

Member Avatar for jcollins85
0
142
Member Avatar for mingke

You can't mix declarations and statements in normal C. [code] FILE*in; FILE*out; in=fopen("0.txt","rt"); out=fopen("rotation0.txt","w"); [/code] C++ allows this, C99 (the new C standard, but not widely supported yet) allows this, and so do some compilers as an extension. > return 0; > fclose(in); > fclose (out); You're not going to …

Member Avatar for mingke
0
202
Member Avatar for rickw57

- open case - read manufacturer / model number off the motherboard - use those to search google, along with "ram upgrade"

Member Avatar for caperjack
0
121
Member Avatar for Pavan_

From your definition of "best", an array seems the obvious choice. The code is trivially easy, and the the result has very good performance. The down side of an array is that it is always allocated in memory. So it wastes memory when the stack is unused, and cannot be …

Member Avatar for Salem
0
106
Member Avatar for yun
Member Avatar for mimio134

> Write a program to implement linked lists to handle large integers. Good for you, come back when you've made an effort. And read this [url]http://www.daniweb.com/forums/announcement8-2.html[/url] > Good challenge n happy coding! Or just go away and fail the course. You're simply not up to completing it. This is just …

Member Avatar for Sky Diploma
0
2K
Member Avatar for atman

> why the line age = getInt(IsValidAge); executes before printf Standard out is buffered. The printf happened, in the sense that the resulting string was stored in the standard out buffer maintained by the library. But what didn't happen was that buffer being sent to the outside world so you …

Member Avatar for Salem
0
158
Member Avatar for mzqpla

[url]http://answers.yahoo.com/question/index?qid=20080604100041AAgKk9J[/url] for SHAME!!!!!!!!

Member Avatar for Salem
0
42
Member Avatar for Ravenous Wolf

Draw diagrams - [URL="http://en.wikipedia.org/wiki/Unified_Modeling_Language"]UML[/URL] seems to be the thing to use nowadays. There are some good tools (and some free ones) which help with the maintenance. Though if you're only planning a few diagrams, paper and/or a whiteboard with post-it notes makes a great substitute. Although UML has 13 different …

Member Avatar for hitesh12287
0
222
Member Avatar for catchmrbharath

Well while you're waiting, consider reading the forum rules on how to post code, then edit your code for readability.

Member Avatar for Sky Diploma
0
145
Member Avatar for Traicey

250 posts, and you're still cross-posting [url]http://www.daniweb.com/forums/thread195793.html[/url] Yes I have the answer, and no you're not getting it.

Member Avatar for MosaicFuneral
0
152

The End.