With info-graphic back-linking when someone uses my image and posts it to a site that is considered very poor quality. Is there any negative-effect from Google? or Google may think I'm spamming with my links on random sites.? |
+0 forum
10 | ||

so, im trying to make a simple funtion to see if there is a file in a folder. been looking everywhere but havent found one that worked out. annnnnnnnnnnnnd code snippet: ` WIN32_FIND_DATA FindFileData; HANDLE hFind; hFind = FindFirstFile(_T"C:\\Dev-Cpp\\notes", &FindFileData); if (hFind == INVALID_HANDLE_VALUE) { cout << "No File found\n"; } else { cout << "Guess I found a File\n"; } well, the function comes up with no errors but if the file is empty it says that it found a file. can someone tell me what am i not seeing? |
+0 forum
7 | ||

Hi all, and thanks in advance for any replies. Google Places - great for helping nearby searchers find your business. But would signing up have a negative impact on searches outside of your business' region? For example (fictional): a user in London searches for "IT support" and finds my IT support business based in London. Great. But if a user in Leeds searches for "IT support", would my company's ranking be worse than if I had not used Google Places at all? Any thoughts would be appreciated. Regards, _Rade |
+0 forum
1 | ||

Code Snippet
Do you want to find -10 in negaternary? Here is base conversion function written to deal also with [negative bases](http://en.wikipedia.org/wiki/Negative_base). Not yet balanced ternary, where numbers themselves can be negative, maybe later I add it.. Based on the code in the wikipedia article, which has bug for converting 0.[**Edit: I fixed the bug in wikipedia**] |
+0 forum
2 | ||

Can someone tell me, step by step, how python interprets this code? [CODE] Numbers = [1,2,3,4,5,6,7,8,9,10] Numbers[8:3:-1] [/CODE] I know that the "-1" is the counting bit of it, and it goes in the negative direction, but I'm lost on everything else... :( |
+0 forum
3 | ||

Hi,guys!May i know how to i seperate -keyword and +keyword from an array? eg, i have $arrayList = array(+book,+school,-play,-study); How to i seperate those +keyword into 1 array and -keyword into another array? You help will be kindly appreciate. Best Regards, Stanley |
+0 forum
4 | ||

Ok ,I've solved it! |
+0 forum
1 | ||

I am supposed to have a while loop that asks for a number until the number is a negative. Then I am supposed to get a total of all of the numbers EXCEPT the negative number. As of right now my program adds up the absolute value of all the numbers input. any suggedtions on how to add all BUT the negative? [CODE]number=float(input("Enter a number: ")) total=number while number>=0 and number<=100: number=float(input("Enter a number: ")) total+=abs(number)[/CODE] |
+0 forum
4 | ||

Hi I have a problem with some code. Basically what the program is supposed to do is to take in a minimum exponent and a maximum exponent and a base. Then its is suppose to create a table displaying the base to the power of the minimum exponent to the max exponent.I have got the positive exponents to work but I cannot get the negative exponents to work. I cannot use the pow() function. ex.(this is what it should look like) input: Base = 2 max exponent = 3 min exponent = -2 output: .25 .5 1 2 4 8 … |
+0 forum
1 | ||

Hi ~ My program seems to work perfectly with the exception of validating user input. I do not want someone to do the work for me, I don't learn anything that way. I need to know why it works not just what or how. I just need a push in the right direction. I was going to post the whole program but thought better of it and am posting just the part not working. Thanks for any help. [CODE] double getRainfallPerMonth(double rain[], int size) { int index = 0; while(index >= 0) { for(int index = 0; index <= size … |
+0 forum
2 | ||

I have this recursive method that counts the amount of negative numbers that lie in the array called "NumArray" [CODE]public static int countNegative(double[] NumArray, int startIndex, int endIndex) { if (startIndex == endIndex) { if (NumArray[startIndex] < 0) { return 1; } else return 0; } else if (NumArray[endIndex] < 0) { return 1 + countNegative(NumArray, startIndex, endIndex - 1); } else return countNegative(NumArray, startIndex, endIndex - 1);[/CODE] In my main code I use this print state to print it: [CODE]int negCount = countNegative(NumArray, 0, NumArray.length -1); //setting negCount equal to the method System.out.println ("The total count of negative numbers … |
+0 forum
2 | ||

Is is possible for you to reduce the amount of negative rep I can give from 30 to something more reasonable, say 10? I'd like to occasionally give negative rep but I don't want to completely destroy the member. Maybe there should be a maximum negative rep that can be given. |
+0 forum
43 |

The End.