5,676 Posted Topics

Member Avatar for murtazamzk
Member Avatar for MasterHacker110
Member Avatar for paul1000

[QUOTE=paul1000;]Thanks doggyminder for your contributions,honestly i have already bought ebooks on adsense programs,i have also read so many free ebooks and reports on google adsense,but after creating so many sites,i discovered that what i thought was different from the result am seeing.[/QUOTE] You seem to be proof that "[I]you get …

Member Avatar for davujose
0
348
Member Avatar for srivardhanms

Look at it this way. A declaration is like your street address. It isn't where you live, just a reference to the location. It simply says that your place (or the variable) exists somewhere. A definition is the house/apartment itself. It holds all your stuff -- like a variable. You …

Member Avatar for srivardhanms
0
1K
Member Avatar for eranga262154

Actually, you should probably [url=http://www.daniweb.com/techtalkforums/thread78223.html]Read This![/url], then post back.

Member Avatar for Gorf
0
2K
Member Avatar for Renesme-LuCiFeR

[QUOTE=Renesme-LuCiFeR;]My Problem Is That I Cannot Find What I'm looking For , When I'm Studying My Reference Which is C, Programming Language 2nd Edition.... It Cannot Answer All of Questions...So I Tried Here...[/QUOTE] In my experience [B]C, Programming Language 2nd Edition[/B] explains EXACTLY how a loop works. Any explanation we …

Member Avatar for Ramesh.YoTLC
0
238
Member Avatar for The Dude
Member Avatar for sharunkumar

Ctrl, Alt, Shift are not 'keys', they are modifiers to keys. [B]C[/B] is a key, value is 67. [B]Ctrl-C[/B] is also a key, value 3. Look on Google for information about [I]Sendkeys[/I]

Member Avatar for Cardine.Mpisane
0
28K
Member Avatar for derbende

[QUOTE=jjwitherspoon;]If you need a better explanation, let me know.[/QUOTE] Since he hasn't been here since Jan 4th, I wouldn't hold my breath waiting for him.

Member Avatar for stephendstump
0
1K
Member Avatar for varun51

Pass in another string which will be loaded with the reversed string as you go through your return side of the function

Member Avatar for Amangpt01
0
2K
Member Avatar for fugnut

You aren't retrieving the value in [ICODE]main()[/ICODE]. Where does [ICODE]calcDays (numberOfDays);[/ICODE] put the value upon return? Do you need to brush up on returning values in you book?

Member Avatar for deceptikon
0
3K
Member Avatar for Lardmeister

Just saw it tonight. If the crust shifts 23 deg and brings China close enough that the plane can land without getting wet, why were the mountains untouched? Seems to me the shift would cause massive destruction there, too.

Member Avatar for sneekula
2
2K
Member Avatar for nanodano

[QUOTE=Zvjezdan23;]That code didn't work for me so I modified it. This code will work for any situation that someone needs to use the up arrow, down arrow, left arrow, and right arrow. [/QUOTE] It will? Try it on any Linux Compiler. Try it on any non-Borland/Microsoft compiler. It won't work …

Member Avatar for thendrluca
2
6K
Member Avatar for trinibaby

Did you bother to read any of the requested information posted all over this site about CODE tags, like 1) in [url=http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies]the Rules[/url] you were asked to read when you registered 2) in the text at the top of this forum 3) in the announcement at the top of this …

Member Avatar for great_learner
0
3K
Member Avatar for LinDoc

if [I]ro[/I]=0 and [I]co[/I]=5, [iCODE]if (grid[ro-1][co] == '.' && ro-1 < ROW)[/iCODE] will first test [I]grid(-1,5)[/I]. Is that a valid test?

Member Avatar for pizFunk
0
2K
Member Avatar for markwiering

> Dutch words are good readable, and they look like the English words. There are very few words that start with BJ in English. There's BJ Hunnicut from M\*A\*S\*H. Hmmm, that's the only one I can think of. Oh, and Bjorn Borg. No, wait, he's not from here, is he? …

Member Avatar for innocentmeshi
0
479
Member Avatar for mathgirl

[QUOTE=vijayan121;353712]change line 16 to: [B]cout << "\n |\n" ;[/B][/QUOTE] Horizontal is ---- not | Blank lines can be added as [b]Vij[/b] says by outputting a [I]\n[/I] or [I]endl[/I]

Member Avatar for simongezahagn
0
716
Member Avatar for Harshita_garg

You have to control the cursor which is not something that [I]Standard C++[/I] can do. This takes commands that are system and/or compiler defined. And they are optional so they might not be defined for your system.

Member Avatar for azeem abbas
0
221
Member Avatar for Yzk
Member Avatar for np2100

[QUOTE=SpecialeW;530504]ah and I was thinking it was my logic... thnx very much it works perfectly now[/QUOTE] No it doesn't. Try answering the question with "Supercalifragilisticexpialidocious". Chances are the program will crash because you are stuffing 34 characters into a 4-character array. Instead of [ICODE]char[/ICODE] use the C++ [ICODE]string[/ICODE]. Then you …

Member Avatar for Gonbe
0
340
Member Avatar for syria718

Gee, I wonder what you types in. I also wonder what answers you got. Any help is dependent on the input and output.

Member Avatar for bhavya_best
0
3K
Member Avatar for 9tontruck

Yes. `fopen()`. Your analysis of the problem is completely wrong. `fopen()` can open any file. As AD said, "*check the return value of fopen()*". The `fopen()` probably failed for some reason.

Member Avatar for Ab000dy_85
0
360
Member Avatar for bhavna04

[QUOTE=crunchie;1659206]Now, how to figure 3.75 degrees.[/QUOTE] Easy. Draw a circle. Take away everything that isn't 3.75 degrees.

Member Avatar for Reverend Jim
-1
265
Member Avatar for kokiis

Do you know how to load a value into datagrid row1 col1? Just load the .text of the textbox into the location you need with an =

Member Avatar for Wolxhound90
0
521
Member Avatar for RonKevin

**Lucaci Andrew** basically said: "*test for invalid input*" **NathanOliver** said ... "*you need to use a loop*" After these two posts: **rogernick** said "*Did you try using a loop method?*" **np complete** said "*Try using loop for inputing and displaying ... checking whether input is [invalid] or not*" It helps …

Member Avatar for Lucaci Andrew
0
147
Member Avatar for aramil daern

[QUOTE=aramil daern;]These are codes that do absolutley nothing, except to show whart you can do with to much time on your hands. Oh the silliness[/QUOTE] And your point?

Member Avatar for Echo89
1
485
Member Avatar for Riteman

> Thanks for all your replies. But can anyone think that these are the reply to my question? Am i helpless regarding this? Yes, absolutely. Let's recap. You asked a question giving an example: > ...say an incorrect program..: for(int i=0;i<=12;i++) { ifstream comp("%i.txt"); comp.close; } > i know the …

Member Avatar for angham kh
0
4K
Member Avatar for sofy

Please explain exactly how you are checking for a prime. I see no code at all that does it.

Member Avatar for sofy
0
363
Member Avatar for k3na26

Well, if it doesn't open the file, how can it calculate the data? Where did you save the file? Where is the program looking for the file? Make sure they are the same place.

Member Avatar for satabios
0
3K
Member Avatar for mayank.dyl
Member Avatar for tech-ultrasonic
0
436
Member Avatar for amrita111

That's like asking what are the advantages of Apples over Video Games. They are two different things.

Member Avatar for amrita111
0
155
Member Avatar for razorsky

Nice. Try it with the city [I]Des Moines[/I] or [I]Los Angeles[/I] and let us know how it works.

Member Avatar for j.c.
0
9K
Member Avatar for Dudearoo

Look up the **methods** in the `string` class. The methods for searching, splitting, and all that stuff are well documented.

Member Avatar for ravenous
0
189
Member Avatar for xxwikkixx

Where are you going to press "X"? What variable will get it? > I am playing against the computer and this is the beginning. my main question is on the loop and the randomness. I need the program to keep going and show score after every 3 times and the …

Member Avatar for xxwikkixx
0
404
Member Avatar for Learningvinit
Member Avatar for ShEeRMiLiTaNt

Please explain this loop. It doesn't make any sense to me. for (int i = 0; i < size; i++) { for (int j = i + 1; j < size; j++) { if (array[i] != array[j]) { *Walker = array [i]; Walker++; usize++; } i++; j--; } } And …

Member Avatar for vijayan121
0
2K
Member Avatar for DavdPrez

[Format! Format! Format! Format! Format! Format! ](http://www.gidnetwork.com/b-38.html) [gets()](http://www.gidnetwork.com/b-56.html) Isn't **ced** your ID? Isn't it a char array? Why are you reading it as a float?

Member Avatar for DavdPrez
0
2K
Member Avatar for gtsreddy

>Every program I have made, can be run in Windows 95, 98, ME, NT, 2000, XP, Vista and 7. It supports nearly every version of Windows, also the new ones. Bowls made by the Mayans and by the Sumerians still work today (if found intact). Which are better? And are …

Member Avatar for vijayan121
0
718
Member Avatar for lizziekadango

And why are you calling the function `randomize` **and** `srand()`?

Member Avatar for lizziekadango
0
161
Member Avatar for PseudoGuard

Let's see if you followed the assignment: > Specicially we want you to write a function named generateRandom that generates a single random number in a range specified by the user. Look at the `generateRandom()` function. Does it in fact generate any random numbers? > Write a main function that …

Member Avatar for KaeLL
-1
291
Member Avatar for Jorox03

First, don't use a **double**. It's inaccurate. A long is good for 4 billion values. A long long (assuming it works) is astronomically larger. Second, take that hellacious equation and break it up into manageable segments. Calculate the year. Then the month. Then the day. Then put them together. This …

Member Avatar for Jorox03
0
199
Member Avatar for SAM2012

See comments: while(!(cat1->Empty())) { // process queue 1 } if(cat1->Empty()) // Didn't you just empty queue 1? { // Why do you need to test if it's empty? while(!(cat2->Empty())) { // process queue 2 } } I don't see a definition for **nullptr**. Did you define it to be FALSE …

Member Avatar for SAM2012
0
288
Member Avatar for pendo826

I think you need to explain in more detail. What are you ultimately trying to do? What is wrong with the two functions? What is your definition of an invalid input? ... valid input?

Member Avatar for Lucaci Andrew
0
198
Member Avatar for iamthwee

What if the 1,000,000th is a spammer? Do they get a case of jellied pork parts?

Member Avatar for Ezzaral
0
325
Member Avatar for idRATHERgoHUNT
Member Avatar for WaltP

Inline Tags need to keep spacing for 2 reasons 1) they are the only way we can officially *quote* code 2) whether one line or an entire block of code, spacing can be important. It's CODE after all.

Member Avatar for Dani
0
230
Member Avatar for HunainHafeez
Member Avatar for HunainHafeez
0
187
Member Avatar for munchlaxxx

I would grab a piece of paper and a pencil and start here: int value = 0; int count = 0; int sum = 0; int average; Write down the above variables on the paper and their values. Then continue looking at each line of code and change the value …

Member Avatar for np complete
1
197
Member Avatar for dgipling
Member Avatar for rithish
Member Avatar for Gonbe
0
174

The End.