- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
6 Posted Topics
No, maybe it would have a chance once all places in the world are connected to the internet. But I doubt if people would like to place all their data over the internet. Besides, Google already said it is used as a companion device and not something to replace PCs.
Using pointers is much more flexible since it allows you to decide on the size at run-time. However, as mentioned previously, you need to handle it with care to properly release the memory after using it. By the way, your line 11 actually declares a function named normObj() that returns …
One bug is can see inside int hashing (string s): you are declaring cname an array of 99 characters. This means you can use subscripts 0-98. But in your two loops, your condition is i<= 99 and j <=99 which accesses subscript 99 which is out of range from your …
Agree. Just a comment... It seems every iteration: name_address and names are created again. I don't think this is the behavior you would like.
[QUOTE=MegadanX5;1065702]Hi everyone, this is my first post on this site and I was wondering if anyone could help me with this. I'm sorry if my coding style is strange, I'm relatively new at this. The program is supposed to prompt the user to guess a number between 1 and 1000, …
[QUOTE=punchinello;1065707]1. What's hard-coding? 2. What is a standards-conforming implementation? 3. What's "hand-written code"? 4. what's "objects created on the free store"? 5. I tried the escape character '\a' in my c++ program code, but no sound was emitted. Could anybody please tell me why? Thank you very much in advance!!:)[/QUOTE] …
The End.
jasonline