5,237 Posted Topics

Member Avatar for vskumar19

Are we supposed to guess which [URL="http://en.wikipedia.org/wiki/Widget_toolkit"]GUI toolkit[/URL] you're using to draw your "editbox" ? Presumably said editbox comes with a manual - what does it say?

Member Avatar for Salem
0
104
Member Avatar for beginner233

> how would I happen to utilize a System.out.printf statement to make three columns with the three headings. 1. Read the manual 2. Make an attempt (fail) 3. Re-read the manual, more carefully this time. 4. Make another attempt (fail) 5. Post small example on the forum showing your attempt …

Member Avatar for jwenting
-1
130
Member Avatar for shahab.burki

> char src_port[4]; This isn't long enough to store "1591\n\0" in the first instance of calling fgets(). It isn't even long enough to store "1591\0"

Member Avatar for shahab.burki
0
99
Member Avatar for deepugtm

Get a real compiler and stop living in the past! What's wrong with all you people who drag around some 20+ year old "security blanket" like it's the single most important thing in their lives! So you've got to learn some new stuff - well "boo hoo". IT is one …

Member Avatar for sangramanand
0
730
Member Avatar for pareshverma91
Member Avatar for soroush68

Oh good, another one of those pointless "can you do... without using the obvious... " exercises which some tutors seem to enjoy giving, but which have absolutely no use outside the classroom. Print the address of two elements of an array of them.

Member Avatar for bharath404
0
257
Member Avatar for Ranma344

Do you have adequate cooling? Games will stress the hardware, so it seems to me the card just runs into thermal shutdown after a while. Further, since you've had this a while, cooling could be further hampered by the build-up of dust around the fans and heatsinks. A better fan, …

Member Avatar for Ranma344
0
114
Member Avatar for method4ever

First, indent your code. [url]http://sourceforge.net/apps/mediawiki/cpwiki/index.php?title=Indentation[/url] Second, approach the problem in small steps. Step 1 would be to just read in the data, then print it straight back to the user. Until that works, messing with 'sort' for example will just produce garbage results.

Member Avatar for method4ever
0
190
Member Avatar for johndoe444
Re: echo

[URL="http://unixhelp.ed.ac.uk/CGI/man-cgi?echo"]echo -e[/URL] You're not printing a \n, you're printing a literal linefeed. If you had written echo "this is a\nmoron" you would still be in the same position as with all the \v's

Member Avatar for Salem
0
75
Member Avatar for Mme

Create some kind of structured array for your songs (not in-line code) So [CODE]song1_notes dw #568, #455, #380, #361 song1_times dw 1, 1, 1, 2 ; 1 is sixteenth, 2 is short[/CODE] Your song playing loop steps through the table [CODE]PlayOneSong - input parameters would be pointers to a given …

Member Avatar for Salem
0
147
Member Avatar for muqing

[url]http://cboard.cprogramming.com/c-programming/125705-help-qsort.html[/url] Why? [url]http://www.catb.org/~esr/faqs/smart-questions.html#forum[/url]

Member Avatar for JuhaW
0
83
Member Avatar for JainishP
Member Avatar for JainishP
0
2K
Member Avatar for anjal_pawar
Member Avatar for prakakat

[url]http://cboard.cprogramming.com/c-programming/125677-c-gets-function-implementation-help.html[/url]

Member Avatar for Ancient Dragon
0
87
Member Avatar for akaz00
Member Avatar for Crossmine

[url]http://shop.ebay.com/?_from=R40&_trksid=p3907.m38.l1313&_nkw=Dell+Latitude+C510%2FC610&_sacat=See-All-Categories[/url] Make a quick 20 to 30 bucks selling a working charger and a laptop for spares/repair. The only thing worth trying is to carefully remove and reseat the RAM and the cable connections.

Member Avatar for Salem
0
116
Member Avatar for twentytwotwo

Crazy idea, but how about [url]http://www.gigabyte.com.tw/Products/Motherboard/Products_Overview.aspx?ProductID=3165[/url] downloading the manual and reading it?

Member Avatar for Salem
0
154
Member Avatar for adammaarsh

I think you're a dumb-assed sig-link spammer reposting pith from other parts of the internet just so you can have a signature link. Ohh, looky-see http://www.computing.net/answers/windows-nt/why-does-microsoft-still-support-nt/23208.html

Member Avatar for Salem
-1
287
Member Avatar for Ron_HL

Press "F1" or [URL="http://msdn.microsoft.com/en-us/library/s5b150wd.aspx"]google[/URL]

Member Avatar for Salem
0
97
Member Avatar for bonyshine

Answer these questions: Why did you take the course in the first place? Why are you still on the course? > linux (i don't know what is it , but im waiting u to tell me ) I'm waiting for you to use a search engine.

Member Avatar for highschool
0
501
Member Avatar for mabpest

So what have your excellent google search skills told you so far? Wait, what's that? you haven't used google at all?

Member Avatar for GreyWill
-1
147
Member Avatar for tikoti
Member Avatar for cwarn23

> But to be fair, I guess this group falls under "Internet Marketers making contacts". Ah, English irregular verbs, don't you just love 'em. "I'm an internet marketer" "You're a spammer" "He's being prosecuted under the computer mis-use act"

Member Avatar for WaltP
0
355
Member Avatar for rickster11

[url]http://www.daniweb.com/forums/thread273756.html[/url] Switching languages won't aid your understanding of the recursive nature of the problem.

Member Avatar for rickster11
0
175
Member Avatar for acos.carlos

> switch (option) { > int array[100], size, value; Your array and size go out of scope (and lose their values) every time you make a new choice. Move these to an outer scope, one which persists for as long as you need it to.

Member Avatar for WaltP
0
124
Member Avatar for Duker

Or - download the source code for bash - hack the code which handles \w in prompt strings - suggest to the maintainers this is a handy feature between no path and ridiculously long paths - upload (or just enjoy your local mods)

Member Avatar for Salem
0
211
Member Avatar for deanus
Member Avatar for S1GNZ

Use the fact that [ICODE]array["@domain.com"]++[/ICODE] is valid syntax.

Member Avatar for Salem
0
96
Member Avatar for manutd4life

> here's my question: [url]http://www.daniweb.com/forums/announcement8-2.html[/url] > tips how can i start?? [code] int main ( ) { return 0; } [/code] Then - prompt for an integer - write a loop which counts backwards - then...

Member Avatar for deanus
0
89
Member Avatar for shrutinr

Set the maximum range to say 10000, then when it comes to displaying 0.0 to 999.9, simply multiply by 10.

Member Avatar for shrutinr
0
104
Member Avatar for evilsithgirl

Rename each main to be [CODE]int kruskels_main( int argc, char *argv[] ); int prims_main( int argc, char *argv[] );[/CODE] The driver.cpp then becomes (with a bit of fluff for choices) [code] int main ( int argc, char *argv[] ) { return kruskels_main( argc, argv ); } [/code]

Member Avatar for Salem
0
96
Member Avatar for wafie

Abysmal indentation! [url]http://sourceforge.net/apps/mediawiki/cpwiki/index.php?title=Indentation[/url] WTF are lines 94 to 130 trying to do? You have two choice == 2 To stop main() becoming 100's of lines long, each choice should be a separate function. [code] if ( choice == 1 ) { doChoice1(); } [/code]

Member Avatar for Salem
0
186
Member Avatar for Xufyan

You can do [ICODE]a = b = abc();[/ICODE] Or change the code so that it reads [ICODE]a = abc( &b );[/ICODE]

Member Avatar for Xufyan
0
110
Member Avatar for LadyAnne
Member Avatar for skorm909

[url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url] > i was putting the finishing touches on my project and there are some errors that came up So do a diff between the last known good version and the one you broke. When you're in less of a panic, investigate [url]http://git-scm.com/[/url]

Member Avatar for skorm909
0
194
Member Avatar for c1979h

Read this [url]http://cboard.cprogramming.com/c-programming/88495-development-process.html[/url] Then get into the habit of writing code in small steps, and compiling often. > Error 1 fatal error C1075: end of file found before the left brace '{' at line 50 But your paste has only 45 lines!? So you've either posted some irrelevant code, or …

Member Avatar for c1979h
0
204
Member Avatar for lotrsimp12345

[url]http://www.catb.org/~esr/faqs/smart-questions.html#bespecific[/url] Even for a 1-poster, that "question" would suck.

Member Avatar for lotrsimp12345
0
462
Member Avatar for bleutana

> if (sd1+sd2<sd3||sd2+sd3<sd1||sd1+sd3<sd2)[B][COLOR="Red"];[/COLOR][/B] Watch the birdie!

Member Avatar for bleutana
1
76
Member Avatar for Drunk.scientist

> if ( lastLetter== "e" && !isVowel ) You need to actually call the isVowel function, with a parameter. > in isVowel... > { return true;} So what does this return otherwise - random garbage!

Member Avatar for Drunk.scientist
0
553
Member Avatar for scrappy57

Apart from throwing in a few () and {}, the syntax is similar enough for you to at least have an attempt yourself.

Member Avatar for Adak
0
90
Member Avatar for alexRivera

> having trouble with the print and the main The only problem with print is that you don't have any code there! Besides, printing is easy compared to the code you've "written" so far. Give it a shot - don't just dump "it doesn't work" code on us, and expect …

Member Avatar for alexRivera
0
128
Member Avatar for techstu

[url]http://www.cplusplus.com/reference/iostream/fstream/[/url] Modern C++ compilers do not have the .h on the end of standard library includes.

Member Avatar for techstu
0
85
Member Avatar for johndoe444

> what is the significance of the "\" and ";" at the end of the command? What is the significance of the \ to your shell? Look up quoting rules.

Member Avatar for Salem
0
69
Member Avatar for deeep

> Yup Right..Can you tell me how it goes? You already said that in post #1. Like Walt said, it's all about "use and adapt".

Member Avatar for deeep
0
205
Member Avatar for martinjcloud

Break it into steps. [code] char *run( const char * const str ) { char *result = malloc( strlen(str) + 1 ); if ( result != NULL ) { strcpy( result, str ); } return result; } [/code] It's better than this, which does not check for errors. [code] strcpy( …

Member Avatar for martinjcloud
0
139
Member Avatar for bucwet

> numArr[MAXSTRLEN],asciiArr[MAXSTRLEN] long ints are typically 4 bytes, so this little lot takes a whopping 8MB of stack space. You're almost certainly blowing your stack limits with this code. > for (i = 0; i < CHARS; i++) Especially as this much smaller limit seems to be applicable for at …

Member Avatar for bucwet
0
237
Member Avatar for evansjahja
Member Avatar for syamala devi

[url]http://www.daniweb.com/forums/thread214661.html[/url] Or what about this? [url]http://www.daniweb.com/forums/thread215022.html[/url]

Member Avatar for peter_budo
0
450
Member Avatar for mitchelmarsh

Same thing, two YEARS AGO! [url]http://forums.macosxhints.com/showthread.php?t=86526[/url]

Member Avatar for Salem
0
100
Member Avatar for Izzy123

The code you posted won't even compile. Look at the syntax colouring of your main - line 17 is missing a closing "

Member Avatar for Izzy123
0
148

The End.