1,362 Posted Topics
Re: Motherboards have a speaker on them, that's where the POST beeps come from. If you're getting beeped during operations, it's usually a sign of some problem. Overheating is a common cause. You should check with your computer/motherboard maker for the meaning of the beep codes. | |
[url]http://www.roughlydrafted.com/2008/09/19/microsofts-im-a-pc-ads-created-on-macs/[/url] [url]http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9115120&intsrc=hm_list[/url] UPDATE: Microsoft issued the following statement on the matter: As is common in almost all campaign workflow, agencies and production houses use a wide variety of software and hardware to create, edit and distribute content, including both Macs and PCs. | |
Re: stilllearning's third example could lead to problems, as you're allocating memory in the function, and may not remember to delete it later. The fourth example doesn't need the address of operator, just return the string. It doesn't need to be created with the new operator, string objects will size themselves … | |
Re: Other than a home loan guarantee some 25 years ago, my only VA experience has been with education assistance programs. The payments came fairly promptly, and were sufficient for my needs at the time. I don't qualify for treatment at a VA medical facility, so I can't give any input … | |
(from rec.humor.funny) "It's not like that in the magical world, 'Arry," Hagrid said, voice lowered in concern. "Y'see, when Vol... well, when _You-Know-Who_ set up a trust deposit insurance scheme, 'e didn't account for rising interest rates. And 'e didn't give codflakes about whether it would influence currency issues abroad, … | |
...crazy? [URL="http://www.comedy.com/blog/2008/07/22/font-conference-super-heroes/"]Font Conference Super Heroes[/URL] | |
Re: Prototypes must come before any function that will make use of the prototyped functions. The purpose of the prototype is to .... (I had more of an answer here, but now you should do some work on the rest of your homework on your own.) | |
Re: lexigraphically - I take that to mean strings sorted or compared. Is that how your nodes are named? Perhaps a bit more information would help. | |
Re: Is there a reason not to use [URL="http://www.cplusplus.com/reference/clibrary/cstdlib/strtod.html"]strtod( )[/URL]? | |
Re: AD, I want those 4 1/2 minutes of my life back!!!!!! Do they really think those are going to win friends and influence people? | |
Re: On a septic tank service truck: "We're number one in the number two business" | |
Re: Spent a bunch of my 24 years USAF time in one of these. Great times! | |
Re: First off, decide on your data structure(s) and stick with that. You have two 1D arrays for the scores declared, but have a three of your functions set up for 2D arrays. In those functions, your declaration of the the array parameter is probably what's throwing the error you mention … | |
Re: It helps if you point to the offending line. I'm supposing it's this: [code] char message[] = the_date[12]; [/code] What you're attempting here is to allocate an array of char and you want it to be initialized to the contents of the date string. This fails on two counts. First, … | |
NASA's [URL="http://antwrp.gsfc.nasa.gov/apod/"]Astronomy Picture of the Day[/URL] has lots of interesting pictures of the heavens (and other related subjects.) I often grab one of these pictures for my desktop background. | |
Re: Interesting that a Signourney Weaver movie is one of the ads showing up in this thread! There's someone who knows how to deal with alien life. | |
Re: [QUOTE=Narue;694066]I use it regularly when I know the first hit is the page I want.[/QUOTE] So you've got really good precognition skills? ;) | |
Re: Depends on the complexity of programs. For the most part, your plain c++ code should run OK on 2005. If you try to build the full project built in '03 on the '05 system, first it will need to convert the project files (not the code file) - generally painless. | |
Re: OK, this is a sneaky one. First of all, you've made a big error when you're loading the y and z arrays - you start their loops at a value other than 0. Look at your code below: [code] for(int i=0; i < 50; i++)// this is { x[i] = … | |
Re: The loop in reverse( ) never stores a new value of temp after the initial value. How can this reverse the full array (or subset)? And, this is C code, not C++. Please use the correct forum. | |
Re: Your first argument to pow( ) must be one of the floating point types (float, double, long double). If your code is such that you really want/need 'c' to be an integer type, then do a typecast in the function call, such as [icode]ans = pow( (double)c, m-1 );[/icode] (yes, … | |
Re: Life is easier if you do array access and the loop accessing its elements starting at element 0. If you want to show the user numbering starting at 1, do so in the display. [code=c++] int i; int arr[3] = { 0 }; for( i = 0; i < 3; … | |
Re: If it's a solved problem, how come you can't find the solution? You learn by doing, even if it's something that's been done a jillion times before. "Ground control, this is the pilot. This landing thing's been figured out before, I'm gonna go back and chat up the flight attendant." | |
Re: What about a break statement in the if == country block, otherwise, the for loop continues and adds the entry to the next available slot as well. Or the problem could be that you've got a woman winning a men's event? ;) | |
Re: [QUOTE=TheNNS;652696]how is this funny? it's not even real.[/QUOTE] Not real? I was in the USAF when this was policy. Training's gone downhill since those days. | |
Re: I think it would be hard to do in software. Create a robot that goes around removing the cooler from overclocked CPUs, and it starts to become feasible. See an [URL="http://www.youtube.com/watch?v=HQUj1Huxsqs"]AMD chip blowing up![/URL] [I]Uh oh, I think I hear the Homeland Security jackboots at my do.....[/I] | |
Re: First figure out how you break the number into the respective single digits. Then, how do you display the various combinations - be sure to account for the -teens and for zero values. | |
Re: [QUOTE=Lardmeister;676941]Now my silly question: "Why doesn't the sun shine at night, when we could use the extra light?"[/QUOTE] You get extra light during Daylight Savings time. What I want to know is, how come we don't earn any interest on that daylight we're saving? | |
Re: You should check that the file actually opened. [code] read.open(filename_user.c_str(), ios::in); if( ! read ) { //error handler here } else while(getline(read, linecount, '\n')) { ++lc; } [/code] Are you sure the data file is in the place where your program is looking for it? | |
Re: Keeping all the weeds out of my lawn and garden. | |
Re: What's the problem, besides it being C in a C++ forum? And your not enclosing the code in code tage. | |
Re: study your math operators more closely. read the compiler error - it should be telling you something useful, as well as pointing out the offending line. Bet it's this one: [icode]module= target % i;[/icode] Why doesn't the compiler like doubles there? | |
Re: Try reading its manual on menu options? Play around with the remote? Going out on a limb here, that display means you're getting input from/have selected External Connection #1, which is an RGB input?? You really expect an answer to such a question, with no information to go on? | |
Re: It's hard to help you with your code if you don't show the code! Are both these displays generated by the same function? Are you sure you're passing a name to the function in the first instance? Have you tried stepping through the program with a debugger to see why … | |
Re: Does your data file end with a newline? That is, after typing "12", do you hit the enter key? When using eof( ) to test for end of data, that's usually a crucial requirement of the data file. Try controlling your loop thusly: [code] while( Entrada >> num1 >> num2 … | |
Re: First of all, please replace the broken keyboard you're using - it seems to be missing some vowels (reasonably proper spelling using full words, full sentences works best here) Second, this is a C++ forum, where we focus on actual code. Your assignment appears to be just the design aspect … | |
Re: You're off to a good start. Look at the assigned functions, create them. In general, you would move chunks of the code you have in main( ) to the appropriate function. In main( ), declare the variables that will be needed to store and communicate the raw data - you … | |
Re: At some point do you allocate memory to the array? Keep track of the sizes you used. When filling the array, is it filled completely, or does the data end at some lesser point? Keep count of how many elements read in. | |
Re: istream.get( ) takes the address of a [b]signed[/b] char. You're reading in values that look like they should be interpreted as unsigned char. Something like 0x93 is a negative value in terms of a signed char, thus the leading f's. If you use the extraction operator in stead of .get( … | |
Re: [CODE]dynamicarray = new char(Size([20]); dynamicarray = tmp; [/CODE] There's a classic error. Why is it so? | |
Re: She usually starts out CCW for me, then changes to CW after a few seconds. If I look at her from the edge of peripheral vision, she usually goes back to CCW. | |
Re: Assuming you're programming c# in Visual Studio, I'd suggest Visual C++ would be the easiest C++ for you to obtain and use, as you're already familiar with the IDE. There are numerous C++ tutorials and references on the 'net, and one of the sticky threads at the top of this … | |
Re: I've always seen the modes used as [inlinecode]ios::in | ios::out | ios::app[/inlinecode] | |
That's an axiom from Alan Cooper's book "About Face - The Essentials of Interaction Design" - an excellent book for anyone who does program interfaces. That means, don't pop up some confirmation dialog that is unnecessary or confusing or pointless. Here we are, almost 25 years into the use of … | |
Re: The list is first ordered on number of Gold medals. | |
Re: [QUOTE=GrimJack;676221] Does anyone remember when our food supply was safe? [/QUOTE] Never was safe. I recall in 1962 when my family was in France, we were told to wash any fruits or vegetables that didn't get peeled in water with bleach. Were the big bad corporations messing with our food … | |
Re: Keyboard, mouse and phone were among the top 5 dirtiest objects in the office environment, according to some unnamed survey my morning radio show folks discussed recently. [URL="http://health.ninemsn.com.au/article.aspx?id=268375"]What's the dirtiest part of the office?[/URL] [URL="http://www.dailymail.co.uk/sciencetech/article-436433/Womens-desks-dirtiest-office.html"]Women's Desks dirtier[/URL] (funny, both of these mention that desks are 400 times more germ-laden than … | |
Re: What part of those definitions are giving you problems? | |
(They can't even spell Quiche) [I]from (I think) the April 1985 issue of DirecTions, the DEC inhouse magazine. This is an oldie, but a goodie.[/I] ________________________________________ Real Programmers... • Don't eat quiche. Real programmers don't even know how to spell quiche. They like Twinkies, Coke, and palate-scorching Szechwan food. • … |
The End.