Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #2K
~18.4K People Reached
Favorite Tags
Member Avatar for FelineHazard

Hi all, I've started to get acquinted with Perl's HTML::Parser, which does a really good job at parsing html (duh ;-) But for the life of me, I can't get it to return the actual text from subroutine! I keep getting references to it :\ :\ use HTML::Parser; package MyParser; …

Member Avatar for FelineHazard
0
384
Member Avatar for f14dtom

Does anyone like to use Linux over the Microsoft XP or System 7/8. I have used at least 4 virtual Linux's and like the fact that you do not have to run with Virus or Spam software. Unix based system?

Member Avatar for Vasvi
3
722
Member Avatar for FelineHazard

Hi Guys, I am writing a Perl script that needs to initiate various http (or https) requests. Before doing so, I would like first to verify that a given string is indeed a valid URL address. I would like to do so (preferably) **without** using regexp. Reason being, that URLs …

Member Avatar for FelineHazard
0
716
Member Avatar for FelineHazard

Hi guys What's the default pointer value in c++? Can I count on the compiler to set an uninitialized pointer to NULL? Is it compiler dependant? What's the "consensus"? Thanks! -FH

Member Avatar for FelineHazard
0
696
Member Avatar for FelineHazard

Hi all, I'm having a problem that in all likelihood some of you have already faced one time or another: the notorious inconsistency of a wireless network connection. I have one WinXP machine, that's connected to a wireless network via an access point. But sometimes, the access point loses the …

Member Avatar for Patrickgoog
0
214
Member Avatar for FelineHazard

Hi all, I have a rather basic C/C++ question about the priority of the ++ operator in regard to pointers. Note the following code (joining two strings): #define LENGTH 255 void mystrcat (char *base, char *add) { while(*base) ++base; while( *(base++) = *(add++) ); } int main() { char name[LENGTH]="Feline"; …

Member Avatar for rubberman
0
661
Member Avatar for maharjun

I have an ADSL Internet connection. the modem is connected to a Wireless Router which is connected to the Ethernet Port. btw. the routing function is done by the ADSL modem and not the wireless router. now, my laptop is connected to the wireless network created by the wifi router. …

Member Avatar for FelineHazard
0
373
Member Avatar for Pangar

HI, I just purchased this range extender and tried to set it up. All the settings in the ip address seemed fine and so there were no changes that I made but when I plug it in even though the lioght is flashing there is still no wifi in the …

Member Avatar for FelineHazard
0
188
Member Avatar for Yozuru

So I have a programming lab that we did in class for a few months but I am having major difficulity on it. These are the directions: > Specifications for Calculate grades using loops 1. Create pseudo code for your program first, to be handed in. 2. Make the program …

Member Avatar for FelineHazard
0
1K
Member Avatar for cplusfreak

#include<iostream> int add(int a, int b) { int sum; sum=a+b; return sum; } int sub(int a, int b) { int sub; sub=a-b; return sub; } int mul(int a, int b) { int mul; mul=a*b; return mul; } float div(float a, float b) { float div; if (b==0) { return 0; …

Member Avatar for thines01
0
155
Member Avatar for easterbunny

Hi i got a problem with this code( attached below ) the fuction that receves the bidimensional array doesn't seem to work.I've tryed to cout in main() and it works.WHY???? The program doesn't show me any error whatsoever. #include<iostream> #include<string> #include<fstream> using namespace std; void afisare(int h[3][3],int nrEle){ for(int i …

Member Avatar for easterbunny
0
855
Member Avatar for usustarr

Hi, First of all, i am not trying to hack into anything or anyones e mails. I am new software engineer and I need to log into company wiki page & download info displayed into a text file or something, so i can search for data i am looking for …

Member Avatar for rubberman
0
165
Member Avatar for f4fjks

hi guys! today i tried file writing through VC++ 2010. suddenly a point stroke in my mind to create a file which may not be read by notepad or it gives error or some wrong output as it is mostly seen on opening a pdf file in notepad. for this …

Member Avatar for NathanOliver
0
234
Member Avatar for 9tontruck

Hi guys, I am programming in C++ with NetBeans. It works fine when I playing with just one main.cpp file. But After I added an additianal class (1 .cpp and 1 .h), it makes an error even though I do not make any changes in the new files. (all I …

Member Avatar for FelineHazard
0
143
Member Avatar for FelineHazard

Hi all, I am doing some c++ exercise about operator replacing. I have successfully replaced the + (plus) operator to work on a user-defined class. I understand these operators are order-sensitive: need to replace the operator for (class+int) and for (int+class). Thus, creating **two** replacements that do exactly the same. …

0
147
Member Avatar for FelineHazard

Hi guys, I'm learning C++ from a book and I have a question about defining unary operators: In the book I'm working with there's an example, where they define a class called point, and define ++ operator for point *as friend*. here's the example: ~~~ c class point { int …

Member Avatar for FelineHazard
0
212
Member Avatar for dwlamb

I am new to bash shell scripting. Converting over to Linux before support for Windows XP fades into the sunset, I am redesigning and rewriting many scripts that worked using enhanced scripting language Take Command. I am trying to evaluate whether a directory exists based on a list of directories …

Member Avatar for FelineHazard
0
148
Member Avatar for Cupidvogel

Hi, I have a file which contains some lines of text. What I want to do is after the first two lines, insert a new sentence. So if the original file looks something like this: Sachin Ganguly Dravid Laxman Sehwag after the insertion, I want it to look like this: …

Member Avatar for FelineHazard
0
167
Member Avatar for FelineHazard

Hi all, I encountered some weird act from the return(); function. I'm doing some book exercise in recursions: write a recursive function that makes a summation 1 + 1/2 + 1/3 + 1/4 + ... + 1/n. Rather basic. So I wrote this: float summation(int n) { if (n == …

Member Avatar for FelineHazard
0
189
Member Avatar for paulas24

hello everyone Of late, our company has been getting attacks from someone on the internet and this has led us to being black listed. The administrator thinks its through my machine that the attacker is gaining access. I use ubuntu 10.04.3 on a windows network. How can I tell if …

Member Avatar for FelineHazard
0
157
Member Avatar for FelineHazard

I am trying to get iptables to block multiple ssh attempts, and having only partial success (Ubuntu 10.4 LTS). I've been following recommendations from the [URL="http://www.la-samhna.de/library/brutessh.html"]excellent post by Rainer Wichmann[/URL] and decided the best strategy suited for my system is simply having iptables block multiple attempts at ssh. Thus I …

Member Avatar for FelineHazard
0
795
Member Avatar for FelineHazard

Hi all, I am attempting to install [URL="http://www.csc.liv.ac.uk/~greg/sshdfilter/"]sshdfilter[/URL] on my ubuntu 10.4 LTS machine. This package is supposed to block ssh-bruteforce attacks. It does that by adding blocking rules to iptables when multiple bad ssh logins are detected, and blocks the ip that initiated them. This package usually relies on …

Member Avatar for FelineHazard
0
226
Member Avatar for FelineHazard

Hi all, I am using Ubuntu 10.4 LTS and I need to get telnet server on my machine to work (connect) to localhost at port 4242. I tried: [ICODE] ~> telnet localhost 4242 Trying ::1... Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused [/ICODE] *telnet [B]does[/B] work …

Member Avatar for FelineHazard
0
2K
Member Avatar for FelineHazard

Hi all, I want to know if there is a smart way in c++ to test if my variable (or pointer) was already initialized? For example, I have a linked list, and I want to add an item to that list. If would like to do some thing [CODE] if …

Member Avatar for Ancient Dragon
0
7K
Member Avatar for SCass2010

Hi everyone :) At the minute I'm working on some stuff learning c++ and was wondering if ayone could offer some advice... Say I have a pile of objects that need to be created (for example say, a Log object, XML parsers object, and a command line parser object). In …

Member Avatar for Bench
0
195
Member Avatar for FelineHazard

Hi all, I'm having some troubles practicing linked-lists: the problem calls to implement string as a linked-list of chars. So I created a new class - mystring and defined building function, show(), and also destructor. The build and show works correctly. I get the exact same string I sent as …

Member Avatar for FelineHazard
0
117
Member Avatar for FelineHazard

Hi everyone and good day! New around here so just a short introduction before I'll blabber unintelligibly in C++ :-) Here goes: Name: Shay Nickname: Ruslan (seriously. Some people "know" me only by that name) Hobbies: Music, computers, extreme sports Came across this nice friendly forum while looking for C++ …

0
72