63 Topics

Member Avatar for
Member Avatar for Skate Bart

hey there, Here's my complete code for a delete button that deletes a record in a Heirachical Flex Grid. Dim rsTour As New ADODB.Recordset Dim cn As New ADODB.Connection Dim strSQL As String cn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;" & _ "Data Source=" & App.Path & "\Luckshan Tours & Travels.mdb;" & _ "Persist …

Member Avatar for Skate Bart
0
398
Member Avatar for JE821

So the program makes an inventory from a cvs file. The cvs file consists of dvds and books. here is the code: #include "StdAfx.h" #define _CRTDBG_MAP_ALLOC //for memory checking #include <iostream> #include <stdlib.h> #include <crtdbg.h> #include <iomanip> #include <fstream> #include <string.h> #pragma warning(disable: 4996 4018) using namespace std; #define COPYSTR(TARGET, …

Member Avatar for JE821
0
295
Member Avatar for roshan_iiita

I am developing a Interactive Spoken Dialogue System, in which user will say something to the system and system will answer him in voice and generating facial expressions according to the voice. But, i can't get any idea that how can i generate facial expressions. Will anybody tell me that …

Member Avatar for richieking
0
155
Member Avatar for Esmerelda
Member Avatar for anthasuresha

Is there any framework or sample java code to evaluate an arithmatic / logical / bitwise expression , which will provide the value for input parameters , to make the condition pass. For example , In the below sample arithmatic condition , if the values a=7 and b=6 are passed …

Member Avatar for anthasuresha
0
228
Member Avatar for NuGG

This is problem that I have struggled with for some time, but im sure the answer is very simple... I have a sub report that performs calculations on 2 fields ( [Rate] [Hours Worked] ) from a table called [Hours]. The report is GROUPED by [Rate] and is as follows: …

Member Avatar for NuGG
0
2K
Member Avatar for Neo_cse
Member Avatar for Narue
0
143
Member Avatar for jayz93

I'm still new to Microsoft Access so I don't have a great understanding of its workings but have spent the past couple of months working on a project to manage the company's telphone bills. I'm essentially compiling the usage from every company phone each month into a final table by …

Member Avatar for BitBlt
0
539
Member Avatar for d_panayotov
Member Avatar for rockerjhr
0
199
Member Avatar for montjoile

hi. Im trying to make an expresion tree for every ER that I read each ER will be transformed into postfix and saved in a string, which I'll be sending to arbol_expresion() to create it`s tree expression Searching on the web I found a method to convert the postfix expresion …

Member Avatar for abhimanipal
0
129
Member Avatar for michaelzip

Hi. I just want to ask if it is possible to create a function that accepts an expression into its arguments. Just like what IIF do. Ex: [CODE]Dim strResponse as String = IIF(Msgbox("Select Yes or No", vbYesNo) = vbYes, "Yes", "No")[/CODE] I forgot the code, but its the thought that …

Member Avatar for michaelzip
0
167
Member Avatar for gaurav.pruthi88

Hello , For the given snippet , why the result comes out to be 2..while it should be 3 , if the expression is interpreted from Left-Right or .75 for vice-versa. >>>3/2*2 2 >>>

Member Avatar for gaurav.pruthi88
0
79
Member Avatar for soUPERMan

Hello, I wanna write a method that recieves an argument of type String which is a mathematical expression in infix mode, then change it to postfix and store in a queue and return the queue...how do i go about that?? I have created so far a Queue class, Node class.

Member Avatar for lucky_Username
0
947
Member Avatar for speedy94519

Hello, I have a question about the code below [CODE] // Checks the vertex a if (this.a != ((Triangle)o).a) { return false; } [/CODE] So In a method called Triangle i declared an instance variable like this: [CODE] private java.awt.Point a [/CODE] What I think this code is doing is …

Member Avatar for jon.kiparsky
0
149
Member Avatar for Carrots

Hi, I have an expression tree in which the nodes are operators (union, intersection etc represented by a string "/u") or the nodes are std::sets. How could I access the std::set's values in order to carry out the tree evaluation using the operator functions(set_union(), set_intersection() etc) ? The expressions are …

Member Avatar for arkoenig
0
161
Member Avatar for amberclaw

Hi, i´m quite new in pascal programing. Can someone explain me please why [CODE] function kolik(pocet:integer; retez: string):integer; var p: array[1..pocet] of integer; pomocna,j,i,k,l,od,nep:integer;[/CODE] is compiler telling me p: array[1..pocet] of integer; cannot evaluate this expression? Thank you in advance

Member Avatar for Wolfgan
0
148
Member Avatar for 3825

I have yet to write a single line of code. I am just finishing the "pencil and paper" part of the layout design. [URL="https://docs.google.com/drawings/pub?id=11GrWyVrG6J0PSMY_GF8n6M97Hy45kwNAJQSZYz-VxxQ&w=960&h=720"]https://docs.google.com/drawings/pub?id=11GrWyVrG6J0PSMY_GF8n6M97Hy45kwNAJQSZYz-VxxQ&w=960&h=720[/URL] Here is my rant/explanation of what I want to do with the website [URL="https://docs.google.com/document/pub?id=150QSF4NfDuj5sGh35OgsGyv1VvRxWSeRKlDnozJ54P0"]https://docs.google.com/document/pub?id=150QSF4NfDuj5sGh35OgsGyv1VvRxWSeRKlDnozJ54P0[/URL] I am only beginning to learn CSS. Do you think the whole …

Member Avatar for 3825
0
196
Member Avatar for araisbec

Alright, so I've spent countless hours on this code and I need a fresh pair of eyes to give it a glance... This is my third assignment for my datastructures class, where I am to write code that turns a fully parenthesized expression (such as "((3+2)/(3-8))") into aan "arithemtic expression …

Member Avatar for araisbec
0
676
Member Avatar for josefalarka

How to interpret VB6 string expression in textbox e.g. ((3*9)+3)-(8/2)and display the result in listbox, and then it determines the () open and close parenthesis, * + - / are operators, and 3 9 3 8 2 are operands.

Member Avatar for kb.net
0
94
Member Avatar for genext.brite

A C code is written: int i=-1 , j=-1 ,k=0 ,l=2 ,m; m=i++ && j++ && k++ || l++; //Line 3 printf("%d%d%d%d%d",i,j,k,l,m); O/p= 00131. I figured out that the Last variable in Line 3 is incremented only if it is preceeded by || else if preceeded by && it is …

Member Avatar for arkoenig
-5
171
Member Avatar for Khodz

So i'm trying to make a module for my program that returns a multidimensional array based on another array in the form of a command-line argument. Here is the module that's keeping me up at night: [CODE]public static double[][][] getDimensions(String [] args) { final int l = args.length; double dimensions …

Member Avatar for Khodz
0
168
Member Avatar for sbrohee

Dear all, I am completely lost and I don't see at all my mistake! I thought this would be a very easy step in the building of my classes. Thanks a lot for your help! In the context of graph theory, I have a class Node. As attribute of this …

Member Avatar for sbrohee
0
350
Member Avatar for tookerello22

hi how is it possible to return an array from this: private void btnResult_Click(object sender, EventArgs e) { ArrayList arlist = new ArrayList(); arlist.Add(examResults); return arlist; } Many Thanks

Member Avatar for Geekitygeek
0
232
Member Avatar for kate2mba

Wirte a regular expression pattern to match all words ending in s. This is what I got but seems like im thinking to hard on it, plus of course its not working lol Please help! :) [CODE]import re str = "Subs are everwhere" print (str) matchObj = re.match(".*?s ",str,re.L|re.I) if …

Member Avatar for kate2mba
0
147
Member Avatar for cartoonle

Hi! I have 3 columns, that i join in new column, but after that i must remove old columns... How can i do that??? Thanks for your answers! Gregor

Member Avatar for cartoonle
0
81
Member Avatar for Member 784453

I decided to just try and make a program that would identify what KIND of expression you entered, not even evaluate it. Just for it to say: “You entered an addition equation. ” when you enter an equation with a value, a plus sign, then another value … and so …

Member Avatar for Member 784453
0
117
Member Avatar for oceantrain

I have a datagridview on a form with multiple columns. Three of the columns are expression columns. One column is subtracted from the second and the result is displayed in the third. Everything works great but when I hit the save button and save to the database, all the columns …

Member Avatar for kvprajapati
0
74
Member Avatar for daino

Hi I'm rather new to C++ and am rather confused about something. I noticed, say, in an "if else" statement or a "Switch" statement it only evaluates numerical expressions. In an If Else statement I can compare two strings by using a returned boolean result from say 'strcmp' but I …

Member Avatar for Stefano Mtangoo
0
229
Member Avatar for apegram

[CODE] int[][] jaggedArray = (from line in File.ReadAllLines(fileName).Skip(1) select (from item in line.Split('\t').Skip(1) select int.Parse(item)).ToArray()).ToArray(); [/CODE] This is a crazy example. It was sparked by what is probably a homework thread on another forum here, but it is basically reading in a tab-delimitted text file, stripping out the first row …

Member Avatar for ddanbe
3
679
Member Avatar for karismasa

Hi, I would like to write a parser in C#. Lets say I have expression like NOT(NOT(a AND b) OR (c AND d)). I want this to be in Sum of Products for->(a AND b AND NOT c) OR (a AND b AND NOT d). To do that normally in …

Member Avatar for ddanbe
0
182

The End.