Click here to Skip to main content
15,914,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMemory Limits Pin
Obi Wan 225-Mar-05 14:45
Obi Wan 225-Mar-05 14:45 
GeneralRe: Memory Limits Pin
David Crow25-Mar-05 16:02
David Crow25-Mar-05 16:02 
GeneralRe: Memory Limits Pin
Obi Wan 225-Mar-05 17:21
Obi Wan 225-Mar-05 17:21 
GeneralRestart the process Pin
mpapeo25-Mar-05 13:38
mpapeo25-Mar-05 13:38 
GeneralRe: Restart the process Pin
Anand for every one25-Mar-05 21:41
Anand for every one25-Mar-05 21:41 
GeneralRe: Restart the process Pin
mpapeo26-Mar-05 9:00
mpapeo26-Mar-05 9:00 
GeneralActiveX in C++ Pin
j1webb25-Mar-05 12:36
j1webb25-Mar-05 12:36 
General<<NEWB-Troubles with stacks Pin
rdt25325-Mar-05 11:48
rdt25325-Mar-05 11:48 
I'm having trouble figuring out what to do with this program...any help would be greatly appreciated
Cheers!

Write a program that prompts for a file name and then reads the file to
check for balanced curly braces, {}; parentheses, (); and square brackets,
[]. Use a stack to store the most recent unmatched left symbol. The program
should ignore character that is not a parenthesis, curly brace, or square
bracket. Note that proper nesting is required. For instance, [a(b]c) is
invalid.
Sample runs:
Output
1. {{a+5}-7*[1-{4/2}]}/{2*(3-6)} Valid
2. {(a+5)-7*[1-{4/2}])/{2*(3-6)} Invalid
GeneralRe: <<NEWB-Troubles with stacks Pin
Paul M Watt25-Mar-05 12:56
mentorPaul M Watt25-Mar-05 12:56 
GeneralRe: <<NEWB-Troubles with stacks Pin
FlyingTinman25-Mar-05 13:05
FlyingTinman25-Mar-05 13:05 
GeneralRe: &lt;&lt;NEWB-Troubles with stacks Pin
rdt25325-Mar-05 15:42
rdt25325-Mar-05 15:42 
GeneralRe: &lt;&lt;NEWB-Troubles with stacks Pin
David Crow25-Mar-05 16:03
David Crow25-Mar-05 16:03 
GeneralRe: &lt;&lt;NEWB-Troubles with stacks Pin
rdt25325-Mar-05 16:11
rdt25325-Mar-05 16:11 
GeneralRe: &lt;&lt;NEWB-Troubles with stacks Pin
David Crow26-Mar-05 7:07
David Crow26-Mar-05 7:07 
GeneralAccessing and displaying data of worker thread function Pin
Member 153706925-Mar-05 11:11
Member 153706925-Mar-05 11:11 
GeneralRe: Accessing and displaying data of worker thread function Pin
Paul M Watt25-Mar-05 12:59
mentorPaul M Watt25-Mar-05 12:59 
GeneralRe: Accessing and displaying data of worker thread function Pin
PJ Arends25-Mar-05 13:04
professionalPJ Arends25-Mar-05 13:04 
GeneralSaving Bitmap From Clipboard to file Pin
ww303125-Mar-05 8:18
ww303125-Mar-05 8:18 
GeneralRe: Saving Bitmap From Clipboard to file Pin
David Crow25-Mar-05 9:21
David Crow25-Mar-05 9:21 
GeneralRe: Saving Bitmap From Clipboard to file Pin
ww303125-Mar-05 11:01
ww303125-Mar-05 11:01 
GeneralVC++ 2003 .NET Pin
victorsk25-Mar-05 7:27
victorsk25-Mar-05 7:27 
GeneralRe: VC++ 2003 .NET Pin
Kevin McFarlane25-Mar-05 10:16
Kevin McFarlane25-Mar-05 10:16 
GeneralRe: VC++ 2003 .NET Pin
victorsk25-Mar-05 11:00
victorsk25-Mar-05 11:00 
GeneralRe: VC++ 2003 .NET Pin
Kevin McFarlane25-Mar-05 11:08
Kevin McFarlane25-Mar-05 11:08 
GeneralRe: VC++ 2003 .NET Pin
MMansonFan2529-Mar-05 23:19
MMansonFan2529-Mar-05 23:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.