hi guys i'm welling to buy a new hard drive i got : core 2 quad 760 - q8200 with 4gb ram and 1 hard drive (250gb) what's the maximuim ammount of capacity can i put in it 500 gb ? 1tb ? 2tb ? and what's the most reliable hard drives ? thank's in advance .

Member Avatar
Member Avatar
+0 forum 11

I am creating a web site and have written css postions etc using % so that it will look the same on any monitor size. So when I view the website on my own laptop which resolution is 1366 x 768 it looks perfect however when I view it on a widescreen monitor there's various parts that are out of place and further down the screen. One of the sections on the home screen which is out of place is the login form, the css for it is: .clientForm { position:absolute; top:35%; left:40%; color:Silver; font-size:medium; height: 112px; width: 311px; } …

Member Avatar
Member Avatar
+0 forum 5

Any of guys know how big 4K files get? I know it's impossible to directly say what it would be. But you can always estimate, I say, that 8 minutes of 1080p would be around 100MB. Could any of you estimate size of such file?

Member Avatar
Member Avatar
+0 forum 14

Hey guys! I'm writing this really long code for practice. Got really rusty with Java so I gotta get brain working again. Anyway, the first part of the code asks the user for the number of employees; the for loop then keeps asking the user to input employee names depending on the value of user input. The error I'm getting is that I haven't intialized arrayEmp. How do I make it so that the size of arrayEmp is from the user's input. Thanks guys! Every time I come to this site I just keep on learning! public class Driver { …

Member Avatar
Member Avatar
+0 forum 4

I know that in case of virtual inheritance, a vptr is needed to access the base class members, so I looked at a program that involved virtual inheritance but I was amazed at the size of the class. The code is below: #include<iostream> using namespace std; class Base { public: }; class D1:public Base { }; class D2:virtual public Base { }; class DD: public D1, public D2 { }; int main() { DD cObj; cout<<sizeof(cObj)<<endl; return 0; } For size of pointers = 4, The size of class DD comes to be 8, even though class D1 doesn't use …

Member Avatar
Member Avatar
+0 forum 1

Hi can u please help me with my assignment I need to create new type using new class -Myint- which is tepical to int type but the new one must be 10 bytes long insteade of 4 bytes so the quesion is how to set the size of my new class objects thanks ...

Member Avatar
Member Avatar
+0 forum 6

->Hi Daniweb-Web Developers. ->I'm using PhP 5.2.5,WAMP 5,MySQL 5. -I'LL TRY TO EXPLAIN IN DETAILS THE WHOLE STORY:- ------------------------------------------------- 1: I've declared a global variable dynamic array ALPHABETS_COMBINATION. 2:It is populated with a group of 3 Alpha combination AAA-ZZZ in a function : Generator($ALPHABETS) 3:Once the Buttonn click event is triggered I count the records in My table 'Items' to get the total of records 4:And For each record the Function is called to generate the combination and pick one for a record say record 1 5:The picked combination is then checked in another table 'Cat' to see if it …

Member Avatar
Member Avatar
+0 forum 17

What is the maximum buffer size allowed in memecpy() function in c, I am using GCC compiler,32-bit system, What is the affecting factor for memcpy failure? ->Alignment issue? ->Size? however the buffer size 256bytes not working, tried 160 bytes copy which fits our requirement

Member Avatar
Member Avatar
+0 forum 8

How I can increase size of stack in assembly (NASM OS X intel64) I used **.STACK 4096** before **section .data** but return this error error: attempt to define a local label before any non-local labels error: parser: instruction expected Please guide me.

Member Avatar
Member Avatar
+0 forum 1

I am supposed to sort an array in ascending order..I have tried but then i cant get the results i want.I also tried to look it up in this forum but i still can't get it...Here is part of the code:[ICODE]void sort() { int size=10; int j,temp,i; for(i=0;i<(size-1);i++) { for(j=i+1;j<size;j++) { if(queue[i]>queue[j]) { temp=queue[i]; queue[i]=queue[j]; queue[j]=temp; } } } cout<<"Status: sorting done."<<endl; }[/ICODE] The result i getting is zero for everything...Please help me..

Member Avatar
Member Avatar
-1 forum 9

- the GetWindowRect() give me the window size and position; - the GetClientRect() give me the window size without inclued the scrollbars\menus\borders\others; so when 1 image is more big than client size, what size i can use? DC size? and if a child window position is more big than client size??? what size do i need? the DC size do the job?

Member Avatar
Member Avatar
+0 forum 11

hello friends. i just start with android and i got many trouble one is the image size so i can undestund ldp is for low density and it's grow to hdp xhdp, xxhdp...., but i can't undestund how to edit image for the different screen. for exemple i have a image and i want the width to take `match_parent` for exemple if the image is height 720x1024 widht px. i must edit the size for different screen??? how for ldp how for hdp how for xhdp..?? i feel like my question is complicate but i'm sure with your help i …

Member Avatar
Member Avatar
+0 forum 1

Can someone please explain this error and how to fix it? This worked perfectly on my computer but it stopped working when I transferred it to another computer. int hash = 0; char *strings[100]; if((int)strings[i] != 0) if((int) strings[hash] != 0) while((int) strings[hash] != 0) if((int)strings[hash] != 0) if((int)strings[hash] != 0)

Member Avatar
Member Avatar
+0 forum 6

This handy little utility determines the size of a folder and it's subfolders in MBytes.

Member Avatar
Member Avatar
+2 forum 6

Hello guys, I'm completely losing it. The question asks to emplement an electronic directory traverse in size a chosen folder (using JFileChooser)and print the structure with the calculated the size of each folder and file. Finding the file size is easy using File.io `getSize()`. However, to find the size of the folder I wrote the function below to do it. **My problem:** My code is totally not calculating the inner folders' size, only the `root` folder size is being calculated. I think I have a problem in my traverse method? Traverse Class: import java.io.File; public class Traverser { private File …

Member Avatar
Member Avatar
+0 forum 4

I've been trying to resize my jbuttons to the size of my pictures, but the jbuttons keep on occupying the whole frame. The size of the photos are 150x267. import javax.swing.*; import java.awt.event.KeyListener; import java.awt.*; import java.awt.event.KeyEvent; import java.util.Timer; import java.util.TimerTask; public class StartGame extends JFrame implements KeyListener { Timer timer; JPanel startpane, oakpane, choosepane; JButton a,b,c; int enter = 0; public StartGame() { super("Animon"); this.setBounds(100,100,1000,1000); startpane = new JPanel(); oakpane = new JPanel(); choosepane= new JPanel(); //start JLabel pic = new JLabel(new ImageIcon("animon2.png")); pic.setSize(400, 500); startpane.addKeyListener(this); startpane.setFocusable(true); startpane.add(pic); add(startpane); //oakpane addoakpane(); //choosepane this.addKeyListener(this); this.setFocusable(true); this.setVisible(true); } public void keyPressed(KeyEvent …

Member Avatar
Member Avatar
+0 forum 2

i have this for my requirement assignment: Write a search function int get_index(const float astm[?][?], const int size) to find the array index from a given size. can someone give me some hint on how to di it pleass?

Member Avatar
Member Avatar
+0 forum 6

Hi, I have a site that looks fine locally, but when I view it online, it gets messed up. Specifically, it does not resize correctly (eg at 800x600). In a turnabout, this only occurs in Firefox (3.6.16) - in IE 8 it resizes ok. To further confuse the matter, if I put the files on a [I]different[/I] server, it looks fine! Here is the site in question on Server 1: [URL="http://www.lincolnavenuewillowglen.com/nonprofits.html"]http://www.lincolnavenuewillowglen.com/nonprofits.html[/URL] Resizing doesn't work here. Also note that image at top-left does not resize correctly either. Here is the site on Server 2 (identical html and css): [URL="http://www.rudeshoes.com/nonprofits.html"]http://www.rudeshoes.com/nonprofits.html[/URL] This should …

Member Avatar
Member Avatar
+0 forum 7

The End.