Member Avatar
I'm designing a LongDouble datatype which take a 16 byte space. my question is how to add or substract a two double numbers correctly ex : but in my code it's different here is my code
by m1m6jbr in Software Development ()
Member Avatar
Rightnow i am facing a problem of print Long Text. In my database i have data in long text format and that field has around 2000 line of text so how can i print that. I am giving here full code of my file please go through it and try …
by Sanjay_6 in Web Development ()
Member Avatar
Hi, I am trying to generate a spool file through below anonymous block in order to find out views on a particualar table. When I run it I get an error as "numeric or value errors", however if I remove text(LONG) column from cursor defination the block goes through without …
by iceman29 in Databases ()
Member Avatar
I really got bored and tired of trying to find or remember some codes usage in so many files saved on my system, when it was needed. So, I called 'Monsieur' perl for help, hacking together some codes which works great for me and solve my problem of boredom. You …
by 2teez 43 in Software Development ()
Member Avatar
We recently had our account suspended (without warning - thanks 1&1) due to exceeding server load. The reason this happened was there were quite a few divs that were refreshing (via Ajax) every 9 seconds to give a 'live update' on the site (it is a sports site so this …
by MargateSteve 12 in Web Development ()
Member Avatar
I am getting wrong output. My Code is following, in which I have to use function unsigned long powerof2(int n); I need:
by mical700 in Software Development ()
Member Avatar
I need help with this I am posting the ling of code pad because it has a way to execute it, so long story short. I use two different functions seno, sen (both for sin). When using the printf and adressing both to compare results I get from the seno …
by xikhari.some1behindu in Software Development ()
Member Avatar
Hi all, I implemented a C program using my mac book. Now, my client wants to migrate to windows OS (MinGW). Program does many calculation using long double: on mac it works fine, otherwise on winz doesn't. I read on internet the problem is that long double type is supposed …
by sangi1981 in Software Development ()
Member Avatar
Hi Everyone! My question is on Pagination (as it is called). I have a php program that accesses a database and shows the result list with HTML. Well, if my result list is quite long how do i code so that only say 10 rows show per page. I know …
by David2012 in Web Development ()
Member Avatar
Hi, There is a bug with the editor that I noticed and others noticed too. When you post a very long code segment (or maybe just a long post, period), at some point it seems to overflow the capacity of the editor and you can no longer scroll all the …
by mike_2000_17 2,669 in DaniWeb Community Feedback ()
Member Avatar
Hi, below is my code for an android app I am developing, I was wondering how I can pass the value of pos from the array adapter to another activity through intent? What I would like is for the code in the next activity to be performed based on the …
by Nickl246 in Mobile Development ()
Member Avatar
I would like to take string argument for class BalancedTrinary intializer, but the string type of argument is processed before it enters the init function. I guess I must override any class method which deals with those for int/long? ERROR MESSAGE
by pyTony 888 in Software Development ()
Member Avatar
Why do we have to suffix long literals by 'L' or 'l' even though we have specified the datatype ? Does it serve any special purpose?
by DJSAN10 28 in Software Development ()
Member Avatar
Hello. I've been doing a small application that will go (using only unsigned integer values) from 0 to 4026531840 and print them out. My code is next: include <stdio.h> include <inttypes.h> int main(void){ uint64_t cnt; for(cnt=0;cnt<=4026531840;cnt++){ printf("%d\n",cnt); } } The only problem that i have is the last numbers are …
by jen140 in Software Development ()
Member Avatar
hey guys, when do we use "long"? and what is it anyway? like: public long someStuff(long n) { ..... ..... } thanks :)
by gingerfish in Software Development ()
Member Avatar
Hey guys, I need to find the length of a long variable (how many numbers it holds). So if the variable holds: '1234567890' then I want to return an int value of '10'. varName.Length() doesn't work, and I haven't found anything from google or msdn. Thanks for the help, WolfShield
by WolfShield 32 in Software Development ()
Member Avatar
// foo vector of unsigned chars // contains 0x00, 0x00, 0xb8, 0x01, 0x00, 0x00, 0x00, 0x1F, 0xEC 0x82 std::vector< unsigned char > foo; long some_long = (long)&foo[6]; // i want the unsigned chars 0x00, 0x1F, 0xEC 0x82 to // make up the long decimal value of 2092162 Now the above …
by jnewing in Software Development ()
Member Avatar
Here is code for hexagonal and pentagonal numbers. I need type that stores something bigger than 10 billion. Double works fine to about 8.4 billion. Of course I tried using long long and unsigned long long but it's still not working. Please repair this code because it overflows now matter …
by george61 in Software Development ()
Member Avatar
hi, is there a way to convert from string to long? for eg: i want to concatenate all the arrays into data and make it same type (long) as data1. a='0x' array0 = '00000018000004000000000000000000' array1 = '00000000000000000000000000000000' array2 = 'fe000000000000000000000000000000' array3 = '00000000000000000000000000ffffff' data = a+array0+array1+array2+array3 print data print type(data) …
by tcl76 in Software Development ()
Member Avatar
Hi, I have analyzed and collected a few Long Tail Keywords. Is there any special technique available to promote these long tail keywords other than the usual way of doing things like Articles, Forums, etc. Any ideas would be appreciated. Thanks in advance
by Allison2009 in Search Engine Strategies ()
Member Avatar
I have too make an application in C that uses a dictionary. I have 54000 words in a file, on per line and I need a way to handle it. - I first wanted to keep it in an array but as it's bigger that INT (32767) I cannot do …
by Clawsy 1 in Software Development ()