User Profile

Collapse

Profile Sidebar

Collapse
Scholar
Scholar
Last Activity: Jul 23 '10, 05:47 AM
Joined: Aug 29 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Scholar
    started a topic How to dump data from a file into tree
    in C

    How to dump data from a file into tree

    Hello friends,
    I am working on a problem where i need to dump huge amount of data from a file into a tree for analysis. The data in the file would be in specific format something like given below:

    node1 child1 child2
    child1 child3 child4
    child2 child5 child6

    Since there would be thousands of such lines i need a very optimised way to acheive it.
    The format of the file could be modified depending...
    See more | Go to post

  • Scholar
    replied to Scramble the word
    in C
    Actually i am concerned with only selection of the letters not their sequence .So i need C(4,3) nt P(4,3)....
    See more | Go to post

    Leave a comment:


  • Scholar
    started a topic Scramble the word
    in C

    Scramble the word

    Hello friends,
    there is yet another problem for you...
    We have got a string say HOUR
    Now we need a program that can choose the specified number of words say n from this word in all possible ways and displays them ...for example in this case
    for n=3 the output should be
    HOU
    OUR
    URH
    RHO
    See more | Go to post

  • Scholar
    started a topic Faster way to read text from datafile
    in C

    Faster way to read text from datafile

    Hi friends, again i need ur help..
    I hve a text datafile which consists of one word per line like this...

    program
    byte
    this
    example


    and i am using the following code to read the words from the datafile..



    fstream f1;
    f1.open("file.t xt",ios::in|ios ::out);
    f1.getline(vari able,10,'\n');
    f1.close();

    The datafile...
    See more | Go to post

  • Scholar
    started a topic Run a dos command through c++
    in C

    Run a dos command through c++

    Hi, I am using a 16-bit compliler and i wanted to execute a dos commmand through c++ using system() command.I wrote the following code but it didn't help


    #include<proces s.h>
    void main()
    {
    system("c:\\win dows\\system32\ \Notepad");
    }

    I even tried wid 'system("notepa d")' but even tht didn't run the command.Plz tell me if i am going wrong anywhere...
    See more | Go to post

  • Scholar
    started a topic How to start a project

    How to start a project

    I want to start a c++ project and need some help regarding proper methodology to start a project.Shall i start directly from the coding part or i need to do any documentation like thing before that?Plz tell me the proper method to work on a software project alongwith some tools which will help in making good projects..
    See more | Go to post

  • Scholar
    replied to Cant able to run a simple program
    in C
    I think u need to set the right path in Options->Directories.
    like if ur TC folder is in C: drive then set path as c:\tc\include for "include directories" and c:\tc\lib for "library directories".
    See more | Go to post

    Leave a comment:


  • Scholar
    started a topic Nth term of a series

    Nth term of a series

    Hi,i am working on a c++ project which will find the nth term of a given series.The series would be given in the form of first 4 or 5 terms.I have the basic alogorithm which can find the nth term of a polynomial series given initial terms.The problem being tht the number of initial terms required is proportional to order of the series.So,as the order of polynomial series increases ,we need more number of initial terms.
    I shall oblidge...
    See more | Go to post

  • Scholar
    started a topic Need help regarding my word solving software
    in C

    Need help regarding my word solving software

    I have made a utility in c++ which solves the jumbled words.This is done by comparing all the permutatons of the word given with the words stored in the database.The database consists of around 80000 words .The database is in the form of 26 datafiles one for each alpahbet(a-z).
    My problem is that the program takes too much time as it compares each permutation of the word given with the all the words in the concerned datafile.Say, for "euque...
    See more | Go to post
No activity results to display
Show More
Working...