Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
80% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
~68.7K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Tags

37 Posted Topics

Member Avatar for Doctor Inferno
Member Avatar for borchu

1. Open file (if applicable) 2. convert to byte array 3. convert ip/host name to a InetAddress variable 4. create a packet (DatagramPacket for UDP for example) 5. create socet 6. send byte array 7. close socket. That's how you send a byte array, and it dceonst matter what the …

Member Avatar for borchu
0
9K
Member Avatar for nobuts

So the way i do it is using eval(str) function. It executes the 'str' as a command. So create strings that are similar to this: for(int i=0 ; i < someInteger; i++){ sum += eval("document.getElementById(" + id + ").value"); } Hope this code snippet helps. Regards, Matthew

Member Avatar for Taywin
0
2K
Member Avatar for semicolon

Two connections to two different databases or the same data base? If you are accessing the database, then are you accessing the same table? -with JDBC anyway, once you create the connection, it will keep connected. You just want to create the connection ONCE to that database, and push commands/queries …

Member Avatar for fpsasm
0
114
Member Avatar for fpsasm

Hello, I have a question regarding implementations of uploading a file from a browser to a server. I have currently two pages, page (1) is used to select the file. Using a form-submit section, the form is passed to page(2). Page (2) now gets a javabean, passing `request` to it. …

0
134
Member Avatar for 47pirates

You can either do one of to thing.. [1] If you know what the vector sizes are, create a table within mysql for the vector vector where the mysql table is the same size. [2] create a table with a field that has a data type "BLOB". Save the vector …

Member Avatar for stultuske
0
402
Member Avatar for riahc3

I don't know if this will work. But if you elevate the program like this: system ("sudo bash-something" + somestring); //results in the command 'sudo bash -something:somestring ' being called That should give you should give you sudo ( think ). system() allows you to run a command on the …

Member Avatar for L7Sqr
0
161
Member Avatar for fpsasm

Hello All, I have been developing a website that has a secure area. At the beginning of the secure page I wrote a scriptlet to check whether the user is logged in. I want to take this scriplet and put it in a javabean. Could any of you guys suggest …

Member Avatar for fpsasm
0
284
Member Avatar for Scuppery

[QUOTE=Joshua Kidd;1524243]I Could not answer that, as I do not play Pokemon. Do you like cats?[/QUOTE] I had a cat, but personally, i find that people have animals because they can't find "love" within their own species.. What does "on" spell backwards?

Member Avatar for azareth
0
1K
Member Avatar for fpsasm

Hello, I've been doing some JSP, and I've got a: "The value for the useBean class attribute bns.TestBean is invalid" error, could you help me out? tmp.jsp is : [code] <jsp:useBean id="tb" class="bns.testBean" scope="page" /> <jsp:setProperty name="tb" property="*" /> <html> <body> </body> </html> [/code] Where TestBean.java is: [code=java] package bns; …

0
85
Member Avatar for wingmark

[QUOTE=wingmark;1498909]Hi All; I recently bought some new parts for my computer and am not sure if it will work as easily as i hope it will, i was running a Foxconn mobo, a Radeon x850 GPU, a AMD Atahlon processor and 1gb of ram on a 150gb HDD with XP …

Member Avatar for Jashandeep
0
632
Member Avatar for royng
Member Avatar for jingda
Member Avatar for Member #46692
0
183
Member Avatar for royng

[QUOTE=JamieLynnSEO;1519226]Lol sucks for most young people who aren't adequate. You've gotta market yourself so that companies believe that they NEED you. And then prove to them that they DO. I'm 22. College dropout. I have two jobs, one part time "just for fun" and one programming job, where I'm an …

Member Avatar for HiHe
0
592
Member Avatar for psychoflyer

[I]UDP sends and receives datagrams for applications. Unlike TCP, UDP is unreliable. There is no guarentee that the datagram will ever reach the destination. This in itself has advantages, one being that UDP can be considerably faster then TCP. TCP, Transmission Control Protocol is a layer 4 service that is …

Member Avatar for rubberman
0
192
Member Avatar for JamieLynnSEO

It's not a computer error, but I saw it on the side of a bus.. ..made me laugh [ATTACH]20346[/ATTACH]

Member Avatar for jingda
2
323
Member Avatar for dornaled
Re: hi

It depends on the platform, its usually on either a linux of windows box. you can SSH into a linux box, I use putty. or you can remote desktop into a windows box.. you need to know the address, the username, password. You need to make sure that the ports …

Member Avatar for christopher6
0
93
Member Avatar for slygoth

[url]http://rabbit.eng.miami.edu/info/functions/time.html#localtime[/url] : [QUOTE] tm * localtime(time_t * tim) tm * gmtime(time_t * tim) tm * localtime_r(time_t * tim, tm * output) tm * gmtime_r(time_t * tim, tm * output) struct tm * localtime(time_t * tim) in C struct tm * gmtime(time_t * tim) in C struct tm * localtime_r(time_t * …

Member Avatar for fpsasm
0
171
Member Avatar for Transcendent

[QUOTE=Transcendent;1489749]anybody know some good html dvd training?[/QUOTE] You are best off just messing around with it. There's some good content on youtube. Apart from that.. i think you'll have a hard time coming by something.

Member Avatar for Flynox
0
130
Member Avatar for wizard25
Member Avatar for DarkBerzerk

Try using # instead of . [CODE=html] #bulb_body { width : 670px; background-image : url(../img/body_bg.jpg); margin-right : auto; margin-left : auto; background-repeat : repeat-y; } #bulb_body #left_column { width: 400px; float: left; } #bulb_body #right_column { width: 270px; float: right; } [/CODE]

Member Avatar for DarkBerzerk
0
140
Member Avatar for shama_kandy
Re: HTML

[QUOTE=shama_kandy;1481502]What will be the effect on web browsing if the browsers start compiling the HTML language instead of interpreting it?[/QUOTE] Are you asking, "why don't we compile html files, instead of generating a (html) page on the fly?"?

Member Avatar for Momerath
0
144
Member Avatar for schrope

First of all, you don't need " /> " at the end of your image, area code so: [code] <area shape="ploy" coords="(457,84),(474,63),(549,63),(566,84)," href="pages/child.htm" alt="Child Photos"> <img src="assets/thumb9.jpg" alt="scenic3"> [/code] ..should work fine. Second, if "assets" is a folder in the same directory as your .html file, you should put [code]"./assets/thumb9.jpg"[/code] …

Member Avatar for floatingDivs
0
461
Member Avatar for maxelcat

You can aways (hyper)link the mp3 file on the html page, so it opens a new window. So: [code] <a href="./some-sort-of-mp3-file.mp3">Some text as a link</a>. [/code] Then browser will take care of the rest. I can't think of another way. Sorry :) -cross platform is always a pain. You're probably …

Member Avatar for maxelcat
0
125
Member Avatar for b56r1

[QUOTE=b56r1;1489416]jnawrocki, I'm using GCC complier in LINUX operating sys. I know the explanation what u gave,but why its not updating with latest values for global variables ..[/QUOTE] I've just compiled all the examples you gave, and the outputs are [I]10 20 30[/I]. You'd expect the output to be [I]10 20 …

Member Avatar for pheininger
0
117
Member Avatar for slygoth

Hm, afaik there is no easy way of doing this. I once was messing around with some code, and it stopped a user inputting a wrong character type (so the user couldn't type a char into an int or vice versa). That interacted with the TTY layer (on a linux …

Member Avatar for Arbus
0
353
Member Avatar for jlego

tag, as in barcode? or as in a small piece of "paper" with a few characters?

Member Avatar for jlego
0
119
Member Avatar for moonL!ght

If you typed the command [code]/images/2173453.jpg[/code] it will look at "/" which is root, and look for a folder images in root, and then look for a image 2173453.jpg. I'm assuming, and so is kekkaishi, that you mean "[b].[/b]/" The "[b] .[/b]/ " denotes "in this directory". So [code]./images/2173453.jpg[/code] will …

Member Avatar for fpsasm
0
150
Member Avatar for fpsasm

Hello, I've made a program that uses an array of objects, it's work well so far, upto the point that I try to increase the size of an array. So, in main the relevant code loops like this: [CODE]int main(){ /* classes used */ phoneBook *p; .... numLines = 0; …

Member Avatar for fpsasm
0
346
Member Avatar for TheRealOrder

OpenAL is to audio, what OpenGL is to graphics. Doesn't DX handle audio as well?

Member Avatar for TheRealOrder
0
209
Member Avatar for fpsasm
Member Avatar for fpsasm

Hello, I am writing a section of c++. Here is the section that does not work: [code=c] int a, escape; double temp1,temp2; escape = 0; a = 0; while(escape < 2){ Complex c[a]; cout << "Please input a complex number, the real part follwed by the imaginary part.\n"; if(!(cin >> …

Member Avatar for fpsasm
0
129
Member Avatar for fpsasm

Hello, Can I have a parallelised section of code, that uses x threads, where a function is called to manipulate an array. Each thread's function tries to manipulate the same array at the same time (not in the same location in the array). [CODE][for example, take a 2x2 matrix (x(and …

Member Avatar for gerard4143
0
112
Member Avatar for fpsasm

Hi, I know that there are a lot of webpages devoted in telling me how the OpenGL mouse function works, but I still don't understand. What I need to know, when my: [CODE] void processMouse( int button, int state, int x, int y){ ... } [/CODE] Returns x,y. What does …

Member Avatar for sfuo
0
228
Member Avatar for fuggles

With Direct2D you are limited to Windows boxes. With OpenGL and Java you are limited to what OSes have OpenGL and Java support, but you will need to rewrite the OpenGL code depending on the platform. Browsers such as FireFox support WebGL, which is based on OpenGL ES 2.0, so …

Member Avatar for PixelExchange
0
143
Member Avatar for fpsasm

Hello, I am writing a OpenGL program, but I can't get the mouse to do what I want. The code looks like this [code] main() [INDENT]init OpenGL stuff display function1[/INDENT] Function1 [INDENT]Start graphCalculation[/INDENT] graphCalculation [INDENT]plot graph in OpenGL[/INDENT] [/code] What I've tried to do, is to add a "zoom" function, …

Member Avatar for fpsasm
0
162
Member Avatar for fpsasm

Hello, I am using strncpy to copy the first line of a multi-line buffer. I have successfully found the amount of characters to the end of the first line, and I have performed a strncpy to copy the first line of the buffer to a char *. However, some of …

Member Avatar for fpsasm
0
180

The End.