![]() |
|
#1
|
|||
|
|||
Re: Need help on a program for schoolnice to meet you all.
i'm a newbie in this forum i wanna ask something about C++ yesterday, i made a simple program using C++ the sintax are. CPP / C++ / C Code:
when i compile it, there wasn't any problem but when i fill the 3rd Array, it said "error" can anyone help me?please |
|||
|
#2
|
|||
|
|||
Re: Need help on a program for schoolanyway, sorry if the comments in my sintax are in Indonesian language.
because i'm an Indonesian |
|
#3
|
|||
|
|||
Re: Need help on a program for schoolQuote:
It is possible to dynamically create an array at runtime with functions such as malloc() & free() or operators new() & delete(), however you need to understand how these functions work. As I suspect you are just starting your study of C++, you will not see dynamic allocation discussed in coursework for several months. If you are curious to see how this works before then, either find the appropriate section in your textbook & begin reading it, or schedule time with your instructor to discuss the subject. Since neither do I know your language nor the intent of your code, the following example can only approximate your original intention: CPP / C++ / C Code:
Last edited by ocicat : 01-Sep-2008 at 18:52.
|
|
#4
|
|||
|
|||
Re: Need help on a program for schoolsorry if my question has no relation to the thread.
ehm..i don't have any teacher or instructor to teach me about C++. It's hard to find programming teacher in my place. My teacher of computer subject in my school doesn't know about C++. So, I study it by myself. Because of it, there are some subject that i can't understand well. but, i will try harder to master it. thanks for your reply. |
Recent GIDBlog
Programming ebook direct download available by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Help with input files. | Efferus | C++ Forum | 2 | 24-Nov-2007 17:19 |
| Arrays as function arguments - return arrays from functions | pisuke | C Programming Language | 2 | 25-Jul-2007 12:03 |
| Dynamic vs Static Arrays | WaltP | Miscellaneous Programming Forum | 5 | 16-Feb-2006 16:54 |
| I am reviewing Arrays and need help converting some strings to arrays | jenmaz | C Programming Language | 22 | 23-Nov-2004 00:26 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The