Questions tagged [user-defined]

253 questions
0
votes
0 answers

Handling User Defined shaders in OpenGL ES 2.0 framework

I am developing a frame-based animation framework in OpenGL ES 2.0 to develop 3D graphics applications. I have used few pre-defined shaders (for color, texture, alpha....) whose attributes and uniform are known. Now I want to handle user given…
Arun AC
  • 417
  • 7
  • 17
0
votes
1 answer

Performance - User defined query / filter to search data

What is the best way to design a system where users can create their own criterias to search data ? By "design" i mean, data storage, data access layer and search structure. We will actually refactor an existing application which is written in C#…
Cagatay Kalan
  • 4,066
  • 1
  • 30
  • 23
0
votes
3 answers

user defined methods compiler errors

Okay, apologies now if you do not like my indentations (I'm a beginner).. I can't get this code to compile. The assignment is to write two user defined methods, one (a boolean) that determines if a letter is a vowel, the other that changes a user…
Gianna Caruso
  • 113
  • 2
  • 3
  • 14
0
votes
1 answer

Converting MySQL to TSQL using user defined variables

I am new to using SQL Server and I am trying to convert this query to something I can use in SQL Server. I've been googling to find the right structure but I can't seem to see anything referring to 'user-defined-variables' at all. Any help would be…
Colin Burns
  • 65
  • 1
  • 5
0
votes
1 answer

Rails constants editable by user

I need to store semi-constants : Static variables (just one of each per application) Used in many places (somewhat as templates) Some SuperUsers can edit them (frontend form to edit them) Persistence (must keep their value even with a…
0
votes
4 answers

Implementation for user defined Exception

I have been searching online and researching in some books, but the examples given are limited and I still have some doubts in user-defined exception. Using the following codes as an example: //Conventional way of writing user-defined…
user3437460
  • 17,253
  • 15
  • 58
  • 106
0
votes
1 answer

How do I add functions to LESS in node.js

I used to use less-middleware, but switched to less as I needed to add custom functions/constants. I assume less-middleware uses less behind the scenes. To define constants I used: function lessDefine(name, value) { less.tree.functions[name] =…
Mark K Cowan
  • 1,755
  • 1
  • 20
  • 28
0
votes
1 answer

MySQL Reused variable outputs NULL

I am using the following SQL. The column1, column2 giving output like as 122.5014 and 4.2857; But the last column giving output NULL although I was expecting 48.9266. SQL INPUT: SELECT ( SELECT @h := ( SUM( ( TIME_TO_SEC( TIMEDIFF( `stop` , …
itsazzad
  • 6,868
  • 7
  • 69
  • 89
0
votes
1 answer

formatting a float to string when formatting options are chosen externally (by user)

I am formatting float values to strings. The formatting type & accuracy are chosen by the user. How do I use the chosen formatting parameters during the conversion? formatType = 'e' or 'f' [enum options for user] formatAccuracy = 0 to 7 [enum…
Pete Lavelle
  • 103
  • 3
  • 11
0
votes
0 answers

infinite loop after removing node from user defined linked list (java)

public void dropCourse(String c) { if(isEmpty()) throw new NoSuchElementException("Empty Schedule"); Node current = firstNode; Node follow = firstNode; follow = follow.getNext(); current = current.getNext(); …
user3393513
  • 49
  • 1
  • 7
0
votes
1 answer

Convert Notepad++ user defined language to html

I have created a user defined language using Notepad++. Now I want to convert this into html format. There are many free source tools available which can convert lets say rtf file to html but how can i convert this user defined language file into…
Pia
  • 3
  • 2
0
votes
1 answer

cummeRbund csHeatmap column user-defined order

I am using the R package cummeRbund (from Bioconductor) to visualize RNA-seq data, I created a cuffGeneSet instance called "DEG_genes" that contains 662 genes that are significantly differentially expressed between males and females. My goal is to…
0
votes
1 answer

VB.NET one function to load app and default settings

VB2010. I am trying to create one routine that will load all settings into a form with maybe like 50 controls. The first case it load all the user defined settings. The second case loads all the app default settings. I recently found that my routine…
sinDizzy
  • 1,300
  • 7
  • 28
  • 60
0
votes
1 answer

In C++ can you output a file to a user specified directory?

I'm just doing some work and the whole ofstream file("C:\mydir\blahblah\blah.txt") seems rather stiff. Is there a way to let a user cin a directory? Recently I've mastered having a user define the file name itself with the .c_str() so would it just…
0
votes
1 answer

Python User-Defined Global Variables Across Modules: Issues calling them when other modules are run

I am fairly new to Python and currently learning to work with functions and multiple modules within a python program. I have two modules "Functions_Practice_Main" (which runs a menu) and "Functions_Practice" which has the code for a simple program…
sw123456
  • 3,339
  • 1
  • 24
  • 42