5,676 Posted Topics
Re: [QUOTE=sgriffiths;296302]i want to read in and store the company names in a variable, but [B]i cant for the life of me get it to work[/B][/QUOTE] Haven't you been here long enough to know that without knowing what you've tried (code) we can't help? We ain't psychic!! ![]() | |
Re: [QUOTE=cscgal;294497]If you accidentally hit the edit button then just click on Cancel instead of Save :mrgreen:[/QUOTE] Probably hit save then realized he was in edit mode. See? The EDIT button position even bites [B]Ancient Dragon[/B]! Need I say more? ;) | |
Re: Nielson rating do an extensive study of demographics and those boxes are placed in 1200-2000 homes based on their findings. These boxes give us the alleged number of people watching a program at any given time. In addition they send out log books for people to keep track of their … | |
Re: I take it no one has pointed out the last paragraph of [url=http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies#faq_keep_it_organized] the Rules[/url] yet. I also seem to remember mentioning you have to give us information about [I]what[/I] is wrong and enough information for us to understand the problem. You didn't do that again. | |
Re: [QUOTE=Ancient Dragon;294513][URL="http://msdn.microsoft.com/vstudio/express/vb/"]Here[/URL][/QUOTE] Another VB-type language is [URL="http://realbasic.com"]Real Basic[/URL] -- and it works on Linux as well as Windows. | |
Re: To be honest, when perception and logic don't coincide, I know better than to trust perception. Being a magician, I [i]rely[/i] on being able to make people's perception fly against logic. An easy case in point -- look at any optical illusions. If you don't doubt your perceptions, then the … | |
Re: [QUOTE=Virii;294794]So I'm trying to decide if going to college for computer science or computer enegineering would be worth it. Or should I get a BS/BA in something I really enjoy doing (Like film or art) and just teach myself computer programming, opengl, direct 3d, etc.[/QUOTE] Depends on what you want … | |
Re: [QUOTE=l36963;295932]To be honest i don't know to much of the language yet, i jst started learning, it's c++ language, i'm finding it slightly difficult, i have books to help, but i wanted a bit more practical advice, the books help with input of the values, but not so much how … | |
Re: Not without telling us what is it's doing wrong. [i]Yuo[/i] have to tell us what the ptogram is doing, and what it should be doing instead. And don't forget to read the announcement above about BBCodes so you can post the code readably. | |
Re: Another one of those "I just got a tricycle for Christmas! How do I drive the Concorde SST?" questions. Please learn to crawl before you enter the Boston Marathon... | |
Re: [QUOTE=Ancient Dragon;294236]0x10 is an [URL="http://en.wikipedia.org/wiki/Interrupt_vector"]interrupt vector[/URL], which is a hard-coded memory address where an interrupt handler begins. This can only be used in old 16-bit MS-DOS programs.[/quote]An older C/C++ compiler can build these programs even on Windows XP machines. And for the most part they will still work. The [I]Command … | |
Re: [QUOTE=happygeek;292439]... if I spent a grand...[/QUOTE] A grand? Since when does the UK use [I]grand[/I]? :p Shouldn't that be a tonne? :twisted: | |
Re: How about an OPEN statement followed by READs? I guess I don't understand why an INI file is different from any other file.... | |
Re: [B]ForTran[/B] [code] integer i do 100 i=1,10 100 write(5,200) i 200 format("i3") end [/code] | |
Re: [QUOTE=jwenting;292459]there is no company called M$.[/QUOTE] Sure there is! I use their products all the time -- and complain loudly when I do!!! If it wasn't for M$, us power users would still be able to do things instead of trying to get around security on our own machine. One … | |
Could we implementa a keystroke for INLINECODE tags so we don't have to use the mouse? Something like Ctrl-K would work -- for [U]K[/U]ODE | |
Re: [QUOTE=jan1024188;292684][code]cout << "i Am MALE"<<endl ;[/code] :eek:[/QUOTE] He was just hoping... :mrgreen: | |
Re: Do, to piggy back on the answer by Mr. [B]~s.o.s~[/B] :mrgreen: you should probably just declare the [I]map[/I] as [INLINECODE]City map[200];[/INLINECODE]. That would fix your problem. I also hope this line is [I]not[/I] in your header file. It should be in your code file only. | |
Re: OK [code=cpp] #include <stdio.h> int main() { puts("computer graphics programs"); return 0; } [/code] | |
Re: [QUOTE=Ancient Dragon;292288]>>How long is a piece of string? depends on where you cut it with your scissors. (sorry for the bad joke, I just couldn't resistet temptation :eek: ) [QUOTE=Bench;292422]Its twice as long as half its length, of course ;)[/QUOTE][/QUOTE] If you cut off both ends, the string is endless. … | |
Re: My kid just entered kinderarten and I still have his entrance papers. Where should I send them? | |
Re: Interesting! Doubly so because it [I]wouldn't[/I] run in IE, but would in Opera and FFox! | |
Re: The problem is when you do [INLINECODE]scanf ( "%c", &reply );[/INLINECODE] you press two keys, a character and ENTER. The [I]scanf()[/I] reads the character and leaves the ENTER for the next read. You need to clean out the input buffer (and [I]fflush()[/I] is not the way to do it). You … | |
Re: I pretty much agree with [B]sunnypalsingh[/B]. In 30+ years I've never met anyone certified in software languages. Only in hardware and hardware related things like networking and A+, and stuff like that. Put your money into a class instead where you can get help directly from a live human instructor. … | |
Re: [QUOTE=Ancient Dragon;291493]fscanf() will read just one word at a time, which will greatly simplify the solution to the problem.[/QUOTE] True, but you learn nothing about how to parse a string, which I would assume is the lesson to be learned here. | |
Re: [QUOTE=solomon grundy;291581]I need to Construct a program that inputs the entries of two matrices and multiplies them. Construct the program so that it gives an error message if they cannot be multiplied. What I have done so far I need to Construct a program that inputs the entries of two … | |
Re: Please describe what this method does: [code=cpp] boolMatrix::boolMatrix() { for(int row = 0; row < num_rows; row++){ for(int col = 0; col < num_cols; col++){ return false; } } } [/code]The function makes no sense [code=cpp] void boolmatrix::set (boolMatrix booleanMatrix) { ifstream infile("location_alive.dat"); int row, col; while(infile){ infile >> row … | |
Re: Of course aliens exist. 1) Just look at the Cantina scene in Star Wars! 2) Lots of them work in fast food all over the city! Many are even illegal. | |
Re: Maybe this will be easier to read: [code=cpp] structure Moviedata // to my knowledge structure is not a keyword, // change it to struct not structure and see // what happens int main() { structure Moviedata ; // this doesn't declare an object of type // Moviedata but this would----Moviedata … | |
Re: Not without code tags and an explanation of what is wrong. We aren't psychic... When you typed in your posts, did you notice the background was not pure white? They are actually words. They can help. | |
Re: [QUOTE=JoBe;287783]Hmmm, well, I came up with this [INLINECODE]int strLength = strlen(myArr)-1;[/INLINECODE] and then in the loop [INLINECODE]for (int i = 0; i < strLength; i++)[/INLINECODE] but I see where you're coming from :o Thanks for the example, I'll see that I can find an equivalent to use in my program … | |
Re: I prefer the second form. I personally don't like prototypes in a function body. They get lost too easily. You also don't need so many lines between code blocks. The farther they are away from each other the harder it is to compare. | |
Re: First off, print out the number just read in addition to all the other stuff. Second: [Code=cpp] fin.open("numbers2.txt"); while (fin) { for (int x=0;x<20;x++) { fin>>arnNum[x]; [/code] 1) Why the [I]while[/I] statement followed by a [I]for[/I] statement? 2) What happens if [INLINECODE]fin>>arnNum[x];[/INLINECODE] causes an error? Third, if you need to … | |
Re: [QUOTE=hugoboss2;289915]in language C Code that examine if the tree is full Tree is full if each node have 2 child i dont know how to write the code ? somebody can help me ?[/QUOTE] It seems to me a tree can [I]never[/I] be full. The last node(s) will always have … | |
Re: [QUOTE=DMR;288905]*sigh*... Welcome to the United States- The Land of Frightened Sheep.[/QUOTE] Ain't that the truth. And they won't do anything to stop crap showing up in my emails, but they'll regulate a place I want to frequent. It's so sad. | |
Re: [QUOTE=Ancient Dragon;289149]and I'd like to see him store that number in an integer:mrgreen:[/QUOTE] You'd need a plugin module like BigfrickinNum from CodefrackingSpace.foo | |
Re: [QUOTE=sharky_machine;286660]Yes, I vote for a gaming board.[/QUOTE] Gee, a little late, aren't we, [B]sharky[/B]? :mrgreen: | |
Re: [QUOTE=BamaStangGuy;288088]Star Wars never appealed to me, *Runs and Hides*[/QUOTE] You'd better run!!!! Dani, we need to demote this guy! :twisted: | |
Re: [QUOTE=Dogfish;288731]I want to set a timer from a button click to run for ten minutes then go off, but can only get the timer in vb6 to run for 10000 milliseconds ! any help would be great.[/QUOTE] I don't know why you can't go higher than 10000, I just loaded … | |
Re: [QUOTE=phuduz;288924]hey guys i had a program using a function to form the plurals of English nouns according to the following rules and it just aint working any help would be great thnx[/QUOTE] I don't see any rules here, just code that you claim doesn't work. And if it doesn't work, … | |
Re: [QUOTE=WoBinator;288051]heyi just wrote and comiled with Dev-C++ ---- they said that its meant to come up with the message...but all it did was flash..i didnt see the message :( is that meant to hpn? [/QUOTE] That's because DevC opens a window to run the program, runs it, and when the … | |
Re: [QUOTE=whitemoss;288013]need ur help regarding the above matter.[/quote]Please state the matter in the post. Don't use the title as part of your question. It's only meant to give us an idea about what we're about to read. [QUOTE=whitemoss;288013]I've write a code for if statement but it didnt work as expected when … | |
Re: [QUOTE=Narue;284055]>I still have some errors and I can't seem to figure out the mistakes TY for all your help I refuse to read your code until you format it and put it in code tags.[/QUOTE] And don't let us try to figure out what the errors are. Tell us. It's … | |
Re: [QUOTE=cscgal;281579]My concerns ... Which forum would someone coding a game in C++ post? Is it wise to create a development forum that is a mixture of all programming languages?[/QUOTE][QUOTE=~s.o.s~;281870]Game development isn't just about code in C and C++, it involves a lot of issues -- Artificial Intelligence Algorithms (generic algos), … | |
Re: [B]QVeen72[/B], you've been asked multiple times to use code tags. Is there a problem with understanding what they are? How to use them? Where to get the information? All this has been mentioned... Check the post at the top if the forum labled [i]Please use BB Code and Inlinecode tags[/i] | |
The End.