Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~11.1K People Reached
Favorite Tags
c x 9
c++ x 8
perl x 7
java x 5
c# x 4

23 Posted Topics

Member Avatar for klactose

Hello all and Happy Thanksgiving, I am converting a program from Lisp into C#. Everything is going well for most of the program but there are 2 functions where I don't really understand what is going on because I am not very well versed in Lisp. I originally submitted the …

Member Avatar for d2010
0
387
Member Avatar for j4usanjeev

My suggestion would be to get a download manager add-on (I use DownThemAll) most have a cancel download feature in their interface. I suggest this because trying to cancel a download using the download manager that is built into firefox is actually more complex than you would think. From what …

Member Avatar for crunchie
0
738
Member Avatar for klactose

Hello all, I have been working on a project in scala, but I am getting some error messages that I don't quite understand. The classes that I am working with are relatively simple. For example: [CODE=scala] abstract class Shape case class Point(x: Int, y: Int) extends Shape case class Polygon(points: …

Member Avatar for ~s.o.s~
0
258
Member Avatar for klactose

Hello all, I have a program that creates an array of structs. It is consistently exhibiting 1 of 2 problems and I can't figure out exactly what is wrong, but the problems seem related to each other. Problem 1: For some reason the category member of the mediaItem struct fails …

Member Avatar for gerard4143
0
173
Member Avatar for klactose

Hello all, When I try to compile a small program I am getting an error that I do not quite understand. I get this error: media_tracker1.c: In function 'add': media_tracker1.c:152: error: expected expression before ';' token when I try to compile this code: [CODE= "c"] #include <stdio.h> #include <stdlib.h> #define …

Member Avatar for klactose
0
99
Member Avatar for klactose

Hello all, I am getting the following run-time error every time I try to run a program I've converted from Lisp to C#: [QUOTE] System.InvalidCastException was unhandled Message="Unable to cast object of type 'System.Single[]' to type 'System.Collections.Generic.List`1[System.Single]'." [/QUOTE] In the function below the problem is occurring at line 16. The …

Member Avatar for privatevoid
1
241
Member Avatar for klactose

Hello all, I am in the process of translating a program from lisp into C#, most of it has gone smoothly but I have run across two blocks of code that are giving me a bit of trouble. If anyone can help me translate these two pieces of code into …

Member Avatar for Rashakil Fol
0
340
Member Avatar for derekn

What you need to use is one of the back-reference variables, specifically you should use "$&" since you essentially want to reuse each occurrence of your search string Give this a try [CODE=perl] $someText =~ s/$searchstring/<font color=#FFFFFF>$&<\/font>/gi; [/CODE] [QUOTE=derekn;1040820]I want to search "The tree is in the yard" for the …

Member Avatar for derekn
1
98
Member Avatar for ulxlx

You just need to convert it to an applet, which is relatively easy to do. Check out Sun's applet tutorial: [url]http://java.sun.com/docs/books/tutorial/deployment/applet/index.html[/url]

Member Avatar for ulxlx
0
177
Member Avatar for xfriendsonfirex

It looks like you posted you homework assignment, but you haven't stated what problem you are having with it. Let us know a specific area you are having trouble with.

Member Avatar for xfriendsonfirex
1
830
Member Avatar for klactose

Hello, I have created a simple webservice and I am now in the testing mode. I am trying to write a simple script that will use curl to create user accounts and another one to delete user accounts. I have tried to use system to send curl commands [CODE=perl] my …

Member Avatar for klactose
0
165
Member Avatar for dhanya_piit

[QUOTE=dhanya_piit;1030665]hey, can any one tell me whether i can write methods other than getxm or put xml in restful web services.If yes then which will be the first function to be called[/QUOTE] RESTful webservices can support all of the HTTP methods. I am not certain I fully understand the other …

Member Avatar for klactose
0
95
Member Avatar for klactose

Hello, Does python 3 have built in libraries that include support for the HTTP methods other than GET and POST? I couldn't find an answer to this looking through the urllib documentation on the python.org site or in numerous google searches. I am not a python expert by any stretch …

0
135
Member Avatar for klactose

Hi, I am trying to make a gui in which I import and combine 4 seperate classes JPanel classes that I made into one interface. But I am running into an obstacle that I am uncertain about. Here is the situation: 1. I have container using a BoxLayout that has …

Member Avatar for klactose
0
179
Member Avatar for klactose

Hello, I am creating a little webpage that allows a person to chose between 3 different ways in which they can query for results (either id, date, or symbol). Everything works fine if choosing id and entering a value to search for, but if date or symbol is chosen then …

0
72
Member Avatar for klactose

Hello, I am very new to JSP but I am familiar with Java. I am having an issue with some error messages I don't understand. when I use this syntax: [code=jsp] <jsp:useBean id="search" class="search.SecSearchParams" scope="request"> <jsp:setProperty name="search" property="*"/> </jsp:useBean> [/code] I get this error: The value for the useBean class …

Member Avatar for klactose
0
211
Member Avatar for dattaforit

Not 100% sure on this one, but to dereference a pointer to other data types you can use the syntax as follows: For arrays @{$arrayRef} For hashes %{$hashRef} So perhaps the same thing will work with a pointer to a fuction: &{$functionRef}

Member Avatar for KevinADC
0
232
Member Avatar for klactose

Hello, I am somewhat of a SQL newbie. My question is how would I go about creating a query that searched for things like: 1. users who have collected a complete set of promo items 2. users who have purchased every movie from actor X 3. users who have purchased …

Member Avatar for debasisdas
0
102
Member Avatar for klactose

Hello, I was wondering if there was a built in feature in perl to convert each character in a string to its corresponding ASCII value. Or is this something that I have to program manually?

Member Avatar for KevinADC
0
61
Member Avatar for klactose

Hello, I am writing some testing scripts. At the end of each test I may have to return my environment back to it's default state using various subroutines in various modules. I realize that using the END block I can run these subroutines, however I have hundreds of these test …

Member Avatar for klactose
0
121
Member Avatar for klactose

Hello, I am wondering how do we initialize a vector (or even an array) of pointers when the objects that will eventually be pointed to don't exist yet? I've been searching the internet for a while, but most examples assume that the objects already exist. I hope this won't be …

Member Avatar for klactose
0
6K
Member Avatar for klactose

Hello, I'm having trouble compiling a header file for a class written in C++. What's so frustrating is that I can't see what I'm doing wrong. when I compile the code I get the the following 2 errors for lines 22 and 25: [B]expected ';' before '<' token ISO C++ …

Member Avatar for ArkM
0
170
Member Avatar for klactose

Hi, I am trying to write a class that uses vectors that contain another class. When I compile my code using g++ I get the following error that I don't understand: [B]In file included from cars.cpp:5: car.h:24: error: syntax error before `;' token car.h:25: error: syntax error before `;' token[/B] …

Member Avatar for Ancient Dragon
0
86

The End.