1,265 Posted Topics
Re: Hello and welcome, Bob Plunkett :) I was born in Okinawa. Aza-Kuwae Chatan-Son, if i correctly recall what's written on my birth certificate. I often wonder about my birthplace, i was only 3 mos old when my folks brought me back to the States. (my dad was USAF). he was … | |
Re: i think the going rate for homework dumps is $1000.00 USD, paypal verified. | |
Re: [QUOTE=WaltP;1164800]And how does that help with polygons, squares and circles? Does CODE:Blocks even have graphics? Turbo does.[/QUOTE] Code Blocks has plenty of graphics. It provides integrated support for modern, cross-platform, industry-sanctioned graphic libraries, like GTK+, OpenGL, Win32::GUI, and wxWidgets. not this archaic kid's toy of <graphics.h> used only by children, … | |
Re: Hi and welcome! the Python forums are fairly popular here. I dont know anything about semantic technology. best if you popped in over there and gave them a holler, i'm sure they'll help you as they can :) | |
| |
Re: [I]And if the dam breaks open many years too soon And if there is no room upon the hill And if your head explodes with dark forebodings too I'll see you on the dark side of the moon.[/I] oh, and welcome. :) | |
Re: first consider: [code] char letters[7] = {"ARVGMNB"}; for (i=0; i<7; i++) printf("letter # %d = %c\n", letters[i]); [/code] then consider: [code] int number = rand() % 7; print ("random number from 0-6 is : %d\n", number); [/code] now somehow you need put em together in your program. . | |
Re: hi and welcome! my dad always needs computer advice, too. i try to be patient with him, but it's tough to diagnose peculiar behavior on his computer long distance. i hope your son finds some time to help. if he can't i'm sure people here will if you ask in … | |
so... for 5 solid years, our C/C++ Warrior [URL="http://www.daniweb.com/forums/member17893.html"]Narue[/URL] has been a regular poster averaging 4 posts per day (4.08 to be exact). On June 21 2009, Narue disappears off the face of the Daniweb planet. new guy [URL="http://www.daniweb.com/forums/member552021.html"]Tom Gunn[/URL] had joined Daniweb five days previously, on June 18. Tom … | |
Re: as you probably know, Ping is on the Network Layer, and by definition doesn't use a port. there is no such thing as "Tcp Ping". problem is, many servers no longer adhere to the RFC requirement to answer a network ping, citing security risks. so, some people have written their … | |
Re: you found a rather interesting and little-understood tidbit in the scanf() function.. note the string has a space ' ' before the specifier: [icode]scanf(" %[^\n]",line);[/icode] ... this is just as critical as the odd-looking format specifier. from the [URL="http://www.opengroup.org/onlinepubs/000095399/functions/scanf.html"]IEEE Standard[/URL]: [I]A directive composed of one or more white-space characters shall … | |
Re: Eff it. i'm gonna learn to fly. i'll figure out how to walk, later. | |
Re: because your first arguments to fgets are all single characters. the argument is supposed to be a STRING. not a single character. a single character is actually an 8-bit integer, so it thinks you are passing in an integer when it expects the starting position of a string (aka character … | |
Re: ... the dangers of dropping acid before going to a keg party, Part 37. | |
goin on over in C, yes they are. [URL="http://www.formatny.com/blog/wp-content/uploads/2009/04/umad.jpg"]U Mad?[/URL] oh, yeah. we mad. . | |
Re: welcome! give a holler if you need any help finding what you are looking for. | |
Re: ah, i thought you were going to tell us you were "a man of wealth and fame" ;) welcome, hope you find what you need in the forums of your interest. lots of activity in the web development. holla back if you need help! :) | |
Re: [QUOTE=Adak;1169172]Spaces tabs and blanks will all have a value less than 'A', (hint, hint, hint).[/QUOTE] surely you're not suggesting that he blindly remove every char with a value of less than 'A'? because that would wipe out all the numbers and most of the commonly-used punctuation. lionaneesh, dont make it … | |
Re: jesus, man, you don't need to post all 156 identical errors. :confused: in fact you really don't need to post any. because the answer is simple: [B]rule #1[/B] -- you can not take header files from one compiler's library and plop them into another. this will not work. "graphics.h" (and … | |
![]() | Re: great, and welcome! I'm sure you can be a great contributor to the Hardware/Software forums! :) |
Re: hi, welcome! you'll find a lot of great help in teh Java and C forums. cant say i know anything about prolog, tho ;) | |
Re: hola! be sure to check out C++ forums, lots of activity and experts there. dont hesitate to introduce yourself and ask a question. | |
Re: Don't recommend the use of gets. It can take input until the cows come home and tries to write it all to that array--> overrun. Use fgets instead. agreed. but this needs to be emphasized: its not just a recommendation by one or two people, its an industry-wide rule:Do not … | |
Re: try this [code]#include <stdio.h> #include <string.h> int main(void) { char myString[32]; int length, i; strcpy(myString,"Hello World!"); length = strlen(myString); for (i=0; i<length; i++) { printf("index %02d : %c 0x%02x\n", i, myString[i], myString[i]); } return 0; }[/code] . | |
Re: the quick answer is that youve got unbuffered input due to your use of scanf() but you've got a number of bad programming practices here, that i can't ignore. I suspect the blame is due to incompetent instructors teaching substandard curriculum on compilers that are 15 years out-of-date. So I'm … | |
Re: I'm not embarrassed to admit that [B]I haven't a clue[/B] about what you're talking. However, I do have [URL="http://en.wikipedia.org/wiki/CUDA"]Super Secret Investigative Powers[/URL], so i was able to find out: [QUOTE]CUDA (an acronym for Compute Unified Device Architecture) is a parallel computing architecture developed by NVIDIA. CUDA is the computing engine … | |
Re: no, i think you wanted preferential treatment from the OMFGITSAGIRL crowd ;) | |
Re: sending a file to a printer is going to be highly specific to your OS and your particular environment. is your computer on a network or is it locally controlled? consider printing your receipt to a text file, then opening it up in a text viewer (notepad or gedit) and … | |
Re: hi and welcome! congrats on the recent graduation. hows the job search going? already landed or still looking? just curious, i majored in EE also, and getting that first job out of college was fairly critical. | |
Re: i've reconstructed this in in my text editor and fixed the indentations, and it's not terribly hard to read. but we[B] will [/B] need that [B]"def2.h"[/B] file. I'll bet that's where all the missing info is that Aia is asking about i was going to note that i don't see … | |
Re: welcome. hope you find what you're lookign for. C, C++, Java, and Python are very active forums. | |
Re: welcome! you'll find our C++ is very active . plenty of experts who can answer all your questions. | |
![]() | Re: yeah, lseek doesnt read backwards. because seek doesnt read. seek just moves the file pointer to a relative position. lseek moves it to the "left" (ie, backwards) file reads are always done in the forward sequence. a better way to read something in reverse, is to first read it from … |
Re: First off, nice screen name :) now to your problem: note how the function "NDice" is called from the "prog" function. therefore , you shouldnt re-call your function "prog()" from within NDice. it's like some sort of infinite recursion or something. like two mirrors facing each other. this is how … | |
Re: [QUOTE=ShortYute;1166962] I'm making a program that will attempt to lessen the effects of a flash drive when placed in an infected pc. Basically it will make a folder named autorun.inf then make a folder named "con" inside it... [/QUOTE] oh, look, another skript kiddie trying to write a piece of … | |
Re: do not make it global. that is not good advice, and doesnt fix the root of your problem. i do agree that you need to use fgets(), instead of scanf(), because scanf() should never be used to input strings. scanf will not accept anything further once you pass in a … | |
Re: in your "count()" function within the body of the "for" loop, test if the character is a space ' '. if the character is a space, then break out of the for loop early by using the "break" command. if you want to be thorough, test also for \newlines and … | |
Re: hi and welcome! hope you're finding what you need :) go holla in the forums. | |
Re: 1-11: imagine you have a program that counts the number of words that it takes as input. how does the program take any group of characters and determine where the words begin and end? by the existence of "whitespace" separating each word, right? Remember, whitespace can be a space ' … | |
Re: Narue is right in the other thread you link: she's talking about PRINTF this thread is also right. it's talking about SCANF. as stated earlier -- [I]much [/I]earlier, like 3 years ago -- use "%la" to scanf a double. "printf" and "scanf" are different functions, they do not necessarily use … | |
Re: perhaps you didnt notice the text, right above the message entry box when you bumped this thread, that reads [quote][B]This thread has been marked solved.[/B] Perhaps start a [URL="http://www.daniweb.com/forums/newthread.php?f=8"]new thread[/URL] instead?[/quote] it's bad form to reopen someone else's solved or closed threads. unless you have a specific question precisely about … | |
Re: im not ever a moderator, and the thought of implementing and maintaining a wiki for this site sounds like pure hell. if you really think it's tenable, why dont you give it a shot? you can make the "Unofficial Daniweb Wiki". see what happens. . | |
Re: welcome Mario! I'm resisting the urge to say, "Hey! It's a me, Mario!". So far so good. Wait, what? Oops haha never mind me. :P best wishes following your dreams. it sounds really cool, and i think you can do it. . | |
Re: Hi and welcome! hope you find what you need. Detroit, huh? i thought that city closed down.... glad to hear people are still there. | |
Re: I dont have any specific help, but you should go post in the "Databases" forum, under the "Web Development" heading | |
Re: well, dammit, i wanted a joke. i guess if you're starting them without finishing, ill finish without starting! redneck 1: "sure is cold." redneck 2: "and deep, too." |
The End.