Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
71% Quality Score
Upvotes Received
20
Posts with Upvotes
18
Upvoting Members
17
Downvotes Received
10
Posts with Downvotes
6
Downvoting Members
8
10 Commented Posts
0 Endorsements
Ranked #746
~83.4K People Reached
Favorite Tags

95 Posted Topics

Member Avatar for Duki
Member Avatar for gianrocks

This code will let you read and write from a binary file. [CODE]Imports System.IO Module Module1 Sub Main() Dim Stream As FileStream Try Stream = New FileStream("test.dat", FileMode.Create) Catch E As Exception Console.WriteLine("Error creating test.Dat") Console.WriteLine("Error {0}", E.Message) End Try Dim BinaryStream As New BinaryWriter(Stream) Dim Age As Integer = …

Member Avatar for Owais_4
0
3K
Member Avatar for jephthah
Member Avatar for josey_matt

You should check first to see if the file has been opened. [CODE]ifstream inFile;[/CODE] [CODE]if (!inFile) { cerr << "Unable to open file input.txt"; exit(1); // call system to stop } [/CODE] Once you have done that, read from the stream the same way you do cin. [CODE] int sum …

Member Avatar for siddiquedu
0
8K
Member Avatar for idRATHERgoHUNT

I played a demo version of Torchlight and that was fun. There is also Maple Story, Ragnarok as previously mentioned, Dungeons & Dragons Online, Guild Wars. I am waiting for Final Fantasy XIV. Can anyone give a review of FlyFF? I've had a few people mention it was pretty good …

Member Avatar for remixedcat
-2
2K
Member Avatar for silverkid

The reason you get a syntax error in that code is that you have an extra bracket. Try the following code: [CODE] 1. package org.temp2.cod1; 2. import java.security.*; 3. import javax.crypto.*; 4. import javax.crypto.spec.*; 5. import java.io.*; 6. 7. public class Code1 { 8. 9. 10. byte[] plaintext = new …

Member Avatar for LaughingOtter
0
22K
Member Avatar for GrimJack
Member Avatar for evilguyme

You should try to search the forum before asking for help. [CODE]#include <iostream> #include <stdio.h> #include <conio.h> #include <windows.h> using namespace std; int main() { int m, s,h; cout << "A COUNTDOWN TIMER " << endl; cout << "enter time in hours here" << endl; cin >> h; cout << …

Member Avatar for pointin
0
249
Member Avatar for adkool

[QUOTE=John A;886649][URL="http://en.wikipedia.org/wiki/Telnet"]telnet[/URL][/QUOTE] Telnet is not a browser. It is a protocol that can be used within a browser.

Member Avatar for crunchie
2
895
Member Avatar for KonkaNok

I watched an hour tech video on the Google "Go" programming language and not having any experience with Python, I could only relate to the similarities between C and C++ which there are quite a few. However, I thought some of the syntax in the language should be addressed as …

Member Avatar for NETProgrammer
0
329
Member Avatar for The Dude
Member Avatar for codeorder
2
683
Member Avatar for Solmyr

There are a couple things you can do: 1) Use TextRenderer.DrawText() and not Graphics.DrawString() You did not specify if you were using .NET 2.0 or not, but if you are then you should use the TextRenderer class. The other method in the Graphics class does GDI which is not very …

Member Avatar for Mbt925
0
100
Member Avatar for Renshi
Member Avatar for caperjack
1
121
Member Avatar for Ancient Dragon
Member Avatar for dexter737
0
163
Member Avatar for zortec

I have been searching on craigslist, auction sites, and doing research on what is a good car to get. It would be great if anyone knows anything about these cars, so please share your experiences. Even better if you have personally driven one or owned the car in the past. …

Member Avatar for dexter737
0
360
Member Avatar for eXceed69
Member Avatar for customtshirts

I like to wear jeans and a polo or dress shirt depending on if I am going to work that day.

Member Avatar for BestJewSinceJC
-7
252
Member Avatar for joeedel89

The answer to your first question is to create a table using HTML. This [URL="http://www.tizag.com/htmlT/tables.php"]link [/URL]should help you out with the basics. As to the second part of your question, you need to fetch the data in rows and display it in the table.

Member Avatar for sallecpt
0
769
Member Avatar for jmoran19

The root is going to be at index 0, left of element at index i will be 2i + 1 and the right will be at 2i + 2. Give those numbers a try.

Member Avatar for rydhima
0
147
Member Avatar for aianne

That is odd. Back when I was programming in college, you were not allowed to write any code until the flowcharts and pseudo-code were done. They also had to be approved by the teacher.

Member Avatar for BestJewSinceJC
0
187
Member Avatar for xxmp

Yes, all you need to do is set the [B]maxlength [/B]property in the textarea. [CODE]<textarea name="mytextarea" maxlength=100> [/CODE]

Member Avatar for xxmp
0
85
Member Avatar for veledrom

You can also use LAMP. sudo apt-get install apache sudo apt-get install php5 libapache2-mod-php5 sudo apt-get install mysql-server sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin For the full installation guide, check[URL="http://www.howtoforge.com/ubuntu_lamp_for_newbies] here[/URL]

Member Avatar for Stefano Mtangoo
0
170
Member Avatar for zalFG

Your query is not being executed because there is no call to mysql_query in the code.

Member Avatar for rajabhaskar525
-1
194
Member Avatar for Muhammad shah

You set the form variable to an array. From there, you can get the value using: [CODE]$form_arr= array(); $form_arr = isset($_POST['form_var']);[/CODE]

Member Avatar for zortec
0
95
Member Avatar for sidra 100

I agree with the other posters who said it is difficult to answer this question, but if I had to narrow it down to my best quality it would be that I'm a hard worker.

Member Avatar for zortec
0
141
Member Avatar for The Dude

I did better than I thought... got 11/20 Also should add that I eat a lot of candy when i get a chance. There is often a deal at the local grocery store where if you buy 3 candy bars, you get another 3 free. I still have to control …

Member Avatar for zortec
2
189
Member Avatar for chunalt787

I don't follow a lot of blogs, but I do like to stay updated on this one: [URL="http://www.thegeekstuff.com"]http://www.thegeekstuff.com[/URL] Other great sites include: [URL="http://www.digg.com"]http://www.digg.com[/URL] [URL="http://www.thinkgeek.com"]http://www.thinkgeek.com[/URL]

Member Avatar for WaltP
0
191
Member Avatar for GrimJack
Member Avatar for cwarn23
0
183
Member Avatar for jt_murphree
Member Avatar for jt_murphree
0
826
Member Avatar for takeshi

The first step is to create a form. You would have a few controls, one for the student number, and another for birthday. I suggest a text box to enter the student # and a set of combo boxes (one for the month/day/year) and then a submit button to handle …

Member Avatar for takeshi
0
98
Member Avatar for uzmas1
Re: Hii

Hello, kind of excessive with the exclamation marks wouldn't you think? Anyway, nice to meet you.

Member Avatar for zortec
0
43
Member Avatar for Latent12

> Here is the coding: <?php $host="localhost"; // Host name $Username="root"; // Mysql username $Password="root"; // Mysql password $db_name="test"; // Database name $tbl_name="Users"; // Table name // Connect to server and select databse. mysql_connect("connection", "username", "password")or die("cannot connect"); mysql_select_db("test")or die("cannot select database"); // username and password sent from form $Username=$_POST['Username']; …

Member Avatar for zortec
0
94
Member Avatar for mrnutty

I think this is a great idea especially since I love challenges. It will also encourage people to get more familiar with programming in general. The challenges need to be simple, not too complex so that someone new to the language can jump in.

Member Avatar for cwarn23
1
281
Member Avatar for lss123

I am not sure how well this will answer your question, but unused objects are handled by the garbage collection mechanism. If the objects no longer have references in the code, they are destroyed. There is no real way to tell when an object has been destroyed though, so an …

Member Avatar for lss123
1
186
Member Avatar for alvinwong

I did a quick google search and found the answer on the GameDev.Net forums. You need to link with the following: -lwinmm -lgdi32

Member Avatar for alvinwong
0
1K
Member Avatar for Instinctlol

[QUOTE]can anyone explain to me what return does? I know that return(0) stops the program at any given point, but what does returning others do?[/QUOTE] Well, [B]return[/B] is used to give the return value of a function. When you use return 0, that means that the program was successful. If …

Member Avatar for Narue
0
115
Member Avatar for mahakaal

Take a look at FPDF. This [URL="http://www.fpdf.org/"]link[/URL] should work.

Member Avatar for zortec
0
65
Member Avatar for jerry_08

I will help you out, but first please try to make your post more readable next time. It would probably help to type more slowly and preview what you have written. The LCD refers to the "Least Common Denominator" so if we take a sequence of numbers: 5, 10, 20 …

Member Avatar for zortec
-3
88
Member Avatar for big noob

[QUOTE]nstalling java on my firefox explorer get right to the end of the installation and it gives me an error message saying "error 25099. unzipping core files failed"[/QUOTE] Step 1 : Completely delete content of the following directory: C:\Program Files\Java\jre6\ (or alternate directory if you chose a non-default install location) …

Member Avatar for daslocu
0
132
Member Avatar for mrnutty

C++ is my language of choice, with Java second. The language I dislike since "hate" is such a strong word would be VB. It just takes longer to write an application.

Member Avatar for ddanbe
0
245
Member Avatar for dvdreplication

This is a tough choice, because I don't fare well in the heat but I have to go with summer. I don't like the freezing temperatures in winter.

Member Avatar for characteredu
-4
131
Member Avatar for xcarbon

So if I understand you correctly, all that you want to do is compare the two textboxes and see if they match. [CODE]If textbox1.Text == textbox2.Text [/CODE]

Member Avatar for me655321
0
98
Member Avatar for zortec

I accidentally posted something that was unrelated to helping a fellow user out. There was no way to delete it and I am not sure if I lost reputation points because of that. Anyway, the point is people make a mistake. I try to help out everyone that I can. …

Member Avatar for zortec
0
145
Member Avatar for newbie37

The steps you need to take are: create a variable that holds the word, make a textbox for the user to put in a guess. You can use echo to print out the remaining letters and the function [B]substr_replace[/B] to replace the letters with asterisks. For the hidden field, set …

Member Avatar for newbie37
0
429
Member Avatar for HunterFish

[CODE]#include <windows.h> PlaySound("file.wav", NULL, SND_ASYNC | SND_FILENAME); [/CODE] You didn't mention what compiler.

Member Avatar for Stefano Mtangoo
0
286
Member Avatar for azdonald

You would add a level field to the users table and use a switch/case or a series of if statements to check what access the user has. Once you determine that, send them off to the appropriate form. I would create a separate query with the username and level to …

Member Avatar for azdonald
0
114
Member Avatar for fummy

You are going to need to walk through the directory and use functions in the string library to find certain strings. I found an example at this [URL="http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1046380353&id=1044780608"]link [/URL] of what you are looking for.

Member Avatar for zortec
0
105
Member Avatar for awo
Member Avatar for diafol
0
189
Member Avatar for ankitva

That is handled by the operating system and browser. There is a [B]font-smooth[/B] property in CSS3 but it is not finished yet.

Member Avatar for candaceusa
0
111
Member Avatar for awo

You can use a JOIN to link the two tables together. This [URL="http://dev.mysql.com/doc/refman/5.1/en/join.html"]link[/URL] will explain the different types of joins.

Member Avatar for hielo
0
124

The End.