User Profile

Collapse

Profile Sidebar

Collapse
f0rd
f0rd
Last Activity: Mar 29 '10, 04:59 AM
Joined: Mar 27 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • f0rd
    replied to ValueError: too many values to unpack...
    Sadly still no luck, same error.
    See more | Go to post

    Leave a comment:


  • f0rd
    started a topic ValueError: too many values to unpack...

    ValueError: too many values to unpack...

    Hi everybody, I have a python script I developed for work, that organises sound samples and out puts them to a text file.

    Here is an example input file:
    Code:
    Sound001,15,6
    Sound002,15,6
    Sound003,30,3
    Sound004,30,3
    Sound005,30,3
    Sound006,60,6
    Sound007,60,6
    Sound008,60,6
    Where the first set of numbers after the comma is the duration of the sound in seconds, and the last number...
    See more | Go to post

  • f0rd
    replied to C++, timetabling data, bin picking algorithm
    in C
    You mean something like:

    Code:
    bool Flag;
    int Total_Time, 
    
    do {
    if (Count<Sound1_MinimumInstance)
    { "Sound";
    Total_time=Total_time+Time_of_Sound1;
    Flag=True;
    } 
    else if (Count<Sound1_MinimumInstance)
    {
    "Sound 2"
    Total_time=Total_time+Time_of_Sound2;
    Flag=True;
    }
    
    //etc 
    
    Count++;
    ...
    See more | Go to post

    Leave a comment:


  • f0rd
    started a topic C++, timetabling data, bin picking algorithm
    in C

    C++, timetabling data, bin picking algorithm

    I am trying to create C++ application that takes information from a text file (mainly a csv file from excel), performs some basic math, then sorts the data, puts it into a list, to a a text file again.

    What I am having problems with is the sorting the data into a list.

    The detail; the text file contains information on sound files such as their title, duration (in seconds), minium total time to be played (in minutes)....
    See more | Go to post
No activity results to display
Show More
Working...