1,265 Posted Topics
Re: Okay... that's nice. did you have a question? | |
| |
Re: [QUOTE=lionaneesh;1215366]Guyz :( you should understand that i am a human and i can be mistakened OK! So, please don't post bad reputation points. You all should understand that atleast I tried to write a tutorial. Man are you all guyz perfect .. HUH! :([/QUOTE] when you post something and declare … | |
Re: DUDE, pay attention. the person you are "talking" to, last posted 5-1/2 years ago. they are not waiting for your nuggets of wisdom. | |
Re: eh, it's okay. but certainly not "the best". unless "the best" means code that has typos and memory leaks. but the larger question is this: do you really think the OP has been waiting 5 months for you to post your favorite link? | |
Re: if you need a custom .dll to do provide some functions why do you give a damn what language it's written in? if it's a .dll, it can be written in Perl or Visual Basic for all you care, as long as it works. A .dll exports functions to the … | |
Re: don't get hung up on the details of fgets() right now if it causes you to get too far ahead of your class instruction. to use it without understanding it could get you in trouble with your instructor that they might accuse you of plagiarizing someone else's solution. if your … | |
Re: it was thought up by overpaid marketers after thousands of manhours and catering bills. the end result is just something that can be verb-ifyed, in an attempt to move into google's marketspace. that it rhymes with "ping" is an attempt to associate it with information gathering. all in all, its … | |
Re: the comments at[URL="http://gizmodo.com/5470587/computer-engineer-barbie-has-a-phd-in-fun-and-breaking-down-stereotypes"] that site[/URL] are [B]hilarious[/B]. | |
Re: [pseudocode] [CODE=text]get 'number' do outer loop while 'number' > 9 set value of 'sum' to zero do inner loop for each 10's place digit in 'number' increment 'sum' by value of each digit in 'number' replace 'number' with this 'sum' 'number' is now sum of digits reduced to a single … | |
Re: besides the fact you're not supplying the promised arguments to your printf statement, you're approaching this in a confused manner. your function takes two inputs and just outputs the larger of the two. it does NOT comparatively sort the two. so in keeping with the purpose of the function, you … | |
Re: [QUOTE=appunu;1213049]printf("%.0f,16.25); and it prints 17.. [/QUOTE] not sure what you're talking about. that will most certainly round it down and print "16" | |
Re: theres no way i'm going to copy all that code into files on my local drive and then debug it for you. start with one error at a time. trace the line that it calls out and fix the problem. then recompile. repeat. you'll often find a lot of seemingly-unrelated … | |
Re: [QUOTE=gerard4143;1212131]You could help us out and post the code.[/QUOTE] that wouldn't help anything, but rather just add confusion to the issue. this is a problem with the command line arguments he is using for the cc compiler. could be a problem with case-sensitivity in the arguments. could be a problem … | |
Re: dude, you suck. seriously, coming in here trying to wheedle your way into getting someone to steal the property of someone else, [I]and then give it to you[/I], just so you can continue to weasel your way to a dubious "masters degree" ? WTF ever. I say, you work for … | |
Re: [QUOTE=Ancient Dragon;1207674]Well, what does "%n" do in scanf()? I couldn't find [URL="http://www.cplusplus.com/reference/clibrary/cstdio/scanf/"]any reference to it here[/URL]. And it seems to not do anything in the code that's been posted in this thread either. But if I enter HelloWorld 1 2 Then the string length is correct, for some odd reason.[/QUOTE] … | |
Re: just go interview at the place you want to work. when they say, "we'll get back with you", tell them you're showing up monday with your tools. then show up monday with your tools. ask someone where the coffee pot is. locate an empty cube and hang up your photos. … | |
Re: '=' is an assignment operator '==' is a comparison operator do you want to assign a value or compare two values | |
Re: [CODE] do{ //... } while(ch=='n'||ch=='N'); [/CODE] (1) where is 'ch' assigned? (2) your code, as it is, will continue to "do" when the 'ch' is either 'n' or 'N'.... isnt this backwards? shouldn't it be [icode]while(ch != 'n' && ch != 'N')[/icode] ? . | |
Re: if you're going to use strtok, and all fields are consistent (even if they might be empty), then parse everything based on commas... don't try mixing it up halfway through and parse tokens based on quotation marks (") then once you've gotten each field in the line as a token, … | |
Re: why would you define TRUE as 0 and FALSE as 1? TRUE and FALSE are defined, as 1 and 0 respectively, in stdbool.h for C99. if you're unsure do this: [code] #ifndef FALSE #define FALSE (0) #endif #ifndef TRUE #define TRUE (1) #endif [/code] | |
Re: good lord, man, you've been asking variation on this same question for 3 weeks now. how much longer are we going to be here? what part aren't you getting? | |
Re: yeah, seems like everything gives five points. tell me something that doesnt give five points. ![]() | |
Re: the beauty about internships is they don't expect you to know a whole lot, and will teach you what to do. i'd be pretty stoked if i were you. this is a great opportunity. | |
Re: this doesn't make any sense, but if you must do something like this, then you need to get into the deep details of the windows API. since you're even asking this question, then you have no chance of successfully navigating the Windows API therefore you will have to do something … | |
Re: and for those of you following along at home: [URL="http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf"]The C Standard[/URL] (as of 2005: C99, TC1, and TC2) confirms. impressive. | |
Re: [QUOTE=dcgiann;1208601]Can I earn a decent living as a Data Recovery Service from my CIS degree?[/QUOTE] can you recover the data from my Hitachi Deathstar HDD that shit the bed? | |
Re: what's the problem? this function converts a numeric IP address into a "dotted decimal" string for human readability. here's the specification: [url]http://www.opengroup.org/onlinepubs/000095399/functions/inet_ntop.html[/url] and here's a more user friendly reference: [url]http://beej.us/guide/bgnet/output/html/multipage/inet_ntopman.html[/url] | |
Re: this has only been solved about 100 times in the past year or two. i think we're all tired of this one. why dont you do a nominal search and find one of the many full solutions available? | |
Re: use the [URL="http://www.cplusplus.com/reference/clibrary/ctime/"]<time.h>[/URL] library functions. | |
Re: JC covered it pretty well. but let me comment on your indentation. it's a pet peeve. when you use a brace '{' to open a block of code, *EVERY* line after that is indented one level to the right, until another brace is found. at which point a closing brace … | |
Re: yeah, and don't forget to take your vitamins. now as for printing an array, just use a loop: [code]for (i=0; i<NUM_ROWS; i++) { for(j=0; j<NUM_COLS, j++) { printf("%c", current_board[i][j]); } printf("\n"); }[/code] | |
Re: shouldn't it be entered as "O" and then "1" since the column is the letter, and in the scanf, your column letter is being entered first. i see that there can easily be confusion with this because your array is structured such that the row is indicated first, not the … | |
Re: the text is most likely not formatted in any meaninful way and fscanf will be difficult if not impossible to use. use fgets() to read the file line by line. use strtok() to parse each element (or token) in the line by delimiting each element by the spaces (' ') … | |
Re: initialize a float with value zero. begin a while loop to take character input, and break on newline entered. in the body of the while loop you will : --- check if decimal point is entered. if so, keep track of this fact, and continue to get next character --- … | |
Re: ID3 are far more commonly used for music files than APE, but it depends on who tagged the file. theres no way to enforce which tag someone uses. so, you can just look for one tag type, or you can look for multiple. depends on how versatile you want your … | |
Re: dude, don't try to mindlessly copy or convert code. he didnt link the code, anyhow. he linked the method. so you need understand the [I]method[/I]. understand [I]how [/I]to do it. not how to copy. this is your problem. . | |
Re: you can't print an int (or char) as a string ("%s") in the future, don't bump 5 year old threads. start your own. and use [code] tags. thanks. | |
Re: threads like this bring the lulz and keep me coming back. :) i didn't know n00bs couldn't create tags... what's the threshold? and why don't we have the same thing for Code Snippets? Actually, what I really want to see is some kind of minimum/threshold for allowing signature links. . ![]() | |
Re: i don't know how you're going to do a "startup" without incorporating some amount of "entrepreneur" -ism. i don't think industry professionals just create a new business without some amount of scrambling for funds and risk-taking. but i'm not an entrepreneur, so don't ask me. anyhow... i can make gamez! … | |
Re: CODING ERRORS: [CODE]CanCal = fopen("can.txt", "r+");[/CODE] you havent closed the previously opened pointer to teh same file. [CODE]fprintf(CanCal, "%d ", &TD[i][j]);[/CODE] you're printing the address not the value [CODE]printf("%d\t", &TD[i][j]);[/CODE] ditto [CODE]fscanf( CanCal, "%d %d", &row, &col);[/CODE] well, now that you've done this, your file pointer is halfway through your … | |
Re: um, search the filename string for a ".com" extension? yes? and it's pretty clear that you're trying to make some sort of malicious software. not a virus, obviously, because you clearly don't have the talent, but some sort of disruptive program nonetheless. and FTR, your defense is laughable. viruses aren't … | |
Re: um, did you try "double-clicking" the file? .obj files are written in plain text. | |
Re: C is fine. and this is not very difficult you will have to open the file as a binary file. you need to understand the basics of the MP3 format to know where in the file you will find the "metadata" information such as artist, title, tracks, etc. This metadata … | |
Re: declare your variables at the top of main()... before your while loop. declare your array 'home' size properly. | |
Re: hay!!! write it your damn self! thanks :) | |
The End.