33 Unanswered Topics

Remove Filter
Member Avatar for
Member Avatar for senait.kifle.127

My Objective is to define a function, with a pointer to a list of elements of the structure I created as the first parameter, a C-character string (of type char * ) as the second parameter and one of the of the two values,num or name, from the above enumeration …

0
176
Member Avatar for ClaudeRhay

Say I have this definition: #define SIZE 2000 typedef enum { TRUE, FALSE }Boolean; typedef struct{ char jobTitle[30]; char jobDesc[255]; char jobLoc[255]; float salaryMin; float salaryMax; Boolean isAvailable; }jobInfo; typedef struct cursorNode{ jobInfo jobRec; int next; }HeapSpace[SIZE]; typedef struct hnode{ HeapSpace heap; int Avail; }*VHeap; typedef int List; typedef struct{ …

0
190
Member Avatar for poochiteap

want to create an archive list like this: 2014 -March -Feb -Jan *Post 1 *Post 2 2013 -November *Post 1 My config file is: <?php ob_start(); session_start(); //database credentials define('DBHOST','127.0.0.1'); define('DBUSER','name'); define('DBPASS','pass'); define('DBNAME','sample'); $db = new PDO("mysql:host=".DBHOST.";dbname=".DBNAME, DBUSER, DBPASS); $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); //set timezone date_default_timezone_set('Europe/London'); ?>` the table I m using …

0
273
Member Avatar for SaroGFX

Dear Daniweb, I just got the following [HTML5 music player](http://www.audioplayerhtml5.com/player_blackControllers_WithoutPlaylist_Ex1.html), which gets it's music from a list I provide in HTML like this: <ul> <li class="xtitle">Follow Me Here B</li> <li class="xauthor">Author Name</li> <li class="xsources_mp3">audio/adg3com_freeform.mp3</li> <li class="xsources_ogg">audio/adg3com_freeform.ogg</li> </ul> <ul> <li class="xtitle">This is Freeform C</li> <li class="xauthor">Author Name</li> <li class="xsources_mp3">audio/wm_follow_me.mp3</li> <li class="xsources_ogg">audio/wm_follow_me.ogg</li> …

0
314
Member Avatar for Doogledude123

Alright, so I found a tutorial on how to use lists to make a "TreeList" type thing, basically a list, ordered or unordered, that has a nested list that is collapsible. However, it doesn't seem to be working for me. Here's some code that I'm sure you will figure out. …

0
187
Member Avatar for grafic.web

HI, ho can i do a select list from my table with MVC? Example database = mydatabase table = styles ID NOM show my select <selct name=aaaaa> <option value=ID>NOM</option> Thanks

0
99
Member Avatar for yann.bohbot.9

Hi there everyone, I'm a bit new to see and I need your help please. I'm stuck with a merge sort problem where it's support to sort my nodes in lexicographical order. Can you please have a look on my code because i've posted everywhere and i'm not getting the …

0
242
Member Avatar for while(!success)

Hey guys, Does anyone have any ideas or suggestions as to how to create a dynamic form based on a sharepoint list? By this I mean, the user would select a list and a form would be generated with the correct controls/labels based upon the column attributes in the sharepoint …

0
127
Member Avatar for johngorman

I'm coding a contact manager using a doubly linked list that is manipulated by functions using pointers that reads in a contactList.txt file.But when I coded the first function to do a search I got the following error list: Error 8 error C2059: syntax error : ')' C:\Users\Brian\Documents\Visual Studio 2010\Projects\G00290342Manager.c\G00290342Manager.c\ContactManager.cpp …

0
127
Member Avatar for strizh

I'm having problem with passing argument to the linked list. I wait for user input then I parse this user input and put parsed tokens into dynamic array (char **c) After that I need to write ceratin user input into linked list (for example I need to pass c[1] to …

0
130
Member Avatar for leyla

Hi, I have made a code where I write a recipe to a file and then I can read from the file and it is output in a listbox. I need to allow the user to change the amount of people served and then the quantities change to suit the …

0
112
Member Avatar for Aleroth

Hi there, I have a Country/City list in my SQL database and access it with PHP using a select element in php. I use the Chosen Jquery Plugin for the styling of these select elements. Now my problem is that i want only the cities of the country selected to …

0
132
Member Avatar for cr7489

hi i am trying to create 2 lists in one screen. i am using the google api places where i want the list to appear then when selected the result will appear, this what i have so far but the second list doesnt appear and i am not sure why …

0
96
Member Avatar for nyxxie

struct looks like this: [CODE] struct ListNode; typedef ListNode* ListType; struct details { char first_name[20]; char last_name[20]; int start_number; int end_number; }; struct ListNode { details data; ListType next; }; ListType list = NULL; ListType head = NULL; ListType * PointerToHead = &head; [/CODE] I have a circular linked list …

0
149
Member Avatar for BlackStar0703

Basically my app obtains data from a mysql server and displays it in a list view. What I want is for data from different columns (but the same row) to be as different items in a Dialog Box. I followed a tutorial on how to connect to a mysql server …

0
143
Member Avatar for mayback230

Am pretty new to App development, I have 2 radio buttons(radio group), and a Generate list"button" that i want to control a listview. I already created a list which has 20 items. When you select radio button1=10, and click "generate list" button it should take me to a new screen …

0
76
Member Avatar for Akay2

Well i have a little problem here is the code [CODE] using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Media; namespace RockRaidersRecreation { /// Manager for Drawing Verts public class WallDrawManager : DrawableGameComponent { Texture2D wallTexture; BasicEffect basicEffect; Vector3 …

0
197
Member Avatar for ankur3000

I am pretty new in android application development and I am trying to get on of the rows from a SQLite db to show up as a Listactivity, but this is not working and the program terminates unexpectedly. Here is the code: [CODE]package ankur.test.app; import android.app.ListActivity; import android.content.Intent; import android.os.Bundle; …

0
125
Member Avatar for korobaton

SO YEH MY problem is its not reading the whole file and inputing it to the stucture.. i believe that the problem lies in the adt.( the last source code on the bottom) in the private adt search function, insert function, and traversal..... ive been wreking my brains out trying …

0
153
Member Avatar for ezekit

SO im trying to get this source code transformed to a double link list it has two nodes sentinel and header....the source code was used to be a singly linked list..... nyhow i cant seeem to get this whole thing right..... it works fine when it was on its orginal …

0
94
Member Avatar for corby

i have this code for adding a node after the previous node, but valgrind is saying that there is a memory leak of 16 bytes, can someone please help me identify where the leak is? i think i didnt assign a null pointer somewhere but im not sure exactly where …

0
115
Member Avatar for RapidFire4Life

Hi, I was given the following problem, I've almost got it but I've hit a roadblock and having no luck getting past it. Here is the problem im supposed to solve... The function insert of the class orderedLinkedList does not check if the item to be inserted is already in …

0
260
Member Avatar for axman1000

I have a list of values extracted from a datareader in a list. Is it possible for me to run a query to extract another set of values using a datareader and then use the individual values in the list and the values in the datareader to perform some calculation, …

0
93
Member Avatar for felito

hello guys is the following, I have four players on the king, and I need to check if they are bluffing, because in the first round have to assist to the suit, so, I want a method that is used by four players the question is now, so I have …

0
89
Member Avatar for TySkby

So I'm having a heck of a time getting this to work- JavaScript isn't exactly my specialty and I realize that's a big part of the issue, but I'm at my wit's end... I'm developing a PHP application that deals with scheduling music lessons. In my application, I have these …

0
94
Member Avatar for hicsue

Hi, Was wondering if someone could answer why I don't have any contacts yet when I go to send an email all my contacts are there? What file do I need to import to get them back into my contact list? I upgraded to Office 2010 (Student Ver) and had …

0
76
Member Avatar for bryanevil

Hi all Currently I am using this way to get to value and assign to my OrderDetailDTO object. [CODE]List<OrderDetailDTO> ordereportlist = orderdetailBO.GetOrderDetailbyOrderId(OrderId).Select(p => new OrderDetailDTO { ID = p.ID, OrderId = p.OrderId, FileName = p.FileName, Remark = p.Remark }).ToList();[/CODE] But now I want to do this, but compiler return error: …

0
71
Member Avatar for rajeshborn4u

The Internet explorer doesn't allow the dropdown list to show downwards.Hi, I am trying to insert values into a dropdown list with a for loop. I have a dropdown list like. [code] <div style="padding:200px 0"> <asp:DropDownList ID="ddlno" runat="server" > </asp:DropDownList> [/code] In the coding part, I have this. [code] int …

0
78
Member Avatar for ashish.men

Hi, I am trying to create an automated trading system and am fetching data from an API (interactive brokers) API. I need to store 30 nodes of tick data( Tick is a reference type struct I have created) and store it in a linked list. When i start the system, …

0
90
Member Avatar for chico9

Hi all, I'm working on a Hanjie solver and this is part of the code. Everything else seems okay but I always get an error when I run it. Eclipse (i'm using Galileo version) points the exception to be at: [CODE] char a = combo1.get(i).charAt(i);[/CODE] combo1 ...refers to a List<String> …

0
93

The End.