Just for fun I went to the start of the [Word Association Game](https://www.daniweb.com/community-center/threads/302/word-association-game#post2075) thread. I noticed it was started 14 years ago but there seems to be a problem with the date order. Post 1 - 14 years ago - Lucy Post 2 - 13 years ago - cellphone --> wireless Post 3 - 13 years ago - Wireless --> Networking Post 4 - 14 years ago - Lucy --> in the sky with diamonds I know it's a trivial thing but it might be a trivial thing that affects other threads by upsetting the continuity.

Member Avatar
Member Avatar
+0 forum 1

class Base { [Display(Order = 0)] public int FirstProp {get;set;} [Display(Order = 1)] publuc string SecondProp {get; set;} } class Derived : Base { [Display(Order = 2)] public string ThridProp {get;set;} } I was expecting that the properties will have an order like this | FirstProp | SecondProp | ThirdProp | But I was getting like this | ThridProp | FirstProp | SecondProp | What was i missed? BTW i was binding it in a gridview. I will appreciate for any help will come. Thank you

Member Avatar
Member Avatar
+0 forum 3

> The following letters are stored in an alphabet array: B, J, K, M, S, and Z. > Write and test a function named adlet(), which accepts the alphabet array and a new letter >as arguments, and then inserts the new letter in the correct alphabetical order in the array. void sortNewArray(char array[], char newLetter) { for (int i = 0; i < newLetter - 1; i++) { if (array[i] > array[i + 1]) { int temp = array[i + 1]; array[i + 1] = array[i]; array[i] = temp; i = -1; } } } void adlet(char array[], char newLetter) …

Member Avatar
Member Avatar
+0 forum 5

Ciao guys, I'm getting mad with this issue. I have a script in a WP theme that it's supposed to retrieve some data. It works ok but I need it does the thing in alphabetic mode and this seem to be... quite hard! I dig into the web looking for plugin with no success and even modifing the core like they say here http://codex.wordpress.org/Alphabetizing_Posts I need help because I'm stucked. The url where this happen is this: http://www.jre.it/?s=&geo-radius=50&geo-lat=&geo-lng=&categories=0&locations=0&dir-search=yes&post_type=ait-dir-item If yiu try to press ENTER just in the forst field (Ristorante, Chef, Città) the order is not in alphabetic mode because …

Member Avatar
+0 forum 0

how to order rows in pl/sql? i have a table of numbers, i want to order in ascending order if id of table is odd and descending if id is even

Member Avatar
Member Avatar
+0 forum 5

Hi Guys, I've got a client who would like something on a magento community store, but I have no ideas to solve this one: Basically my client wants different people to be notified about different products being ordered. So say somebody buys product A, so admin1 would be sent an email and told about it. Then someone else buys product B, but this time admin2 would be sent an email. Is this physically possible with magento community ([here](http://magento.com/products/overview#community)) and if so how would I do this? Thanks!!

Member Avatar
+0 forum 0

Dear all , I want a purchase order form where item , description ,unit price , quantity and amount an additional on load discount field has to be present which will be disabled from putting inputs . The value will directly come from the database depending upon the count value which will be provided by the user . The relevant database for the count too is also attached herewith . Secondly , at the top of the form there is a link written as "Show Customization Actions" . when it is clicked , a special checkbox called "special discount" (in …

Member Avatar
Member Avatar
+0 forum 4

Hi I"m sorry that there is no code, it's just a question in my mind .. How can I sort the request results as rows.In every row 4 results then the next row 4 results and so on.?

Member Avatar
Member Avatar
+0 forum 2

Hi! I have in my database few tables and each table have a column with dates of inserting records. I don't know how to go through the database, through all tables, in chronological order, from the first inserted record until the last, can anyone help? tnx!

Member Avatar
Member Avatar
+0 forum 3

/* * File: main.cpp * Author: TBuchli * * Write a program that helps a real estate agent calculate an average price of *up to 20 homes. An array of data type double should be used to contain the *prices. The program should prompt the user to enter the number of prices to *average — a maximum of 20 prices. * * Then, the program should prompt the user to enter each price. Once all of the *prices have been entered into the array, sort them in ascending order. The *output should include a listing of the prices entered, and …

Member Avatar
Member Avatar
+0 forum 4

A Python sort with a helper function to allow for mixed order sort like age descending and weight ascending.

Member Avatar
+3 forum 0

Hi geeks, After tireless searches of online open-source inventory management, I got no successful results. My requirement is that, there are 3 levels. A least level employee request for a inventory item to 2 level. second level manager approves and sends it to first level, First level manager approves, replies the employee with the details. These items should be tracked with an inventory management thereby showing current status for each requested items. IS there any readymade open sourcecode available at this time. Or can I achieve this in drupal. ? If yes, please suggest me the drupal module for it.

Member Avatar
Member Avatar
+0 forum 2

Right now, this program asks the user to enter the input infile and outfile file names. Then it gives an error if it can't open the file. If it can open infile, it reads the first value and consider that as the array size. After that it continues with other numbers and stores them. Then it sorts them using insert sort, and get the mean, median, and standard deviation. Finally it prints the sorted numbers along with calculated values in the output file. What I want to do is to remove that insert sort, and use my own functions. I …

Member Avatar
Member Avatar
+0 forum 1

hai every one , i have problem with order by decimal number I have revision number column it contains revision number like 1, 2, 2.1, 2.2, 2.3 ...... 2.10 2.11 ... and am trying to order by revision it's giving sort order like 1, 2, 2.1 2.10 2.11 ... 2.2 2.3 ... but i want sort order like.. 1, 2, 2.1, 2.2, 2.3 .. 2.10 2.11 query is like SELECT project_name, revision_no from table_name ORDER BY project_name, revision_no thank you

Member Avatar
Member Avatar
+0 forum 3

hi can anyone please help me with this problem arranging given input that is alphanumeric in ascending and descending order using turbo c *note the given info are char only example output: info to be arranged: blk4 lot 32 ascending order: bkllot234 descending order:tollkb432

Member Avatar
Member Avatar
+0 forum 14

Please help me!I want the code for doing following task in perl. Task is that "Read the paragraph from a file and print it in another file in ascending(total number of words in a sentence) order." My sample task: If the input "Hi! my name is Sarma. Can you help?" Output should be "Hi! Can you hepl? my name is Sarma." I could try this. It prints the number of words in a each sentence. My code is: #!/usr/local/bin/perl use strict; use warnings; my ($line,$inFile,$outFile,$para, $text, @sentences, @words, @length, $count, $i, $order); #defined variables $inFile = "name.txt"; $outFile = "out.txt"; …

Member Avatar
Member Avatar
+0 forum 2

Hi, I had an assignment where we had to fox a program and get it working correctly. I fixed 99% of the problems and the program runs correct. The only thing that is wrong is my insertionSort() method. It runs correctly, but in the wrong order. Currently its listing names in descending order, comparing the last names (if last names are equal then compares first names). I have been messing around with my loops for a while now and cant figure out how to switch the order which it runs the sort. The fix is probably something really small and …

Member Avatar
Member Avatar
+0 forum 2

I'm new to PHP, and trying to create a paginated layout. Could someone walk me through the easiest way to do so?

Member Avatar
Member Avatar
+0 forum 1

**I have been automatically collecting machine breakdown info to a database for 12 months, so I have thousands of entries in a 'Machine Downtime' table. However, I have found that the time_down column is offset by one row. The 'time_down' in the top row needs to be moved to the second row, time_down in the second row moved to the third etc... Timestamp | Reason | time_down 2012-05-10 10:15:14 | Line Jam | 00:10:00 2012-05-10 10:16:22 | Lunch Break | 00:02:44 There are no other columns in the table, the index is 'timestamp' Is there an update query that I …

Member Avatar
Member Avatar
+0 forum 1

trying to create a insert method thats takes a char *name and int age. after than iam trying to insert in linked list. its seem to be working fine but if i have a linked lets say [1 2 3 4 5] and if i try to insert(2). i shoudl get result of [1 2 2 3 4 5] but it dont work. not sure why. void insert(char *na, int ag) { struct node *cur_node = head; struct node *new_node; int skip = 0; int in_list = 0; if(cur_node == NULL) { head = (struct node *) malloc(sizeof(struct node)); if(head …

Member Avatar
Member Avatar
+0 forum 4

I am writing a program in C to build linked lists from scratch. However, I am getting hung-up on trying to build a link list that will automatically sort itself. By this, I mean that the nodes will automatically be placed in the correct location. My current code is putting only the first value into the list (and then exiting successfully), it isn't executing properly when trying to determine if it is greater than or less than its surrounding nodes. Please see my code below. #include <stdio.h> #include <stdlib.h> typedef struct IntNode { int data; struct IntNode *next; } IntNode; …

Member Avatar
Member Avatar
+0 forum 4

Hello, my name is Carol. I'm currently taking an introductory course in C++ and we just learned about functions. I was wondering about the standard accepted format for placing function definitions. For instance, in the following program, should I have defined the power function before the int main function instead of after it as I did? #include <iostream> #include <cmath> #include <iomanip> //function base and the power //2 as the base raised to the third power using namespace std; float power(float,float); //function declaration int main() { float base; float exp; float answer; cout << "This program finds the base raise …

Member Avatar
Member Avatar
+0 forum 1

hi i want to make a page for the user to take the orders from the user. i want that user select one product from the drop down list then select its size and then color. then submit it. this data about first product appears in the table then he enters the description about 2nd product and so on. and in the end when all required products appears in the table he press submit order which goes into order (table name) of database. i have just the confusion that how can i make it possible that when each product is …

Member Avatar
Member Avatar
+0 forum 2

I have this query, but the ordering by is not working. It should order by value, but doesn't react. you'll see what I mean in the code. [ICODE]<table class="pme-main"> <tr> <th class="pme-header">Bestemming</th> <th class="pme-header">Naam Klant</th> <th class="pme-header">Aantal Manden</th> <th class="pme-header">Aantal Duiven</th> <th class="pme-header">Naam Bestemmeling</th> </tr> <?php $con = mysql_connect("****","****","****"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("****", $con); $query = "SELECT z.Bestemming, b.Name, k.Naam, k.ID, m.Aantal_Duiven, s.Aantal_Manden FROM Shipments AS s JOIN Zendingen AS z ON s.Zending_ID = z.ID JOIN Klanten AS k ON s.Klant_ID = k.ID JOIN Manden AS m ON s.Mand_ID = m.ID JOIN Bestemmeling …

Member Avatar
Member Avatar
+0 forum 3

Hello! I just made an program, but now i have problem with sorting output in the asc. order (int datum) thats date in our language :) [CODE] #include <iostream.h> #include <stdlib.h> struct datum { char dan [32]; char mesec [13]; char leto [5]; void vnosDatum(); void izpisDatum(); }; void datum::vnosDatum() { cout << "Dan: "; cin.ignore(); cin.getline(dan,32); cout << "Mesec: "; cin.getline(mesec,13); cout << "Leto: "; cin.getline(leto,5); } void datum::izpisDatum() { cout << "Datum nakupa: " <<dan << "." << mesec <<"."<< leto << "\n"; } struct racunalnik { datum datum; char ime[10] ; int hitrost_procesorja; int velikost_pomnilnika; int stevilo_jeder; …

Member Avatar
+0 forum 0

I've a vector of size 'n', I need to do random couples with the n numbers (integers) and make a swap between them. Any ideas how? I had this idea [CODE] int low = 0; int temp; for (int high = n-1; i= low; high-- ) { temp = v[high]; v[low] = v[high]; v[high] = v[temp]; } [/CODE] But when I print my vector, it steel show me the original order of the vector. Here is the rest of my code: [CODE] #include "stdafx.h" #include "stdafx.h" #include <iostream> #include <cstdlib> #include <vector> using namespace std; int _tmain(int argc, _TCHAR* argv[]) …

Member Avatar
Member Avatar
+0 forum 2

I am trying to determine the time complexity (and space complexity if anyone would like to have a go at it) of a sort function i implemented with a custom comparator. it is the sort function from the STL <algorithm>. First off, I am using Visual C++, so I am assuming it uses the standard C++ sort, which from what I have read on the web has an average complexity of N*log(N) and a worst case of N^2. Now, here is the implementation: [CODE] bool by_length (const string& s1, const string& s2) { if ( s1.length() == s2.length() ) return …

Member Avatar
Member Avatar
+0 forum 3

ordering form Expand Post » hey can you please help me) because we have this assignment ordering form in vb 6.my problem is you have 3 attempts only to log in and in payment it should be 0.00, if you enter a number example 1 the output should be 0.01 then if you enter another number example 2, the output should be 0.12 here is my code for logging in 3 attempts: [ICODE] for counter=1 to 3 then If txtUserName.Text = "" Or txtPassword.Text = "" Then MsgBox "Fill up the missing field", vbInformation ElseIf txtUserName.Text <> "judy" Or txtPassword.Text …

Member Avatar
Member Avatar
+0 forum 4

hey can you please help me:)) because we have this assignment ordering form in vb 6.my problem is you have 3 attempts only to log in and in payment it should be 0.00, if you enter a number example 1 the output should be 0.01 then if you enter another number example 2, the output should be 0.12 here is my code for logging in 3 attempts: [CODE]for counter=1 to 3 then If txtUserName.Text = "" Or txtPassword.Text = "" Then MsgBox "Fill up the missing field", vbInformation ElseIf txtUserName.Text <> "judy" Or txtPassword.Text <> "salonga" Then MsgBox "Either wrong …

Member Avatar
Member Avatar
+0 forum 1

Hi i'm new here and with php and I want to ask for some help regarding my order form. Here is my existing code. [img]http://i52.tinypic.com/25k4wbc.jpg[/img] Basically what it does in the form is you fill the item(text field) with the number of orders you want (1,2,3 etc.) What I wanted to do is to have the "filled up" orders sent to me and not everything. So for example the customer only filled the text field for food1, then its the only order that will be sent in my email. Any help or suggestions will be highly appreciated. I'm also open …

Member Avatar
Member Avatar
+0 forum 3

The End.