CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: siddmittal

Search: Search took 0.02 seconds.

  1. String operation while reading line by line from a file.

    I have to read the information about logic gates from a file. The file format is shown below:



    gateOne = NAND(inpA, inpB)
    gate2=NAND(1,2)
    3 = NAND(23,25,26)


    As, it can be seen from the...
  2. Replies
    4
    Views
    5,081

    Creating Matrix/map for Topological sort?

    I am trying to simulate the logical circuits having NAND gates. I am reading the structure from .bench file. The structure of a circuit looks like below:


    INPUT(1)
    INPUT(2)
    INPUT(3)
    INPUT(6)...
  3. Re: Finding the string of number present inside brakects after a keywrod in a file

    Thanks a lot. But i am using your previous technique through which i get the input in "integer" form and then i convert it into "string". Using that way also, i am able to remove and extra...
  4. Re: Finding the string of number present inside brakects after a keywrod in a file

    Thank you. But i need it into string format only :)
  5. Re: Finding the string of number present inside brakects after a keywrod in a file

    Thanks alot. It did work for me BUT it is printing an extra space i.e. " " for the inputs which are between 1st and last input. For example, the inputs which i am getting for Second line of my text...
  6. Finding the string of number present inside brakects after a keywrod in a file

    I am reading a file whick looks like following:


    10 = NAND(1, 3)
    11 = NAND(3, 6, 5)
    15 = NAND(9, 6, 2, 8)

    Problem: I have to find the word "NAND" and then find the numbers inside the...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured