By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,898 Members | 2,039 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,898 IT Pros & Developers. It's quick & easy.

I'm very new for C++

P: 1
1-Would you mind to send me the basic psedocode and flow chart so as to get fundamental of C++?
2- Can I get a sample how to write psedocode in C++?

thanks
Nov 3 '06 #1
Share this Question
Share on Google+
2 Replies


10K+
P: 13,264
1-Would you mind to send me the basic psedocode and flow chart so as to get fundamental of C++?
2- Can I get a sample how to write psedocode in C++?

thanks
Do you know what pseudocode is?
Nov 3 '06 #2

Banfa
Expert Mod 5K+
P: 8,916
Pseudo code is not about undestanding any language, and you do not pseuso code in any language i.e. "how to write psedocode in C++?" is meaningless.

Pseudo code is a method of writing down the program logic without having any requirement to follow the syntax of a particular language.

Once you have the pseudo code you should then be able to convert it into a program in the language of your choice.


For instance this is the pseudo code to count the number of e in a string

Expand|Select|Wrap|Line Numbers
  1. GET String
  2. SET Count = 0
  3.  
  4. WHILE the end of the string has not been reached
  5.     GET the next character in the string
  6.     IF it is an e
  7.         INCREMENT Count
  8.     END IF
  9. END WHILE
  10.  
  11. PRINT Count
  12.  
Nov 3 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.