75 Topics

Member Avatar for
Member Avatar for Garrett2011

In a scenario that caller doesn't necessarily need callee to use memory of one of its local variables of a primitive type to track that variable later for anything, I know that when passing that variable to a callee function; it'd be done by value and that makes total sense …

Member Avatar for TechnoCat
0
136
Member Avatar for lordbaddkitty

I'm trying to LINQ two tables based on a dynamic key. User can change key via a combo box. Key may be money, string, double, int, etc. Currently I'm getting the data just fine, but without filtering out the doubles. I can filter the double in VB, but it's slooooow. …

Member Avatar for lordbaddkitty
0
272
Member Avatar for Kindson

I'm working with microsoft report in asp.net. I recieve error message saying "An error occurred during local report processing". I've cross-checked and cant figure out where the problem is comming from. Here is my code: [code = vb.net] Dim params(0) As Reporting.WebForms.ReportParameter params(0) = New Reporting.WebForms.ReportParameter("RateId", caption, False) rv.LocalReport.SetParameters(params) [/code] …

0
107
Member Avatar for Rez11

I need to write a function that accepts int array and array's size as arguments. Then the function should create a copy of the array, except that the element values is in reverse in the copy. The function should return a pointer to the new array. I am having a …

Member Avatar for sfuo
0
390
Member Avatar for DeadLikeMe

Hi, i have a problem with this code. I wanted to add the values of the parameters at the beginning to the URL entered in the code. i already tried confirmation.php?username=$username added the ?username=$_GET[username] but the Url in the browser is displayed like it's written in the php file and …

Member Avatar for DeadLikeMe
0
188
Member Avatar for crapgarden

Is this: A)[CODE]while (!isLegal(move, board))[/CODE] the same thing as: B)[CODE]while (isLegal(move,board) = !!)[/CODE] ?

Member Avatar for crapgarden
0
143
Member Avatar for Kingcoder210

I need to know how can I get specific record there in report by passing string parameter from vb.net to crystal reports? For example - I have text box, button & crystalreportviewer there in my form. When user will use it he will write specific word there in the text …

Member Avatar for Extremist-smj
0
446
Member Avatar for roxanna_

Hi all, I want to create a function in c# which receives a paramater (name of a field from a table in oracle) The function will have to return the distinct values of the specific field.I don't know how to insert the parameter into the [I]select distinct(parameter) from table [/I] …

Member Avatar for roxanna_
0
121
Member Avatar for trantran

This is likely a stupid question, but I can't figured out by myself how to pass a pointer to a member function of a templatised class in its own template parameters. More clearly: I would like to have this to work out: [code]template <typename T, T test::* PtrToMember> class test{ …

Member Avatar for trantran
1
555
Member Avatar for tikoti

Hi, I am having an issue with a program and I have ended up realizing I don't know how to pass an array as a parameter. It seems that when I do it the arrays length is one inside of the function, even though outside is different. Here is the …

Member Avatar for mrnutty
0
152
Member Avatar for Destiny1

Hello, everyone. I'm at the moment doing a homework assignment involving static methods and arrays. It consists of the following instructions. I'm to create a class known as ArrayStatisticsMethods and in this class, there are definitions to four different "public static" methods which will be described. I'm provided the use …

Member Avatar for mkurdukar
0
501
Member Avatar for acdougla17

OK, so I have this project to do and cant figure it out. I am not positive on calling functions correctly and I am kind of lost when it comes to parameter passing. So my program needs to read a text file 1 integer at a time, find out if …

Member Avatar for restrictment
0
150
Member Avatar for sam023

This is my Stored Procedure DELIMITER $$ [code=mysql] DROP PROCEDURE IF EXISTS `call`.`sp_login`$$ CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_login`(userid varchar(50),pass varchar(50),out chk int(11),out user_alias varchar(50),out user_tariff varchar(50),out c_credit decimal(15,5),out r_reseller varchar(10),out r_level varchar(10),out c_tariff char(2)) BEGIN select id into chk from cc_reseller where useralias =userid and uipass=pass and level!=0 and activated!='0'; if(chk!="") …

Member Avatar for network18
0
275
Member Avatar for Buffalo101

Hello, I'm having problems passing an array of structures to a function by reference. Is this a) needed b) achievable? My assignment's requirements aren't very thorough, but it is however in the "Reference parameters" section. [CODE]struct x{ int a; // this is irrelevant float b; }stud[10]; void mod( ??? ){ …

Member Avatar for Gaiety
0
133
Member Avatar for bugatha1

I recently moved from JDK1.3 to JDK1.5 and find that the display of parameter listings in javadoc output is now hard to read. The lines are too close together. I think this has to do with the fact that the doctype at the top of each HTML page has changed …

0
114

The End.