4 Replies - 296 Views - Last Post: 23 March 2016 - 07:09 PM Rate Topic: -----

#1 brotherofninth  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 118
  • Joined: 14-March 16

Netbeans output too long or c programme problem

Posted 23 March 2016 - 04:52 PM

Netbeans output too long or c programme problem

The output of the programme seem to be too long,Netbeans not able to show it all
It hides some of the output and shows the final part only.....

Is that anyway to force Netbeans show all the output?

Or it is a c programme problem?

Thanks
Is This A Good Question/Topic? 0
  • +

Replies To: Netbeans output too long or c programme problem

#2 Skydiver  Icon User is online

  • Code herder
  • member icon

Reputation: 5956
  • View blog
  • Posts: 20,418
  • Joined: 05-May 12

Re: Netbeans output too long or c programme problem

Posted 23 March 2016 - 05:35 PM

What output are you seeing? What output were you expecting to see? Can you share your code?
Was This Post Helpful? 0
  • +
  • -

#3 brotherofninth  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 118
  • Joined: 14-March 16

Re: Netbeans output too long or c programme problem

Posted 23 March 2016 - 05:39 PM

View PostSkydiver, on 23 March 2016 - 05:35 PM, said:

What output are you seeing? What output were you expecting to see? Can you share your code?


void print(List* list){

    ListNode* node = list->first;
    
    while(node != NULL){
    
        printf("%s\n", node->text);
        node = node->next;
    
    }

}



It is printing out the text from a list, but the list is too long(having lots of element)

It auto hides the some of the output(I guess)
Was This Post Helpful? 0
  • +
  • -

#4 Skydiver  Icon User is online

  • Code herder
  • member icon

Reputation: 5956
  • View blog
  • Posts: 20,418
  • Joined: 05-May 12

Re: Netbeans output too long or c programme problem

Posted 23 March 2016 - 05:45 PM

Sounds like normal behavior for most console applications. If Netbeans fires up a console and lets the program output go there, then you are getting expected behavior.
Was This Post Helpful? 1
  • +
  • -

#5 brotherofninth  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 118
  • Joined: 14-March 16

Re: Netbeans output too long or c programme problem

Posted 23 March 2016 - 07:09 PM

View PostSkydiver, on 23 March 2016 - 05:45 PM, said:

Sounds like normal behavior for most console applications. If Netbeans fires up a console and lets the program output go there, then you are getting expected behavior.


I set the output to standard and it able to print it all now, thanks bro :bananaman:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1