Questions tagged [insertion]

place into or between other items in an enumeration

578 questions
0
votes
1 answer

Forcing php insertion to start on a new line in WordPress header file

I have various plugins and homemade functions that add items to my wordpress blog header.php file. Today I was doing some tweaks and noticed this issue with where these code snipets get inserted. I had the following code in my header: My code in my…
cadfile
  • 1
  • 2
0
votes
2 answers

Preserving type across cascading insertion operation

I am trying to create a thin wrapper over an ostringstream instance which delegates all insertion operations to the enclosed ostringstream instance. The idea is to preserve type when doing cascading insertion operations. Normally the resulting…
0
votes
1 answer

inserting into array's at specific point

I am trying to insert elements to the front and back of an array to sort of simulate a priority list, where the task entered with a high priority gets put at the top but the task with a low priority at the bottom. my problem is that the code works…
tarantino
  • 165
  • 1
  • 5
  • 14
0
votes
2 answers

Structure that allows duplicates, maintains insertion order and allows removal and insertion

I am looking for a data structure that allows duplicates and maintains insertion order so that if given file input of : a + a + b = c So that once correctly split, I will get: {a,+,a,+,b,=,c} This data structure also needs to allow for removal and…
Digitalwolf
  • 447
  • 2
  • 9
  • 20
0
votes
2 answers

Inserting into a sorted list recursively

I need to write a method that inserts items into a singly linked sorted list recursively. The node class for the list looks like this: protected class Node { protected Node(T data) { this.data = data; } protected T data; …
0
votes
1 answer

Insert the node before the specified element

I have Stack, and i need to insert the node before the specified element, and this code works, but i need code without count and count1, because sorting doesn't work. Can you help me remake the code? I tried to do something with code, but it's…
0
votes
0 answers

Made insertion into an oracle database but found nothing

I have tried as much to insert into an oracle database. but i found nothing in the database when i queried it. yet it returns no of isertions made into the database on every executenonquery.please find my code below queryString = "INSERT INTO btable…
mayowa ogundele
  • 475
  • 2
  • 6
  • 19
0
votes
1 answer

Level order insertion in binary tree

We have to insert elements in a binary tree level-by-level, that is, for an array: a = {1,2,3,4,5,6} 1st level = [1] 2nd level = [2, 3] 3rd level = [4, 5, 6] I have worked out a code but it results in NULL tree every time. struct node { int…
A1604
  • 3
  • 3
0
votes
1 answer

MySql InnoDB - Insertion in "Not Null" column of table

I have a question about InnoDB and MyISAM storage engine of database. Suppose we have 5 column in a table all column are set to "Not Null". When I run a query to insert values in only two column of MyISAM database, it wont generate any error,…
Haroon
  • 155
  • 2
  • 10
0
votes
2 answers

asp.net page cannot insert html tags in textbox to database due to offending characters

I have a basic form for submission in a detailview aspx page. On of my textareas contains html code
. Whenever I try to do an insert, it fails, and I get a generic: The status code returned from the server is 500 I know the issue is the html…
0
votes
0 answers

Inconsistent placement with jQuery before/after and Padding

I'm attempting to insert and position new DIVs before and after arbitrary 'target' elements on a page with jQuery (.before and .after) In some cases, after the DOM insertion, the browser will render the new DIV without respecting the target…
Chris
  • 3
  • 3
0
votes
1 answer

Prevent eclipse from inserting newlines with variables?

It's possible to override the user name via eclipse.ini, which I've done: -Duser.name=My Name This goes well with customised code templates. For Java these reside in Window -> Preferences -> Java -> Code Style -> Code Templates. Below is a custom…
KomodoDave
  • 7,239
  • 10
  • 60
  • 92
0
votes
1 answer

Binary Search Tree insertion doesn't work

I am following a book ,Problem Solving & Program Design in C, to learn C. In this book, they gave all necessary parts to build a binary search tree.... But, My implementation didn't work. Here is insertion part; void add_to_t(tree_node_t *oldTreep,…
mustafaSarialp
  • 265
  • 1
  • 7
  • 17
0
votes
3 answers

Preventing Duplicate Record Insertion on Page Refresh PHP

I could see there were several topics created on this matter, but I couldn't really find a solution what could be applied to my case. My problem is that when a user submits a form on my page, and the browsers stalls some users try to refresh the…
gergiusz
  • 11
  • 1
  • 7
0
votes
3 answers

UITableView - inserting rows and scrolling to a specific section

I have a tableview like.. The cells xxxx, yyyy & zzzz are fixed, so that, there is no click action to them. But the cell "Show" is clickable. I want to show some six cells under the "Show" cell when it is clicked. So, after clicking the "Show"…
Confused
  • 3,846
  • 7
  • 45
  • 72