Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
83% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
4
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #1K
~10.6K People Reached
Favorite Tags
Member Avatar for burgercho

I'm dealing with an Optiplex GX280 that was randomly freezing and then randomly shutting down. After a little bit it stopped turning on altogether and the only things that would happen were that I would get a yellow light and I could here the CPU fan speeding up to it's …

Member Avatar for markanderson_1
0
197
Member Avatar for turt2live

Hello, What I am trying to do is restrict access to something if 48 hours hasn't passed since the last access. I have a MySQL table with the last access time (col name: lastAccess). If they are within the 48hours, deny access and tell them how many hours and minutes …

Member Avatar for burgercho
0
168
Member Avatar for Spyzker

i have echo error. code; [CODE] echo '<li>'; echo '<div>'; echo '<div class="author-image">'; echo '<img alt="gravatar" src="http://0.gravatar.com/avatar/8a567031a8d520b2f97089e715b64e00?s=50&amp;d=%3Cpath_to_url%3E&amp;r=G" class="avatar avatar-50 photo" height="50" width="50" />'; echo '</div>'; echo '<div class="comment-wrapper">'; echo '<div class="comment-inner">'; echo '<div class="comment-top">'; echo '<div class="comment-author">'; echo '<a href="http://www.outerspiceweb.com" rel="external nofollow" class="url" target="_blank" />'.$yorumlari_cek_yeni['yazan'].'</a>'; echo '</div>'; echo '<div class="comment-text">'; …

Member Avatar for diafol
0
173
Member Avatar for seblake

Greetings! I have to change my footer. Let's say I have 10 pages. That means open, cut-n-paste, and close 10 times. Is this how everyone does it? Can I not create something in CSS and only just "call" it from the HTML? Thanks, in advance! < Steve >

Member Avatar for seblake
0
137
Member Avatar for begueradj

Hello people, If I want to access to my admin back-end, you will get a form to input your name and password. I have created a class that sets my session in a file called [CODE]StartSession.class.php [/CODE]here it is: [CODE] <?php class StartSession{ static $admin_s; static $password_s; function __consrtuct($admin_session,$password_session){ session_start(); …

Member Avatar for burgercho
0
178
Member Avatar for drewpark88

Hey Guys, I have a quick question for you. I display a new event every day that allows users to attend that event. The event id and user id are added to an event participants table. I have 3 tables in my DB: "userinfo" which holds stuff like id, Name, …

Member Avatar for drewpark88
0
171
Member Avatar for Violet_82

Hi there, today I have written my first PHP script (and it even works, how cool!) and I have few questions. Here's the script [CODE]<?php $to = "myemail@myemail.com"; $subject = "Comments on page"; $message = $_POST["comments"]; mail($to,$subject,$message); echo "Thank you for sending your feedback. That will help me improve the …

Member Avatar for Violet_82
0
181
Member Avatar for shinbojack

Hello all...first-time poster here, and I was wondering if any of you fine folk can help me out with what is surely a simple task, but something very confusing for someone just starting off with Java. In a nutshell, I am creating a simple mobile game where a user is …

Member Avatar for shinbojack
0
151
Member Avatar for Phinocio

My code [code]public class BattleSystem { public static void main (String[] args) { String choice; System.out.print("What would you like to do? "); Scanner input = new Scanner(System.in); choice = input.nextLine(); System.out.println(choice); if(choice == "1"){ createChar g = new createChar(); g.charCreateHandler(); g.charStatsHandler(); g.closeFile(); } else{ System.out.println("More choices coming soon!"); } } …

Member Avatar for Mattox
0
105
Member Avatar for devinodaniel

I'm trying to get my page to redirect back to another page after the form has been submitted to its self via $_SERVER[PHP_SELF] . I've tried using the header(Location) script but to no avail. Anyone know of an easy way to do this? Right now.. when my page is submitted …

Member Avatar for devinodaniel
0
992
Member Avatar for aaronmk2

I want to read in multiple lines from a file, but I am only able to get my program to read the first line. The program prints out two other lines but the values are zero. [CODE] double cost[3]; int lowerRange[3]; int higherRange[3]; bool active[3]; ifstream inClientFile("ad.txt", ios::in); for (int …

Member Avatar for jonsca
0
150
Member Avatar for triumphost

Hi everyone, I made a program that will check if a process is running.. it is supposed to detect if a process is running and start a timer. If the process has been ended, the timer is paused.. when the process is restarted, the timer continues from where it last …

Member Avatar for triumphost
0
155
Member Avatar for dyla123

Hi i am wondering could anyone help me understand a file upload code. I am currently working on a website like mediafire, raipidshare and the rest of them. I have taken down codes of all sorts and some i got to work but had errors. I don't understand as i …

Member Avatar for diafol
-1
209
Member Avatar for Hakoo

Hello all, I am retrieving data from servlet to midlet. Now coming data is whole string. but now I want to chop it into different words. here my code is : [CODE] HttpConnection conn = (HttpConnection) Connector.open(url); StringBuffer sb = new StringBuffer(); conn.setRequestMethod(HttpConnection.GET); conn.setRequestProperty("Content-Type", "Application/x-urlformencoded"); InputStream is = conn.openInputStream(); byte[] …

Member Avatar for Hakoo
0
597
Member Avatar for fabricetoussain

ok so i have this program here i had to finish, and it was for input and output files, i wrote everything, and even wrote the data.in and data.out files but when i run it i get nothing in return. do the files have to be in the ".in" format …

Member Avatar for triumphost
0
291
Member Avatar for jwebb

Hello, I'm trying to create a program to calculate the factorial of variable int input. I am using xcode, and it's giving me an error saying "factorial was not declared in this scope" on the line within the else statement. I have found other programs on the internet, but I …

Member Avatar for jwebb
0
658
Member Avatar for burgercho

I was wondering if there was any way to make an ApplicationMenuItem inside the message edit screen that, when selected sends the message to the selected contacts itself, bypassing the default sending program. I am fine with the menu item and have seen how to do similar things by retrieving …

0
130
Member Avatar for saransh60

[code] #include <iostream> using namespace std; using std::cerr; using std::cout; using std::endl; #include <sstream> #include <string> #include <fstream> using std::ifstream; #include <cstdlib> // for exit function // This program reads values from the file '1.txt' // and echoes them to the display until a negative value // is read. int …

Member Avatar for Ancient Dragon
0
165
Member Avatar for furtaker

Hi, I am trying to incorporate a struct and class in the same program to calculate overtime pay and hours for one person. I am having a hard time with these two and especially putting them together. I am not sure what to do to get the program to compile …

Member Avatar for Luther von Wulf
0
240
Member Avatar for rcplguy15

Write a C++ program that takes 2 characters (c and d), and a positive integer (n) and outputs the following drawing of size n  n made of the characters c and d, as shown below: Enter two characters and an integer: # _ 6 #_#_#_ _#_#_# #_#_#_ _#_#_# #_#_#_ …

Member Avatar for sfuo
0
102
Member Avatar for pc0019

Hi! I am using the Boost uBlas interface for matrices and I'd like to be able to create matrices with the following syntax (or similar): [CODE] typedef boost::numeric::ublas::matrix<double> Matrix; //for clarity Matrix mat = {[1,1,1],[2,2,2],[3,3,3]}; [/CODE] The actual matrix should be 3x3 and look like the following - 1,1,1 2,2,2 …

Member Avatar for vijayan121
0
112
Member Avatar for winecoding

There is a small program. [CODE]#include <stdio.h> void f(char **p); int main() { char *argv[]={"ab", "cd", "ef", "gh"}; f(argv); } void f(char **p) { char *t; t=(p+=sizeof(int))[-1]; printf("%s\n", t); }[/CODE] Assume the size of int is 4, I was asked to give the running result of the following code segment. …

Member Avatar for burgercho
0
88
Member Avatar for burgercho

I am making an application for blackberries and wanted to make use of touch capabilities on touch capable phones. Is there a way to do this without making two separate projects (like I would in c with preprocessors that check the compiler)? An idea of what I'm trying to do …

Member Avatar for burgercho
0
186
Member Avatar for burgercho

Every time I try to install directx i get this error: "Error creating process <C:\DOCUME~1\RABBIB~1\LOCALS~1\Temp\IXP000.TMP\dxwsetup.exe>. Reason: INNT\system32\advpack.dll" Google yielded this thread: [URL="http://forums.techguy.org/all-other-software/767024-solved-erroe-creating-process.html"]http://forums.techguy.org/all-other-software/767024-solved-erroe-creating-process.html[/URL] which was solved by restoring a previous registry and blamed the problem on a registry cleaner, I have used a registry cleaner but I don't believe it changed …

0
79
Member Avatar for gretty

Hello I am studying for my exam & I came across this question that is stumping me. [CODE=cplusplus] class X { public: X(); private: int x1, x2; }; class Y : public X { public : Y(); private: int y3; } // the class Y does not end in an …

Member Avatar for kvprajapati
0
4K
Member Avatar for Smoking Bros

Hello guys! I'm new at C++ (started yesterday) but I'm a fast learner and I think I got pretty far with this noob project! The only thing I need to do is to make C++ open my .txt file and the beta version of this application is done! By the …

Member Avatar for AssaultM16
0
221
Member Avatar for danimal132

a part of my script will read line by line of a large text file (about 120 lines) and needs to pick out the title. This is done by selecting everything between the 2 quotes. it will work for most of the file, then it will not. its seems to …

Member Avatar for burgercho
0
99
Member Avatar for Skyforger

Hi all. I'm part of a small operation, who has developed a game called Path to Pelantas. However, we are in dire need of programming help, so I wanted to know where to look for skilled programmers? Bear in mind that we are not the richest bunch as of yet …

Member Avatar for shadwickman
0
80
Member Avatar for xylude

I am pretty new with javascript, and I am making a page that has divs that change an image when rolled over. It works in Live View in Dreamweaver, and in Safari (couldn't test in IE because I'm on a Mac), but not in Firefox. Here's what I got in …

Member Avatar for Airshow
0
143
Member Avatar for lblazer05

Hello guys, I am new around here. Anyways, I am having a problem with reading some information from a text file. Sample text file: density = -1.0 number = 2004 Ok so what do I use in order to get the number -1.0 from the text file? Also, what if …

Member Avatar for Ene Uran
0
132