Hi all, I need to obtain the fractional part of a double. AFAIK C# and .NET has no such function. Have a few options here:(x is a double) `x - (int)x` `x - Math.Truncate(x)` Convert to a string and extract the fraction... Perhaps someone knows other options? Which should I choose or does it not matter that much? Thanks in advance for some answers. :)

Member Avatar
Member Avatar
+0 forum 6

im looking for way to make my game allow players to play with each others via internet i can use some kind of rooms i need help to know what is the recommended engines that can i use for real time multiplayer apps

Member Avatar
+0 forum 0

Hello All, We have created classified software for real estate market. We could say that software is now ready for additional niche markets. Markets that we are intend to market: car/bike, boats, pets etc Real Estate version: http://www.cubescripts.com/real-estate-script It is made in PHP and revision tracking is done through the Git. We are trying to find a solution so we can easily manage new applications. Since they will be based on same framework/solution most of the files will be shared between each application, but some will differ. We update a lot so it would be time consuming to check each …

Member Avatar
Member Avatar
+0 forum 2

So decided I should switch to VS13 for the added benefits. Copied the cold, transfered the files, alls good right? Wrong. Actually its not that bad. Just one main problem. `ltm` See this fella? This is the one guy that is standing in the way of me and the debachury that i am programing. He is the name of my pointer for the time aspect of my program. so... `ltm->tm_mon;` He and his buddies are throughout my 500+ line program that functioned fine in Bloodshed. The problem? VS13 doesnt play friendly with localtime (they dated once and had a fall …

Member Avatar
Member Avatar
+0 forum 1

please i need help with my work.. write a program in c++ that accepts a real number with two decimal places and output the vallue in words.. [assume that no amount will exceed 999999999999.99

Member Avatar
Member Avatar
+0 forum 4

Hi DW We want to run an experiment in our lab on ATM, we just want to keep it simple and easy, So far I've just created the two forms and since I've discorvered that most of the ATM's are running a Windows OS which I saw it in one garage so I just decided to start this experiment to see if it is really posible to run a Windows Application form project on an ATM but the problem with the ATM is It screen they use a special small screen to secure and they also use the special keyboard …

Member Avatar
Member Avatar
+0 forum 2

How can I find out how much traffic my competitor's site receives? Explain it.

Member Avatar
Member Avatar
+0 forum 5

hello. how i put a real time clock in my form ? thank you

Member Avatar
Member Avatar
+0 forum 2

I was doing some past exam questions as a way of studying for an exam next month. One of the questions that I could not do was this: "Write a procedure that returns a two dimensional square array of size n x n, initialised with random real numbers between -100 & 200". I have two problems with this question. Firstly, how can I manipulate my loop to include negative values (i.e. 'real' as opposed to 'int')? Secondly, how can I make it any square array, like a 2 x 2 or 17 x 17, for example? Any help would be …

Member Avatar
Member Avatar
+0 forum 4

Hi Friends, I have something to share with you. Well i am working on a real estate website and promoting its keywords. From last two months i did not get any performance in my keywords. I worked a lot and quality of work also. Is SEO on real estate website tough or there is any other way to rank up the keywords ??

Member Avatar
Member Avatar
+0 forum 7

In file i have a text. Words form line to line dont raising. Word in line separate least one space.Spaces can be at line begining and ending, can be empty lines. Count how many words can be in real number. i need a function whitch can count words whitch can be real number. I started like that this was first task, and now i need to count words, please help me ;/ [CODE]const char Cduom[] = "Duomenys.txt"; const char Crez[] = "Rezultatai.txt"; const char Canalize[] = "Analize.txt"; #include <string> #include <fstream> #include <iomanip> using namespace std; void ApdorotiTeksta(const char dfv[], …

Member Avatar
Member Avatar
+0 forum 3

Hello. I have a FileUpload control in my app, and a user chooses a file that sits on mapped network drives. now i don't want the files to actully download i only want the path to it for a link. my question is how do i get the real path of the file? using Server.MapPath doesn't because those files sit on different servers.

Member Avatar
+0 forum 0

I would like to know how to display more than 256 colors in DOS I already know about the color palette which can hold 256 colors and can be changed, but as soon as you change them the colors on the screen change. So how would I display more than 256 colors on the screen? It seems to me that this would be possible, since in my OS (windows) it looks as if it can display more than 256 colors. Any resources that can show me how to do this would be helpful, thanks.

Member Avatar
Member Avatar
+0 forum 2

I have tried to set the colors of the vga color palette here is my code: [CODE] mov ax, 0x13 int 0x10 mov ax, 0xa000 mov es, ax mov al, 2 mov bh, 63 mov bl, 0 mov ch, 0 call SetPalette mov si, 344 mov byte [es:si], 2 Hang: jmp Hang SetPalette: out 0x3c8, al mov al, bh out 0x3c9, al mov al, bl out 0x3c9, al mov al, ch out 0x3c9, al ret [/CODE] It does not set the entree number it always sets palette entree 0. Can anyone tell me why this is or how to fix …

Member Avatar
+0 forum 0

I have read about how multicore processing works of the Intel. The manual that I read had left out a part that would of been useful how to actually use multiple cores. It just explained how all the different parts of the CPUs interact with each other, so could someone show me how to use them in assembly. If someone could give me some code in simplest form as possible (for me to understand), to help me that would be very helpful. The assembler I use is Nasm and I'm not to good at switching to protected mode so I …

Member Avatar
Member Avatar
+0 forum 1

I am wondering how to change the VGA resolution and the video memory pointer in real mode assembly (nasm). I have no idea how to do this, so can anyone help me?

Member Avatar
+0 forum 0

I'm trying to make some code that directly interfaces with the VGA card(in real mode), I know the ports(0x3c6, 0x3c7, 0x3c8, 0x3c9) I need to use to output data on the screen. My code is this: [CODE] mov ax, 0 out 0x3c8, ax ;plot pixel at location 0 mov ax, 4 out 0x3c9, ax ;output color index 4 to screen [/CODE] First off this code doesn't work, second, I get warnings during assembling (with nasm) it. The warnings are all the same this: "warning: unsigned byte value exceeds bounds", I can't seem to fix this what may be wrong? Ports: …

Member Avatar
Member Avatar
+0 forum 15

I had tried to make a compare strings function in real mode assembly, but it didn't work, so I tried it another way and it did. It seems to me that both functions I wrote do the same thing yet one doesn't work. Can someone tell me why, the two functions are below. This one works: [CODE] CmpString: mov bh, [di] cmp bh, [si] jne StringRet cmp bh, 0 je StringEnd add di, 1 add si, 1 jmp CmpString StringEnd: stc ret StringRet: clc ret [/CODE] And this one did not: [CODE] CmpString: mov bh, [di] cmp bh, [si] jne …

Member Avatar
Member Avatar
+0 forum 2

I I'm trying to create an application in real mode that uses the flags to store the results of calculations and other stuff. I'm trying to do this to take up less memory. So can someone please give me some example code or tell me how to do this. I hear it has something to do with eflags or something were they are stored. I already know how eflags is formatted but how do I get to it, and modify it?

Member Avatar
Member Avatar
+0 forum 6

I was just really curious if this website [URL="http://www.webking.com/"]http://www.webking.com/[/URL] is for real or is it just a joke? There are even [URL="http://www.webking.com/computer-services/index.html"]testimonials [/URL]and stuff

Member Avatar
Member Avatar
+0 forum 37

I need help in reading a text file and by using a switch statement the user can either press 1 to find the average of all the integers in the text file, and by pressing 2 they find only the averages of the real numbers in said file. This is my code thus far and my problem/question is how do you distinguish +- numbers from +- numbers that have a decimal, ie real numbers from integers. [CODE] #include <iostream> #include <fstream> using namespace std; int main() { int n; double average(0), sum(0), count(0); ifstream data; data.open("data.txt"); if(data.fail( )) { cout …

Member Avatar
Member Avatar
+0 forum 5

I have a table with a bunch of check boxes, this is not a plug: (found at [url snipped]), I am trying to figure out how to store each checkbox's value in real time (there is no "Submit" button). I run jQuery through my site and was thinking that PHP/jQuery could do it. I don't need any security with this storage although an IP check to make sure the same user isn't clicking/unclicking the same button 100 times would be nice. All I need it to do is store (I'm thinking a checkbox.log file) how many times each one is …

Member Avatar
Member Avatar
+0 forum 7

Hello, I have a project for school and I need it finished a in a few days. What the project does is reads data from a txt file. Each row of the txt file contains a timestamp hh:mm:ss,mmm (example: 00:05:33,141). Whenever the system time is equal to one of the records, I need to send data to a tcp client. What I did is created a thread with a while(true) in it and verified if a row contains the current time, than send the data. That is not good because it's not efficient. I would need something like a timestamp …

Member Avatar
Member Avatar
+0 forum 6

Hello ive been working on this real number program for a couple of days and i still cant get it working it always prints out the same two numbers 1 2 1 2. Please help. [CODE] public class perfectnums { public static void main(String[] args) { int n = 1; int a; int t = 2; int c = 2^(t-1)*(2^t-1); while ( n < 5 ) { t++; c = 2^(t-1)*(2^t-1); n++; a = c; if (a < 0); { System.out.println(a); } } } } [/CODE]

Member Avatar
Member Avatar
+0 forum 6

It was reported today on searchengineland.com that Google has rolled out a Real Estate-focused search engine. On the site there are individual property pages for every property listed on Google Maps. According to the article, this part of an ongoing initiative by google to improve how real estate info is presented in Google Maps. As I do not work with any real estate clients, does anyone know if these pages are automatically generated by Google and if they are can the real estate agents perform SEO work on these pages. Also, how much control and imput to the real estate …

Member Avatar
+0 forum 0

Does anyone have any experience setting up social media presences for realtors? I have a friend who is an independent realtor and she is looking for ways to expand her reach. She knows I work with social media and asked my advice. As I have not worked with realtors in terms of social media I am reaching out to the community for help. Thanks.

Member Avatar
+0 forum 0

The End.