18 Topics

Member Avatar for
Member Avatar for Yuichi

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++) …

Member Avatar for bangalore.webguru
-1
4K
Member Avatar for mouaadable

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 …

Member Avatar for mouaadable
0
477
Member Avatar for laura301019

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 …

Member Avatar for veera100
0
190
Member Avatar for RikTelner

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 for Ketsuekiame
0
240
Member Avatar for laguardian

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 …

Member Avatar for Doogledude123
0
279
Member Avatar for tapananand

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: …

Member Avatar for mike_2000_17
0
1K
Member Avatar for annonah

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 …

Member Avatar for Hiroshe
0
210
Member Avatar for Bile

->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 …

Member Avatar for Bile
0
393
Member Avatar for ram619

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 for ram619
0
3K
Member Avatar for jack_7

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 for Hiroshe
0
326
Member Avatar for cambalinho

- 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 …

Member Avatar for cambalinho
0
348
Member Avatar for chrisschristou

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 …

Member Avatar for peter_budo
0
283
Member Avatar for COKEDUDE

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] != …

Member Avatar for Ancient Dragon
0
523
Member Avatar for vegaseat
Member Avatar for kostas89
2
12K
Member Avatar for sobias

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 …

Member Avatar for JamesCherrill
0
299
Member Avatar for kristian.ssyn

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 …

Member Avatar for JamesCherrill
0
12K
Member Avatar for Bendez Thyna

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 for Bendez Thyna
0
207
Member Avatar for Spycat

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 …

Member Avatar for Spycat
0
218

The End.