I'm not overly fond of ;)
It looks really lame...
What about
I'm not overly fond of ;)
It looks really lame...
What about
I don't mind ones that play sound when you click on them (or, in certain circumstances, make a little noise when they're hovered over, as long as it's quick and the sound stops when you move the mouse off of them). ... But I don't like ones that play sound automatically. I lost a few campaigns over this in the past and even had a company back out after paying me because their ad had sound and I refused to run it.
I despise any add and website that automatically plays sound. I don't watch SpikeTV anymore simply because their obnoxious self-promo ads during a scene I'm trying to watch now have sound...
WaltP, if it makes you feel any better, each ad campaign only lasts for a specific duration of time. No particular ad will be around forever.
Doesn't matter, actually. It's the type of ad, not who runs it. Any ad that moves IMAO should be banned. I also realize that's a utopian desire -- it ain't gonna happen completely. But the ads you have banned are definitely the ones that need to be banned.
Why do ppl always complain about the ads or intelliText. It's simple, if you don't like them turn them off. Disable javascript or flash or whatever.
Sure, let's turn off the stuff we used every day on most sites simply because of one site? Get real!
The problem is that the moving ads are brain interrupts.
They yank your eyes off …
fgets() is always better than scanf() because fgets() will not accept more characters than will fit in the buffer. But neither scanf() nor fgets() will meet the requirements of your assignment. You need a function that will get only one key at a time from the keyboard so that your program can do the validations. getchar() will do that.
I disagree. You can use fgets()
to read into a buffer that is much larger than you need, then if the number of characters is over the max, output an error. If not, move the input to your name array.
Hooo boy....
int main(int argc, char *argv[])
{
...
fill(x,y,*a); // remove the *, you will pass in the array
printScreen();
}
...
void fill(int x, int y, char a) // Add the *, so the function knows it's a pointer
{
if ((screen[x][y] != ' '))
return;
screen[x][y] = a; // now that it's a pointer, you figure out how to
fill(x,y+1,a); // do what you want here, especially since you
fill(x,y-1,a); // have no comments explaining what this is
fill(x+1,y,a); // supposed to accomplish.
fill(x-1,y,a);
}
I thought you had a policy on no flashing and obnoxious ads. I find then both.... IMAO
What's with all these ads that look like movies? They are extremely annoying! Please make them stop!!!!
yea.. If she needs help, all she has to do is make me a moderator:$
My Ghod!! Can you say "Bull in a china Shop?" ;)
Dani, can you tell us when the test will be over so we actually know when the font size changes back? That way we can more easily compare the sizes and 'remember' what it was set to...
who is that post directed at?
Who is that post directed at? :|
I say lol all the time, maybe i should cut down... How do you know if youve got any of these bad points ? , it would be interesting to see if i ever picked any up...
Yes, cut it out. lol has become a meaningless set of letters. And yes, you've picked up bad points ;)
lol Barbados West Indies.......dont judge my country by me though im bad example of your typical Barbadian....
Conan the Barbadian? Kool!!! :D
Ever heard of a spelling/grammar checker?
Firefox has one built in....
Oh dear, ive probably got lots then :( as
I never use punctuation or caps. Maybe I should try. (See, typed this one nicely...).
yes it really helps that way you can follow someones meaning you dont have to struggle wondering if a sentence ended the text is understandable the first time :p
grammer/spell checker..only one ive ever used is in MS word..and i dont really like using word
As I said -- FireFox/built in.
Also, use the PREVIEW button!!!
#1- gets() is a dangerous function, as you can see by the link
#2- If you enter 16 characters, you just blew past your array bounds when gets() adds the required 0 in the 17th location.
#3- change each printf() so you can tell which one is outputting the junk. then we can see where the problem is.
Why not have an answer string which you load with '_'s and just output that string. As correct guesses are made, replace each '_' with the letter.
If you keep the larger font size, I think the QUOTEs should increase slightly, too. Maybe just 1 pt.
I don't mind the new size.
Any of the above I've posted are yours for the smiley list.
So what else do you want me to make? :)
well i`ve found one coding lemme show you all !!
but can any one help me out in writing the comments for this progrma !!
...Please someone help me out with appropriate comments !!
OK, the program needs to be formatted better
Posting code without code tags helps make the code unreadable
Writing code without commenting it makes the program hard to understand and follow.
Since it sounds like you just found this on the web somewhere, you should continue looking for code that's commented, and formatted.
And get rid of that turbo c compiler and get something half decent.
That would make moving the cursor and drawing the game board very hard to do :p
Is there a way using file handling functions to search within a text file to find the position of certain text WITHOUT having to read each character/line and evaluating it?
Is it possible to find a file in a file cabinet without opening the cabinet?
No, the only way to find something is to look at the contents.
Yes, you can write either program without strings. Very easily.
Specially whatever i make i should able to grasp it comletely in order to explain to the prgrammer !!
As you should with all programs you write...
luger
open output file
Use a loop to
open input file
read input file
write to output file
close input file
end of loop
close output file
Another way to define agnostic: I doubt there is a God, but I'm just not sure enough to completely disbelieve, just in case I'm wrong. They don't really want to burn that bridge ;)
In addition to Josh's definition, an agnostic may believe that there is a God, but not as defined in the Bible -- or other religions. There has to be some creative force, but the Biblical/religious definition(s) makes no sense.
See this http://en.wikipedia.org/wiki/Agnostic
and this http://en.wikipedia.org/wiki/Atheist
new-ku-lar for some people.
Is it just me or are some of these sentences really lame? ;)
Serve all young students
like this one?
Do they make cell phone today that are phones? Or do they all come with
Camera
Entertainment center
Game system
Web browser
Personal secretary
Espresso machine
built in?
Hello! I have written written my own class, which includes a header file and a .cpp file. I have also written the driver for this program. Everything looks fine to me, but I am receiving about 20 random errors. I will post my code for all 3 files but I believe it is a problem that can be diagnosed using just the driver.
The program is a bank account program that adds new accounts, withdraws, deposits, updates, displays, etc. Any help would be greatly appreciated! Thanks.
Well, if it's OK with you, we'll just pick 20 random lines and randomly decide they must be wrong. :rolleyes:
Don't you think knowing what the errors are and where the errors are might be helpful in fixing the errors?
And please format your code. It's barely readable without proper indentation.
[edit]I see this has been mentioned at least 4 times. Are you bucking for an infraction? I really hate being ignored, and trying to read more unreadable code. Are you having a problem understanding good formatting guidelines?[/edit]
This program works unless I input 's' for marital status. Does anyone see my logic error?
You've been here long enough to know that a question like that is worthless here! What the **** does it do wrong? Other than asking for "Marital Satus" ;)
can anyone figure out why this program is printing different numbers from what is input and also calculating the wrong average. answer ASAP PLEASE.
I hate being ignored!!! READ THIS!
Stop spamming the forum.
Stop spamming the forum.
Stop spamming the forum.
Stop spamming the forum. Ask your question in one thread when they are all related to the same subject.
Stop spamming the forum. Ask your question in one thread when they are all related to the same subject.
Hi,
Can you please help me to solve this problem?It's...
How to restart and turn off the computer through VB6.0?
cordings needed.:rolleyes:
What's a cording? Anything to do with rope? Or firewood?
Another thing to consider is the line else if ( ( a == b ) && ( a == c ) && ( b == c ) )
is a little longer than it needs to be. If a == b and a == c, isn't b automatically equal to c?
Therefore, only 2 terms are necessary. This of course does apply to !=...
Show us what you have and we can help you fix it. But do it in an new thread. It's not nice to hijack someone else's thread.
Thats what my hobby is, just to think about stuff that most people find insignificant lol..
Those are the best hobbies -- CHEAP!
Evangelical: They slap each other in the head and say things like be healed. They speak in tongues, I couldn't understand a word they said.
Weren't they speaking Alabamese, or maybe Mississippian? :)
Catholic: Sorry Josh. The worst for me. Everone stands up, I start to, they all kneel, I start to kneel and they're sitting. I couldn't keep in synch. He was directing them?? God must have been telling them when to stand, sit, kneel, do the rosary or whatever. Quite a workout man.
Bill Cosby mentions going to a Catholic service once. You look around when people are kneeling and you can tell the one who aren't Catholic because they are shifting back & forth, from knees to toes. He called it The Protestant Rock! :D
Who are you replying to? ^
that's the problem when people don't quote. You just can't follow what's happening.
The problem is on line 15 and 22. Unless my psychic powers are mistaken... :rolleyes:
Hi!
I have to make a program, wich lists all files in current dir, and then save all file names into an array.
My program doesn't work ! Can you tell me why?
You need to tell us why you think it's wrong? We don't know the symptoms you're seeing.
One thing I notice though is you are not saving the file name correctly. Once you read the second file, the first name is gone. You need to move the entire name into your list, not just the pointer. Be sure you redefine filenames so it can hold the string properly.
it works perfectly but can you show how to return the array name(which is the pointer to the first element in the array) then print and find the average in the main programme.
No, it's your job to show us how you think it's done, and we will help you correct it if it doesn't work. Please read this, this, and this to help you understand how we can help you best.
1. For some reason randomize() function does not work on VisualC++6
That's because this is C++, not Basic. You 'randomize' using srand(time());
once at the start of the program. Be sure to include time.h
Mostly what vijayan121 suggests
a. read one line
b. analyze each character
c. do what you need with each character
repeat a,b,c till end of file.
string line ;
while( getline( file, line ) )
{
for (i=0; i < line.length(); i++)
{
if (line[i] ...) // look at each character and process it accordingly
}
}
Usually if the board is not too big reprinting the whole thing (with spaces where you want a number the disappear) does the trick fast enough..
clear the screen before you print of course..
E.g.System("clrscr"); printf( "1 2 3" ) ; Sleep(1000) ; System("clrscr"); printf( " 2 3" ) ;
will give an illusion that 1 disappears after 1 second..
Except for the fact that System()
is undefined and Sleep()
may not be defined (depends on your compiler).
it_dude, you need to describe what you want better than that. From your description there are hundreds of ways to do what you want, but few will be useful to you (as you can see from thekashyap's response ;))
Try posting code so we know what you are dealing with. Be sure to read up on Code Tags first.
Standard C++ means they are using the normal functions and methods as defined by the Standards Committee that basically laid out the language. Each compiler will allow the standard functionality as described by said standard.
Compiler designers also add additional functionality that is not standard, and that is what you have to watch out for. They do this to allow the programmer to do things the language is not specifically designed to do, such as special I/O functions, directory manipulation, etc. Off the top of my head, for you anything from conio.h, dos.h, and dir.h at a minimum should be avoided.
Um thats impossible. If atheism is growing NON PROPORTIONALLY to the population of the earth then all other religions would be DECREASING.
I've seen no indication atheism is growing. The statistics quoted show nothing but the number of each at the time the numbers were compiled. On order to show increase and decrease you need at least two sets of numbers.
Everyone, This thread serves no purpose other than entertainment.
Yeah? So what's your point? :D
How would humanity react if there was no god. Would humanity not make their own religion in order to feel purposeful and content.
A point I have made many times on occasion. In other words:Did God create man, or did man create God? I think that is the ultimate question -- rhetorically speaking.
Ah..no nothing like that Walt, you are really good at Paint Shop Pro.
Nope. I used Paint. :D
As for high post counts from games, who really cares? Does high post count give you something special? Especially if you rarely if ever leave the games forums?
hy !!I ope yu r woking hard to help me out. I tried all i could but couldn't get an far. I need help please
Yeah, I'm sure most of us are just about done with your homework.
[tex]\infty / 42 = \infty [/tex]
42